Merge "RCFilters: Don't let new params filter out old page"
[lhc/web/wiklou.git] / resources / src / mediawiki.rcfilters / styles / mw.rcfilters.ui.ItemMenuOptionWidget.less
index 44c5529..21a169c 100644 (file)
@@ -1,15 +1,27 @@
 @import 'mediawiki.mixins';
+@import 'mediawiki.ui/variables';
+@import 'mw.rcfilters.variables';
 
 .mw-rcfilters-ui-itemMenuOptionWidget {
+       min-height: 3.5em;
        padding: 0 0.5em;
        .box-sizing( border-box );
 
        &:not( :last-child ) {
-               border-bottom: solid 1px #eaecf0; // Base 80 AAA
+               border-bottom: 1px solid @colorGray14;
+       }
+
+       &-view-namespaces {
+               border-top: 5px solid @colorGray12;
+
+               &:first-child,
+               &.mw-rcfilters-ui-itemMenuOptionWidget-identifier-subject + &.mw-rcfilters-ui-itemMenuOptionWidget-identifier-talk {
+                       border-top: 0;
+               }
        }
 
        &:hover {
-               background-color: #fbfbfb;
+               background-color: @colorGray15;
        }
 
        .mw-rcfilters-ui-table {
        }
 
        &.oo-ui-optionWidget-selected {
-               background-color: #eaf3ff; // Accent90 AAA
+               background-color: @background-color-primary;
        }
 
        &-label {
                &-title {
                        font-weight: bold;
                        font-size: 1.15em;
-                       color: #222;
+                       color: @colorGray2;
                }
                &-desc {
-                       color: #464a4f;
+                       color: @colorGray5;
                        white-space: normal;
                }
        }
                }
        }
 
+       .mw-rcfilters-ui-cell {
+               vertical-align: middle;
+       }
+
+       &-excludeLabel {
+               width: 5em;
+               padding-left: 1em;
+               color: @colorGray5;
+       }
+
        &-highlightButton {
                width: 4em;
                padding-left: 1em;