Merge "Remove unused parameter"
[lhc/web/wiklou.git] / resources / src / mediawiki.special.preferences.styles.css
1 /* Reuses colors from mediawiki.legacy/shared.css */
2 .mw-email-not-authenticated .mw-input,
3 .mw-email-none .mw-input {
4 border: 1px solid #fde29b;
5 background-color: #fdf1d1;
6 color: #000;
7 }
8 /* Authenticated email field has its own class too. Unstyled by default */
9 /*
10 .mw-email-authenticated .mw-input { }
11 */
12 /* This breaks due to nolabel styling */
13 #preferences > fieldset td.mw-label {
14 width: 20%;
15 }
16
17 #preferences > fieldset table {
18 width: 100%;
19 }
20
21 #preferences > fieldset table.mw-htmlform-matrix {
22 width: auto;
23 }
24
25 /* The CSS below is also for JS enabled version, because we want to prevent FOUC */
26
27 /*
28 * Hide, when not keyboard focussed.
29 */
30 .client-js .mw-navigation-hint:not( :focus ) {
31 height: 0;
32 overflow: hidden;
33 }
34
35 .client-js #preferences > fieldset {
36 display: none;
37 }
38
39 /* Only the 1st tab is shown by default in JS mode */
40 .client-js #preferences #mw-prefsection-personal {
41 display: block;
42 }