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/play.svg");
118 list-style-image: url("images/debugger-step-over.svg");
122 list-style-image: url("images/debugger-step-in.svg");
126 list-style-image: url("images/debugger-step-out.svg");
130 padding-inline-end: 24px;
133 #calls-slider .scale-slider {
137 #debugging-toolbar-sizer-button {
138 /* This button's only purpose in life is to make the
139 container .devtools-toolbar have the right height. */
144 /* Calls list pane */
146 #calls-list .side-menu-widget-container {
147 background: transparent;
150 /* Calls list items */
152 #calls-list .side-menu-widget-item {
154 border-color: var(--theme-splitter-color);
155 border-bottom-color: transparent;
158 .call-item-view:hover {
159 background-color: #402800;
162 .call-item-view[draw-call] {
163 background-color: var(--draw-call-background);
166 .call-item-view[interesting-call] {
167 background-color: var(--interesting-call-background);
171 width: calc(var(--gutter-width) + var(--gutter-padding-start));
172 padding-inline-start: var(--gutter-padding-start);
173 padding-inline-end: 4px;
176 border-inline-end: 1px solid var(--theme-splitter-color);
177 margin-inline-end: 6px;
178 background-color: var(--theme-sidebar-background);
179 color: var(--theme-content-color3);
182 .selected .call-item-gutter {
183 background-color: #008484;
192 color: var(--theme-highlight-lightorange);
196 color: var(--theme-highlight-blue);
199 .call-item-location {
200 padding-inline-start: 2px;
201 padding-inline-end: 6px;
204 color: var(--theme-highlight-bluegrey);
205 border-color: var(--theme-splitter-color);
208 .call-item-location:hover {
209 color: var(--theme-highlight-blue);
212 .call-item-view:hover .call-item-location,
213 .call-item-view[expanded] .call-item-location {
214 text-decoration: underline;
218 padding-inline-start: calc(var(--gutter-width) + var(--gutter-padding-start));
219 padding-bottom: 10px;
226 .call-item-stack-fn {
231 .call-item-stack-fn-location {
232 padding-inline-start: 2px;
233 padding-inline-end: 6px;
236 text-decoration: underline;
239 .call-item-stack-fn-name {
240 color: var(--theme-content-color2);
243 .theme-dark .call-item-stack-fn-location {
244 color: var(--theme-content-color1);
247 .theme-dark .call-item-stack-fn-location:hover {
248 color: var(--theme-highlight-blue);
251 #calls-list .selected .call-item-contents > label:not(.call-item-gutter) {
252 /* Text inside a selected item should not be custom colored. */
253 color: inherit !important;
256 /* Rendering preview */
258 #screenshot-container {
259 background-color: var(--theme-body-background);
260 background-image: var(--checkerboard-pattern);
261 background-size: 30px 30px, 30px 30px;
262 background-position: 0px 0px, 15px 15px;
263 background-repeat: repeat, repeat;
266 @media (min-width: 701px) {
267 #screenshot-container {
274 @media (max-width: 700px) {
275 #screenshot-container {
283 background-image: -moz-element(#screenshot-rendering);
284 background-size: contain;
285 background-position: center, center;
286 background-repeat: no-repeat;
289 #screenshot-image[flipped=true] {
290 transform: scaleY(-1);
293 #screenshot-dimensions {
299 #screenshot-dimensions {
300 background-color: #402800;
303 /* Snapshot filmstrip */
305 #snapshot-filmstrip {
306 border-top: 1px solid var(--theme-splitter-color);
310 #snapshot-filmstrip {
311 color: var(--theme-body-color);
314 .filmstrip-thumbnail {
315 image-rendering: -moz-crisp-edges;
316 background-color: var(--theme-body-background);
317 background-image: var(--checkerboard-pattern);
318 background-size: 12px 12px, 12px 12px;
319 background-position: 0px -1px, 6px 5px;
320 background-repeat: repeat, repeat;
321 background-origin: content-box;
325 border-inline-end: 1px solid var(--theme-splitter-color);
326 transition: opacity 0.1s ease-in-out;
329 .filmstrip-thumbnail[flipped=true] {
330 transform: scaleY(-1);
333 #snapshot-filmstrip > .filmstrip-thumbnail:hover,
334 #snapshot-filmstrip:not(:hover) > .filmstrip-thumbnail[highlighted] {
335 border: 1px solid var(--theme-highlight-blue);