aboutsummaryrefslogtreecommitdiff
path: root/arc-firefox-theme/chrome/browser/devtools/timeline.css
blob: 503527b0825a2a02a9cfe6a406c2ed26c7b78f09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

/* vim:set ts=2 sw=2 sts=2 et: */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/. */

#record-button {
  list-style-image: url(profiler-stopwatch.svg);
  min-width: 24px;
}

#record-button[checked] {
  list-style-image: url(profiler-stopwatch-checked.svg);
}

#record-button:not([checked]) ~ #record-label {
  visibility: hidden;
}

#memory-checkbox .checkbox-label {
  line-height: 100%;
}

#filter-button {
  list-style-image: url(timeline-filter.svg#filter);
  min-width: 24px;
}

#filter-button[disabled] {
  list-style-image: url(timeline-filter.svg#filter-disabled);
}

#filter-button[open] {
  list-style-image: url(timeline-filter.svg#filter-open);
}

#timelineFilterPopup > menuitem:before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 0 8px;
  border: 1px solid;
  border-radius: 1px;
  background-color: var(--bullet-bg);
  border-color: var(--bullet-border);
}

.notice-container {
  font-size: 120%;
  padding-bottom: 35vh;
}

.theme-dark .notice-container {
  background: #343c45; /* Toolbars */
  color: #f5f7fa; /* Light foreground text */
}

.theme-light .notice-container {
  background: #f0f1f2; /* Toolbars */
  color: #585959; /* Grey foreground text */
}

#empty-notice button,
#recording-notice button {
  min-width: 30px;
  min-height: 28px;
  margin: 0;
  list-style-image: url(profiler-stopwatch.svg);
}

#empty-notice button[checked],
#recording-notice button[checked] {
  list-style-image: url(profiler-stopwatch-checked.svg);
}

#empty-notice button .button-text,
#recording-notice button .button-text {
  display: none;
}

.theme-dark #timeline-pane {
  border-top: 1px solid #000;
}

.theme-light #timeline-pane {
  border-top: 1px solid #aaa;
}

.waterfall-list-contents {
  /* Hack: force hardware acceleration */
  transform: translateZ(1px);
  overflow-x: hidden;
  overflow-y: auto;
}

.waterfall-header-contents {
  overflow-x: hidden;
}

.waterfall-background-ticks {
  /* Background created on a <canvas> in js. */
  /* @see browser/devtools/timeline/widgets/waterfall.js */
  background-image: -moz-element(#waterfall-background);
  background-repeat: repeat-y;
  background-position: -1px center;
}

.waterfall-marker-container[is-spacer] {
  pointer-events: none;
}

.theme-dark .waterfall-marker-container:not([is-spacer]):nth-child(2n) {
  background-color: rgba(255,255,255,0.03);
}

.theme-light .waterfall-marker-container:not([is-spacer]):nth-child(2n) {
  background-color: rgba(128,128,128,0.03);
}

.theme-dark .waterfall-marker-container:hover {
  background-color: rgba(255,255,255,0.1) !important;
}

.theme-light .waterfall-marker-container:hover {
  background-color: rgba(128,128,128,0.1) !important;
}

.waterfall-marker-item {
  overflow: hidden;
}

.waterfall-sidebar {
  -moz-border-end: 1px solid;
}

.theme-dark .waterfall-sidebar {
  -moz-border-end-color: #000;
}

.theme-light .waterfall-sidebar {
  -moz-border-end-color: #aaa;
}

.waterfall-marker-container:hover > .waterfall-sidebar {
  background-color: transparent;
}

.waterfall-header-name {
  padding: 4px;
}

.waterfall-header-tick {
  width: 100px;
  font-size: 9px;
  transform-origin: left center;
}

.theme-dark .waterfall-header-tick {
  color: #a9bacb;
}

.theme-light .waterfall-header-tick {
  color: #292e33;
}

.waterfall-header-tick:not(:first-child) {
  -moz-margin-start: -100px !important; /* Don't affect layout. */
}

.waterfall-marker-bullet {
  width: 8px;
  height: 8px;
  -moz-margin-start: 8px;
  -moz-margin-end: 6px;
  border: 1px solid;
  border-radius: 1px;
}

.waterfall-marker-name {
  font-size: 95%;
  padding-bottom: 1px !important;
}

.waterfall-marker-bar {
  height: 9px;
  border: 1px solid;
  border-radius: 1px;
  transform-origin: left center;
}

.theme-light .waterfall-marker-container.selected > .waterfall-sidebar,
.theme-light .waterfall-marker-container.selected > .waterfall-marker-item {
  background-color: #4c9ed9; /* Select Highlight Blue */
  color: #f5f7fa; /* Light foreground text */
}

.theme-dark .waterfall-marker-container.selected > .waterfall-sidebar,
.theme-dark .waterfall-marker-container.selected > .waterfall-marker-item {
  background-color: #1d4f73; /* Select Highlight Blue */
  color: #f5f7fa; /* Light foreground text */
}

.waterfall-marker-container.selected .waterfall-marker-bullet,
.waterfall-marker-container.selected .waterfall-marker-bar {
  border-color: initial!important;
}

.waterfall-marker-location {
   color: -moz-nativehyperlinktext;
}

.waterfall-marker-location:hover,
.waterfall-marker-location:focus {
   text-decoration: underline;
}

#timeline-waterfall-details {
  -moz-padding-start: 8px;
  -moz-padding-end: 8px;
  padding-top: 2vh;
  overflow: auto;
}

.marker-details-bullet {
  width: 8px;
  height: 8px;
  border: 1px solid;
  border-radius: 1px;
}

#timeline-waterfall-details > * {
  padding-top: 3px;
}

.marker-details-labelname {
  -moz-padding-end: 4px;
}

.marker-details-type {
  font-size: 1.2em;
  font-weight: bold;
}

.marker-details-duration {
  font-weight: bold;
}