2013-02-20 15:33:36 -08:00
|
|
|
/* vim:set ts=2 sw=2 sts=2 et: */
|
2012-05-21 04:12:37 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2012-02-07 09:22:30 -08:00
|
|
|
|
|
|
|
#body {
|
2013-02-20 15:33:36 -08:00
|
|
|
background: #fff;
|
2012-02-07 09:22:30 -08:00
|
|
|
}
|
|
|
|
|
2013-02-20 15:33:36 -08:00
|
|
|
/* Sources and breakpoints pane */
|
2012-02-07 09:22:30 -08:00
|
|
|
|
2013-02-20 15:33:36 -08:00
|
|
|
#sources-pane {
|
|
|
|
min-width: 50px;
|
2012-06-04 05:35:24 -07:00
|
|
|
}
|
|
|
|
|
2013-02-20 15:33:36 -08:00
|
|
|
#sources-pane + .devtools-side-splitter {
|
|
|
|
-moz-border-start-color: transparent;
|
2012-07-15 03:45:38 -07:00
|
|
|
}
|
|
|
|
|
2013-07-23 10:15:10 -07:00
|
|
|
.side-menu-widget-item-checkbox {
|
|
|
|
-moz-appearance: none;
|
|
|
|
padding: 0;
|
2013-08-12 14:44:07 -07:00
|
|
|
margin-top: 4px;
|
|
|
|
margin-bottom: -4px;
|
|
|
|
-moz-margin-start: 4px;
|
|
|
|
-moz-margin-end: -4px;
|
2013-07-24 17:50:07 -07:00
|
|
|
opacity: 0;
|
2013-08-12 14:44:07 -07:00
|
|
|
transition: opacity .15s ease 0s;
|
2013-07-24 17:50:07 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
/* 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;
|
2013-08-12 14:44:07 -07:00
|
|
|
transition: opacity .15s ease-out 0s;
|
2013-07-23 10:15:10 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.side-menu-widget-item-checkbox > .checkbox-check {
|
|
|
|
-moz-appearance: none;
|
|
|
|
background: none;
|
2013-08-16 15:02:39 -07:00
|
|
|
background-image: url(itemToggle.png);
|
2013-07-23 10:15:10 -07:00
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-clip: content-box;
|
2013-08-16 15:02:39 -07:00
|
|
|
background-size: 32px 16px;
|
2013-08-12 14:44:07 -07:00
|
|
|
background-position: -16px 0;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2013-07-23 15:17:43 -07:00
|
|
|
border: 0;
|
2013-07-23 10:15:10 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.side-menu-widget-item-checkbox[checked] > .checkbox-check {
|
|
|
|
background-position: 0 0;
|
|
|
|
}
|
|
|
|
|
2013-08-07 16:29:35 -07:00
|
|
|
.side-menu-widget-item-checkbox:not([checked]) ~ .side-menu-widget-item-contents {
|
|
|
|
color: #888;
|
|
|
|
}
|
|
|
|
|
2013-07-27 12:28:09 -07:00
|
|
|
.side-menu-widget-item-checkbox:not([checked]) ~ .side-menu-widget-item-contents > .dbg-breakpoint {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2013-07-30 20:36:13 -07:00
|
|
|
/* Black box message */
|
|
|
|
|
|
|
|
#black-boxed-message {
|
2013-08-12 23:56:51 -07:00
|
|
|
background: url(background-noise-toolbar.png) rgb(61,69,76);
|
2013-08-06 07:00:52 -07:00
|
|
|
/* Prevent the container deck from aquiring the height from this message. */
|
|
|
|
min-height: 1px;
|
|
|
|
padding: 25vh 0;
|
2013-07-30 20:36:13 -07:00
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
#black-boxed-message-label,
|
|
|
|
#black-boxed-message-button {
|
|
|
|
text-align: center;
|
2013-08-06 07:00:52 -07:00
|
|
|
font-size: 120%;
|
2013-07-30 20:36:13 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#black-boxed-message-button {
|
|
|
|
margin-top: 1em;
|
|
|
|
padding: .25em;
|
|
|
|
}
|
|
|
|
|
2013-02-20 15:33:36 -08:00
|
|
|
/* ListWidget items */
|
2012-02-07 09:22:30 -08:00
|
|
|
|
2013-02-20 15:33:36 -08:00
|
|
|
.list-widget-item {
|
2012-11-17 11:41:04 -08:00
|
|
|
padding: 2px;
|
2012-02-07 09:22:30 -08:00
|
|
|
}
|
|
|
|
|
2013-02-20 15:33:36 -08:00
|
|
|
.list-widget-item:not(.selected):not(.empty):hover {
|
|
|
|
background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.85)), Highlight;
|
2012-08-18 02:29:47 -07:00
|
|
|
}
|
|
|
|
|
2013-02-20 15:33:36 -08:00
|
|
|
.list-widget-item.selected.light {
|
|
|
|
background: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.8)), Highlight;
|
|
|
|
color: #000;
|
2012-08-18 02:29:47 -07:00
|
|
|
}
|
|
|
|
|
2013-02-20 15:33:36 -08:00
|
|
|
.list-widget-item.selected {
|
|
|
|
background: Highlight;
|
|
|
|
color: HighlightText;
|
2012-08-18 02:29:47 -07:00
|
|
|
}
|
|
|
|
|
2013-02-20 15:33:36 -08:00
|
|
|
.list-widget-item.empty {
|
2012-08-18 02:29:47 -07:00
|
|
|
color: GrayText;
|
2013-02-20 15:33:36 -08:00
|
|
|
padding: 2px;
|
2012-08-18 02:29:47 -07:00
|
|
|
}
|
|
|
|
|
2013-02-20 15:33:36 -08:00
|
|
|
/* Stack frames view */
|
2012-08-18 02:29:47 -07:00
|
|
|
|
2013-02-20 15:33:36 -08:00
|
|
|
.dbg-stackframe-details {
|
2012-08-18 02:29:47 -07:00
|
|
|
-moz-padding-start: 4px;
|
2012-02-25 01:04:07 -08:00
|
|
|
}
|
|
|
|
|
2013-03-09 21:05:09 -08:00
|
|
|
.dbg-stackframe-menuitem[checked] {
|
|
|
|
margin-top: 3px;
|
|
|
|
margin-bottom: 3px;
|
2013-02-20 15:33:36 -08:00
|
|
|
outline: 1px solid #eee;
|
2012-02-25 01:04:07 -08:00
|
|
|
font-weight: 600;
|
2012-02-07 09:22:30 -08:00
|
|
|
}
|
|
|
|
|
2013-03-09 21:05:09 -08:00
|
|
|
.dbg-stackframe-menuitem-details {
|
2013-02-20 15:33:36 -08:00
|
|
|
-moz-padding-start: 16px;
|
2012-11-27 08:19:23 -08:00
|
|
|
}
|
|
|
|
|
2013-02-20 15:33:36 -08:00
|
|
|
/* Sources and breakpoints view */
|
2012-07-14 23:40:37 -07:00
|
|
|
|
2013-03-09 21:05:09 -08:00
|
|
|
.dbg-breakpoint {
|
2013-08-12 14:44:07 -07:00
|
|
|
-moz-margin-start: -14px;
|
2012-11-15 22:42:52 -08:00
|
|
|
}
|
|
|
|
|
2013-02-20 15:33:36 -08:00
|
|
|
.dbg-breakpoint-line {
|
2012-07-14 23:40:37 -07:00
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dbg-breakpoint-text {
|
2013-02-20 15:33:36 -08:00
|
|
|
-moz-margin-start: 10px !important;
|
|
|
|
font-style: italic;
|
2012-11-15 22:42:52 -08:00
|
|
|
}
|
|
|
|
|
2013-02-20 15:33:36 -08:00
|
|
|
/* Watch expressions view */
|
2012-02-07 09:22:30 -08:00
|
|
|
|
2012-11-17 11:41:04 -08:00
|
|
|
#expressions {
|
|
|
|
min-height: 10px;
|
2013-01-24 03:28:52 -08:00
|
|
|
max-height: 125px;
|
2012-07-20 01:56:46 -07:00
|
|
|
}
|
|
|
|
|
2012-11-17 11:41:04 -08:00
|
|
|
.dbg-expression {
|
|
|
|
height: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dbg-expression-arrow {
|
2013-06-21 09:24:35 -07:00
|
|
|
width: 16px;
|
2012-11-17 11:41:04 -08:00
|
|
|
height: auto;
|
2013-06-21 09:24:35 -07:00
|
|
|
background: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 32, 16, 16);
|
2012-11-17 11:41:04 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.dbg-expression-input {
|
2013-02-20 15:33:36 -08:00
|
|
|
-moz-padding-start: 2px !important;
|
2012-11-17 11:41:04 -08:00
|
|
|
}
|
|
|
|
|
2013-02-20 15:33:36 -08:00
|
|
|
/* Searchbox and the search operations help panel */
|
2012-11-17 11:41:04 -08:00
|
|
|
|
2013-02-20 15:33:36 -08:00
|
|
|
.devtools-searchinput {
|
|
|
|
min-width: 220px;
|
|
|
|
-moz-margin-start: 1px;
|
2013-01-24 10:59:45 -08:00
|
|
|
}
|
|
|
|
|
2013-07-19 13:47:23 -07:00
|
|
|
#filter-label {
|
|
|
|
-moz-margin-start: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#searchbox-panel-operators {
|
|
|
|
margin-top: 5px;
|
2013-02-20 15:33:36 -08:00
|
|
|
margin-bottom: 8px;
|
|
|
|
-moz-margin-start: 2px;
|
2012-02-07 09:22:30 -08:00
|
|
|
}
|
|
|
|
|
2013-02-20 15:33:36 -08:00
|
|
|
.searchbox-panel-operator-button {
|
|
|
|
min-width: 26px;
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
-moz-margin-start: 2px;
|
|
|
|
-moz-margin-end: 6px;
|
|
|
|
text-align: center;
|
2013-01-31 08:07:24 -08:00
|
|
|
}
|
|
|
|
|
2013-02-20 15:33:36 -08:00
|
|
|
.searchbox-panel-operator-label {
|
|
|
|
padding-bottom: 2px;
|
2013-01-31 08:07:24 -08:00
|
|
|
}
|
|
|
|
|
2013-03-25 11:02:34 -07:00
|
|
|
/* Searchbox results panel */
|
2013-01-31 08:07:24 -08:00
|
|
|
|
2013-03-25 11:02:34 -07:00
|
|
|
.results-panel {
|
2013-02-20 15:33:36 -08:00
|
|
|
padding: 4px;
|
|
|
|
opacity: 0.9;
|
2012-11-27 08:19:23 -08:00
|
|
|
}
|
|
|
|
|
2013-03-25 11:02:34 -07:00
|
|
|
.results-panel-item {
|
2013-02-20 15:33:36 -08:00
|
|
|
background: #f4f4f4;
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
border-top-color: #fff;
|
|
|
|
padding: 5px;
|
2013-01-31 08:07:24 -08:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2013-03-25 11:02:34 -07:00
|
|
|
.results-panel-item:first-of-type {
|
2013-02-20 15:33:36 -08:00
|
|
|
border-top-color: #ddd;
|
|
|
|
border-radius: 4px 4px 0 0;
|
2012-08-18 02:29:47 -07:00
|
|
|
}
|
|
|
|
|
2013-03-25 11:02:34 -07:00
|
|
|
.results-panel-item:last-of-type {
|
2013-02-20 15:33:36 -08:00
|
|
|
border-radius: 0 0 4px 4px;
|
2012-05-09 09:05:53 -07:00
|
|
|
}
|
|
|
|
|
2013-03-25 11:02:34 -07:00
|
|
|
.results-panel-item:only-of-type {
|
2013-01-31 08:07:24 -08:00
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
2013-03-25 11:02:34 -07:00
|
|
|
.results-panel-item:not(.selected):not(:hover) {
|
2013-02-20 15:33:36 -08:00
|
|
|
text-shadow: 0 1px #fff;
|
2012-03-15 01:17:03 -07:00
|
|
|
}
|
|
|
|
|
2013-03-25 11:02:34 -07:00
|
|
|
.results-panel-item-pre {
|
|
|
|
-moz-margin-end: 5px !important;
|
|
|
|
color: #444;
|
|
|
|
cursor: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.results-panel-item-name {
|
2013-02-20 15:33:36 -08:00
|
|
|
color: #111;
|
|
|
|
font-weight: 600;
|
|
|
|
cursor: inherit;
|
2013-01-31 08:07:25 -08:00
|
|
|
}
|
|
|
|
|
2013-03-25 11:02:34 -07:00
|
|
|
.results-panel-item-details {
|
|
|
|
color: #7f7f7f;
|
2013-02-20 15:33:36 -08:00
|
|
|
cursor: inherit;
|
2012-02-07 09:22:30 -08:00
|
|
|
}
|
|
|
|
|
2013-02-20 15:33:36 -08:00
|
|
|
/* Sources search view */
|
2012-02-07 09:22:30 -08:00
|
|
|
|
2013-02-20 15:33:36 -08:00
|
|
|
#globalsearch {
|
|
|
|
min-height: 10px;
|
|
|
|
box-shadow: inset 0 -4px 8px #eee;
|
|
|
|
background: url(background-noise-toolbar.png);
|
2012-10-26 13:28:54 -07:00
|
|
|
}
|
|
|
|
|
2013-02-20 15:33:36 -08:00
|
|
|
#globalsearch > vbox:not(:empty) {
|
|
|
|
min-height: 10px;
|
|
|
|
max-height: 125px;
|
2012-10-26 13:28:54 -07:00
|
|
|
}
|
|
|
|
|
2013-02-20 15:33:36 -08:00
|
|
|
#globalsearch + .devtools-horizontal-splitter {
|
|
|
|
-moz-border-top-colors: #bfbfbf;
|
2013-01-31 08:07:24 -08:00
|
|
|
}
|
|
|
|
|
2013-02-20 15:33:36 -08:00
|
|
|
.dbg-source-results {
|
|
|
|
padding: 0;
|
|
|
|
background: none !important;
|
2012-02-07 09:22:30 -08:00
|
|
|
}
|
|
|
|
|
2013-02-20 15:33:36 -08:00
|
|
|
.dbg-results-header {
|
2012-10-26 10:10:17 -07:00
|
|
|
-moz-padding-start: 6px;
|
2012-02-07 09:22:30 -08:00
|
|
|
}
|
|
|
|
|
2013-02-20 15:33:36 -08:00
|
|
|
.dbg-results-header-location {
|
2012-11-27 08:19:23 -08:00
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
2013-02-20 15:33:36 -08:00
|
|
|
.dbg-results-header-match-count {
|
|
|
|
-moz-padding-start: 6px;
|
|
|
|
color: GrayText;
|
2012-02-07 09:22:30 -08:00
|
|
|
}
|
|
|
|
|
2013-02-20 15:33:36 -08:00
|
|
|
.dbg-results-line-number {
|
|
|
|
background: #e2e2e2;
|
|
|
|
min-width: 40px;
|
|
|
|
-moz-border-end: 1px solid #b4c4d3;
|
|
|
|
-moz-padding-end: 4px;
|
|
|
|
padding-top: 2px;
|
|
|
|
text-align: end;
|
|
|
|
color: #8c8c8c;
|
2012-02-07 09:22:30 -08:00
|
|
|
}
|
|
|
|
|
2013-02-20 15:33:36 -08:00
|
|
|
.dbg-results-line-contents {
|
|
|
|
-moz-padding-start: 4px;
|
|
|
|
padding-top: 1px;
|
|
|
|
padding-bottom: 1px;
|
2012-02-07 09:22:30 -08:00
|
|
|
}
|
|
|
|
|
2013-02-20 15:33:36 -08:00
|
|
|
.dbg-results-line-contents-string {
|
|
|
|
padding: 1px;
|
2012-10-26 10:10:17 -07:00
|
|
|
}
|
|
|
|
|
2013-02-20 15:33:36 -08:00
|
|
|
.dbg-results-line-contents-string[match=true] {
|
|
|
|
background: rgba(255,255,0,0.5);
|
|
|
|
padding: 0;
|
|
|
|
border: 1px solid #aaa;
|
|
|
|
border-radius: 4px;
|
|
|
|
cursor: pointer;
|
2012-07-20 01:56:46 -07:00
|
|
|
}
|
|
|
|
|
2013-02-20 15:33:36 -08:00
|
|
|
.dbg-results-line-contents-string[match=true][focusing] {
|
|
|
|
transition: transform 0.3s ease-in-out;
|
2012-07-20 01:56:46 -07:00
|
|
|
}
|
|
|
|
|
2013-02-20 15:33:36 -08:00
|
|
|
.dbg-results-line-contents-string[match=true][focused] {
|
|
|
|
transition-duration: 0.1s;
|
|
|
|
transform: scale(1.75, 1.75);
|
2012-07-20 01:56:46 -07:00
|
|
|
}
|
|
|
|
|
2013-02-20 15:33:36 -08:00
|
|
|
/* Toolbar Controls */
|
2012-07-20 01:56:46 -07:00
|
|
|
|
2013-04-09 04:17:03 -07:00
|
|
|
#resumption-panel-desc {
|
|
|
|
width: 200px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#resumption-order-panel {
|
|
|
|
-moz-margin-start: -8px;
|
|
|
|
}
|
|
|
|
|
2012-05-24 23:46:09 -07:00
|
|
|
#resume {
|
2012-05-31 11:45:00 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/devtools/debugger-play.png");
|
2013-02-20 15:33:36 -08:00
|
|
|
-moz-image-region: rect(0px,16px,16px,0px);
|
2012-05-24 23:46:09 -07:00
|
|
|
}
|
|
|
|
|
2013-02-20 15:33:36 -08:00
|
|
|
#resume[checked] {
|
|
|
|
-moz-image-region: rect(0px,32px,16px,16px);
|
2012-05-24 23:46:09 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
#step-over {
|
|
|
|
list-style-image: url("chrome://browser/skin/devtools/debugger-step-over.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
#step-in {
|
|
|
|
list-style-image: url("chrome://browser/skin/devtools/debugger-step-in.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
#step-out {
|
|
|
|
list-style-image: url("chrome://browser/skin/devtools/debugger-step-out.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
#debugger-controls > toolbarbutton {
|
2013-02-20 15:33:36 -08:00
|
|
|
margin: 0;
|
|
|
|
box-shadow: none;
|
|
|
|
border-radius: 0;
|
2012-05-24 23:46:09 -07:00
|
|
|
border-width: 0;
|
|
|
|
-moz-border-end-width: 1px;
|
|
|
|
outline-offset: -3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#debugger-controls > toolbarbutton:last-of-type {
|
|
|
|
-moz-border-end-width: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#debugger-controls {
|
2013-02-20 15:33:36 -08:00
|
|
|
box-shadow: 0 1px 0 hsla(209,29%,72%,.15) inset,
|
|
|
|
0 0 0 1px hsla(209,29%,72%,.1) inset,
|
|
|
|
0 0 0 1px hsla(209,29%,72%,.1),
|
|
|
|
0 1px 0 hsla(210,16%,76%,.1);
|
2012-05-24 23:46:09 -07:00
|
|
|
border: 1px solid hsla(210,8%,5%,.45);
|
|
|
|
border-radius: 3px;
|
|
|
|
margin: 0 3px;
|
|
|
|
}
|
2013-02-20 15:33:36 -08:00
|
|
|
|
|
|
|
#instruments-pane-toggle {
|
|
|
|
background: none;
|
|
|
|
box-shadow: none;
|
|
|
|
border: none;
|
2013-03-11 23:50:42 -07:00
|
|
|
list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png");
|
2013-02-20 15:33:36 -08:00
|
|
|
-moz-image-region: rect(0px,16px,16px,0px);
|
|
|
|
}
|
|
|
|
|
2013-03-11 23:50:42 -07:00
|
|
|
#instruments-pane-toggle[pane-collapsed] {
|
|
|
|
list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png");
|
2013-02-20 15:33:36 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
#instruments-pane-toggle:hover {
|
|
|
|
-moz-image-region: rect(0px,32px,16px,16px);
|
|
|
|
}
|
|
|
|
|
|
|
|
#instruments-pane-toggle:hover:active {
|
|
|
|
-moz-image-region: rect(0px,48px,16px,32px);
|
|
|
|
}
|