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));
12 /* Reload and waiting notices */
16 background-color: var(--theme-toolbar-background);
17 color: var(--theme-body-color);
20 #empty-notice > button {
24 list-style-image: url("images/profiler-stopwatch.svg");
27 #empty-notice > button .button-text {
37 #snapshots-pane > tabs {
38 -moz-border-end: 1px solid;
41 #snapshots-pane .devtools-toolbar {
42 -moz-border-end: 1px solid;
44 -moz-border-end-color: #9C9CFF; /* Match the 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: linear-gradient(45deg, #504848 25%, transparent 25%, transparent 75%, #504848 75%, #504848), linear-gradient(45deg, #504848 25%, transparent 25%, transparent 75%, #504848 75%, #504848);
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: #000000;
69 .snapshot-item-details {
70 -moz-padding-start: 6px;
73 .snapshot-item-calls {
80 color: var(--theme-body-color);
90 color: #A09090; /* Foreground (Text) - Grey */
94 text-decoration: underline;
98 .snapshot-item-save[disabled=true] {
99 text-decoration: none;
100 pointer-events: none;
103 .snapshot-item-footer.devtools-throbber::before {
107 #snapshots-list .selected label {
108 /* Text inside a selected item should not be custom colored. */
109 color: inherit !important;
112 /* Debugging pane controls */
115 list-style-image: url("images/debugger-play.png");
119 list-style-image: url("images/debugger-step-over.png");
123 list-style-image: url("images/debugger-step-in.png");
127 list-style-image: url("images/debugger-step-out.png");
130 @media (min-resolution: 1.1dppx) {
132 list-style-image: url(images/debugger-play@2x.png);
136 list-style-image: url(images/debugger-step-over@2x.png);
140 list-style-image: url(images/debugger-step-in@2x.png);
144 list-style-image: url(images/debugger-step-out@2x.png);
149 -moz-padding-end: 24px;
152 #calls-slider .scale-slider {
156 #debugging-toolbar-sizer-button {
157 /* This button's only purpose in life is to make the
158 container .devtools-toolbar have the right height. */
163 /* Calls list pane */
165 #calls-list .side-menu-widget-container {
166 background: transparent;
169 #calls-list .side-menu-widget-item {
173 /* Calls list items */
175 #calls-list .side-menu-widget-item {
176 border-color: #504848;
177 border-bottom-color: transparent;
180 .call-item-view:hover {
181 background-color: #402800;
184 .call-item-view[draw-call] {
185 background-color: #403800;
188 .call-item-view[interesting-call] {
189 background-color: #272740;
193 width: calc(var(--gutter-width) + var(--gutter-padding-start));
194 padding-inline-start: var(--gutter-padding-start);
195 padding-inline-end: 4px;
198 border-inline-end: 1px solid var(--theme-splitter-color);
199 margin-inline-end: 6px;
200 background-color: var(--theme-sidebar-background);
201 color: var(--theme-content-color3);
204 .selected .call-item-gutter {
205 background-color: #008484;
209 @media (min-resolution: 1.1dppx) {
210 .selected .call-item-gutter {
211 background-image: url("images/editor-debug-location@2x.png");
216 background-color: var(--theme-contrastsidebar-background);
217 color: var(--theme-contrastsidebar-color);
218 border-color: var(--theme-contrastsidebar-bordercolor);
226 color: var(--theme-highlight-lightorange);
230 color: var(--theme-highlight-blue);
233 .call-item-location {
234 -moz-padding-start: 2px;
235 -moz-padding-end: 6px;
238 color: var(--theme-highlight-bluegrey);
241 .call-item-location:hover {
242 color: var(--theme-highlight-blue);
245 .call-item-view:hover .call-item-location,
246 .call-item-view[expanded] .call-item-location {
247 text-decoration: underline;
250 .call-item-location {
251 border-color: #A09090;
255 -moz-padding-start: calc(3em + 22px);
256 padding-bottom: 10px;
263 .call-item-stack-fn {
268 .call-item-stack-fn-location {
269 -moz-padding-start: 2px;
270 -moz-padding-end: 6px;
273 text-decoration: underline;
276 .call-item-stack-fn-name {
277 color: var(--theme-content-color2);
280 .theme-dark .call-item-stack-fn-location {
281 color: var(--theme-content-color1);
284 .theme-dark .call-item-stack-fn-location:hover {
285 color: var(--theme-highlight-blue);
288 #calls-list .selected .call-item-contents > label:not(.call-item-gutter) {
289 /* Text inside a selected item should not be custom colored. */
290 color: inherit !important;
293 /* Rendering preview */
295 #screenshot-container {
296 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);
297 background-size: 30px 30px, 30px 30px;
298 background-position: 0px 0px, 15px 15px;
299 background-repeat: repeat, repeat;
302 #screenshot-container {
303 background-color: #000000;
306 @media (min-width: 701px) {
307 #screenshot-container {
314 @media (max-width: 700px) {
315 #screenshot-container {
323 background-image: -moz-element(#screenshot-rendering);
324 background-size: contain;
325 background-position: center, center;
326 background-repeat: no-repeat;
329 #screenshot-image[flipped=true] {
330 transform: scaleY(-1);
333 #screenshot-dimensions {
339 #screenshot-dimensions {
340 background-color: #402800;
343 /* Snapshot filmstrip */
345 #snapshot-filmstrip {
349 #snapshot-filmstrip {
350 border-top: 1px solid #000;
351 color: var(--theme-body-color);
354 .filmstrip-thumbnail {
355 image-rendering: -moz-crisp-edges;
356 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);
357 background-size: 12px 12px, 12px 12px;
358 background-position: 0px -1px, 6px 5px;
359 background-repeat: repeat, repeat;
360 background-origin: content-box;
364 transition: opacity 0.1s ease-in-out;
367 .filmstrip-thumbnail[flipped=true] {
368 transform: scaleY(-1);
371 .filmstrip-thumbnail {
372 background-color: #000000;
375 .filmstrip-thumbnail {
376 -moz-border-end: 1px solid var(--theme--contrastsidebar-bordercolor)
379 #snapshot-filmstrip > .filmstrip-thumbnail:hover,
380 #snapshot-filmstrip:not(:hover) > .filmstrip-thumbnail[highlighted] {
381 border: 1px solid var(--theme-highlight-blue);