Commit | Line | Data |
---|---|---|
acc20e5d RK |
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 file, | |
3 | * You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
4 | ||
5 | /* Reload and waiting notices */ | |
6 | .notice-container { | |
7 | margin-top: -50vh; | |
8 | } | |
9 | ||
10 | .notice-container { | |
11 | background-color: #000000; /* Toolbars */ | |
12 | color: #A09090; /* Light foreground text */ | |
13 | } | |
14 | ||
15 | #reload-notice { | |
16 | font-size: 120%; | |
17 | } | |
18 | ||
19 | #waiting-notice { | |
20 | font-size: 110%; | |
21 | } | |
22 | ||
23 | #waiting-notice::before { | |
24 | display: inline-block; | |
25 | content: ""; | |
26 | background: url("chrome://global/skin/icons/loading.gif") center no-repeat; | |
27 | width: 16px; | |
28 | height: 16px; | |
29 | -moz-margin-end: 6px; | |
30 | } | |
31 | ||
32 | /* Context Graph */ | |
33 | svg { | |
34 | overflow: hidden; | |
35 | -moz-box-flex: 1; | |
36 | } | |
37 | ||
38 | /* Edges in graph */ | |
39 | .edgePath path { | |
40 | stroke-width: 1px; | |
41 | fill: none; | |
acc20e5d | 42 | |
a21f2959 RK |
43 | stroke: #A09090; /* Grey foreground text */ |
44 | } | |
45 | ||
46 | /* AudioParam connection edges */ | |
47 | g.edgePath.param-connection { | |
48 | stroke-dasharray: 5,5; | |
49 | } | |
50 | ||
51 | .edgePath.param-connection path { | |
52 | stroke: #A09090; /* Grey foreground text */ | |
53 | } | |
54 | ||
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 | |
57 | * dotted lines. */ | |
58 | g.edgeLabel rect { | |
59 | fill: #000000; | |
60 | } | |
61 | g.edgeLabel tspan { | |
62 | fill: #9C9CFF; /* Grey foreground text */ | |
acc20e5d RK |
63 | } |
64 | ||
65 | /* Audio Nodes */ | |
66 | .nodes rect { | |
67 | stroke-width: 1px; | |
68 | cursor: pointer; | |
69 | } | |
70 | ||
71 | .nodes rect { | |
72 | stroke: #9C9CFF; /* Tab toolbar */ | |
73 | fill: #000000; /* Toolbars */ | |
74 | } | |
75 | ||
76 | .nodes g.selected rect { | |
77 | fill: #008484; /* Select Highlight Blue */ | |
78 | } | |
79 | ||
80 | /* Text in nodes */ | |
81 | text { | |
82 | cursor: pointer; | |
83 | font-weight: 300; | |
84 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serf; | |
85 | font-size: 14px; | |
86 | } | |
87 | ||
88 | text { | |
89 | fill: #A09090; /* Grey foreground text */ | |
90 | } | |
91 | g.selected text { | |
92 | /* fill: #f0f1f2; / Toolbars */ | |
93 | } | |
94 | ||
95 | /** | |
96 | * Inspector Styles | |
97 | */ | |
98 | ||
a21f2959 RK |
99 | #web-audio-inspector-title { |
100 | margin: 6px; | |
101 | } | |
102 | ||
acc20e5d RK |
103 | .web-audio-inspector .error { |
104 | background-image: url("alerticon-warning.png"); | |
105 | background-size: 13px 12px; | |
106 | -moz-appearance: none; | |
107 | opacity: 0; | |
108 | transition: opacity .5s ease-out 0s; | |
109 | } | |
110 | ||
111 | #inspector-pane-toggle { | |
112 | background: none; | |
113 | box-shadow: none; | |
114 | border: none; | |
115 | list-style-image: url("debugger-collapse.png"); | |
116 | -moz-image-region: rect(0px,16px,16px,0px); | |
117 | } | |
118 | ||
119 | #inspector-pane-toggle > .toolbarbutton-icon { | |
120 | width: 16px; | |
121 | height: 16px; | |
122 | } | |
123 | ||
124 | #inspector-pane-toggle[pane-collapsed] { | |
125 | list-style-image: url("debugger-expand.png"); | |
126 | } | |
127 | ||
128 | #inspector-pane-toggle:active { | |
129 | -moz-image-region: rect(0px,32px,16px,16px); | |
130 | } | |
131 | ||
132 | @media (min-resolution: 2dppx) { | |
133 | #inspector-pane-toggle { | |
134 | list-style-image: url("debugger-collapse@2x.png"); | |
135 | -moz-image-region: rect(0px,32px,32px,0px); | |
136 | } | |
137 | ||
138 | #inspector-pane-toggle[pane-collapsed] { | |
139 | list-style-image: url("debugger-expand@2x.png"); | |
140 | } | |
141 | ||
142 | #inspector-pane-toggle:active { | |
143 | -moz-image-region: rect(0px,64px,32px,32px); | |
144 | } | |
145 | ||
146 | .web-audio-inspector .error { | |
147 | background-image: url("alerticon-warning@2x.png"); | |
148 | } | |
149 | } | |
150 | ||
151 | /** | |
152 | * Responsive Styles | |
153 | * `.devtools-responsive-container` takes care of most of | |
154 | * the changing of host types. | |
155 | */ | |
156 | @media (max-width: 700px) { | |
157 | /** | |
158 | * Override the inspector toggle so it's always open | |
159 | * in the portrait view, with the toggle button hidden. | |
160 | */ | |
161 | #inspector-pane-toggle { | |
162 | display: none; | |
163 | } | |
164 | ||
165 | #web-audio-inspector { | |
166 | margin-left: 0px !important; | |
167 | margin-right: 0px !important; | |
168 | } | |
169 | } | |
dccbbf95 RK |
170 | |
171 | #inspector-pane-toggle { | |
172 | background: none; | |
173 | box-shadow: none; | |
174 | border: none; | |
175 | list-style-image: url("debugger-collapse.png"); | |
176 | -moz-image-region: rect(0px,16px,16px,0px); | |
177 | } | |
178 | ||
179 | #inspector-pane-toggle[pane-collapsed] { | |
180 | list-style-image: url("debugger-expand.png"); | |
181 | } | |
182 | ||
183 | #inspector-pane-toggle:active { | |
184 | -moz-image-region: rect(0px,32px,16px,16px); | |
185 | } |