Move wpSummary from shared.css to mediawiki.action.edit.styles.css
[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-family: monospace;
99 font-size: 11px;
100 background-color: #e1eff2;
101 box-sizing: border-box;
102 }
103
104 #mw-debug-pane-debuglog,
105 #mw-debug-pane-request {
106 padding: 20px;
107 }
108
109 #mw-debug-pane-request {
110 table {
111 width: 100%;
112 margin: 10px 0 30px;
113 }
114
115 tr,
116 th,
117 td,
118 table {
119 border: 1px solid #d0dbb3;
120 border-collapse: collapse;
121 margin: 0;
122 }
123
124 th,
125 td {
126 font-size: 12px;
127 padding: 8px 10px;
128 }
129
130 th {
131 background-color: #f1f7e2;
132 font-weight: bold;
133 }
134
135 td {
136 background-color: #fff;
137 }
138 }
139
140 #mw-debug-console tr td {
141 &:first-child {
142 font-weight: bold;
143 vertical-align: top;
144 }
145
146 &:last-child {
147 vertical-align: top;
148 }
149 }
150
151 .mw-debug-backtrace {
152 padding: 5px 10px;
153 margin: 5px;
154 background-color: #dedede;
155
156 span {
157 font-weight: bold;
158 color: #111;
159 }
160
161 ul {
162 padding-left: 10px;
163 }
164
165 li {
166 width: auto;
167 padding: 0;
168 color: #333;
169 font-size: 10px;
170 margin-bottom: 0;
171 line-height: 1em;
172 }
173 }
174
175 .mw-debug-console-log {
176 background-color: #add8e6;
177 }
178
179 .mw-debug-console-warn {
180 background-color: #ffa07a;
181 }
182
183 .mw-debug-console-deprecated {
184 background-color: #ffb6c1;
185 }
186
187 /* Cheapo hack to hide the first 3 lines of the backtrace */
188 .mw-debug-backtrace li:nth-child(-n+3) {
189 display: none;
190 }