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.
31 .client-js .mw-navigation-hint {
37 /* Override OOUI styles so that dropdowns near the bottom of the form don't get clipped,
38 * e.g.'Appearance' / 'Threshold for stub link formatting'. This is hacky and bad, it would be
39 * better solved by setting overlays for the widgets, but we can't do it from PHP... */
40 #preferences .oo-ui-panelLayout
{
43 -webkit-transform: none
;
47 #preferences .oo-ui-menuLayout
.oo-ui-panelLayout-framed
.oo-ui-panelLayout-framed
{
55 .mw-prefs-faketabs > .oo-ui-menuLayout > .oo-ui-menuLayout-menu a {
57 text-decoration: none
;
60 /* Adjust the borders when JS is disabled: frame each prefsection instead of the
61 * whole tabLayout wrapper */
62 .client-nojs #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 .client-nojs .mw-prefs-faketabs {
73 .client-nojs .mw-prefs-faketabs > .oo-ui-menuLayout > .oo-ui-menuLayout-content > .oo-ui-stackLayout {
77 /* Hide the tab menu when JS is disabled as we can't use this feature */
78 .client-nojs .mw-prefs-faketabs > .oo-ui-menuLayout > .oo-ui-menuLayout-menu {
82 .client-nojs #preferences .oo-ui-panelLayout-framed .oo-ui-panelLayout-framed:last-child {
87 /* Hide top level legends when JS is enabled, as they will not be visible
88 * when the real tabLayout is built */
89 .client-js #preferences .oo-ui-tabPanelLayout > fieldset > legend {
93 .client-js #preferences .oo-ui-tabPanelLayout {
97 .client-js #preferences .oo-ui-panelLayout-framed .oo-ui-panelLayout-framed {
98 margin-top: 2.286em; /* equals `32px` at `font-size: 14px;` */
106 .client-js #preferences .oo-ui-panelLayout-framed .oo-ui-panelLayout-framed:first-child {
107 margin-top: 0.85714286em;
110 .client-js #preferences > .oo-ui-panelLayout > .oo-ui-fieldsetLayout > .oo-ui-fieldsetLayout-header {
114 /* Make the "Basic information" section more compact */
115 /* OOUI's `align: 'left'` for FieldLayouts sucks, so we do our own */
116 #mw-htmlform-info > .oo-ui-fieldLayout-align-top
> .oo-ui-fieldLayout-body
> .oo-ui-fieldLayout-header
{
118 display: inline-block
;
119 vertical-align: middle
;
123 #mw-htmlform-info > .oo-ui-fieldLayout-align-top
.oo-ui-fieldLayout-help
{
127 #mw-htmlform-info > .oo-ui-fieldLayout
.oo-ui-fieldLayout-align-top
> .oo-ui-fieldLayout-body
> .oo-ui-fieldLayout-field
{
129 display: inline-block
;
130 vertical-align: middle
;
133 /* Expand the dropdown and textfield of "Time zone" field to the */
134 /* usual maximum width and display them on separate lines. */
135 #wpTimeCorrection .oo-ui-dropdownInputWidget
,
136 #wpTimeCorrection .oo-ui-textInputWidget
{
141 #wpTimeCorrection .oo-ui-textInputWidget
{
145 /* HACK: expand width of gadget descriptions.
146 * This should be moved to the Gadgets extension */
147 #mw-htmlform-gadgets .oo-ui-fieldLayout
.oo-ui-fieldLayout-align-inline
> .oo-ui-fieldLayout-body
{