*/
#chrome-globals, #sources {
- min-width: 150px;
+ width: 200px;
}
/**
#globalsearch {
background-color: #000000;
+ min-height: 10px;
+}
+
+#globalsearch > vbox:not(:empty) {
+ min-height: 10px;
max-height: 150px;
}
transform: scale(1.75, 1.75);
}
+/**
+ * Searchbox panel
+ */
+
#searchbox-panel .description {
margin: -6px 0 8px;
}
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;
}
transition: margin 0.25s ease-in-out;
}
+/**
+ * Variables and watch expressions pane
+ */
+
+#variables\+expressions {
+ min-width: 50px;
+}
+
+#variables\+expressions[animated] {
+ transition: margin 0.25s ease-in-out;
+}
+
/**
* Stack frames view
*/
#stackframes {
- /* background-color: white; */
+ min-height: 10px;
}
.dbg-stackframe {
}
.dbg-stackframe-name {
- -moz-padding-end: 4px;
font-weight: 600;
}
+.dbg-stackframe-details {
+ -moz-padding-start: 4px;
+}
+
/**
* Breakpoints view
*/
#breakpoints {
- background-color: #000000;
+ min-height: 10px;
+}
+
+#breakpoints > vbox:not(:empty) {
+ min-height: 10px;
+ max-height: 200px;
+}
+
+.dbg-breakpoint:not(:last-child) {
+ border-bottom: 1px solid #008484;
}
.dbg-breakpoint-info {
font: 12px "Liberation Mono", Consolas, "Courier New", monospace;
}
+#conditional-breakpoint-panel .description {
+ margin: -6px 0 8px 0;
+}
+
+#conditional-breakpoint-panel textbox {
+ margin: 0 0 -2px 0;
+}
+
+/**
+ * Watch expressions view
+ */
+
+#expressions {
+ min-height: 10px;
+ max-height: 125px;
+}
+
+.dbg-expression {
+ height: 20px;
+ -moz-padding-start: 8px;
+}
+
+.dbg-expression-arrow {
+ width: 10px;
+ height: auto;
+ background: url("chrome://browser/skin/devtools/commandline.png") 0px 4px no-repeat;
+}
+
+.dbg-expression-input {
+ font: 9pt monospace;
+}
+
+.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-width: 50px;
+ min-height: 10px;
}
-#variables[animated] {
- transition: margin 0.25s ease-in-out;
+.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;
.variable {
-moz-margin-start: 1px;
-moz-margin-end: 1px;
+ border-bottom: 1px solid #008484;
transition: background 1s ease-in-out;
- background: #000000;
}
-.variable:not(:last-child) {
- border-bottom: 1px dotted #008484;
- border-radius: 8px;
+.variable[changed] {
+ background: #FFCF00;
+ transition-duration: 0.4s;
}
-.variable:last-child {
- margin-bottom: 2px;
+.scope:focus > .title {
+ background: #008484;
+ color: #000000;
+ border-radius: 4px;
}
-.variable[changed] {
- transition-duration: 0.4s;
- background: #FFCF00;
+.variable > .title > .name {
+ font-weight: 600;
}
-.variable > .title > .name {
+.variable:not(:focus) > .title > .name {
color: #FF9F00;
- font-weight: 600;
}
.variable > .title > .value {
-moz-padding-start: 6px;
+ -moz-padding-end: 4px;
+}
+
+.variable[editable] > .title > .value {
+ cursor: text;
}
.variable:not([non-header]) > .details {
.property {
transition: background 1s ease-in-out;
- background: #000000;
border-radius: 8px;
}
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;
}
.property > .title > .value {
-moz-padding-start: 6px;
+ -moz-padding-end: 4px;
+ cursor: text;
+}
+
+.property[editable] > .title > .value {
+ cursor: text;
}
.property:not([non-header]) > .details {
}
/**
- * Non enumerable, configurable and writable variables and properties.
+ * Non enumerable, configurable and writable variables and properties
*/
.variable[proto] > .title > .name,
}
*/
-.variable[exception] > .title > .name,
-.property[exception] > .title > .name {
+.variable[exception]:not(:focus) > .title > .name,
+.property[exception]:not(:focus) > .title > .name {
color: #FF0000;
}
text-decoration: line-through;
}
+/**
+ * Variables and properties editing
+ */
+
+.element-value-input {
+ -moz-margin-start: 4px !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;
}
* 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;
}
visibility: hidden;
}
-/**
- * Animations
- */
-
-#variables .details[open][animated],
-#globalsearch .dbg-results-container[open][animated] {
- animation-duration: 0.25s;
- animation-name: showblock;
-}
-
-@keyframes showblock {
- from {
- opacity: 0;
- transform-origin: top;
- transform: scaleY(0);
- }
-
- to {
- opacity: 1;
- transform-origin: top;
- transform: scaleY(1);
- }
-}
-
/**
* Toolbar Controls
*/