summaryrefslogtreecommitdiff
path: root/www/wiki/resources/src/mediawiki.special/mediawiki.special.preferences.styles.css
blob: 33b630a948a36b9d5b7cc1254cf3007650e5dc78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/* Reuses colors from mediawiki.legacy/shared.css */
.mw-email-not-authenticated .mw-input,
.mw-email-none .mw-input {
	border: 1px solid #fde29b;
	background-color: #fdf1d1;
	color: #000;
}
/* Authenticated email field has its own class too. Unstyled by default */
/*
.mw-email-authenticated .mw-input { }
*/
/* This breaks due to nolabel styling */
#preferences > fieldset td.mw-label {
	width: 20%;
}

#preferences > fieldset table {
	width: 100%;
}
#preferences > fieldset table.mw-htmlform-matrix {
	width: auto;
}

/* The CSS below is also for JS enabled version, because we want to prevent FOUC */

/*
 * Hide, but keep accessible for screen-readers.
 * Like .mw-jump, #jump-to-nav from shared.css
 */
.client-js .mw-navigation-hint {
	overflow: hidden;
	height: 0;
	zoom: 1;
}

.client-nojs #preftoc {
	display: none;
}

.client-js #preferences > fieldset {
	display: none;
}

/* Only the 1st tab is shown by default in JS mode */
.client-js #preferences #mw-prefsection-personal {
	display: block;
}