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");
53 .snapshot-item-thumbnail {
54 image-rendering: -moz-crisp-edges;
55 background-image: var(--checkerboard-pattern);
56 background-size: 12px 12px, 12px 12px;
57 background-position: 0px 0px, 6px 6px;
58 background-repeat: repeat, repeat;
61 .snapshot-item-thumbnail[flipped=true] {
62 transform: scaleY(-1);
65 .snapshot-item-thumbnail {
66 background-color: var(--theme-body-background);
69 .snapshot-item-details {
70 padding-inline-start: 6px;
73 .snapshot-item-calls {
85 color: var(--theme-body-color-alt);
89 text-decoration: underline;
93 .snapshot-item-save[disabled=true] {
94 text-decoration: none;
98 .snapshot-item-footer.devtools-throbber::before {
102 #snapshots-list .selected label {
103 /* Text inside a selected item should not be custom colored. */
104 color: inherit !important;
107 /* Debugging pane controls */
110 list-style-image: url("images/debugger-play.png");
114 list-style-image: url("images/debugger-step-over.png");
118 list-style-image: url("images/debugger-step-in.png");
122 list-style-image: url("images/debugger-step-out.png");
125 @media (min-resolution: 1.1dppx) {
127 list-style-image: url(images/debugger-play@2x.png);
131 list-style-image: url(images/debugger-step-over@2x.png);
135 list-style-image: url(images/debugger-step-in@2x.png);
139 list-style-image: url(images/debugger-step-out@2x.png);
144 padding-inline-end: 24px;
147 #calls-slider .scale-slider {
151 #debugging-toolbar-sizer-button {
152 /* This button's only purpose in life is to make the
153 container .devtools-toolbar have the right height. */
158 /* Calls list pane */
160 #calls-list .side-menu-widget-container {
161 background: transparent;
164 /* Calls list items */
166 #calls-list .side-menu-widget-item {
168 border-color: var(--theme-splitter-color);
169 border-bottom-color: transparent;
172 .call-item-view:hover {
173 background-color: #402800;
176 .call-item-view[draw-call] {
177 background-color: var(--draw-call-background);
180 .call-item-view[interesting-call] {
181 background-color: var(--interesting-call-background);
185 width: calc(var(--gutter-width) + var(--gutter-padding-start));
186 padding-inline-start: var(--gutter-padding-start);
187 padding-inline-end: 4px;
190 border-inline-end: 1px solid var(--theme-splitter-color);
191 margin-inline-end: 6px;
192 background-color: var(--theme-sidebar-background);
193 color: var(--theme-content-color3);
196 .selected .call-item-gutter {
197 background-color: #008484;
201 @media (min-resolution: 1.1dppx) {
202 .selected .call-item-gutter {
203 background-image: url("images/editor-debug-location@2x.png");
212 color: var(--theme-highlight-lightorange);
216 color: var(--theme-highlight-blue);
219 .call-item-location {
220 padding-inline-start: 2px;
221 padding-inline-end: 6px;
224 color: var(--theme-highlight-bluegrey);
225 border-color: var(--theme-splitter-color);
228 .call-item-location:hover {
229 color: var(--theme-highlight-blue);
232 .call-item-view:hover .call-item-location,
233 .call-item-view[expanded] .call-item-location {
234 text-decoration: underline;
238 padding-inline-start: calc(var(--gutter-width) + var(--gutter-padding-start));
239 padding-bottom: 10px;
246 .call-item-stack-fn {
251 .call-item-stack-fn-location {
252 padding-inline-start: 2px;
253 padding-inline-end: 6px;
256 text-decoration: underline;
259 .call-item-stack-fn-name {
260 color: var(--theme-content-color2);
263 .theme-dark .call-item-stack-fn-location {
264 color: var(--theme-content-color1);
267 .theme-dark .call-item-stack-fn-location:hover {
268 color: var(--theme-highlight-blue);
271 #calls-list .selected .call-item-contents > label:not(.call-item-gutter) {
272 /* Text inside a selected item should not be custom colored. */
273 color: inherit !important;
276 /* Rendering preview */
278 #screenshot-container {
279 background-color: var(--theme-body-background);
280 background-image: var(--checkerboard-pattern);
281 background-size: 30px 30px, 30px 30px;
282 background-position: 0px 0px, 15px 15px;
283 background-repeat: repeat, repeat;
286 @media (min-width: 701px) {
287 #screenshot-container {
294 @media (max-width: 700px) {
295 #screenshot-container {
303 background-image: -moz-element(#screenshot-rendering);
304 background-size: contain;
305 background-position: center, center;
306 background-repeat: no-repeat;
309 #screenshot-image[flipped=true] {
310 transform: scaleY(-1);
313 #screenshot-dimensions {
319 #screenshot-dimensions {
320 background-color: #402800;
323 /* Snapshot filmstrip */
325 #snapshot-filmstrip {
326 border-top: 1px solid var(--theme-splitter-color);
330 #snapshot-filmstrip {
331 color: var(--theme-body-color);
334 .filmstrip-thumbnail {
335 image-rendering: -moz-crisp-edges;
336 background-color: var(--theme-body-background);
337 background-image: var(--checkerboard-pattern);
338 background-size: 12px 12px, 12px 12px;
339 background-position: 0px -1px, 6px 5px;
340 background-repeat: repeat, repeat;
341 background-origin: content-box;
345 border-inline-end: 1px solid var(--theme-splitter-color);
346 transition: opacity 0.1s ease-in-out;
349 .filmstrip-thumbnail[flipped=true] {
350 transform: scaleY(-1);
353 #snapshot-filmstrip > .filmstrip-thumbnail:hover,
354 #snapshot-filmstrip:not(:hover) > .filmstrip-thumbnail[highlighted] {
355 border: 1px solid var(--theme-highlight-blue);