Merge "Allow extension of the Special:Upload form"
[lhc/web/wiklou.git] / resources / src / mediawiki.special / mediawiki.special.apisandbox.css
1 .mw-apisandbox-fullscreen {
2 overflow: hidden;
3 }
4
5 .mw-apisandbox-toolbar {
6 text-align: right;
7 padding: 0.5em;
8 }
9
10 .mw-apisandbox-popup .oo-ui-popupWidget-body > .oo-ui-widget {
11 vertical-align: middle;
12 }
13
14 /* So DateTimeInputWidget's calendar popup works... */
15 .mw-apisandbox-popup .oo-ui-popupWidget-popup,
16 .mw-apisandbox-popup .oo-ui-popupWidget-body {
17 overflow: visible;
18 }
19
20 .mw-apisandbox-fullscreen #mw-apisandbox-ui {
21 position: fixed;
22 top: 0;
23 left: 0;
24 bottom: 0;
25 right: 0;
26 background: #fff;
27 }
28
29 .mw-apisandbox-fullscreen .mw-apisandbox-container {
30 border-width: 1px 0 0 0;
31 border-radius: 0;
32 }
33
34 .mw-apisandbox-spacer {
35 display: inline-block;
36 height: 1px;
37 width: 5em;
38 }
39
40 .mw-apisandbox-help-field {
41 border-bottom: 1px solid rgba( 0, 0, 0, 0.1 );
42 }
43
44 .mw-apisandbox-help-field:last-child {
45 border-bottom: 0;
46 }
47
48 .mw-apisandbox-optionalWidget {
49 width: 100%;
50 }
51
52 .mw-apisandbox-optionalWidget.oo-ui-widget-disabled {
53 position: relative;
54 z-index: 0; /* New stacking context to prevent the cover from leaking out */
55 }
56
57 .mw-apisandbox-optionalWidget-cover {
58 position: absolute;
59 left: 0;
60 right: 0;
61 top: 0;
62 bottom: 0;
63 z-index: 2;
64 cursor: pointer;
65 }
66
67 .mw-apisandbox-optionalWidget-fields {
68 display: table;
69 width: 100%;
70 }
71
72 .mw-apisandbox-optionalWidget-widget,
73 .mw-apisandbox-optionalWidget-checkbox {
74 display: table-cell;
75 vertical-align: middle;
76 }
77
78 .mw-apisandbox-optionalWidget-checkbox {
79 width: 1%; /* Will be expanded by content */
80 white-space: nowrap;
81 padding-left: 0.5em;
82 }
83
84 .mw-apisandbox-textInputCode .oo-ui-inputWidget-input {
85 font-family: monospace, monospace;
86 font-size: 0.8125em;
87 -moz-tab-size: 4;
88 tab-size: 4;
89 }
90
91 .mw-apisandbox-widget-field .oo-ui-textInputWidget {
92 /* Leave at least enough space for icon, indicator, and a sliver of text */
93 min-width: 6em;
94 }
95
96 .apihelp-deprecated {
97 font-weight: bold;
98 color: #d33;
99 }
100
101 .apihelp-deprecated-value .oo-ui-labelElement-label {
102 text-decoration: line-through;
103 }