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, when not keyboard focussed.
33 .client-js .mw-navigation-hint:not( :focus ) {
38 /* Most outer Panellayout:
39 * Decrease contrast of `border` slightly as padding/border combination is sufficient
40 * accessibility wise and focus of content is more important here. */
41 #preferences .oo-ui-panelLayout-framed {
42 border-color: #c8ccd1;
45 #preferences .oo-ui-menuLayout .oo-ui-panelLayout-framed .oo-ui-panelLayout-framed {
53 .mw-prefs-faketabs > .oo-ui-menuLayout > .oo-ui-menuLayout-menu a {
55 text-decoration: none;
58 /* Disabled JavaScript */
60 /* Adjust the borders: frame each prefsection instead of the
61 * whole tabLayout wrapper */
62 #preferences .oo-ui-menuLayout .oo-ui-panelLayout-framed .oo-ui-panelLayout-framed:first-child {
63 border-color: #c8ccd1;
64 border-width: 1px 0 0;
67 #preferences .oo-ui-panelLayout-framed .oo-ui-panelLayout-framed:last-child {
72 /* Fake Tabs to address reflow */
78 > .oo-ui-menuLayout > .oo-ui-menuLayout-content > .oo-ui-stackLayout {
82 /* Hide the tab menu when JS is disabled as we can't use this feature */
83 > .oo-ui-menuLayout > .oo-ui-menuLayout-menu {
90 * Hide top level legends when JS is enabled, as they will not be visible
91 * when the real tabLayout is built */
92 .client-js #preferences {
93 .oo-ui-tabPanelLayout {
96 & > fieldset > legend {
101 .oo-ui-panelLayout-framed .oo-ui-panelLayout-framed {
102 margin-top: 2.286em; /* equals `32px` at `font-size: 14px;` */
110 margin-top: 0.85714286em;
113 .oo-ui-panelLayout-framed:first-child {
118 > .oo-ui-panelLayout > .oo-ui-fieldsetLayout > .oo-ui-fieldsetLayout-header {
123 /* Make the "Basic information" section more compact */
124 /* OOUI's `align: 'left'` for FieldLayouts sucks, so we do our own */
126 > .oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header {
127 display: inline-block;
130 vertical-align: middle;
133 > .oo-ui-fieldLayout-align-top .oo-ui-fieldLayout-help {
137 > .oo-ui-fieldLayout.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-field {
138 display: inline-block;
140 vertical-align: middle;
144 /* Compact number inputs, used at "Display options" on "Recent changes" */
145 .mw-htmlform-field-HTMLFloatField,
146 .mw-htmlform-field-HTMLIntField {
152 /* Expand the dropdown and textfield of "Time zone" field to the */
153 /* usual maximum width and display them on separate lines. */
154 #wpTimeCorrection .oo-ui-dropdownInputWidget,
155 #wpTimeCorrection .oo-ui-textInputWidget {
160 #wpTimeCorrection .oo-ui-textInputWidget {
164 /* HACK: expand width of gadget descriptions.
165 * This should be moved to the Gadgets extension */
166 #mw-htmlform-gadgets .oo-ui-fieldLayout.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body {