fifth part of syncing LCARStrek with Firefox 41 windows theme changes
[themes.git] / LCARStrek / browser / devtools / webconsole.css
index 290f575a9db2c4ffcf213d001c0cf19007771359..1053a91e0dc7006742bdee694f207712858b213b 100644 (file)
@@ -32,24 +32,25 @@ a {
 
 .message {
   display: flex;
-  flex: 0 0 auto;
+  flex: none;
   padding: 0 7px;
   width: 100%;
   box-sizing: border-box;
 }
 
+.message > .prefix,
 .message > .timestamp {
-  flex: 0 0 auto;
+  flex: none;
   color: #8050B0;
-  margin: 4px 6px 0 0;
+  margin: 3px 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;
@@ -58,30 +59,28 @@ a {
 
 .message > .icon::before {
   content: "";
-  background-image: url("chrome://browser/skin/devtools/webconsole.png");
-  background-position: 8px 8px;
+  background-image: url("chrome://browser/skin/devtools/webconsole.svg");
+  background-position: 12px 12px;
   background-repeat: no-repeat;
-  background-size: 48px 40px;
-  width: 8px;
-  height: 8px;
+  background-size: 72px 60px;
+  width: 12px;
+  height: 12px;
   display: inline-block;
 }
 
-@media (min-resolution: 2dppx) {
-  .message > .icon::before {
-    background-image: url("chrome://browser/skin/devtools/webconsole@2x.png");
-  }
-}
-
 .message > .message-body-wrapper {
   flex: 1 1 100%;
   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 +98,7 @@ a {
 
 .message-location {
   display: flex;
-  flex: 0 0 auto;
+  flex: none;
   align-self: flex-start;
   justify-content: flex-end;
   width: 10em;
@@ -122,7 +121,7 @@ a {
 }
 
 .message-location > .line-number {
-  flex: 0 0 auto;
+  flex: none;
 }
 
 .hud-msg-node[selected="true"] > .webconsole-timestamp,
@@ -134,7 +133,7 @@ a {
   display: flex;
 }
 
-.message-body {
+.message-body > * {
   white-space: pre-wrap;
   word-wrap: break-word;
 }
@@ -178,7 +177,7 @@ a {
 }
 
 #output-container.hideTimestamps > .message > .indent {
-  background-color: #000000; /* .theme-body */
+  background-color: var(--theme-body-background);
 }
 
 .filtered-by-type,
@@ -195,6 +194,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 +208,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 +234,7 @@ a {
 }
 
 .message:hover {
-  background-color: #404000;
+  background-color: var(--theme-contrast-background);
 }
 
 .message[severity=error] {
@@ -234,19 +242,26 @@ a {
 }
 
 .console-string {
-  color: #FF9F00;
+  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 {
   -moz-border-end: solid #FF0000 6px;
 }
 
 .message[category=network][severity=error] > .icon::before {
-  background-position: -8px 0;
+  background-position: -12px 0;
 }
 
 .message[category=network] > .message-body {
@@ -254,7 +269,7 @@ a {
 }
 
 .message[category=network] .method {
-  flex: 0 0 auto;
+  flex: none;
 }
 
 .message[category=network]:not(.navigation-marker) .url {
@@ -268,7 +283,7 @@ a {
 }
 
 .message[category=network] .status {
-  flex: 0 0 auto;
+  flex: none;
   -moz-margin-start: 6px;
 }
 
@@ -281,6 +296,17 @@ a {
   margin: 0 6px;
 }
 
+.message[category=network] .xhr {
+  background-color: var(--theme-body-color-alt);
+  color: var(--theme-body-background);
+  border-radius: 3px;
+  font-weight: bold;
+  font-size: 10px;
+  padding: 2px;
+  line-height: 10px;
+  -moz-margin-end: 1ex;
+}
+
 /* CSS styles */
 .webconsole-filter-button[category="css"] > .toolbarbutton-menubutton-button:before {
   background-image: linear-gradient(#7575BF, #4E4E7F);
@@ -292,11 +318,11 @@ a {
 }
 
 .message[category=cssparser][severity=error] > .icon::before {
-  background-position: -8px -8px;
+  background-position: -12px -12px;
 }
 
 .message[category=cssparser][severity=warn] > .icon::before {
-  background-position: -16px -8px;
+  background-position: -24px -12px;
 }
 
 /* JS styles */
@@ -310,11 +336,11 @@ a {
 }
 
 .message[category=exception][severity=error] > .icon::before {
-  background-position: -8px -16px;
+  background-position: -12px -24px;
 }
 
 .message[category=exception][severity=warn] > .icon::before {
-  background-position: -16px -16px;
+  background-position: -24px -24px;
 }
 
 /* Web Developer styles */
@@ -329,15 +355,15 @@ a {
 
 .message[category=console][severity=error] > .icon::before,
 .message[category=output][severity=error] > .icon::before {
-  background-position: -8px -24px;
+  background-position: -12px -36px;
 }
 
 .message[category=console][severity=warn] > .icon::before {
-  background-position: -16px -24px;
+  background-position: -24px -36px;
 }
 
 .message[category=console][severity=info] > .icon::before {
-  background-position: -24px -24px;
+  background-position: -36px -36px;
 }
 
 /* Input and output styles */
@@ -347,11 +373,11 @@ a {
 }
 
 .message[category=input] > .icon::before {
-  background-position: -32px -24px;
+  background-position: -48px -36px;
 }
 
 .message[category=output] > .icon::before {
-  background-position: -40px -24px;
+  background-position: -60px -36px;
 }
 
 /* JSTerm Styles */
@@ -369,7 +395,7 @@ a {
   background-size: 16px 16px;
 }
 
-@media (min-resolution: 2dppx) {
+@media (min-resolution: 1.25dppx) {
   .jsterm-input-node {
     background-image: -moz-image-rect(url('chrome://browser/skin/devtools/commandline-icon@2x.png'), 0, 64, 32, 32);
   }
@@ -383,6 +409,9 @@ a {
 .inlined-variables-view .message-body {
   display: flex;
   flex-direction: column;
+  resize: vertical;
+  overflow: auto;
+  min-height: 200px;
 }
 
 .inlined-variables-view iframe {
@@ -416,11 +445,11 @@ a {
 }
 
 .message[category=security][severity=error] > .icon::before {
-  background-position: -8px -32px;
+  background-position: -12px -48px;
 }
 
 .message[category=security][severity=warn] > .icon::before {
-  background-position: -16px -32px;
+  background-position: -24px -48px;
 }
 
 .navigation-marker {
@@ -446,7 +475,11 @@ a {
   border: 1px solid #A09090;
   border-radius: 3px;
 }
+
+.consoletable {
+  margin: 5px 0 0 0;
+}
+
 .message[severity=error] .stacktrace {
   background-color: #000000;
 }
@@ -500,20 +533,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 {
@@ -539,7 +572,7 @@ a {
   }
   .webconsole-filter-button > .toolbarbutton-menubutton-button:before {
     width: 12px;
-    height: 12x;
+    height: 12px;
     margin-left: 1px;
   }
   .toolbarbutton-menubutton-dropmarker {
@@ -554,6 +587,7 @@ a {
   .toolbarbutton-text {
     display: -moz-box;
   }
+  /*
   .devtools-toolbarbutton {
     margin-top: 3px;
   }
@@ -561,6 +595,7 @@ a {
   .hud-console-filter-toolbar .devtools-toolbarbutton {
     margin-top: 5px;
   }
+  */
 }
 
 /* === END webconsole.inc.css === */