1 @import 'mw.rcfilters.mixins';
3 .mw-rcfilters-ui-filterTagItemWidget {
4 background-color: #fff;
8 // Background and color of the capsule widget need a bit
9 // more specificity to override ooui internals
10 &-muted.oo-ui-tagItemWidget.oo-ui-widget-enabled {
12 background-color: #eaecf0;
13 border-color: #c8ccd1;
15 .oo-ui-labelElement-label {
19 opacity: @muted-opacity;
23 &-conflicted.oo-ui-tagItemWidget.oo-ui-widget-enabled {
24 background-color: #fee7e6; // Red90 AAA
25 border-color: #b32424; // Red30 AAA
27 .oo-ui-labelElement-label {
31 opacity: @muted-opacity;
35 &-selected.oo-ui-tagItemWidget.oo-ui-widget-enabled {
36 background-color: #eaf3ff;
45 &.oo-ui-labelElement .oo-ui-labelElement-label {
46 vertical-align: middle;
57 display: inline-block;
67 &[data-color='c1']:before {
68 .mw-rcfilters-mixin-circle( @highlight-c1, 10px, ~'-5px 0.5em 0 0' );
71 &[data-color='c2']:before {
72 .mw-rcfilters-mixin-circle( @highlight-c2, 10px, ~'-5px 0.5em 0 0' );
75 &[data-color='c3']:before {
76 .mw-rcfilters-mixin-circle( @highlight-c3, 10px, ~'-5px 0.5em 0 0' );
79 &[data-color='c4']:before {
80 .mw-rcfilters-mixin-circle( @highlight-c4, 10px, ~'-5px 0.5em 0 0' );
83 &[data-color='c5']:before {
84 .mw-rcfilters-mixin-circle( @highlight-c5, 10px, ~'-5px 0.5em 0 0' );