1 /* vim:set ts=2 sw=2 sts=2 et: */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
4 * You can obtain one at http://mozilla.org/MPL/2.0/. */
7 list-style-image: url("profiler-stopwatch.svg");
11 #record-button[checked] {
12 list-style-image: url("profiler-stopwatch-checked.svg");
15 #record-button:not([checked]) ~ #record-label {
19 #memory-checkbox .checkbox-label {
24 list-style-image: url(timeline-filter.svg#filter);
28 #filter-button[disabled] {
29 list-style-image: url(timeline-filter.svg#filter-disabled);
32 #filter-button:not([disabled]):hover,
33 #filter-button[open] {
34 list-style-image: url(timeline-filter.svg#filter-open);
37 #timelineFilterPopup > menuitem:before {
45 background-color: var(--bullet-bg);
46 border-color: var(--bullet-border);
55 background: #A09090; /* Toolbars */
56 color: #000000; /* Light foreground text */
60 #recording-notice button {
64 list-style-image: url("profiler-stopwatch.svg");
67 #empty-notice button[checked],
68 #recording-notice button[checked] {
69 list-style-image: url("profiler-stopwatch-checked.svg");
72 #empty-notice button .button-text,
73 #recording-notice button .button-text {
78 border-top: 1px solid #9C9CFF;
81 .waterfall-list-contents {
82 /* Hack: force hardware acceleration */
83 transform: translateZ(1px);
88 .waterfall-header-contents {
92 .waterfall-background-ticks {
93 /* Background created on a <canvas> in js. */
94 /* @see browser/devtools/timeline/widgets/waterfall.js */
95 background-image: -moz-element(#waterfall-background);
96 background-repeat: repeat-y;
97 background-position: -1px center;
100 .waterfall-marker-container[is-spacer] {
101 pointer-events: none;
104 .waterfall-marker-container:not([is-spacer]):nth-child(2n) {
105 background-color: var(--theme-contrast-background);
108 .waterfall-marker-container:hover {
109 background-color: var(--theme-hover-background) !important;
110 color: var(--theme-hover-color) !important;
113 .waterfall-marker-item {
118 -moz-border-end: 1px solid;
120 -moz-border-end-color: #9C9CFF;
123 .waterfall-marker-container:hover > .waterfall-sidebar {
124 background-color: transparent;
127 .waterfall-header-name {
131 .waterfall-header-tick {
134 transform-origin: left center;
137 .waterfall-header-tick {
141 .waterfall-header-tick:not(:first-child) {
142 -moz-margin-start: -100px !important; /* Don't affect layout. */
145 .waterfall-marker-bullet {
148 -moz-margin-start: 8px;
149 -moz-margin-end: 6px;
154 .waterfall-marker-name {
156 padding-bottom: 1px !important;
159 .waterfall-marker-bar {
163 transform-origin: left center;
166 .waterfall-marker-container.selected > .waterfall-sidebar,
167 .waterfall-marker-container.selected > .waterfall-marker-item {
168 background-color: #008484; /* Select Highlight Blue */
169 color: #FFCF00; /* Light foreground text */
172 .waterfall-marker-container.selected .waterfall-marker-bullet,
173 .waterfall-marker-container.selected .waterfall-marker-bar {
174 border-color: initial !important;
177 .waterfall-marker-location {
181 .waterfall-marker-location:hover,
182 .waterfall-marker-location:focus {
183 text-decoration: underline;
186 #timeline-waterfall-details {
187 -moz-padding-start: 8px;
188 -moz-padding-end: 8px;
193 .marker-details-bullet {
200 #timeline-waterfall-details > * {
204 .marker-details-labelname {
205 -moz-padding-end: 4px;
208 .marker-details-type {
213 .marker-details-duration {