|
2 | 2 | flex: 1;
|
3 | 3 | display: flex;
|
4 | 4 | flex-direction: column;
|
| 5 | + |
| 6 | + --color-latency-0: #2166ac; |
| 7 | + --color-latency-1: #67a9cf; |
| 8 | + --color-latency-2: hsla(201, 51%, 78%, 1); /* #d1e5f0 with lightness reduced from 88% to 78% */ |
| 9 | + --color-latency-3: #fddbc7; |
| 10 | + --color-latency-4: #ef8a62; |
| 11 | + --color-latency-5: #b2182b; |
5 | 12 | }
|
6 | 13 |
|
7 | 14 | #sidecar .sidecar-header .activation-viz-plugin .kind {
|
|
292 | 299 | }
|
293 | 300 | .activation-viz-plugin .data-table td.cell-stats .stat-bar {
|
294 | 301 | position: absolute;
|
295 |
| - background: #2166ac; |
| 302 | + background: var(--color-latency-0); |
296 | 303 | height: 1.25em; /* matches activation list height: .log-lines .log-line .log-line-bar in ui.css */
|
297 | 304 | transition: all 150ms ease-in-out, outline 300ms ease-in-out;
|
298 | 305 | }
|
|
372 | 379 |
|
373 | 380 | /* grid cell colors */
|
374 | 381 | .activation-viz-plugin .cell-container[color-by="duration"] .grid-cell-occupied.latency-0 .grid-cell-content {
|
375 |
| - background: #2166ac; |
| 382 | + background: var(--color-latency-0); |
376 | 383 | }
|
377 | 384 | .activation-viz-plugin .cell-container[color-by="duration"] .grid-cell-occupied.latency-1 .grid-cell-content {
|
378 |
| - background: #67a9cf; |
| 385 | + background: var(--color-latency-1); |
379 | 386 | }
|
380 | 387 | .activation-viz-plugin .cell-container[color-by="duration"] .grid-cell-occupied.latency-2 .grid-cell-content {
|
381 |
| - background: hsla(201, 51%, 78%, 1); /* #d1e5f0 with lightness reduced from 88% to 78% */ |
| 388 | + background: var(--color-latency-2); |
382 | 389 | }
|
383 | 390 | .activation-viz-plugin .cell-container[color-by="duration"] .grid-cell-occupied .grid-cell-content span {
|
384 | 391 | /* increase contrast on hover; see shell issue #875 */
|
|
391 | 398 | color: black;
|
392 | 399 | }
|
393 | 400 | .activation-viz-plugin .cell-container[color-by="duration"] .grid-cell-occupied.latency-3 .grid-cell-content {
|
394 |
| - background: #fddbc7; |
| 401 | + background: var(--color-latency-3); |
395 | 402 | }
|
396 | 403 | .activation-viz-plugin .cell-container[color-by="duration"] .grid-cell-occupied.latency-4 .grid-cell-content {
|
397 |
| - background: #ef8a62; |
| 404 | + background: var(--color-latency-4); |
398 | 405 | }
|
399 | 406 | .activation-viz-plugin .cell-container[color-by="duration"] .grid-cell-occupied.latency-5 .grid-cell-content {
|
400 |
| - background: #b2182b; |
| 407 | + background: var(--color-latency-5); |
401 | 408 | }
|
402 | 409 |
|
403 | 410 | .activation-viz-plugin .data-table .oops {
|
|
672 | 679 | left: 0;
|
673 | 680 | width: 100%;
|
674 | 681 | height: 100%;
|
675 |
| - background-image: repeating-linear-gradient(-45deg, transparent, transparent 10%, rgba(255,255,255,.5) 10%, rgba(255,255,255,.5) 15%), repeating-linear-gradient(45deg, transparent, transparent 10%, rgba(255,255,255,.5) 10%, rgba(255,255,255,.5) 21%); |
676 |
| - background-color: #b15928; |
| 682 | + background-image: repeating-linear-gradient(-45deg, transparent, transparent 10%, hsla(353, 76%, 90%, 0.75) 10%, hsla(353, 76%, 90%, 0.75) 15%), repeating-linear-gradient(45deg, transparent, transparent 10%, hsla(353, 76%, 90%, 0.75) 10%, hsla(353, 76%, 90%, 0.75) 21%); |
| 683 | + background-color: var(--color-latency-5); |
677 | 684 | }
|
678 | 685 |
|
679 | 686 | .activation-viz-plugin iframe {
|
|
0 commit comments