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/. */
7 --gutter-padding-start: 22px;
8 --checkerboard-pattern: linear-gradient(45deg, rgba(128,128,128,0.2) 25%, transparent 25%, transparent 75%, rgba(128,128,128,0.2) 75%, rgba(128,128,128,0.2)),
9 linear-gradient(45deg, rgba(128,128,128,0.2) 25%, transparent 25%, transparent 75%, rgba(128,128,128,0.2) 75%, rgba(128,128,128,0.2));
15 --draw-call-background: #403800;
16 --interesting-call-background: #272740;
19 /* Reload and waiting notices */
23 color: var(--theme-body-color-alt);
26 #empty-notice > button {
30 list-style-image: url("images/profiler-stopwatch.svg");
33 #empty-notice > button .button-text {
44 border-inline-end: 1px solid var(--theme-splitter-color);
48 list-style-image: url("chrome://devtools/skin/images/profiler-stopwatch-tbutton.svg");
52 list-style-image: url("images/import.svg");
57 .snapshot-item-thumbnail {
58 image-rendering: -moz-crisp-edges;
59 background-image: var(--checkerboard-pattern);
60 background-size: 12px 12px, 12px 12px;
61 background-position: 0px 0px, 6px 6px;
62 background-repeat: repeat, repeat;
65 .snapshot-item-thumbnail[flipped=true] {
66 transform: scaleY(-1);
69 .snapshot-item-thumbnail {
70 background-color: var(--theme-body-background);
73 .snapshot-item-details {
74 padding-inline-start: 6px;
77 .snapshot-item-calls {
89 color: var(--theme-body-color-alt);
93 text-decoration: underline;
97 .snapshot-item-save[disabled=true] {
98 text-decoration: none;
102 .snapshot-item-footer.devtools-throbber::before {
106 #snapshots-list .selected label {
107 /* Text inside a selected item should not be custom colored. */
108 color: inherit !important;
111 /* Debugging pane controls */
114 list-style-image: url("images/debugger-play.png");
118 list-style-image: url("images/debugger-step-over.png");
122 list-style-image: url("images/debugger-step-in.png");
126 list-style-image: url("images/debugger-step-out.png");
129 @media (min-resolution: 1.1dppx) {
131 list-style-image: url(images/debugger-play@2x.png);
135 list-style-image: url(images/debugger-step-over@2x.png);
139 list-style-image: url(images/debugger-step-in@2x.png);
143 list-style-image: url(images/debugger-step-out@2x.png);
148 padding-inline-end: 24px;
151 #calls-slider .scale-slider {
155 #debugging-toolbar-sizer-button {
156 /* This button's only purpose in life is to make the
157 container .devtools-toolbar have the right height. */
162 /* Calls list pane */
164 #calls-list .side-menu-widget-container {
165 background: transparent;
168 /* Calls list items */
170 #calls-list .side-menu-widget-item {
172 border-color: var(--theme-splitter-color);
173 border-bottom-color: transparent;
176 .call-item-view:hover {
177 background-color: #402800;
180 .call-item-view[draw-call] {
181 background-color: var(--draw-call-background);
184 .call-item-view[interesting-call] {
185 background-color: var(--interesting-call-background);
189 width: calc(var(--gutter-width) + var(--gutter-padding-start));
190 padding-inline-start: var(--gutter-padding-start);
191 padding-inline-end: 4px;
194 border-inline-end: 1px solid var(--theme-splitter-color);
195 margin-inline-end: 6px;
196 background-color: var(--theme-sidebar-background);
197 color: var(--theme-content-color3);
200 .selected .call-item-gutter {
201 background-color: #008484;
205 @media (min-resolution: 1.1dppx) {
206 .selected .call-item-gutter {
207 background-image: url("images/editor-debug-location@2x.png");
216 color: var(--theme-highlight-lightorange);
220 color: var(--theme-highlight-blue);
223 .call-item-location {
224 padding-inline-start: 2px;
225 padding-inline-end: 6px;
228 color: var(--theme-highlight-bluegrey);
229 border-color: var(--theme-splitter-color);
232 .call-item-location:hover {
233 color: var(--theme-highlight-blue);
236 .call-item-view:hover .call-item-location,
237 .call-item-view[expanded] .call-item-location {
238 text-decoration: underline;
242 padding-inline-start: calc(var(--gutter-width) + var(--gutter-padding-start));
243 padding-bottom: 10px;
250 .call-item-stack-fn {
255 .call-item-stack-fn-location {
256 padding-inline-start: 2px;
257 padding-inline-end: 6px;
260 text-decoration: underline;
263 .call-item-stack-fn-name {
264 color: var(--theme-content-color2);
267 .theme-dark .call-item-stack-fn-location {
268 color: var(--theme-content-color1);
271 .theme-dark .call-item-stack-fn-location:hover {
272 color: var(--theme-highlight-blue);
275 #calls-list .selected .call-item-contents > label:not(.call-item-gutter) {
276 /* Text inside a selected item should not be custom colored. */
277 color: inherit !important;
280 /* Rendering preview */
282 #screenshot-container {
283 background-color: var(--theme-body-background);
284 background-image: var(--checkerboard-pattern);
285 background-size: 30px 30px, 30px 30px;
286 background-position: 0px 0px, 15px 15px;
287 background-repeat: repeat, repeat;
290 @media (min-width: 701px) {
291 #screenshot-container {
298 @media (max-width: 700px) {
299 #screenshot-container {
307 background-image: -moz-element(#screenshot-rendering);
308 background-size: contain;
309 background-position: center, center;
310 background-repeat: no-repeat;
313 #screenshot-image[flipped=true] {
314 transform: scaleY(-1);
317 #screenshot-dimensions {
323 #screenshot-dimensions {
324 background-color: #402800;
327 /* Snapshot filmstrip */
329 #snapshot-filmstrip {
330 border-top: 1px solid var(--theme-splitter-color);
334 #snapshot-filmstrip {
335 color: var(--theme-body-color);
338 .filmstrip-thumbnail {
339 image-rendering: -moz-crisp-edges;
340 background-color: var(--theme-body-background);
341 background-image: var(--checkerboard-pattern);
342 background-size: 12px 12px, 12px 12px;
343 background-position: 0px -1px, 6px 5px;
344 background-repeat: repeat, repeat;
345 background-origin: content-box;
349 border-inline-end: 1px solid var(--theme-splitter-color);
350 transition: opacity 0.1s ease-in-out;
353 .filmstrip-thumbnail[flipped=true] {
354 transform: scaleY(-1);
357 #snapshot-filmstrip > .filmstrip-thumbnail:hover,
358 #snapshot-filmstrip:not(:hover) > .filmstrip-thumbnail[highlighted] {
359 border: 1px solid var(--theme-highlight-blue);