2014-04-03 02:51:21 +04: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/. */
|
|
|
|
|
|
|
|
/* Reload and waiting notices */
|
|
|
|
.notice-container {
|
|
|
|
margin-top: -50vh;
|
2014-11-20 23:10:32 +03:00
|
|
|
color: var(--theme-body-color-alt);
|
2014-04-03 02:51:21 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#reload-notice {
|
|
|
|
font-size: 120%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#waiting-notice {
|
|
|
|
font-size: 110%;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Context Graph */
|
|
|
|
svg {
|
|
|
|
overflow: hidden;
|
2014-06-11 18:58:00 +04:00
|
|
|
-moz-box-flex: 1;
|
2014-04-03 02:51:21 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Edges in graph */
|
|
|
|
.edgePath path {
|
2014-05-20 14:50:00 +04:00
|
|
|
stroke-width: 1px;
|
2014-04-03 02:51:21 +04:00
|
|
|
fill: none;
|
|
|
|
}
|
|
|
|
|
2014-05-20 14:50:00 +04:00
|
|
|
.theme-dark .edgePath path {
|
2015-10-19 23:28:54 +03:00
|
|
|
stroke: var(--theme-body-color-alt);
|
2014-05-20 14:50:00 +04:00
|
|
|
}
|
|
|
|
.theme-light .edgePath path {
|
2015-10-19 23:28:54 +03:00
|
|
|
stroke: var(--theme-splitter-color);
|
2014-05-20 14:50:00 +04:00
|
|
|
}
|
2014-04-03 02:51:21 +04:00
|
|
|
|
2014-08-18 22:36:00 +04:00
|
|
|
/* AudioParam connection edges */
|
|
|
|
g.edgePath.param-connection {
|
|
|
|
stroke-dasharray: 5,5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.theme-dark .edgePath.param-connection path {
|
2015-10-19 23:28:54 +03:00
|
|
|
stroke: var(--theme-body-color-alt);
|
2014-08-18 22:36:00 +04:00
|
|
|
}
|
|
|
|
.theme-light .edgePath.param-connection path {
|
2015-10-19 23:28:54 +03:00
|
|
|
stroke: var(--theme-splitter-color);
|
2014-08-18 22:36:00 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Labels in AudioParam connection should have background that match
|
|
|
|
* the main background so there's whitespace around the label, on top of the
|
|
|
|
* dotted lines. */
|
2015-10-19 23:28:54 +03:00
|
|
|
g.edgeLabel rect {
|
|
|
|
fill: var(--theme-body-background);
|
2014-08-18 22:36:00 +04:00
|
|
|
}
|
2015-10-19 23:28:54 +03:00
|
|
|
g.edgeLabel tspan {
|
2014-11-20 23:10:32 +03:00
|
|
|
fill: var(--theme-body-color-alt);
|
2014-08-18 22:36:00 +04:00
|
|
|
}
|
|
|
|
|
2014-04-03 02:51:21 +04:00
|
|
|
/* Audio Nodes */
|
|
|
|
.nodes rect {
|
2014-05-20 14:50:00 +04:00
|
|
|
stroke-width: 1px;
|
2014-04-03 02:51:21 +04:00
|
|
|
cursor: pointer;
|
2014-11-20 23:10:32 +03:00
|
|
|
stroke: var(--theme-tab-toolbar-background);
|
|
|
|
fill: var(--theme-toolbar-background);
|
2014-04-03 02:51:21 +04:00
|
|
|
}
|
|
|
|
|
2015-01-20 18:28:00 +03:00
|
|
|
/**
|
|
|
|
* Bypassed Nodes
|
|
|
|
*/
|
|
|
|
|
|
|
|
.theme-light .nodes g.bypassed rect {
|
2015-10-30 21:59:30 +03:00
|
|
|
fill: url(chrome://devtools/skin/images/filters.svg#bypass-light);
|
2015-01-20 18:28:00 +03:00
|
|
|
}
|
|
|
|
.theme-dark .nodes g.bypassed rect {
|
2015-10-30 21:59:30 +03:00
|
|
|
fill: url(chrome://devtools/skin/images/filters.svg#bypass-dark);
|
2015-01-20 18:28:00 +03:00
|
|
|
}
|
|
|
|
.nodes g.bypassed.selected rect {
|
|
|
|
stroke: var(--theme-selection-background);
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
.nodes g.bypassed text {
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Selected Nodes
|
|
|
|
*/
|
2014-11-20 23:10:32 +03:00
|
|
|
.nodes g.selected rect {
|
|
|
|
fill: var(--theme-selection-background);
|
2014-05-20 14:50:00 +04:00
|
|
|
}
|
2014-04-03 02:51:21 +04:00
|
|
|
|
2015-01-20 18:28:00 +03:00
|
|
|
/* Don't style bypassed nodes text different because it'd be illegible in light-theme */
|
|
|
|
.theme-light g.selected:not(.bypassed) text {
|
|
|
|
fill: var(--theme-toolbar-background);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2014-09-15 12:45:00 +04:00
|
|
|
/* Text in nodes and edges */
|
2014-04-03 02:51:21 +04:00
|
|
|
text {
|
2014-09-15 12:45:00 +04:00
|
|
|
cursor: default; /* override the "text" cursor */
|
2014-04-03 02:51:21 +04:00
|
|
|
font-weight: 300;
|
|
|
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serf;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
2014-11-20 23:10:32 +03:00
|
|
|
text {
|
|
|
|
fill: var(--theme-body-color-alt);
|
2014-04-03 02:51:21 +04:00
|
|
|
}
|
2014-11-20 23:10:32 +03:00
|
|
|
|
2014-04-03 02:51:21 +04:00
|
|
|
|
2014-09-15 12:45:00 +04:00
|
|
|
.nodes text {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2014-04-03 02:51:21 +04:00
|
|
|
/**
|
|
|
|
* Inspector Styles
|
|
|
|
*/
|
|
|
|
|
2015-01-21 21:29:00 +03:00
|
|
|
/* hide the variables view scope title as its redundant,
|
|
|
|
* because there's only one scope displayed. */
|
|
|
|
.variables-view-scope > .title {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2014-08-14 19:57:00 +04:00
|
|
|
#web-audio-inspector-title {
|
|
|
|
margin: 6px;
|
|
|
|
}
|
|
|
|
|
2014-04-03 02:51:21 +04:00
|
|
|
.web-audio-inspector .error {
|
2015-09-21 20:04:31 +03:00
|
|
|
background-image: url(images/alerticon-warning.png);
|
2014-05-05 22:32:20 +04:00
|
|
|
background-size: 13px 12px;
|
2014-04-03 02:51:21 +04:00
|
|
|
-moz-appearance: none;
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity .5s ease-out 0s;
|
|
|
|
}
|
2014-05-05 22:32:20 +04:00
|
|
|
|
2014-05-13 23:59:00 +04:00
|
|
|
#inspector-pane-toggle {
|
|
|
|
background: none;
|
|
|
|
box-shadow: none;
|
|
|
|
border: none;
|
2016-04-06 18:32:18 +03:00
|
|
|
list-style-image: var(--theme-pane-collapse-image);
|
2014-05-13 23:59:00 +04:00
|
|
|
}
|
|
|
|
|
2014-06-02 16:20:00 +04:00
|
|
|
#inspector-pane-toggle > .toolbarbutton-icon {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
2016-07-04 17:47:48 +03:00
|
|
|
#inspector-pane-toggle.pane-collapsed {
|
2016-04-06 18:32:18 +03:00
|
|
|
list-style-image: var(--theme-pane-expand-image);
|
2014-05-13 23:59:00 +04:00
|
|
|
}
|
2014-06-02 16:20:00 +04:00
|
|
|
|
2015-01-13 16:03:00 +03:00
|
|
|
/**
|
|
|
|
* Automation Styles
|
|
|
|
*/
|
|
|
|
|
|
|
|
#automation-param-toolbar .automation-param-button[selected] {
|
|
|
|
color: var(--theme-selection-color);
|
|
|
|
background-color: var(--theme-selection-background);
|
|
|
|
}
|
|
|
|
|
|
|
|
#automation-graph {
|
|
|
|
overflow: hidden;
|
|
|
|
-moz-box-flex: 1;
|
|
|
|
}
|
|
|
|
|
2015-08-12 00:19:00 +03:00
|
|
|
@media (min-resolution: 1.1dppx) {
|
2014-06-11 22:27:00 +04:00
|
|
|
.web-audio-inspector .error {
|
2015-09-21 20:04:31 +03:00
|
|
|
background-image: url(images/alerticon-warning@2x.png);
|
2014-06-11 22:27:00 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-01-20 18:28:00 +03:00
|
|
|
/**
|
|
|
|
* Inspector toolbar
|
|
|
|
*/
|
|
|
|
|
|
|
|
#audio-node-toolbar .bypass {
|
2015-09-21 20:04:31 +03:00
|
|
|
list-style-image: url(images/power.svg);
|
2015-01-20 18:28:00 +03:00
|
|
|
}
|
|
|
|
|
2014-06-11 22:27:00 +04:00
|
|
|
/**
|
|
|
|
* Responsive Styles
|
|
|
|
* `.devtools-responsive-container` takes care of most of
|
|
|
|
* the changing of host types.
|
|
|
|
*/
|
|
|
|
@media (max-width: 700px) {
|
|
|
|
/**
|
|
|
|
* Override the inspector toggle so it's always open
|
|
|
|
* in the portrait view, with the toggle button hidden.
|
|
|
|
*/
|
|
|
|
#inspector-pane-toggle {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#web-audio-inspector {
|
|
|
|
margin-left: 0px !important;
|
|
|
|
margin-right: 0px !important;
|
|
|
|
}
|
|
|
|
}
|