3
3
@use " components/daterangepicker" ;
4
4
@use " components/labels" ;
5
5
6
- @import ' ~sanitize.css' ;
7
- @import ' ~sanitize.css/forms.css' ;
8
- @import ' ~sanitize.css/typography.css' ;
6
+ @import " ~sanitize.css" ;
7
+ @import " ~sanitize.css/forms.css" ;
8
+ @import " ~sanitize.css/typography.css" ;
9
9
10
-
11
- @import ' flamebearer.scss' ;
10
+ @import " flamebearer.scss" ;
12
11
13
12
body {
14
- font : 400 16px / 1.7 -apple-system , BlinkMacSystemFont, " Segoe UI" , Helvetica , Arial , sans-serif , " Apple Color Emoji" , " Segoe UI Emoji" , " Segoe UI Symbol" ;
13
+ font : 400 16px / 1.7 -apple-system , BlinkMacSystemFont, " Segoe UI" , Helvetica ,
14
+ Arial , sans-serif , " Apple Color Emoji" , " Segoe UI Emoji" , " Segoe UI Symbol" ;
15
15
16
16
background-color : $bg-color ;
17
17
color : white ;
18
18
}
19
19
20
- pre , code , tt {
21
- font-family : SFMono- Regular,Consolas,Liberation Mono,Menlo,monospace ;
20
+ pre ,
21
+ code ,
22
+ tt {
23
+ font-family : SFMono- Regular, Consolas, Liberation Mono, Menlo, monospace ;
22
24
font-size : 14px ;
23
25
}
24
26
25
27
tt {
26
28
border-radius : 3px ;
27
29
border : 1px solid #aaa ;
28
30
padding : 2px 4px ;
29
- background-color : rgba (255 ,255 ,255 ,0.3 );
31
+ background-color : rgba (255 , 255 , 255 , 0.3 );
30
32
}
31
33
32
-
33
34
.navbar-2 {
34
35
display : flex ;
35
36
padding : 0 0 10px 0 ;
58
59
margin : 0 ;
59
60
padding : 0 ;
60
61
font-weight : 400 ;
61
- background-image : url (' ../images/logo-v3-small.png' );
62
+ background-image : url (" ../images/logo-v3-small.png" );
62
63
background-size : 40px 40px ;
63
64
background-position : 0px 8px ;
64
65
background-repeat : no-repeat ;
65
66
}
66
67
67
68
.logo ::after {
68
- content : ' Pyroscope' ;
69
+ content : " Pyroscope" ;
69
70
font-weight : 400 ;
70
71
padding-left : 44px ;
71
72
font-size : 25px ;
@@ -126,7 +127,7 @@ input {
126
127
border-radius : 4px 0 0 4px ;
127
128
}
128
129
129
- .followed-by-btn + .btn {
130
+ .followed-by-btn + .btn {
130
131
border-left : none ;
131
132
border-radius : 0 4px 4px 0 ;
132
133
}
@@ -171,7 +172,7 @@ body {
171
172
}
172
173
@media only screen and (max-width : 1023px ) {
173
174
.logo ::after {
174
- content : ' ' ;
175
+ content : " " ;
175
176
}
176
177
.labels {
177
178
margin-left : 5px ;
@@ -196,6 +197,7 @@ body {
196
197
197
198
#timeline-chart {
198
199
overflow : hidden ;
200
+ cursor : crosshair ;
199
201
}
200
202
201
203
.flot-tick-label.tickLabel {
@@ -218,15 +220,15 @@ $pane-width: 6px;
218
220
}
219
221
}
220
222
221
-
222
223
.flamegraph-table ,
223
224
.flamegraph-canvas {
224
225
width : 100% ;
225
226
}
226
227
227
228
.flamegraph-table {
228
229
font-size : 14px ;
229
- th , td {
230
+ th ,
231
+ td {
230
232
text-align : right ;
231
233
padding : 0px 10px ;
232
234
@@ -243,7 +245,7 @@ $pane-width: 6px;
243
245
.sort-arrow {
244
246
display : inline-block ;
245
247
border : 5px solid transparent ;
246
- border-top-color : rgba (255 ,255 ,255 ,0.1 );
248
+ border-top-color : rgba (255 , 255 , 255 , 0.1 );
247
249
top : 3px ;
248
250
position : relative ;
249
251
margin-left : 7px ;
@@ -260,14 +262,13 @@ $pane-width: 6px;
260
262
261
263
span {
262
264
// mix-blend-mode: exclusion;
263
- text-shadow : 0 0 2px rgba (0 ,0 , 0 , 0.33 );
265
+ text-shadow : 0 0 2px rgba (0 , 0 , 0 , 0.33 );
264
266
}
265
267
266
268
& :first-child {
267
269
border-left : none ;
268
270
text-align : left ;
269
271
270
-
271
272
width : auto ;
272
273
min-width : auto ;
273
274
max-width : auto ;
@@ -282,7 +283,7 @@ $pane-width: 6px;
282
283
}
283
284
tr th ,
284
285
tr :nth-child (2 n ) td {
285
- background : rgba (255 ,255 ,255 ,0.05 )
286
+ background : rgba (255 , 255 , 255 , 0.05 );
286
287
}
287
288
}
288
289
@@ -295,11 +296,11 @@ $pane-width: 6px;
295
296
}
296
297
297
298
.flamegraph-search {
298
- background : rgba (255 ,255 ,255 ,0.8 );
299
+ background : rgba (255 , 255 , 255 , 0.8 );
299
300
color : #333 ;
300
301
transition : background-color ease-out 0.1s ;
301
302
& :focus {
302
- background : rgba (255 ,255 ,255 ,1 );
303
+ background : rgba (255 , 255 , 255 , 1 );
303
304
}
304
305
}
305
306
@@ -310,7 +311,7 @@ $pane-width: 6px;
310
311
right : 20px ;
311
312
cursor : pointer ;
312
313
& :after {
313
- content : ' ✕ ' ;
314
+ content : " ✕ " ;
314
315
position : absolute ;
315
316
top : 0 ;
316
317
right : 0 ;
@@ -322,7 +323,7 @@ $pane-width: 6px;
322
323
}
323
324
// hit-area
324
325
& :before {
325
- content : ' ' ;
326
+ content : " " ;
326
327
cursor : pointer ;
327
328
top : -20px ;
328
329
right : -20px ;
@@ -345,13 +346,14 @@ $pane-width: 6px;
345
346
}
346
347
}
347
348
348
- .navbar , .footer {
349
+ .navbar ,
350
+ .footer {
349
351
.navbar-link {
350
352
a {
351
353
color : white ;
352
354
text-decoration : none ;
353
355
font-weight : 500 ;
354
- & :hover {
356
+ & :hover {
355
357
color : #fff ;
356
358
cursor : pointer ;
357
359
}
@@ -360,7 +362,10 @@ $pane-width: 6px;
360
362
}
361
363
}
362
364
363
- html , body , #root , .pyroscope-app {
365
+ html ,
366
+ body ,
367
+ #root ,
368
+ .pyroscope-app {
364
369
height : 100% ;
365
370
min-height : 100% ;
366
371
}
@@ -385,11 +390,11 @@ html, body, #root, .pyroscope-app {
385
390
386
391
// used to generate gifs with no scrollbars
387
392
.demo-mode {
388
- body {
393
+ body {
389
394
overflow : hidden ;
390
395
}
391
396
392
- .root {
397
+ .root {
393
398
width : 100% ;
394
399
height : 100% ;
395
400
overflow-y : scroll ;
@@ -418,7 +423,7 @@ html, body, #root, .pyroscope-app {
418
423
.btn {
419
424
padding-left : 12px ;
420
425
padding-right : 12px ;
421
- $active-color : #2ECC40 ;
426
+ $active-color : #2ecc40 ;
422
427
& .active {
423
428
background-color : $active-color ;
424
429
color : #222 ;
0 commit comments