ApiSandbox: Visual separation of fields
[mediawiki.git] / resources / src / mediawiki.special / mediawiki.special.preferences.styles.css
blobe05d16344e19619b4160d3fd744e8fe62e2d64e6
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: #000000;
8 /* Authenticated email field has its own class too. Unstyled by default */
9 /*
10 .mw-email-authenticated .mw-input { }
12 /* This breaks due to nolabel styling */
13 #preferences > fieldset td.mw-label {
14 width: 20%;
17 #preferences > fieldset table {
18 width: 100%;
20 #preferences > fieldset table.mw-htmlform-matrix {
21 width: auto;
24 /* The CSS below is also for JS enabled version, because we want to prevent FOUC */
27 * Hide, but keep accessible for screen-readers.
28 * Like .mw-jump, #jump-to-nav from shared.css
30 .client-js .mw-navigation-hint {
31 overflow: hidden;
32 height: 0;
33 zoom: 1;
36 /* When JS is enabled, .mw-preferences-messageboxes are replaced with mw.notifications */
37 .client-js .mw-preferences-messagebox {
38 display: none;
41 .client-nojs #preftoc {
42 display: none;
45 .client-js #preferences > fieldset {
46 display: none;
49 /* Only the 1st tab is shown by default in JS mode */
50 .client-js #preferences #mw-prefsection-personal {
51 display: block;