some devtools improvements
[themes.git] / LCARStrek / browser / devtools / webconsole.css
index 056424c1e61bd041ee92a018d6386218bb6ab2b9..0de177484dd17abfa3df8b78d54c3ffc896a9a16 100644 (file)
@@ -32,24 +32,24 @@ a {
 
 .message {
   display: flex;
-  flex: 0 0 auto;
+  flex: none;
   padding: 0 7px;
   width: 100%;
   box-sizing: border-box;
 }
 
 .message > .timestamp {
-  flex: 0 0 auto;
+  flex: none;
   color: #8050B0;
   margin: 4px 6px 0 0;
 }
 
 .message > .indent {
-  flex: 0 0 auto;
+  flex: none;
 }
 
 .message > .icon {
-  flex: 0 0 auto;
+  flex: none;
   margin: 3px 6px 0 0;
   padding: 0 4px;
   height: 1em;
@@ -78,10 +78,14 @@ a {
   margin: 3px;
 }
 
+.message-body-wrapper .table-widget-body {
+  overflow: visible;
+}
+
 /* The red bubble that shows the number of times a message is repeated */
 .message-repeats {
   -moz-user-select: none;
-  flex: 0 0 auto;
+  flex: none;
   margin: 2px 6px;
   padding: 0 6px;
   height: 1.25em;
@@ -99,7 +103,7 @@ a {
 
 .message-location {
   display: flex;
-  flex: 0 0 auto;
+  flex: none;
   align-self: flex-start;
   justify-content: flex-end;
   width: 10em;
@@ -122,7 +126,7 @@ a {
 }
 
 .message-location > .line-number {
-  flex: 0 0 auto;
+  flex: none;
 }
 
 .hud-msg-node[selected="true"] > .webconsole-timestamp,
@@ -134,7 +138,7 @@ a {
   display: flex;
 }
 
-.message-body {
+.message-body > * {
   white-space: pre-wrap;
   word-wrap: break-word;
 }
@@ -178,7 +182,7 @@ a {
 }
 
 #output-container.hideTimestamps > .message > .indent {
-  background-color: #000000; /* .theme-body */
+  background-color: var(--theme-body-background);
 }
 
 .filtered-by-type,
@@ -195,6 +199,10 @@ a {
 
 /* WebConsole colored drops */
 
+.hud-console-filter-toolbar toolbarbutton > .toolbarbutton-text {
+  padding: 2px 2px 3px;
+}
+
 .webconsole-filter-button {
   -moz-user-focus: normal;
 }
@@ -205,11 +213,16 @@ a {
   height: 8px;
   width: 8px;
   border-radius: 50%;
-  margin-left: 5px;
+  -moz-margin-start: 2px;
+  -moz-margin-end: 2px;
   border-width: 1px;
   border-style: solid;
 }
 
+.webconsole-filter-button > .toolbarbutton-menubutton-button {
+  -moz-box-orient: horizontal;
+}
+
 .webconsole-filter-button menuitem {
   -moz-image-region: auto;
 }
@@ -226,7 +239,7 @@ a {
 }
 
 .message:hover {
-  background-color: #404000;
+  background-color: var(--theme-contrast-background);
 }
 
 .message[severity=error] {
@@ -234,7 +247,18 @@ a {
 }
 
 .console-string {
-  color: #FF0000;
+  color: var(--theme-highlight-orange);
+}
+
+.message[severity=error] .console-string {
+  color: #000000;
+}
+
+.theme-selected .console-string,
+.theme-selected .cm-number,
+.theme-selected .cm-variable,
+.theme-selected .kind-ArrayLike {
+  color: #000000 !important; /* Selection Text Color */
 }
 
 .message[category=network] > .indent {
@@ -250,7 +274,7 @@ a {
 }
 
 .message[category=network] .method {
-  flex: 0 0 auto;
+  flex: none;
 }
 
 .message[category=network]:not(.navigation-marker) .url {
@@ -264,7 +288,7 @@ a {
 }
 
 .message[category=network] .status {
-  flex: 0 0 auto;
+  flex: none;
   -moz-margin-start: 6px;
 }
 
@@ -442,7 +466,11 @@ a {
   border: 1px solid #A09090;
   border-radius: 3px;
 }
+
+.consoletable {
+  margin: 5px 0 0 0;
+}
+
 .message[severity=error] .stacktrace {
   background-color: #000000;
 }
@@ -496,20 +524,20 @@ a {
 
 /* Replace these values with CSS variables as available */
 .jsterm-input-container {
-  background-color: #000000; /* tabToolbarBackgroundColor */
-  border-color: #9C9CFF; /* mainBackgroundColor */
+  background-color: var(--theme-toolbar-background);
+  border-color: var(--theme-splitter-color);
 }
 
 .jsterm-input-node {
-  color: #E7ADE7; /* textColor */
+  color: var(--theme-highlight-pink);
 }
 
 .jsterm-complete-node {
-  color: #A09090; /* commentColor */
+  color: var(--theme-comment);
 }
 
 .navigation-marker .url {
-  background: #000000; /* mainBackgroundColor */
+  background: var(--theme-body-background);
 }
 
 .inlined-variables-view iframe {
@@ -535,7 +563,7 @@ a {
   }
   .webconsole-filter-button > .toolbarbutton-menubutton-button:before {
     width: 12px;
-    height: 12x;
+    height: 12px;
     margin-left: 1px;
   }
   .toolbarbutton-menubutton-dropmarker {
@@ -550,6 +578,7 @@ a {
   .toolbarbutton-text {
     display: -moz-box;
   }
+  /*
   .devtools-toolbarbutton {
     margin-top: 3px;
   }
@@ -557,6 +586,7 @@ a {
   .hud-console-filter-toolbar .devtools-toolbarbutton {
     margin-top: 5px;
   }
+  */
 }
 
 /* === END webconsole.inc.css === */