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/. */
5 /* Reload and waiting notices */
9 background-color: var(--theme-toolbar-background);
10 color: var(--theme-body-color);
13 #empty-notice > button {
17 list-style-image: url("profiler-stopwatch.svg");
20 #empty-notice > button .button-text {
30 #snapshots-pane > tabs {
31 -moz-border-end: 1px solid;
34 #snapshots-pane .devtools-toolbar {
35 -moz-border-end: 1px solid;
37 -moz-border-end-color: #9C9CFF; /* Match the splitter color. */
41 list-style-image: url("chrome://devtools/skin/profiler-stopwatch-tbutton.svg");
44 #record-snapshot:hover {
45 list-style-image: url("chrome://devtools/skin/profiler-stopwatch.svg");
48 #record-snapshot[checked] {
49 list-style-image: url("chrome://devtools/skin/profiler-stopwatch-checked-tbutton.svg");
52 #record-snapshot[checked]:hover {
53 list-style-image: url("chrome://devtools/skin/profiler-stopwatch-checked.svg");
58 .snapshot-item-thumbnail {
59 image-rendering: -moz-crisp-edges;
60 background-image: linear-gradient(45deg, #504848 25%, transparent 25%, transparent 75%, #504848 75%, #504848), linear-gradient(45deg, #504848 25%, transparent 25%, transparent 75%, #504848 75%, #504848);
61 background-size: 12px 12px, 12px 12px;
62 background-position: 0px 0px, 6px 6px;
63 background-repeat: repeat, repeat;
66 .snapshot-item-thumbnail[flipped=true] {
67 transform: scaleY(-1);
70 .snapshot-item-thumbnail {
71 background-color: #000000;
74 .snapshot-item-details {
75 -moz-padding-start: 6px;
78 .snapshot-item-calls {
85 color: var(--theme-body-color);
95 color: #A09090; /* Foreground (Text) - Grey */
99 text-decoration: underline;
103 .snapshot-item-save[disabled=true] {
104 text-decoration: none;
105 pointer-events: none;
108 .snapshot-item-footer.devtools-throbber::before {
112 #snapshots-list .selected label {
113 /* Text inside a selected item should not be custom colored. */
114 color: inherit !important;
117 /* Debugging pane controls */
119 #debugging-controls .devtools-toolbarbutton > .toolbarbutton-icon {
125 list-style-image: url("debugger-play.png");
126 -moz-image-region: rect(0px,32px,16px,16px);
130 list-style-image: url("debugger-step-over.png");
134 list-style-image: url("debugger-step-in.png");
138 list-style-image: url("debugger-step-out.png");
141 @media (min-resolution: 1.1dppx) {
143 list-style-image: url(debugger-play@2x.png);
144 -moz-image-region: rect(0px,64px,32px,32px);
148 list-style-image: url(debugger-step-over@2x.png);
152 list-style-image: url(debugger-step-in@2x.png);
156 list-style-image: url(debugger-step-out@2x.png);
160 #debugging-controls > toolbarbutton {
161 transition: opacity 0.15s ease-in-out;
164 #debugging-controls > toolbarbutton[disabled=true] {
169 -moz-padding-end: 24px;
172 #calls-slider .scale-slider {
176 #debugging-toolbar-sizer-button {
177 /* This button's only purpose in life is to make the
178 container .devtools-toolbar have the right height. */
183 /* Calls list pane */
185 #calls-list .side-menu-widget-container {
186 background: transparent;
189 #calls-list .side-menu-widget-item {
193 /* Calls list items */
195 #calls-list .side-menu-widget-item {
196 border-color: #504848;
197 border-bottom-color: transparent;
200 .call-item-view:hover {
201 background-color: #402800;
204 .call-item-view[draw-call] {
205 background-color: #403800;
208 .call-item-view[interesting-call] {
209 background-color: #272740;
213 width: calc(3em + 22px);
214 -moz-padding-start: 22px;
215 -moz-padding-end: 4px;
218 -moz-border-end: 1px solid;
219 -moz-margin-end: 6px;
222 .selected .call-item-gutter {
223 background-image: url("editor-debug-location.png");
224 background-repeat: no-repeat;
225 background-position: 6px center;
226 background-size: 12px;
229 @media (min-resolution: 1.1dppx) {
230 .selected .call-item-gutter {
231 background-image: url("editor-debug-location@2x.png");
236 background-color: var(--theme-contrastsidebar-background);
237 color: var(--theme-contrastsidebar-color);
238 border-color: var(--theme-contrastsidebar-bordercolor);
246 color: var(--theme-highlight-lightorange);
250 color: var(--theme-highlight-blue);
253 .call-item-location {
254 -moz-padding-start: 2px;
255 -moz-padding-end: 6px;
258 color: var(--theme-highlight-bluegrey);
261 .call-item-location:hover {
262 color: var(--theme-highlight-blue);
265 .call-item-view:hover .call-item-location,
266 .call-item-view[expanded] .call-item-location {
267 text-decoration: underline;
270 .call-item-location {
271 border-color: #A09090;
275 -moz-padding-start: calc(3em + 22px);
276 padding-bottom: 10px;
283 .call-item-stack-fn {
288 .call-item-stack-fn-location {
289 -moz-padding-start: 2px;
290 -moz-padding-end: 6px;
293 text-decoration: underline;
296 .call-item-stack-fn-name {
297 color: var(--theme-content-color2);
300 .theme-dark .call-item-stack-fn-location {
301 color: var(--theme-content-color1);
304 .theme-dark .call-item-stack-fn-location:hover {
305 color: var(--theme-highlight-blue);
308 #calls-list .selected .call-item-contents > label:not(.call-item-gutter) {
309 /* Text inside a selected item should not be custom colored. */
310 color: inherit !important;
313 /* Rendering preview */
315 #screenshot-container {
316 background-image: linear-gradient(45deg, #504848 25%, transparent 25%, transparent 75%, #504848 75%, #504848), linear-gradient(45deg, #504848 25%, transparent 25%, transparent 75%, #504848 75%, #504848);
317 background-size: 30px 30px, 30px 30px;
318 background-position: 0px 0px, 15px 15px;
319 background-repeat: repeat, repeat;
322 #screenshot-container {
323 background-color: #000000;
326 @media (min-width: 701px) {
327 #screenshot-container {
334 @media (max-width: 700px) {
335 #screenshot-container {
343 background-image: -moz-element(#screenshot-rendering);
344 background-size: contain;
345 background-position: center, center;
346 background-repeat: no-repeat;
349 #screenshot-image[flipped=true] {
350 transform: scaleY(-1);
353 #screenshot-dimensions {
359 #screenshot-dimensions {
360 background-color: #402800;
363 /* Snapshot filmstrip */
365 #snapshot-filmstrip {
369 #snapshot-filmstrip {
370 border-top: 1px solid #000;
371 color: var(--theme-body-color);
374 .filmstrip-thumbnail {
375 image-rendering: -moz-crisp-edges;
376 background-image: linear-gradient(45deg, #504848 25%, transparent 25%, transparent 75%, #504848 75%, #504848), linear-gradient(45deg, #504848 25%, transparent 25%, transparent 75%, #504848 75%, #504848);
377 background-size: 12px 12px, 12px 12px;
378 background-position: 0px -1px, 6px 5px;
379 background-repeat: repeat, repeat;
380 background-origin: content-box;
384 transition: opacity 0.1s ease-in-out;
387 .filmstrip-thumbnail[flipped=true] {
388 transform: scaleY(-1);
391 .filmstrip-thumbnail {
392 background-color: #000000;
395 .filmstrip-thumbnail {
396 -moz-border-end: 1px solid var(--theme--contrastsidebar-bordercolor)
399 #snapshot-filmstrip > .filmstrip-thumbnail:hover,
400 #snapshot-filmstrip:not(:hover) > .filmstrip-thumbnail[highlighted] {
401 border: 1px solid var(--theme-highlight-blue);