Merge "Special:Preferences: Reduce PanelLayout border contrast slightly"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Wed, 19 Sep 2018 17:10:12 +0000 (17:10 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 19 Sep 2018 17:10:12 +0000 (17:10 +0000)
resources/src/mediawiki.special.preferences.styles.ooui.less

index 23cca21..e20d24b 100644 (file)
 }
 
 /* Override OOUI styles so that dropdowns near the bottom of the form don't get clipped,
- * e.g.'Appearance' / 'Threshold for stub link formatting'. This is hacky and bad, it would be
- * better solved by setting overlays for the widgets, but we can't do it from PHP... */
+ * e.g. 'Appearance' / 'Threshold for stub link formatting'. This is hacky and bad, it would be
+ * better solved by setting overlays for the widgets, but we can't do it from PHP */
 #preferences .oo-ui-panelLayout {
        position: static;
+
        overflow: visible;
        .transform( none );
+
+       /* Most outer Panellayout:
+        * Decrease contrast of `border` slightly as padding/border combination is sufficient
+        * accessibility wise and focus of content is more important here. */
+       &-framed {
+               border-color: #c8ccd1;
+       }
 }
 
 #preferences .oo-ui-menuLayout .oo-ui-panelLayout-framed .oo-ui-panelLayout-framed {