1 @import 'mediawiki.mixins';
3 /* Reuses colors from mediawiki.legacy/shared.css */
4 .mw-email-not-authenticated .oo-ui-labelWidget,
5 .mw-email-none .oo-ui-labelWidget {
6 background-color: #fdf1d1;
8 border: 1px solid #fde29b;
11 /* Authenticated email field has its own class too. Unstyled by default */
13 .mw-email-authenticated .oo-ui-labelWidget { }
16 /* This is needed because add extra buttons in a weird way */
17 .mw-prefs-buttons .mw-htmlform-submit-buttons {
31 * Hide, but keep accessible for screen-readers.
33 .client-js .mw-navigation-hint:not( :focus ) {
34 .mixin-screen-reader-text;
37 /* Most outer Panellayout:
38 * Decrease contrast of `border` slightly as padding/border combination is sufficient
39 * accessibility wise and focus of content is more important here. */
40 #preferences .oo-ui-panelLayout-framed {
41 border-color: #c8ccd1;
44 #preferences .oo-ui-menuLayout .oo-ui-panelLayout-framed .oo-ui-panelLayout-framed {
52 .mw-prefs-faketabs > .oo-ui-menuLayout > .oo-ui-menuLayout-menu a {
54 text-decoration: none;
57 /* Disabled JavaScript */
59 /* Adjust the borders: frame each prefsection instead of the
60 * whole tabLayout wrapper */
61 #preferences .oo-ui-menuLayout .oo-ui-panelLayout-framed .oo-ui-panelLayout-framed:first-child {
62 border-color: #c8ccd1;
63 border-width: 1px 0 0;
66 #preferences .oo-ui-panelLayout-framed .oo-ui-panelLayout-framed:last-child {
71 /* Fake Tabs to address reflow */
77 > .oo-ui-menuLayout > .oo-ui-menuLayout-content > .oo-ui-stackLayout {
81 /* Hide the tab menu when JS is disabled as we can't use this feature */
82 > .oo-ui-menuLayout > .oo-ui-menuLayout-menu {
89 * Hide top level legends when JS is enabled, as they will not be visible
90 * when the real tabLayout is built */
91 .client-js #preferences {
92 .oo-ui-tabPanelLayout {
95 & > fieldset > legend {
100 .oo-ui-panelLayout-framed .oo-ui-panelLayout-framed {
101 margin-top: 2.286em; /* equals `32px` at `font-size: 14px;` */
109 margin-top: 0.85714286em;
112 .oo-ui-panelLayout-framed:first-child {
117 > .oo-ui-panelLayout > .oo-ui-fieldsetLayout > .oo-ui-fieldsetLayout-header {
122 /* Make the "Basic information" section more compact */
123 /* OOUI's `align: 'left'` for FieldLayouts sucks, so we do our own */
125 > .oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header {
126 display: inline-block;
129 vertical-align: middle;
132 > .oo-ui-fieldLayout-align-top .oo-ui-fieldLayout-help {
136 > .oo-ui-fieldLayout.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-field {
137 display: inline-block;
139 vertical-align: middle;
143 /* Compact number inputs, used at "Display options" on "Recent changes" */
144 .mw-htmlform-field-HTMLFloatField,
145 .mw-htmlform-field-HTMLIntField {
151 /* Expand the dropdown and textfield of "Time zone" field to the */
152 /* usual maximum width and display them on separate lines. */
153 #wpTimeCorrection .oo-ui-dropdownInputWidget,
154 #wpTimeCorrection .oo-ui-textInputWidget {
159 #wpTimeCorrection .oo-ui-textInputWidget {
163 /* HACK: expand width of gadget descriptions.
164 * This should be moved to the Gadgets extension */
165 #mw-htmlform-gadgets .oo-ui-fieldLayout.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body {