Implement extension registration from an extension.json file
[mediawiki.git] / resources / src / mediawiki / mediawiki.debug.less
blob949c5586142acf41f697a7a25dedaa50307d98fe
1 .mw-debug {
2         width: 100%;
3         background-color: #eee;
4         border-top: 1px solid #aaa;
6         pre {
7                 font-size: 11px;
8                 padding: 0;
9                 margin: 0;
10                 background: none;
11                 border: none;
12         }
14         table {
15                 border-spacing: 0;
16                 width: 100%;
17                 table-layout: fixed;
19                 td,
20                 th {
21                         padding: 4px 10px;
22                 }
24                 td {
25                         border-bottom: 1px solid #eee;
26                         word-wrap: break-word;
28                         &.nr {
29                                 text-align: right;
30                         }
32                         span.stats {
33                                 color: #808080;
34                         }
35                 }
37                 tr {
38                         background-color: #fff;
40                         &:nth-child(even) {
41                                 background-color: #f9f9f9;
42                         }
43                 }
44         }
46         ul {
47                 margin: 0;
48                 list-style: none;
49         }
51         li {
52                 padding: 4px 0;
53                 width: 100%;
54         }
57 .mw-debug-bits {
58         text-align: center;
59         border-bottom: 1px solid #aaa;
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;
71 .mw-debug-panelink {
72         background-color: #eee;
73         border-right: 1px solid #ccc;
75         &:first-child {
76                 border-left: 1px solid #ccc;
77         }
79         &:hover {
80                 background-color: #fefefe;
81                 cursor: pointer;
82         }
84         &.current {
85                 background-color: #dedede;
86         }
89 a.mw-debug-panelabel,
90 a.mw-debug-panelabel:visited {
91         color: #000;
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;
103 #mw-debug-pane-debuglog,
104 #mw-debug-pane-request {
105         padding: 20px;
108 #mw-debug-pane-request {
109         table {
110                 width: 100%;
111                 margin: 10px 0 30px;
112         }
114         tr,
115         th,
116         td,
117         table {
118                 border: 1px solid #D0DBB3;
119                 border-collapse: collapse;
120                 margin: 0;
121         }
123         th,
124         td {
125                 font-size: 12px;
126                 padding: 8px 10px;
127         }
129         th {
130                 background-color: #F1F7E2;
131                 font-weight: bold;
132         }
134         td {
135                 background-color: white;
136         }
139 #mw-debug-console tr td {
140         &:first-child {
141                 font-weight: bold;
142                 vertical-align: top;
143         }
145         &:last-child {
146                 vertical-align: top;
147         }
150 .mw-debug-backtrace {
151         padding: 5px 10px;
152         margin: 5px;
153         background-color: #dedede;
155         span {
156                 font-weight: bold;
157                 color: #111;
158         }
160         ul {
161                 padding-left: 10px;
162         }
164         li {
165                 width: auto;
166                 padding: 0;
167                 color: #333;
168                 font-size: 10px;
169                 margin-bottom: 0;
170                 line-height: 1em;
171         }
174 .mw-debug-console-log {
175         background-color: #add8e6;
178 .mw-debug-console-warn {
179         background-color: #ffa07a;
182 .mw-debug-console-deprecated {
183         background-color: #ffb6c1;
186 /* Cheapo hack to hide the first 3 lines of the backtrace */
187 .mw-debug-backtrace li:nth-child(-n+3) {
188         display: none;