|
325 | 325 | .activation-viz-timeline .grid-cell-content {
|
326 | 326 | border-radius: 1px / 2px;
|
327 | 327 | }
|
328 |
| -.activation-viz-plugin .cell-container[color-by="duration"] .grid-cell:not(.grid-no-hover):not(.latency-2):hover,.repl-result .entity.activations:hover .activation-viz-plugin .grid .grid-cell { |
| 328 | +.activation-viz-plugin .cell-container[color-by="duration"] .grid-cell:not(.grid-no-hover).latency-0:hover, |
| 329 | +.activation-viz-plugin .cell-container[color-by="duration"] .grid-cell:not(.grid-no-hover).latency-5:hover, |
| 330 | +.repl-result .entity.activations:hover .activation-viz-plugin .grid .grid-cell { |
329 | 331 | filter: saturate(2.25) brightness(1.25) !important;
|
330 | 332 | }
|
331 | 333 |
|
|
373 | 375 | .activation-viz-plugin .cell-container[color-by="duration"] .grid-cell-occupied.latency-2 .grid-cell-content {
|
374 | 376 | background: hsla(201, 51%, 78%, 1); /* #d1e5f0 with lightness reduced from 88% to 78% */
|
375 | 377 | }
|
| 378 | +.activation-viz-plugin .cell-container[color-by="duration"] .grid-cell-occupied .grid-cell-content span { |
| 379 | + /* increase contrast on hover; see shell issue #875 */ |
| 380 | + font-weight: 400; |
| 381 | +} |
| 382 | +.activation-viz-plugin .cell-container[color-by="duration"] .grid-cell-occupied.latency-1:hover .grid-cell-content span, |
| 383 | +.activation-viz-plugin .cell-container[color-by="duration"] .grid-cell-occupied.latency-2:hover .grid-cell-content span, |
| 384 | +.activation-viz-plugin .cell-container[color-by="duration"] .grid-cell-occupied.latency-3:hover .grid-cell-content span { |
| 385 | + /* increase contrast on hover; see shell issue #875 */ |
| 386 | + color: black; |
| 387 | +} |
376 | 388 | .activation-viz-plugin .cell-container[color-by="duration"] .grid-cell-occupied.latency-3 .grid-cell-content {
|
377 | 389 | background: #fddbc7;
|
378 | 390 | }
|
|
474 | 486 | 100% {-webkit-transform: scale(1.5, 1.5); opacity: 0.0;}
|
475 | 487 | }
|
476 | 488 | .activation-viz-plugin .grid .grid-cell:not(.grid-no-hover):hover {
|
477 |
| - filter: saturate(4) !important; |
| 489 | + filter: saturate(4) brightness(0.9) !important; |
478 | 490 | cursor: pointer;
|
479 | 491 | }
|
480 | 492 | .activation-viz-plugin .grid .grid-cell-content {
|
|
490 | 502 | }
|
491 | 503 |
|
492 | 504 | /* innerLabel for cells; see cell.js: const innerLabel */
|
| 505 | +.activation-viz-plugin .cell-container.zoom_-1 .grid-cell-content > span, |
| 506 | +.activation-viz-plugin .cell-container.zoom_-2 .grid-cell-content > span { |
| 507 | + /* the cells are too small for the inner latency label */ |
| 508 | + opacity: 0 |
| 509 | +} |
| 510 | +.activation-viz-plugin .cell-container.zoom_1 .grid-cell-content > span { |
| 511 | + font-size: 0.85vw; |
| 512 | +} |
| 513 | +.activation-viz-plugin .cell-container.zoom_2 .grid-cell-content > span { |
| 514 | + font-size: 1vw; |
| 515 | +} |
493 | 516 | .activation-viz-plugin .grid-cell-content > span {
|
494 | 517 | font-size: 0.75vw;
|
495 | 518 | color: white;
|
|
0 commit comments