rest of sync for LCARStrek with browser windows/shared theme changes in Firefox 27...
[themes.git] / LCARStrek / browser / devtools / debugger.css
index 0802089e0b6bb27af266023dc0455a16dbd86e1a..b44969bb8cd35280a543fe8f7cf91f76d107662d 100644 (file)
@@ -16,61 +16,61 @@ window {
   min-width: 50px;
 }
 
-#sources-pane + .devtools-side-splitter {
+#sources-and-editor-splitter {
   -moz-border-start-color: transparent;
 }
 
-.side-menu-widget-item-checkbox {
-  -moz-margin-end: -6px;
-  padding: 0;
-  opacity: 0;
-  transition: opacity .15s ease 0s;
-}
-
-/* Only show the checkbox when the source is hovered over, is selected, or if it
- * is not checked. */
-.side-menu-widget-item:hover > .side-menu-widget-item-checkbox,
-.side-menu-widget-item.selected > .side-menu-widget-item-checkbox,
-.side-menu-widget-item-checkbox:not([checked]) {
-  opacity: 1;
-  transition: opacity .15s ease-out 0s;
-}
-
-.side-menu-widget-item-checkbox > .checkbox-check {
-  -moz-appearance: none;
-  background: none;
-  background-image: url("itemToggle.png");
-  background-repeat: no-repeat;
-  background-clip: content-box;
-  background-position: -16px 0;
-  background-size: 32px 16px;
-  width: 16px;
-  height: 16px;
-  border: 0;
+#sources-toolbar .devtools-toolbarbutton {
+  min-width: 32px;
+}
+
+#pretty-print {
+  font-weight: bold;
+}
+
+#black-box {
+  list-style-image: url("debugger-blackbox.png");
+  -moz-image-region: rect(0px, 16px, 16px, 0px);
 }
 
-.side-menu-widget-item-checkbox[checked] > .checkbox-check {
-  background-position: 0 0;
+#black-box[checked],
+#black-box:hover {
+  -moz-image-region: rect(0px, 32px, 16px, 16px);
 }
 
-.side-menu-widget-item-checkbox:not([checked]) ~ .side-menu-widget-item-contents {
+#sources .black-boxed {
   color: #8050B0;
 }
 
-.side-menu-widget-item-checkbox:not([checked]) ~ .side-menu-widget-item-contents > .dbg-breakpoint {
+#sources .black-boxed > .dbg-breakpoint {
   display: none;
 }
 
-/* Black box message */
+#sources .black-boxed + .side-menu-widget-item-arrow:-moz-locale-dir(ltr) {
+  background-image: none;
+/*  box-shadow: inset -1px 0 0 #222426; */
+}
+
+#sources .black-boxed + .side-menu-widget-item-arrow:-moz-locale-dir(rtl) {
+  background-image: none;
+/*  box-shadow: inset 1px 0 0 #222426; */
+}
 
-#black-boxed-message {
+/* Black box message and source progress meter */
+
+#black-boxed-message,
+#source-progress-container {
+  background-color: #A09090;
   /* Prevent the container deck from aquiring the height from this message. */
   min-height: 1px;
-  background-color: #A09090;
-  padding: 25vh 0;
   color: #000000;
 }
 
+#source-progress {
+  min-height: 2em;
+  min-width: 40em;
+}
+
 #black-boxed-message-label,
 #black-boxed-message-button {
   text-align: center;
@@ -131,7 +131,7 @@ window {
 /* Sources and breakpoints view */
 
 .dbg-breakpoint {
-  -moz-margin-start: -14px;
+  -moz-margin-start: 4px;
 }
 
 .dbg-breakpoint-line {
@@ -150,6 +150,17 @@ window {
   margin: 2px;
 }
 
+/* Instruments pane (watch expressions, variables, event listeners...) */
+
+#instruments-pane > tabs > tab {
+  min-height: 25px !important;
+  padding: 0 !important;
+}
+
+#instruments-pane > tabpanels > tabpanel {
+  background: #000000;
+}
+
 /* Watch expressions view */
 
 #expressions {
@@ -164,13 +175,35 @@ window {
 .dbg-expression-arrow {
   width: 16px;
   height: auto;
-  background: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 32, 16, 16);
+  background: -moz-image-rect(url("commandline-icon.png"), 0, 32, 16, 16);
 }
 
 .dbg-expression-input {
   -moz-padding-start: 2px !important;
 }
 
+/* Event listeners view */
+
+.dbg-event-listener {
+  padding: 4px 8px;
+}
+
+.dbg-event-listener-type {
+  font-weight: 600;
+}
+
+.dbg-event-listener-separator {
+  color: #A09090;
+}
+
+.dbg-event-listener-targets {
+  color: #9C9CFF;
+}
+
+.dbg-event-listener-location {
+  color: #E7ADE7;
+}
+
 /* Searchbox and the search operations help panel */
 
 .devtools-searchinput {
@@ -319,7 +352,7 @@ window {
   transform: scale(1.75, 1.75);
 }
 
-/* Toolbar Controls */
+/* Toolbar controls */
 
 #toggle-panes {
   list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png");
@@ -377,13 +410,16 @@ window {
   -moz-image-region: rect(0px, 32px, 16px, 16px);
 }
 
-#debugger-controls > toolbarbutton {
+#debugger-controls > toolbarbutton,
+#sources-controls > toolbarbutton {
 }
 
-#debugger-controls > toolbarbutton:last-of-type {
+#debugger-controls > toolbarbutton:last-of-type,
+#sources-controls > toolbarbutton:last-of-type {
 }
 
-#debugger-controls {
+#debugger-controls,
+#sources-controls {
 }
 
 #instruments-pane-toggle {
@@ -402,3 +438,23 @@ window {
 #instruments-pane-toggle:hover:active {
   -moz-image-region: rect(0px,32px,16px,16px);
 }
+
+/* Horizontal vs. vertical layout */
+
+#vertical-layout-panes-container {
+  min-height: 35vh;
+  max-height: 80vh;
+}
+
+#body[layout=vertical] #instruments-pane {
+  margin: 0 !important;
+  /* To prevent all the margin hacks to hide the sidebar. */
+}
+
+#body[layout=vertical] .side-menu-widget-container {
+  box-shadow: none !important;
+}
+
+#body[layout=vertical] .side-menu-widget-item-arrow {
+  background-image: none !important;
+}