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[saving]::before {
111 display: inline-block;
113 background: url("chrome://global/skin/icons/loading.gif") center no-repeat;
117 -moz-margin-end: 4px;
120 #snapshots-list .selected label {
121 /* Text inside a selected item should not be custom colored. */
122 color: inherit !important;
125 /* Debugging pane controls */
127 #debugging-controls .devtools-toolbarbutton > .toolbarbutton-icon {
133 list-style-image: url("debugger-play.png");
134 -moz-image-region: rect(0px,32px,16px,16px);
138 list-style-image: url("debugger-step-over.png");
142 list-style-image: url("debugger-step-in.png");
146 list-style-image: url("debugger-step-out.png");
149 @media (min-resolution: 2dppx) {
151 list-style-image: url(debugger-play@2x.png);
152 -moz-image-region: rect(0px,64px,32px,32px);
156 list-style-image: url(debugger-step-over@2x.png);
160 list-style-image: url(debugger-step-in@2x.png);
164 list-style-image: url(debugger-step-out@2x.png);
168 #debugging-controls > toolbarbutton {
169 transition: opacity 0.15s ease-in-out;
172 #debugging-controls > toolbarbutton[disabled=true] {
177 -moz-padding-end: 24px;
180 #calls-slider .scale-slider {
184 #debugging-toolbar-sizer-button {
185 /* This button's only purpose in life is to make the
186 container .devtools-toolbar have the right height. */
191 /* Calls list pane */
193 #calls-list .side-menu-widget-container {
194 background: transparent;
197 #calls-list .side-menu-widget-item {
201 /* Calls list items */
203 #calls-list .side-menu-widget-item {
204 border-color: #504848;
205 border-bottom-color: transparent;
208 .call-item-view:hover {
209 background-color: #402800;
212 .call-item-view[draw-call] {
213 background-color: #403800;
216 .call-item-view[interesting-call] {
217 background-color: #272740;
221 width: calc(3em + 22px);
222 -moz-padding-start: 22px;
223 -moz-padding-end: 4px;
226 -moz-border-end: 1px solid;
227 -moz-margin-end: 6px;
230 .selected .call-item-gutter {
231 background-image: url("editor-debug-location.png");
232 background-repeat: no-repeat;
233 background-position: 6px center;
234 background-size: 12px;
237 @media (min-resolution: 2dppx) {
238 .selected .call-item-gutter {
239 background-image: url("editor-debug-location@2x.png");
244 background-color: var(--theme-contrastsidebar-background);
245 color: var(--theme-contrastsidebar-color);
246 border-color: var(--theme-contrastsidebar-bordercolor);
254 color: var(--theme-highlight-lightorange);
258 color: var(--theme-highlight-blue);
261 .call-item-location {
262 -moz-padding-start: 2px;
263 -moz-padding-end: 6px;
266 color: var(--theme-highlight-bluegrey);
269 .call-item-location:hover {
270 color: var(--theme-highlight-blue);
273 .call-item-view:hover .call-item-location,
274 .call-item-view[expanded] .call-item-location {
275 text-decoration: underline;
278 .call-item-location {
279 border-color: #A09090;
283 -moz-padding-start: calc(3em + 22px);
284 padding-bottom: 10px;
291 .call-item-stack-fn {
296 .call-item-stack-fn-location {
297 -moz-padding-start: 2px;
298 -moz-padding-end: 6px;
301 text-decoration: underline;
304 .call-item-stack-fn-name {
305 color: var(--theme-content-color2);
308 .theme-dark .call-item-stack-fn-location {
309 color: var(--theme-content-color1);
312 .theme-dark .call-item-stack-fn-location:hover {
313 color: var(--theme-highlight-blue);
316 #calls-list .selected .call-item-contents > label:not(.call-item-gutter) {
317 /* Text inside a selected item should not be custom colored. */
318 color: inherit !important;
321 /* Rendering preview */
323 #screenshot-container {
324 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);
325 background-size: 30px 30px, 30px 30px;
326 background-position: 0px 0px, 15px 15px;
327 background-repeat: repeat, repeat;
330 #screenshot-container {
331 background-color: #000000;
334 @media (min-width: 701px) {
335 #screenshot-container {
342 @media (max-width: 700px) {
343 #screenshot-container {
351 background-image: -moz-element(#screenshot-rendering);
352 background-size: contain;
353 background-position: center, center;
354 background-repeat: no-repeat;
357 #screenshot-image[flipped=true] {
358 transform: scaleY(-1);
361 #screenshot-dimensions {
367 #screenshot-dimensions {
368 background-color: #402800;
371 /* Snapshot filmstrip */
373 #snapshot-filmstrip {
377 #snapshot-filmstrip {
378 border-top: 1px solid #000;
379 color: var(--theme-body-color);
382 .filmstrip-thumbnail {
383 image-rendering: -moz-crisp-edges;
384 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);
385 background-size: 12px 12px, 12px 12px;
386 background-position: 0px -1px, 6px 5px;
387 background-repeat: repeat, repeat;
388 background-origin: content-box;
392 transition: opacity 0.1s ease-in-out;
395 .filmstrip-thumbnail[flipped=true] {
396 transform: scaleY(-1);
399 .filmstrip-thumbnail {
400 background-color: #000000;
403 .filmstrip-thumbnail {
404 -moz-border-end: 1px solid var(--theme--contrastsidebar-bordercolor)
407 #snapshot-filmstrip > .filmstrip-thumbnail:hover,
408 #snapshot-filmstrip:not(:hover) > .filmstrip-thumbnail[highlighted] {
409 border: 1px solid var(--theme-highlight-blue);