Implemented console panel in debug toolbar
[lhc/web/wiklou.git] / resources / mediawiki / mediawiki.debug.css
index fe25e75..efc56b8 100644 (file)
@@ -88,7 +88,7 @@ a.mw-debug-panelabel:visited {
 }
 
 .mw-debug-pane {
-       max-height: 300px;
+       height: 300px;
        overflow: scroll;
        display: none;
        font-size: 11px;
@@ -129,3 +129,49 @@ a.mw-debug-panelabel:visited {
 #mw-debug-pane-request td {
        background-color: white;
 }
+
+#mw-debug-console tr td:first-child {
+       font-weight: bold;
+       vertical-align: top;
+}
+
+.mw-debug-console-log {
+       background-color: #add8e6;
+}
+
+.mw-debug-console-warn {
+       background-color: #ffa07a;
+}
+
+.mw-debug-console-deprecated {
+       background-color: #ffb6c1;
+}
+
+.mw-debug-backtrace {
+       padding: 5px 10px;
+       margin: 5px;
+       background-color: #dedede;
+}
+
+.mw-debug-backtrace span {
+       font-weight: bold;
+       color: #111;
+}
+
+.mw-debug-backtrace ul {
+       padding-left: 10px;
+}
+
+.mw-debug-backtrace li {
+       width: auto;
+       padding: 0;
+       color: #333;
+       font-size: 10px;
+       margin-bottom: 0;
+       line-height: 1em;
+}
+
+/* Cheapo hack to hide the first 3 lines of the backtrace */
+.mw-debug-backtrace li:nth-child(-n+3) {
+       display: none;
+}
\ No newline at end of file