first part of update for both themes to browser winstripe changes in Firefox 17 cycle
[themes.git] / LCARStrek / browser / devtools / debugger.css
index 8692aa2e18dd4458fb7129acf0e7a56e7a56d964..54b7ebf916eb15f421a86baa583d62db9d73623a 100644 (file)
@@ -25,7 +25,7 @@ window {
 }
 
 #scripts {
-  max-width: 350px;
+  min-width: 150px;
 }
 
 /**
@@ -59,7 +59,85 @@ window {
 }
 
 /**
- * Stack frames
+ * Scripts searching
+ */
+
+#globalsearch {
+  background-color: #000000;
+  min-height: 50px;
+  max-height: 150px;
+}
+
+.dbg-script-results:not(:last-child) {
+  border-bottom: 1px dotted #9C9CFF;
+}
+
+.dbg-results-header {
+  -moz-padding-start: 6px;
+}
+
+.dbg-results-header .script-url {
+  font-weight: 600;
+}
+
+.dbg-results-header .match-count {
+  -moz-padding-start: 6px;
+  color: 8050B0;
+}
+
+.dbg-results-container .line-number {
+  background: #000000;
+  min-width: 35px;
+  -moz-padding-end: 4px;
+  -moz-border-end: 1px dotted #9C9CFF;
+  text-align: end;
+  font: 8pt monospace;
+}
+
+.dbg-results-container .line-contents {
+  -moz-padding-start: 4px;
+  font: 8pt monospace;
+}
+
+.dbg-results-container .line-contents:hover {
+  background: #000000;
+}
+
+.dbg-results-container .line-contents > .string {
+  padding: 1px;
+}
+
+.dbg-results-container .line-contents > .string[match=true] {
+  background: #E7ADE7;
+  color: #000000;
+  padding: 0;
+  border: 1px solid #9C9CFF;
+  border-radius: 4px;
+  cursor: pointer;
+  transition: transform 0.2s ease-in-out;
+  transform: scale(1, 1);
+}
+
+.dbg-results-container .line-contents > .string[match=true][focused] {
+  transition-duration: 0.1s;
+  transform: scale(1.75, 1.75);
+}
+
+/**
+ * Stack frames and breakpoints panel
+ */
+
+#stackframes\+breakpoints {
+  background-color: #000000;
+  min-width: 50px;
+}
+
+#stackframes\+breakpoints[animated] {
+  -moz-transition: margin 0.25s ease-in-out;
+}
+
+/**
+ * Stack frames view
  */
 
 #stackframes {
@@ -98,6 +176,11 @@ window {
 
 #variables {
 /*  background-color: white; */
+  min-width: 50px;
+}
+
+#variables[animated] {
+  -moz-transition: margin 0.25s ease-in-out;
 }
 
 /**
@@ -139,11 +222,19 @@ window {
   -moz-margin-start: 1px;
   -moz-margin-end: 1px;
   margin-top: 2px;
-  border-bottom: 1px dotted #008484;
   transition: background 1s ease-in-out;
   background: #000000;
 }
 
+.variable:not(:last-child) {
+  border-bottom: 1px dotted #008484;
+  border-radius: 8px;
+}
+
+.variable:last-child {
+  margin-bottom: 2px;
+}
+
 .variable[changed] {
   transition-duration: 0.4s;
   background: #FFCF00;
@@ -278,12 +369,13 @@ window {
  * Animations
  */
 
-.details[open][animated] {
-  -moz-animation-duration: 0.25s;
-  -moz-animation-name: showblock;
+.details[open][animated],
+.dbg-results-container[open][animated] {
+  animation-duration: 0.25s;
+  animation-name: showblock;
 }
 
-@-moz-keyframes showblock {
+@keyframes showblock {
   from {
     opacity: 0;
     transform-origin: top;
@@ -301,6 +393,23 @@ window {
  * Toolbar Controls
  */
 
+#toggle-panes {
+  background: none;
+  border: none;
+  box-shadow: none;
+  list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png");
+  -moz-image-region: rect(0px, 16px, 16px, 0px);
+}
+
+#toggle-panes:not([stackframesAndBreakpointsHidden]):not([variablesHidden]) {
+  list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png");
+}
+
+#toggle-panes:hover,
+#toggle-panes:hover:active {
+  -moz-image-region: rect(0px, 32px, 16px, 16px);
+}
+
 #resume {
   list-style-image: url("chrome://browser/skin/devtools/debugger-play.png");
   -moz-image-region: rect(0px, 16px, 16px, 0px);