fourth part of syncing LCARStrek with Firefox 29 windows theme changes
[themes.git] / LCARStrek / browser / devtools / webconsole.css
index 4bebb5e600933f5c2ca40f5ec0449507a288e6eb..67d3f4f6d28ee77418a943780bc1bd09678cf55e 100644 (file)
@@ -15,7 +15,7 @@ window {
   width: 200px;
 }
 
-/* === webconsole.inc.css === */
+/* === BEGIN webconsole.inc.css === */
 
 /* General output styles */
 
@@ -61,7 +61,7 @@ a {
 }
 
 /* The red bubble that shows the number of times a message is repeated */
-.message > .repeats {
+.message-repeats {
   -moz-user-select: none;
   flex: 0 0 auto;
   margin: 2px 6px;
@@ -75,11 +75,11 @@ a {
   font-weight: 600;
 }
 
-.message > .repeats[value="1"] {
+.message-repeats[value="1"] {
   display: none;
 }
 
-.message > .location {
+.message-location {
   -moz-margin-start: 6px;
   display: flex;
   flex: 0 0 auto;
@@ -89,21 +89,22 @@ a {
   margin-top: 4px;
   color: #3333FF;
   text-decoration: none;
+  white-space: nowrap;
 }
 
-.message > .location:hover,
-.message > .location:focus {
+.message-location:hover,
+.message-location:focus {
   text-decoration: underline;
 }
 
-.message > .location > .filename {
+.message-location > .filename {
   text-overflow: ellipsis;
   text-align: end;
   overflow: hidden;
   white-space: nowrap;
 }
 
-.message > .location > .line-number {
+.message-location > .line-number {
   flex: 0 0 auto;
 }
 
@@ -333,6 +334,10 @@ a {
   border: none;
 }
 
+.devtools-side-splitter ~ #webconsole-sidebar[hidden] {
+  display: none;
+}
+
 /* Security styles */
 
 .message[category=security] > .icon {
@@ -365,6 +370,37 @@ a {
   text-decoration: none;
 }
 
+.consoleTrace .body > div {
+  display: flex;
+  margin-bottom: 5px;
+}
+
+.consoleTrace .title {
+  display: block;
+  flex: 1 1 auto;
+}
+
+.stacktrace {
+  list-style: none;
+  padding: 0 1em 0 1.5em;
+  margin: 0;
+  max-height: 10em;
+  overflow-y: auto;
+
+  border: 1px solid #A09090;
+  border-radius: 3px;
+}
+
+.stacktrace li {
+  display: flex;
+  margin: 0;
+}
+
+.stacktrace .function {
+  display: block;
+  flex: 1 1 auto;
+}
+
 /* Replace these values with CSS variables as available */
 .theme-dark .jsterm-input-container {
   background-color: #000000; /* tabToolbarBackgroundColor */
@@ -387,7 +423,10 @@ a {
   border-color: #A09090;
 }
 
-/* Replace these values with CSS variables as available */
+.theme-dark .stacktrace {
+  border-color: #A09090;
+}
+
 .theme-light .jsterm-input-container {
   background-color: #000000; /* tabToolbarBackgroundColor */
   border-color: #9C9CFF; /* mainBackgroundColor */
@@ -408,3 +447,48 @@ a {
 .theme-light .inlined-variables-view iframe {
   border-color: #A09090;
 }
+
+.theme-dark .stacktrace {
+  border-color: #A09090;
+}
+
+@media (max-width: 500px) {
+  .message > .timestamp {
+    display: none;
+  }
+  .toolbarbutton-text {
+    display: none;
+  }
+  .hud-console-filter-toolbar .webconsole-filter-button {
+    min-width: 40px;
+  }
+  .hud-console-filter-toolbar .webconsole-clear-console-button {
+    min-width: 25px;
+  }
+  .webconsole-filter-button > .toolbarbutton-menubutton-button:before {
+    width: 16px;
+    height: 16px;
+    margin-left: 1px;
+  }
+  .toolbarbutton-menubutton-dropmarker {
+    margin: 0px;
+  }
+}
+
+@media (max-width: 300px) {
+  .hud-console-filter-toolbar {
+    -moz-box-orient: vertical;
+  }
+  .toolbarbutton-text {
+    display: -moz-box;
+  }
+  .devtools-toolbarbutton {
+    margin-top: 3px;
+  }
+  .hud-console-filter-toolbar .hud-filter-box,
+  .hud-console-filter-toolbar .devtools-toolbarbutton {
+    margin-top: 5px;
+  }
+}
+
+/* === END webconsole.inc.css === */