@import 'mediawiki.mixins';
@import 'mediawiki.ui/variables';
+@import 'mw.rcfilters.variables';
.mw-rcfilters-ui-filterMenuHeaderWidget {
&-title {
position: absolute;
top: 50%;
.transform( translateY( -50% ) );
-
- // HACK: Following overrides help icon size and centers it
- &.oo-ui-widget.oo-ui-widget-enabled > .oo-ui-buttonElement-button {
- box-sizing: content-box;
- padding: 0;
-
- .oo-ui-icon-help {
- min-width: initial;
- min-height: initial;
- width: 1.4em;
- height: 1.4em;
- margin-top: 0.2375em;
- }
- }
}
&-header {
&-invert,
&-highlight {
- width: 1em;
+ min-width: 1em;
vertical-align: middle;
// Using the same padding that the filter item
// uses, so the button is aligned with the highlight
// buttons for the filters
- padding-right: 0.5em;
+ padding-right: 12 / @font-size-system-ui / @font-size-vector;
}
&-back {
width: 1em;
vertical-align: middle;
- padding-left: 0.5em;
+
+ .mw-rcfilters-ui-filterMenuHeaderWidget-backButton:first-child {
+ // Overwrite `.oo-ui-buttonElement-frameless.oo-ui-iconElement:first-child`
+ margin-left: 0;
+ }
}
&-title {