diff --git a/www/docs/style/sass/app.scss b/www/docs/style/sass/app.scss index 9ec3e1a728..23e527efc5 100644 --- a/www/docs/style/sass/app.scss +++ b/www/docs/style/sass/app.scss @@ -253,7 +253,7 @@ form { @import "parts/panels"; @import "parts/promo-banner"; @import "parts/accordion"; -@import "parts/labels"; +@import "parts/tags"; @import "pages/mp"; @import "pages/topics"; diff --git a/www/docs/style/sass/pages/_alert.scss b/www/docs/style/sass/pages/_alert.scss index 9572327fcd..cf865b5b35 100644 --- a/www/docs/style/sass/pages/_alert.scss +++ b/www/docs/style/sass/pages/_alert.scss @@ -499,3 +499,18 @@ font-weight: 400; } } + +.keyword-alert-accordion__tag, +.keyword-list__tag { + @extend .tag; +} + +.keyword-alert-accordion__tag--included, +.keyword-list__tag--included { + @extend .tag--primary-light; +} + +.keyword-alert-accordion__tag--excluded, +.keyword-list__tag--excluded { + @extend .tag--red; +} diff --git a/www/docs/style/sass/parts/_labels.scss b/www/docs/style/sass/parts/_labels.scss deleted file mode 100644 index a8454744f2..0000000000 --- a/www/docs/style/sass/parts/_labels.scss +++ /dev/null @@ -1,17 +0,0 @@ -.label { - background-color: #fff; - color: $primary-color; - padding: 0.25rem 0.5rem; - border-radius: 1rem; - font-size: 0.75rem; - - &--primary-light { - background-color: $primary-color-200; - color: $body-font-color; - } - - &--red { - background-color: lighten($color-red, 40%); - color: $body-font-color; - } -} diff --git a/www/includes/easyparliament/templates/html/alert/_alert_form.php b/www/includes/easyparliament/templates/html/alert/_alert_form.php index 2a05c6482d..01625b2ced 100644 --- a/www/includes/easyparliament/templates/html/alert/_alert_form.php +++ b/www/includes/easyparliament/templates/html/alert/_alert_form.php @@ -139,7 +139,7 @@