adjust network panel styling for recent changes
[themes.git] / LCARStrek / browser / devtools / debugger.css
index 3b8f7d6540b9a14ca3a9b095d3888e46e83223d5..911d1a5fc412110539c98d6c560819903b9da631 100644 (file)
@@ -17,7 +17,7 @@ window {
  */
 
 #chrome-globals, #sources {
-  min-width: 150px;
+  width: 200px;
 }
 
 /**
@@ -56,6 +56,11 @@ window {
 
 #globalsearch {
   background-color: #000000;
+  min-height: 10px;
+}
+
+#globalsearch > vbox:not(:empty) {
+  min-height: 10px;
   max-height: 150px;
 }
 
@@ -114,6 +119,10 @@ window {
   transform: scale(1.75, 1.75);
 }
 
+/**
+ * Searchbox panel
+ */
+
 #searchbox-panel .description {
   margin: -6px 0 8px;
 }
@@ -130,12 +139,53 @@ window {
   padding-bottom: 1px;
 }
 
+/**
+ * Filtered sources panel
+ */
+
+#filtered-sources-panel {
+  padding: 4px;
+}
+
+.dbg-source-item {
+  border: 1px solid #A09090;
+  border-top-color: #8050B0;
+}
+
+.dbg-source-item.selected {
+}
+
+.dbg-source-item:first-of-type {
+  border-top-color: #9C9CFF;
+  border-radius: 4px 4px 0 0;
+}
+
+.dbg-source-item:last-of-type {
+  border-radius: 0 0 4px 4px;
+}
+
+.dbg-source-item:only-of-type {
+  border-radius: 4px 4px 4px 4px;
+}
+
+.dbg-source-item:not(:hover) {
+/*  text-shadow: 0 1px #fff;*/
+}
+
+.dbg-source-item-name {
+  color: #9C9CFF;
+  font-weight: 600;
+}
+
+.dbg-source-item-details {
+  color: #FF9F00;
+}
+
 /**
  * Stack frames and breakpoints pane
  */
 
 #stackframes\+breakpoints {
-  background-color: #000000;
   min-width: 50px;
 }
 
@@ -148,7 +198,6 @@ window {
  */
 
 #variables\+expressions {
-  background-color: #000000;
   min-width: 50px;
 }
 
@@ -161,7 +210,6 @@ window {
  */
 
 #stackframes {
-  /* background-color: white; */
   min-height: 10px;
 }
 
@@ -183,7 +231,6 @@ window {
  */
 
 #breakpoints {
-  background-color: #000000;
   min-height: 10px;
 }
 
@@ -217,8 +264,8 @@ window {
  */
 
 #expressions {
-  background-color: #000000;
   min-height: 10px;
+  max-height: 125px;
 }
 
 .dbg-expression {
@@ -237,27 +284,69 @@ window {
 }
 
 .dbg-expression-delete {
+  opacity: 0;
+}
+
+.dbg-expression-delete:not(:hover) {
   -moz-image-region: rect(0, 32px, 16px, 16px);
 }
 
+.dbg-expression-delete:hover {
+  opacity: 1;
+}
+
+.dbg-expression:hover > .dbg-expression-delete:not(:hover) {
+  opacity: 0.5;
+  transition: opacity 0.2s ease-in-out;
+}
+
 /**
  * Variables view
  */
 
 #variables {
-/*  background-color: white; */
   min-height: 10px;
 }
 
-.dbg-variables-delete:not(:hover) {
+.dbg-variable-delete {
+  opacity: 0;
+}
+
+.dbg-variable-delete:not(:hover) {
   -moz-image-region: rect(0, 32px, 16px, 16px);
+}
+
+.dbg-variable-delete:hover {
+  opacity: 1;
+}
+
+.variable-or-property:hover > .title > .dbg-variable-delete:not(:hover),
+.variable-or-property:focus > .title > .dbg-variable-delete:not(:hover) {
   opacity: 0.5;
+  transition: opacity 0.2s ease-in-out;
+}
+
+.dbg-variable-edit {
+  background: url("chrome://browser/skin/tabview/edit-light.png") center no-repeat;
+  width: 20px;
+  height: 16px;
+  cursor: pointer;
+}
+.dbg-variable-throbber {
+  background: url("chrome://global/skin/icons/loading.gif") center no-repeat;
+  width: 16px;
+  height: 16px;
 }
 
 /**
  * Scope element
  */
 
+.scope:focus > .title {
+  background: #008484;
+  color: #000000;
+}
+
 .scope > .title {
   background: #E7ADE7;
   border-radius: 5px;
@@ -281,7 +370,6 @@ window {
   -moz-margin-start: 1px;
   -moz-margin-end: 1px;
   border-bottom: 1px solid #008484;
-  background: #000000;
   transition: background 1s ease-in-out;
 }
 
@@ -290,16 +378,29 @@ window {
   transition-duration: 0.4s;
 }
 
+.scope:focus > .title {
+  background: #008484;
+  color: #000000;
+  border-radius: 4px;
+}
+
 .variable > .title > .name {
-  color: #FF9F00;
   font-weight: 600;
 }
 
+.variable:not(:focus) > .title > .name {
+  color: #FF9F00;
+}
+
 .variable > .title > .value {
   -moz-padding-start: 6px;
   -moz-padding-end: 4px;
 }
 
+.variable[editable] > .title > .value {
+  cursor: text;
+}
+
 .variable:not([non-header]) > .details {
   -moz-margin-start: 10px;
 }
@@ -310,7 +411,6 @@ window {
 
 .property {
   transition: background 1s ease-in-out;
-  background: #000000;
   border-radius: 8px;
 }
 
@@ -319,7 +419,13 @@ window {
   background: rgba(255, 207, 0, 0.8);
 }
 
-.property > .title > .name {
+.property:focus > .title {
+  background: #008484;
+  color: #000000;
+  border-radius: 4px;
+}
+
+.property:not(:focus) > .title > .name {
   color: #E7ADE7;
 }
 
@@ -328,12 +434,16 @@ window {
   -moz-padding-end: 4px;
 }
 
+.property[editable] > .title > .value {
+  cursor: text;
+}
+
 .property:not([non-header]) > .details {
   -moz-margin-start: 10px;
 }
 
 /**
- * Non enumerable, configurable and writable variables and properties.
+ * Non enumerable, configurable and writable variables and properties
  */
 
 .variable[proto] > .title > .name,
@@ -373,8 +483,8 @@ window {
 }
 */
 
-.variable[exception] > .title > .name,
-.property[exception] > .title > .name {
+.variable[exception]:not(:focus) > .title > .name,
+.property[exception]:not(:focus) > .title > .name {
   color: #FF0000;
 }
 
@@ -396,21 +506,27 @@ window {
  * Variables and properties editing
  */
 
-#variables .element-value-input {
-  -moz-margin-start: 5px !important;
+.element-value-input {
+  -moz-margin-start: 4px !important;
 }
 
-#variables .element-name-input {
-  -moz-margin-start: -1px !important;
+.element-name-input {
+  -moz-margin-start: -2px !important;
   color: #E7ADE7;
   font-weight: 600;
 }
 
+.element-value-input,
+.element-name-input {
+  max-width: 30em;
+  border: 1px solid #9C9CFF !important;
+}
+
 /**
  * Variables and properties searching
  */
 
-#variables .devtools-searchinput {
+.variables-searchinput.devtools-searchinput {
   min-height: 24px;
 }
 
@@ -424,27 +540,28 @@ window {
  * Token value colors
  */
 
-.token-undefined {
+.variable-or-property:not(:focus) > .title > .token-undefined {
   color: #8050B0;
 }
 
-.token-null {
+.variable-or-property:not(:focus) > .title > .token-null {
   color: #008484;
 }
 
-.token-boolean {
+.variable-or-property:not(:focus) > .title > .token-boolean {
   color: #FFCF00;
 }
 
-.token-number {
+.variable-or-property:not(:focus) > .title > .token-number {
   color: #E7ADE7;
 }
 
-.token-string {
+.variable-or-property:not(:focus) > .title > .token-string {
+  max-width: 30em;
   color: #9C9CFF;
 }
 
-.token-other {
+.variable-or-property:not(:focus) > .title > .token-other {
   color: #FF9F00;
 }