Merge "Change php extract() to explicit code"
[lhc/web/wiklou.git] / resources / src / mediawiki / mediawiki.debug.less
1 .mw-debug {
2 width: 100%;
3 background-color: #eee;
4 border-top: 1px solid #aaa;
5
6 pre {
7 font-size: 11px;
8 padding: 0;
9 margin: 0;
10 background: none;
11 border: 0;
12 }
13
14 table {
15 border-spacing: 0;
16 width: 100%;
17 table-layout: fixed;
18
19 tr {
20 background-color: #fff;
21
22 &:nth-child( even ) {
23 background-color: #f9f9f9;
24 }
25 }
26
27 td,
28 th {
29 padding: 4px 10px;
30 }
31
32 td {
33 border-bottom: 1px solid #eee;
34 word-wrap: break-word;
35
36 &.nr {
37 text-align: right;
38 }
39
40 span.stats {
41 color: #727272;
42 }
43 }
44 }
45
46 ul {
47 margin: 0;
48 list-style: none;
49 }
50
51 li {
52 padding: 4px 0;
53 width: 100%;
54 }
55 }
56
57 .mw-debug-bits {
58 text-align: center;
59 border-bottom: 1px solid #aaa;
60 }
61
62 .mw-debug-bit {
63 display: inline-block;
64 padding: 10px 5px;
65 font-size: 13px;
66 }
67
68 .mw-debug-panelink {
69 background-color: #eee;
70 border-right: 1px solid #ccc;
71
72 &:first-child {
73 border-left: 1px solid #ccc;
74 }
75
76 &:hover {
77 background-color: #fefefe;
78 cursor: pointer;
79 }
80
81 &.current {
82 background-color: #dedede;
83 }
84 }
85
86 a.mw-debug-panelabel,
87 a.mw-debug-panelabel:visited {
88 color: #000;
89 }
90
91 .mw-debug-pane {
92 height: 300px;
93 overflow: scroll;
94 display: none;
95 font-family: monospace, monospace;
96 font-size: 11px;
97 background-color: #e1eff2;
98 box-sizing: border-box;
99 }
100
101 #mw-debug-pane-debuglog,
102 #mw-debug-pane-request {
103 padding: 20px;
104 }
105
106 #mw-debug-pane-request {
107 table {
108 width: 100%;
109 margin: 10px 0 30px;
110 }
111
112 tr,
113 th,
114 td,
115 table {
116 border: 1px solid #d0dbb3;
117 border-collapse: collapse;
118 margin: 0;
119 }
120
121 th,
122 td {
123 font-size: 12px;
124 padding: 8px 10px;
125 }
126
127 th {
128 background-color: #f1f7e2;
129 font-weight: bold;
130 }
131
132 td {
133 background-color: #fff;
134 }
135 }
136
137 #mw-debug-console tr td {
138 &:first-child {
139 font-weight: bold;
140 vertical-align: top;
141 }
142
143 &:last-child {
144 vertical-align: top;
145 }
146 }
147
148 .mw-debug-backtrace {
149 padding: 5px 10px;
150 margin: 5px;
151 background-color: #dedede;
152
153 span {
154 font-weight: bold;
155 color: #111;
156 }
157
158 ul {
159 padding-left: 10px;
160 }
161
162 li {
163 width: auto;
164 padding: 0;
165 color: #333;
166 font-size: 10px;
167 margin-bottom: 0;
168 line-height: 1em;
169 }
170 }
171
172 .mw-debug-console-log {
173 background-color: #add8e6;
174 }
175
176 .mw-debug-console-warn {
177 background-color: #ffa07a;
178 }
179
180 .mw-debug-console-deprecated {
181 background-color: #ffb6c1;
182 }
183
184 /* Cheapo hack to hide the first 3 lines of the backtrace */
185 .mw-debug-backtrace li:nth-child( -n+3 ) {
186 display: none;
187 }