1 /* Reuses colors from mediawiki.legacy/shared.css */
2 .mw-email-not-authenticated
.oo-ui-labelWidget
,
3 .mw-email-none .oo-ui-labelWidget {
4 border: 1px solid
#fde29b;
5 background-color: #fdf1d1;
9 /* Authenticated email field has its own class too. Unstyled by default */
11 .mw-email-authenticated .oo-ui-labelWidget { }
14 /* This is needed because add extra buttons in a weird way */
15 .mw-prefs-buttons .mw-htmlform-submit-buttons {
29 * Hide, but keep accessible for screen-readers.
30 * Like .mw-jump, #jump-to-nav from shared.css
32 .client-js .mw-navigation-hint {
38 /* Override OOUI styles so that dropdowns near the bottom of the form don't get clipped,
39 * e.g.'Appearance' / 'Threshold for stub link formatting'. This is hacky and bad, it would be
40 * better solved by setting overlays for the widgets, but we can't do it from PHP... */
41 #preferences .oo-ui-panelLayout
{
44 -webkit-transform: none
;
48 #preferences .oo-ui-menuLayout
.oo-ui-panelLayout-framed
.oo-ui-panelLayout-framed
{
56 .mw-prefs-faketabs > .oo-ui-menuLayout > .oo-ui-menuLayout-menu a {
58 text-decoration: none
;
61 /* Adjust the borders when JS is disabled: frame each prefsection instead of the
62 * whole tabLayout wrapper */
63 .client-nojs #preferences .oo-ui-menuLayout .oo-ui-panelLayout-framed .oo-ui-panelLayout-framed {
64 border-color: #c8ccd1;
65 border-width: 1px 0 0;
68 .client-nojs .mw-prefs-faketabs {
74 .client-nojs .mw-prefs-faketabs > .oo-ui-menuLayout > .oo-ui-menuLayout-content > .oo-ui-stackLayout {
78 /* Hide the tab menu when JS is disabled as we can't use this feature */
79 .client-nojs .mw-prefs-faketabs > .oo-ui-menuLayout > .oo-ui-menuLayout-menu {
83 .client-nojs #preferences .oo-ui-panelLayout-framed .oo-ui-panelLayout-framed:last-child {
88 /* Hide top level legends when JS is enabled, as they will not be visible
89 * when the real tabLayout is built */
90 .client-js #preferences .oo-ui-tabPanelLayout > fieldset > legend {
94 .client-js #preferences .oo-ui-tabPanelLayout {
98 .client-js #preferences .oo-ui-panelLayout-framed .oo-ui-panelLayout-framed {
107 .client-js #preferences > .oo-ui-panelLayout > .oo-ui-fieldsetLayout > .oo-ui-fieldsetLayout-header {
111 /* Make the "Basic information" section more compact */
112 /* OOUI's `align: 'left'` for FieldLayouts sucks, so we do our own */
113 #mw-htmlform-info > .oo-ui-fieldLayout-align-top
> .oo-ui-fieldLayout-body
> .oo-ui-fieldLayout-header
{
115 display: inline-block
;
116 vertical-align: middle
;
120 #mw-htmlform-info > .oo-ui-fieldLayout-align-top
.oo-ui-fieldLayout-help
{
124 #mw-htmlform-info > .oo-ui-fieldLayout
.oo-ui-fieldLayout-align-top
> .oo-ui-fieldLayout-body
> .oo-ui-fieldLayout-field
{
126 display: inline-block
;
127 vertical-align: middle
;
130 /* Expand the dropdown and textfield of "Time zone" field to the */
131 /* usual maximum width and display them on separate lines. */
132 #wpTimeCorrection .oo-ui-dropdownInputWidget
,
133 #wpTimeCorrection .oo-ui-textInputWidget
{
138 #wpTimeCorrection .oo-ui-textInputWidget
{
142 /* HACK: expand width of gadget descriptions.
143 * This should be moved to the Gadgets extension */
144 #mw-htmlform-gadgets .oo-ui-fieldLayout
.oo-ui-fieldLayout-align-inline
> .oo-ui-fieldLayout-body
{