1
/* This Source Code Form is subject to the terms of the Mozilla Public
2
* License, v. 2.0. If a copy of the MPL was not distributed with this
3
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5
/* This Source Code Form is subject to the terms of the Mozilla Public
6
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
7
* You can obtain one at http://mozilla.org/MPL/2.0/. */
9
/* Reload and waiting notices */
12
background-color: var(--theme-toolbar-background);
13
color: var(--theme-body-color-alt);
36
.theme-dark .edgePath path {
37
stroke: #b6babf; /* Grey foreground text */
39
.theme-light .edgePath path {
40
stroke: #aaaaaa; /* Splitters */
43
/* AudioParam connection edges */
44
g.edgePath.param-connection {
45
stroke-dasharray: 5,5;
48
.theme-dark .edgePath.param-connection path {
49
stroke: #b6babf; /* Grey foreground text */
51
.theme-light .edgePath.param-connection path {
52
stroke: #aaaaaa; /* Splitters */
55
/* Labels in AudioParam connection should have background that match
56
* the main background so there's whitespace around the label, on top of the
58
.theme-dark g.edgeLabel rect {
61
.theme-light g.edgeLabel rect {
62
fill: #fcfcfc; /* Background - Editor */
64
.theme-dark g.edgeLabel tspan {
65
fill: var(--theme-body-color-alt);
67
.theme-light g.edgeLabel tspan {
68
fill: #585959; /* Grey foreground text */
78
stroke: var(--theme-tab-toolbar-background);
81
fill: var(--theme-tab-toolbar-background);
84
fill: var(--theme-toolbar-background);
91
.theme-light .nodes g.bypassed rect {
92
fill: url(chrome://browser/skin/devtools/filters.svg#bypass-light);
94
.theme-dark .nodes g.bypassed rect {
95
fill: url(chrome://browser/skin/devtools/filters.svg#bypass-dark);
97
.nodes g.bypassed.selected rect {
98
stroke: var(--theme-selection-background);
102
.nodes g.bypassed text {
110
.nodes g.selected rect {
111
fill: var(--theme-selection-background);
114
/* Don't style bypassed nodes text different because it'd be illegible in light-theme */
115
.theme-light g.selected:not(.bypassed) text {
116
fill: var(--theme-toolbar-background);
120
/* Text in nodes and edges */
122
cursor: default; /* override the "text" cursor */
124
font-family: "Helvetica Neue", Helvetica, Arial, sans-serf;
129
fill: var(--theme-body-color-alt);
141
/* hide the variables view scope title as its redundant,
142
* because there's only one scope displayed. */
143
.variables-view-scope > .title {
147
#web-audio-inspector-title {
151
.web-audio-inspector .error {
152
background-image: url(alerticon-warning.png);
153
background-size: 13px 12px;
154
-moz-appearance: none;
156
transition: opacity .5s ease-out 0s;
159
#inspector-pane-toggle {
163
list-style-image: url(debugger-collapse.png);
164
-moz-image-region: rect(0px,16px,16px,0px);
167
#inspector-pane-toggle > .toolbarbutton-icon {
172
#inspector-pane-toggle[pane-collapsed] {
173
list-style-image: url(debugger-expand.png);
176
#inspector-pane-toggle:active {
177
-moz-image-region: rect(0px,32px,16px,16px);
184
#automation-param-toolbar .automation-param-button[selected] {
185
color: var(--theme-selection-color);
186
background-color: var(--theme-selection-background);
194
@media (min-resolution: 1.25dppx) {
195
#inspector-pane-toggle {
196
list-style-image: url(debugger-collapse@2x.png);
197
-moz-image-region: rect(0px,32px,32px,0px);
200
#inspector-pane-toggle[pane-collapsed] {
201
list-style-image: url(debugger-expand@2x.png);
204
#inspector-pane-toggle:active {
205
-moz-image-region: rect(0px,64px,32px,32px);
208
.web-audio-inspector .error {
209
background-image: url(alerticon-warning@2x.png);
217
#audio-node-toolbar .bypass {
218
list-style-image: url(power.svg);
221
#audio-node-toolbar toolbarbutton[disabled] {
223
background-color: transparent;
226
.theme-dark #audio-node-toolbar toolbarbutton[checked] {
227
background-color: #1d4f73; /* Select Highlight Blue */
229
.theme-light #audio-node-toolbar toolbarbutton[checked] {
230
background-color: #4c9ed9; /* Select Highlight Blue */
233
/* don't invert checked buttons so we can have white icons on light theme */
234
#audio-node-toolbar toolbarbutton[checked] > .toolbarbutton-icon {
241
* `.devtools-responsive-container` takes care of most of
242
* the changing of host types.
244
@media (max-width: 700px) {
246
* Override the inspector toggle so it's always open
247
* in the portrait view, with the toggle button hidden.
249
#inspector-pane-toggle {
253
#web-audio-inspector {
254
margin-left: 0px !important;
255
margin-right: 0px !important;