rr
This commit is contained in:
parent
2636d580a8
commit
d14550dad6
78 changed files with 2827 additions and 563 deletions
|
|
@ -344,23 +344,35 @@ body::before {
|
|||
color: var(--muted);
|
||||
line-height: 1.25;
|
||||
}
|
||||
.colony-chart-legend span {
|
||||
.colony-chart-legend .chart-series-toggle {
|
||||
appearance: none;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
min-width: 0;
|
||||
margin: 0;
|
||||
padding: 2px 4px;
|
||||
border: 0;
|
||||
border-radius: 6px;
|
||||
background: transparent;
|
||||
color: inherit;
|
||||
font: inherit;
|
||||
line-height: inherit;
|
||||
white-space: nowrap;
|
||||
cursor: pointer;
|
||||
transition: opacity 120ms ease, background-color 120ms ease, transform 120ms ease;
|
||||
}
|
||||
.colony-chart-legend i {
|
||||
.colony-chart-legend .chart-series-toggle:hover { background: rgba(255,255,255,0.56); }
|
||||
.colony-chart-legend .chart-series-toggle:focus-visible { outline: 2px solid rgba(103,178,44,0.58); outline-offset: 1px; }
|
||||
.colony-chart-legend .chart-series-toggle:active { transform: translateY(1px); }
|
||||
.colony-chart-legend .chart-series-toggle i {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
flex: 0 0 10px;
|
||||
border-radius: 999px;
|
||||
display: inline-block;
|
||||
box-shadow: 0 0 0 1px rgba(70, 52, 36, 0.10);
|
||||
cursor: pointer;
|
||||
transition: opacity 120ms ease, transform 120ms ease;
|
||||
}
|
||||
.colony-chart-legend i:hover,
|
||||
.colony-chart-legend i:focus-visible { transform: scale(1.18); outline: none; }
|
||||
.colony-chart-legend .series-hidden { opacity: 0.42; text-decoration: line-through; }
|
||||
.colony-chart-legend .series-hidden i { background: transparent !important; box-shadow: inset 0 0 0 2px currentColor; }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue