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 */
10 background-color: var(--theme-toolbar-background);
11 color: var(--theme-body-color);
14 #empty-notice > button {
18 list-style-image: url("profiler-stopwatch.svg");
21 #empty-notice > button .button-text {
32 #snapshots-pane > tabs {
33 -moz-border-end: 1px solid;
36 #snapshots-pane .devtools-toolbar {
37 -moz-border-end: 1px solid;
39 -moz-border-end-color: #9C9CFF; /* Match the splitter color. */
43 list-style-image: url("chrome://browser/skin/devtools/profiler-stopwatch-tbutton.svg");
46 #record-snapshot:hover {
47 list-style-image: url("chrome://browser/skin/devtools/profiler-stopwatch.svg");
50 #record-snapshot[checked] {
51 list-style-image: url("chrome://browser/skin/devtools/profiler-stopwatch-checked-tbutton.svg");
54 #record-snapshot[checked]:hover {
55 list-style-image: url("chrome://browser/skin/devtools/profiler-stopwatch-checked.svg");
60 .snapshot-item-thumbnail {
61 image-rendering: -moz-crisp-edges;
62 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);
63 background-size: 12px 12px, 12px 12px;
64 background-position: 0px 0px, 6px 6px;
65 background-repeat: repeat, repeat;
68 .snapshot-item-thumbnail[flipped=true] {
69 transform: scaleY(-1);
72 .snapshot-item-thumbnail {
73 background-color: #000000;
76 .snapshot-item-details {
77 -moz-padding-start: 6px;
80 .snapshot-item-calls {
87 color: var(--theme-body-color);
97 color: #A09090; /* Foreground (Text) - Grey */
100 .snapshot-item-save {
101 text-decoration: underline;
105 .snapshot-item-save[disabled=true] {
106 text-decoration: none;
107 pointer-events: none;
110 .snapshot-item-footer.devtools-throbber::before {
114 #snapshots-list .selected label {
115 /* Text inside a selected item should not be custom colored. */
116 color: inherit !important;
119 /* Debugging pane controls */
121 #debugging-controls .devtools-toolbarbutton > .toolbarbutton-icon {
127 list-style-image: url("debugger-play.png");
128 -moz-image-region: rect(0px,32px,16px,16px);
132 list-style-image: url("debugger-step-over.png");
136 list-style-image: url("debugger-step-in.png");
140 list-style-image: url("debugger-step-out.png");
143 @media (min-resolution: 2dppx) {
145 list-style-image: url(debugger-play@2x.png);
146 -moz-image-region: rect(0px,64px,32px,32px);
150 list-style-image: url(debugger-step-over@2x.png);
154 list-style-image: url(debugger-step-in@2x.png);
158 list-style-image: url(debugger-step-out@2x.png);
162 #debugging-controls > toolbarbutton {
163 transition: opacity 0.15s ease-in-out;
166 #debugging-controls > toolbarbutton[disabled=true] {
171 -moz-padding-end: 24px;
174 #calls-slider .scale-slider {
178 #debugging-toolbar-sizer-button {
179 /* This button's only purpose in life is to make the
180 container .devtools-toolbar have the right height. */
185 /* Calls list pane */
187 #calls-list .side-menu-widget-container {
188 background: transparent;
191 #calls-list .side-menu-widget-item {
195 /* Calls list items */
197 #calls-list .side-menu-widget-item {
198 border-color: #504848;
199 border-bottom-color: transparent;
202 .call-item-view:hover {
203 background-color: #402800;
206 .call-item-view[draw-call] {
207 background-color: #403800;
210 .call-item-view[interesting-call] {
211 background-color: #272740;
215 width: calc(3em + 22px);
216 -moz-padding-start: 22px;
217 -moz-padding-end: 4px;
220 -moz-border-end: 1px solid;
221 -moz-margin-end: 6px;
224 .selected .call-item-gutter {
225 background-image: url("editor-debug-location.png");
226 background-repeat: no-repeat;
227 background-position: 6px center;
228 background-size: 12px;
231 @media (min-resolution: 2dppx) {
232 .selected .call-item-gutter {
233 background-image: url("editor-debug-location@2x.png");
238 background-color: var(--theme-contrastsidebar-background);
239 color: var(--theme-contrastsidebar-color);
240 border-color: var(--theme-contrastsidebar-bordercolor);
248 color: var(--theme-highlight-lightorange);
252 color: var(--theme-highlight-blue);
255 .call-item-location {
256 -moz-padding-start: 2px;
257 -moz-padding-end: 6px;
260 color: var(--theme-highlight-bluegrey);
263 .call-item-location:hover {
264 color: var(--theme-highlight-blue);
267 .call-item-view:hover .call-item-location,
268 .call-item-view[expanded] .call-item-location {
269 text-decoration: underline;
272 .call-item-location {
273 border-color: #A09090;
277 -moz-padding-start: calc(3em + 22px);
278 padding-bottom: 10px;
285 .call-item-stack-fn {
290 .call-item-stack-fn-location {
291 -moz-padding-start: 2px;
292 -moz-padding-end: 6px;
295 text-decoration: underline;
298 .call-item-stack-fn-name {
299 color: var(--theme-content-color2);
302 .theme-dark .call-item-stack-fn-location {
303 color: var(--theme-content-color1);
306 .theme-dark .call-item-stack-fn-location:hover {
307 color: var(--theme-highlight-blue);
310 #calls-list .selected .call-item-contents > label:not(.call-item-gutter) {
311 /* Text inside a selected item should not be custom colored. */
312 color: inherit !important;
315 /* Rendering preview */
317 #screenshot-container {
318 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);
319 background-size: 30px 30px, 30px 30px;
320 background-position: 0px 0px, 15px 15px;
321 background-repeat: repeat, repeat;
324 #screenshot-container {
325 background-color: #000000;
328 @media (min-width: 701px) {
329 #screenshot-container {
336 @media (max-width: 700px) {
337 #screenshot-container {
345 background-image: -moz-element(#screenshot-rendering);
346 background-size: contain;
347 background-position: center, center;
348 background-repeat: no-repeat;
351 #screenshot-image[flipped=true] {
352 transform: scaleY(-1);
355 #screenshot-dimensions {
361 #screenshot-dimensions {
362 background-color: #402800;
365 /* Snapshot filmstrip */
367 #snapshot-filmstrip {
371 #snapshot-filmstrip {
372 border-top: 1px solid #000;
373 color: var(--theme-body-color);
376 .filmstrip-thumbnail {
377 image-rendering: -moz-crisp-edges;
378 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);
379 background-size: 12px 12px, 12px 12px;
380 background-position: 0px -1px, 6px 5px;
381 background-repeat: repeat, repeat;
382 background-origin: content-box;
386 transition: opacity 0.1s ease-in-out;
389 .filmstrip-thumbnail[flipped=true] {
390 transform: scaleY(-1);
393 .filmstrip-thumbnail {
394 background-color: #000000;
397 .filmstrip-thumbnail {
398 -moz-border-end: 1px solid var(--theme--contrastsidebar-bordercolor)
401 #snapshot-filmstrip > .filmstrip-thumbnail:hover,
402 #snapshot-filmstrip:not(:hover) > .filmstrip-thumbnail[highlighted] {
403 border: 1px solid var(--theme-highlight-blue);