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