1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00

[SM-71] Update all badges to use component library (#2999)

This commit is contained in:
Oscar Hinton
2022-07-04 11:00:13 +02:00
committed by GitHub
parent 6bcde3a84c
commit c1ace45915
16 changed files with 74 additions and 118 deletions

View File

@@ -202,52 +202,3 @@ button.no-btn {
color: inherit;
}
}
.badge-primary {
@include themify($themes) {
background-color: themed("badgePrimaryBackground");
color: themed("badgePrimaryText");
}
&:hover {
@include themify($themes) {
background-color: themed("badgePrimaryBackgroundHover");
color: themed("badgePrimaryText");
}
}
}
.badge-secondary {
@include themify($themes) {
background-color: themed("badgeSecondaryBackground");
color: themed("badgeSecondaryText");
}
}
.badge-info {
@include themify($themes) {
background-color: themed("badgeInfoBackground");
color: themed("badgeInfoText");
}
}
.badge-danger {
@include themify($themes) {
background-color: themed("badgeDangerBackground");
color: themed("badgeDangerText");
}
}
.badge-warning {
@include themify($themes) {
background-color: themed("warning");
color: themed("textWarningColor");
}
}
.badge-success {
@include themify($themes) {
background-color: themed("success");
color: themed("textSuccessColor");
}
}

View File

@@ -21,25 +21,24 @@
@import "~bootstrap/scss/_dropdown";
@import "~bootstrap/scss/_button-group";
@import "~bootstrap/scss/_input-group";
@import "~bootstrap/scss/_custom-forms";
// @import "~bootstrap/scss/_custom-forms";
@import "~bootstrap/scss/_nav";
@import "~bootstrap/scss/_navbar";
@import "~bootstrap/scss/_card";
@import "~bootstrap/scss/_breadcrumb";
@import "~bootstrap/scss/_pagination";
@import "~bootstrap/scss/_badge";
@import "~bootstrap/scss/_jumbotron";
@import "~bootstrap/scss/_alert";
// @import "~bootstrap/scss/_breadcrumb";
// @import "~bootstrap/scss/_pagination";
// @import "~bootstrap/scss/_jumbotron";
// @import "~bootstrap/scss/_alert";
@import "~bootstrap/scss/_progress";
@import "~bootstrap/scss/_media";
// @import "~bootstrap/scss/_media";
@import "~bootstrap/scss/_list-group";
@import "~bootstrap/scss/_close";
//@import "~bootstrap/scss/_toasts";
@import "~bootstrap/scss/_modal";
@import "~bootstrap/scss/_tooltip";
@import "~bootstrap/scss/_popover";
@import "~bootstrap/scss/_carousel";
@import "~bootstrap/scss/_spinners";
// @import "~bootstrap/scss/_carousel";
// @import "~bootstrap/scss/_spinners";
@import "~bootstrap/scss/_utilities";
@import "~bootstrap/scss/_print";