mw.loader: Guard against odd setTimeout behaviour in old Firefox
[lhc/web/wiklou.git] / resources / mediawiki / mediawiki.debug.css
index fe25e75..513cb84 100644 (file)
@@ -1,14 +1,10 @@
 .mw-debug {
        width: 100%;
-       text-align: left;
-       position: fixed;
-       bottom: 0;
        background-color: #eee;
        border-top: 1px solid #aaa;
 }
 
 .mw-debug pre {
-       font-family: Monaco, "Consolas", "Lucida Console", "Courier New", monospace;
        font-size: 11px;
        padding: 0;
        margin: 0;
        background-color: #f9f9f9;
 }
 
-.mw-debug table td {
+.mw-debug table td, .mw-debug table th  {
        padding: 4px 10px;
+}
+
+.mw-debug table td {
        border-bottom: 1px solid #eee;
        word-wrap: break-word;
 }
@@ -63,6 +62,9 @@
        display: inline-block;
        padding: 10px 5px;
        font-size: 13px;
+       /* IE-hack for display: inline-block */
+       zoom: 1;
+       *display:inline;
 }
 
 .mw-debug-panelink {
@@ -88,7 +90,7 @@ a.mw-debug-panelabel:visited {
 }
 
 .mw-debug-pane {
-       max-height: 300px;
+       height: 300px;
        overflow: scroll;
        display: none;
        font-size: 11px;
@@ -129,3 +131,53 @@ 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 tr td:last-child {
+       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;
+}