fifth part of syncing LCARStrek with Firefox 29 windows theme changes
[themes.git] / LCARStrek / browser / devtools / debugger.css
index a1e2caa3e2023c545d7ea2c6b8126e5f60861ef6..b3dfbab5d553fc56cabcb6d9ca0c64d54b980096 100644 (file)
@@ -6,39 +6,59 @@ window {
   padding: 0;
 }
 
-#body {
-  background-color: #000000;
-}
+/* === BEGIN debugger.inc.css === */
 
 /* Sources and breakpoints pane */
 
-#sources-pane {
-  min-width: 50px;
+#sources-pane[selectedIndex="0"] + #sources-and-editor-splitter {
+  border-color: transparent;
 }
 
-#sources-and-editor-splitter {
-  -moz-border-start-color: transparent;
+#sources-pane > tabs {
+  -moz-border-end: 1px solid #9C9CFF; /* Match the splitter color. */
 }
 
-#pretty-print {
-  min-width: 0;
-  font-weight: bold;
+#sources-toolbar > .devtools-toolbarbutton,
+#sources-controls > .devtools-toolbarbutton {
+  min-width: 32px;
 }
 
 #black-box {
   list-style-image: url("debugger-blackbox.png");
+}
+
+#pretty-print {
+  font-weight: bold;
+}
+
+#toggle-breakpoints {
+  list-style-image: url("debugger-toggleBreakpoints.png");
+}
+
+#sources-toolbar .devtools-toolbarbutton:not([label]) {
   -moz-image-region: rect(0px, 16px, 16px, 0px);
 }
 
-#black-box[checked],
-#black-box:hover {
+#sources-toolbar .devtools-toolbarbutton:not([label]):hover {
+  -moz-image-region: rect(16px, 16px, 32px, 0px);
+}
+
+#sources-toolbar .devtools-toolbarbutton:not([label])[checked] {
   -moz-image-region: rect(0px, 32px, 16px, 16px);
 }
 
+#sources-toolbar .devtools-toolbarbutton:not([label])[checked]:hover {
+  -moz-image-region: rect(16px, 32px, 32px, 16px);
+}
+
 #sources .black-boxed {
   color: #8050B0;
 }
 
+#sources .selected > .black-boxed {
+  color: #000000;
+}
+
 #sources .black-boxed > .dbg-breakpoint {
   display: none;
 }
@@ -58,7 +78,8 @@ window {
 #black-boxed-message,
 #source-progress-container {
   background-color: #A09090;
-  /* Prevent the container deck from aquiring the height from this message. */
+  /* Prevent the container deck from aquiring the size from this message. */
+  min-width: 1px;
   min-height: 1px;
   color: #000000;
 }
@@ -79,32 +100,67 @@ window {
   padding: .25em;
 }
 
-/* ListWidget items */
+/* Tracer */
 
-.list-widget-item {
-  padding: 2px;
+#trace {
+  list-style-image: url("tracer-icon.png");
+  -moz-image-region: rect(0px,16px,16px,0px);
 }
 
-.list-widget-item:not(.selected):not(.empty):hover {
-/*  background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.85)), Highlight;*/
+#trace:hover,
+#trace[checked] {
+  -moz-image-region: rect(0px,32px,16px,16px);
 }
 
-.list-widget-item.selected.light {
-/*  background: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.8)), Highlight;
-  color: #000;*/
+#clear-tracer {
+  /* Make this button as narrow as the text inside it. */
+  min-width: 1px;
 }
 
-.list-widget-item.selected {
-  background: #008484;
-  color: #FFCF00;
+.trace-name {
+  -moz-padding-start: 4px !important;
 }
 
-.list-widget-item.empty {
-  color: #8050B0;
-  /* padding: 4px; */
+/* Tracer dark+light theme */
+
+.trace-item {
+  color: #FF9F00; /* Light foreground text */
+}
+
+.trace-item.selected-matching {
+  background-color: #004242; /* Select highlight blue at 40% alpha */
+}
+
+.selected > .trace-item {
+  background-color: #004242; /* Select highlight blue at 75% alpha */
 }
 
-/* Stack frames view */
+.trace-call {
+  color: #9C9CFF; /* highlight blue */
+}
+
+.trace-return,
+.trace-yield {
+  color: #008484; /* highlight green */
+}
+
+.trace-throw {
+  color: #FF0000; /* highlight red */
+}
+
+.trace-param {
+  color: #E7ADE7; /* Content text light  */
+}
+
+.trace-syntax {
+  color: #A09090; /* highlight grey */
+}
+
+/* Breadcrumbs stack frames view */
+
+.breadcrumbs-widget-item {
+  max-width: none;
+}
 
 #stackframes {
   min-height: 25px;
@@ -114,15 +170,42 @@ window {
   -moz-padding-start: 4px;
 }
 
-.dbg-stackframe-menuitem[checked] {
-  margin-top: 3px;
-  margin-bottom: 3px;
-  outline: 1px solid #008484;
+/* Classic stack frames view */
+
+.dbg-classic-stackframe {
+  display: block;
+  padding: 0 4px;
+}
+
+.dbg-classic-stackframe-title {
   font-weight: 600;
+  color: #9C9CFF;
+}
+
+.dbg-classic-stackframe-details:-moz-locale-dir(ltr) {
+  float: right;
+}
+
+.dbg-classic-stackframe-details:-moz-locale-dir(rtl) {
+  float: left;
+}
+
+.dbg-classic-stackframe-details-url {
+  max-width: 90%;
+  text-align: end;
+  color: #3333FF;
+}
+
+.dbg-classic-stackframe-details-sep {
+  color: #A09090;
+}
+
+.dbg-classic-stackframe-details-line {
+  color: #9C9CFF;
 }
 
-.dbg-stackframe-menuitem-details {
-  -moz-padding-start: 16px;
+#callstack-list .side-menu-widget-item.selected label {
+  color: #FFCF00;
 }
 
 /* Sources and breakpoints view */
@@ -147,15 +230,39 @@ window {
   margin: 2px;
 }
 
-/* Instruments pane (watch expressions, variables, event listeners...) */
+/* Variable bubble view */
 
-#instruments-pane > tabs > tab {
-  min-height: 25px !important;
-  padding: 0 !important;
+.devtools-tooltip-simple-text.token-undefined,
+.devtools-tooltip-simple-text.token-null {
+  text-align: center;
+  color: #A09090 !important; /* Override the theme's color. */
 }
 
-#instruments-pane > tabpanels > tabpanel {
-  background: #000000;
+.devtools-tooltip-simple-text.token-boolean {
+  text-align: center;
+  color: #9C9CFF !important;
+}
+
+.devtools-tooltip-simple-text.token-number {
+  text-align: center;
+  color: #E7ADE7 !important;
+}
+
+.devtools-tooltip-simple-text.token-string {
+  text-align: start;
+  color: #008484 !important;
+}
+
+.devtools-tooltip-simple-text.token-other {
+  text-align: center;
+  color: #FF9F00 !important;
+}
+
+/* Instruments pane (watch expressions, variables, event listeners...) */
+
+#instruments-pane .side-menu-widget-container,
+#instruments-pane .side-menu-widget-empty-text {
+/*  box-shadow: none !important; */
 }
 
 /* Watch expressions view */
@@ -172,17 +279,29 @@ window {
 .dbg-expression-arrow {
   width: 16px;
   height: auto;
+  margin: 2px;
   background: -moz-image-rect(url("commandline-icon.png"), 0, 32, 16, 16);
 }
 
 .dbg-expression-input {
-  -moz-padding-start: 2px !important;
+  color: inherit;
+}
+
+.dbg-expression-button {
+  border: none;
+  background: none;
+  cursor: pointer;
+  text-decoration: underline;
+}
+
+.dbg-expression-button {
+  color: #9C9CFF; /* Blue highlight color */
 }
 
 /* Event listeners view */
 
 .dbg-event-listener {
-  padding: 4px 8px;
+  padding: 0 8px;
 }
 
 .dbg-event-listener-type {
@@ -201,9 +320,13 @@ window {
   color: #E7ADE7;
 }
 
+#event-listeners .side-menu-widget-item.selected {
+  background: none !important;
+}
+
 /* Searchbox and the search operations help panel */
 
-.devtools-searchinput {
+#searchbox {
   min-width: 220px;
   -moz-margin-start: 1px;
 }
@@ -261,19 +384,19 @@ window {
 /*  text-shadow: 0 1px #fff;*/
 }
 
-.results-panel-item-pre {
+.results-panel-item-label-before {
   -moz-margin-end: 5px !important;
   color: #A09090;
   cursor: inherit;
 }
 
-.results-panel-item-name {
+.results-panel-item-label {
   color: #9C9CFF;
   font-weight: 600;
   cursor: inherit;
 }
 
-.results-panel-item-details {
+.results-panel-item-label-below {
   color: #FF9F00;
   cursor: inherit;
 }
@@ -282,10 +405,6 @@ window {
 
 #globalsearch {
   min-height: 10px;
-}
-
-#globalsearch > vbox:not(:empty) {
-  min-height: 10px;
   max-height: 125px;
 }
 
@@ -298,6 +417,10 @@ window {
   background: none !important;
 }
 
+.dbg-source-results:not(.selected):hover {
+  background-color: #000000; /* Sidebar background */
+}
+
 .dbg-results-header {
   -moz-padding-start: 6px;
 }
@@ -351,6 +474,11 @@ window {
 
 /* Toolbar controls */
 
+.devtools-sidebar-tabs > tabs > tab {
+/*  min-height: 25px !important;
+  padding: 0 !important; */
+}
+
 #toggle-panes {
   list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png");
   -moz-image-region: rect(0px, 16px, 16px, 0px);
@@ -365,24 +493,34 @@ window {
   -moz-image-region: rect(0px, 32px, 16px, 16px);
 }
 
-#resumption-panel-desc {
-  width: 200px;
+#resume {
+  list-style-image: url("chrome://browser/skin/devtools/debugger-pause.png");
+  -moz-image-region: rect(0px, 16px, 16px, 0px);
+/*  transition: background 0.15s ease-in-out; */
 }
 
-#resumption-order-panel {
-  -moz-margin-start: -8px;
+#resume:hover {
+  -moz-image-region: rect(0px, 32px, 16px, 16px);
 }
 
-#resume {
+#resume[checked=true] {
+/*  background: none; */
   list-style-image: url("chrome://browser/skin/devtools/debugger-play.png");
   -moz-image-region: rect(0px, 16px, 16px, 0px);
 }
 
-#resume[checked=true],
-#resume:hover {
+#resume[checked=true]:hover {
   -moz-image-region: rect(0px, 32px, 16px, 16px);
 }
 
+#resume ~ toolbarbutton {
+/*  transition: opacity 0.15s ease-in-out; */
+}
+
+#resume:not([checked]) ~ toolbarbutton {
+/*  opacity: 0.5; */
+}
+
 #step-over {
   list-style-image: url("chrome://browser/skin/devtools/debugger-step-over.png");
   -moz-image-region: rect(0px, 16px, 16px, 0px);
@@ -407,18 +545,6 @@ window {
   -moz-image-region: rect(0px, 32px, 16px, 16px);
 }
 
-#debugger-controls > toolbarbutton,
-#sources-controls > toolbarbutton {
-}
-
-#debugger-controls > toolbarbutton:last-of-type,
-#sources-controls > toolbarbutton:last-of-type {
-}
-
-#debugger-controls,
-#sources-controls {
-}
-
 #instruments-pane-toggle {
 /*  background: none;
   box-shadow: none;
@@ -448,10 +574,17 @@ window {
   /* To prevent all the margin hacks to hide the sidebar. */
 }
 
-#body[layout=vertical] .side-menu-widget-container {
+#body[layout=vertical] #sources-pane > tabs {
+  -moz-border-end: none;
+}
+
+#body[layout=vertical] .side-menu-widget-container,
+#body[layout=vertical] .side-menu-widget-empty-text {
   box-shadow: none !important;
 }
 
 #body[layout=vertical] .side-menu-widget-item-arrow {
   background-image: none !important;
 }
+
+/* === END debugger.inc.css === */