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