mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-07-04 07:43:41 -07:00
141 lines
2.6 KiB
CSS
141 lines
2.6 KiB
CSS
figure[data-chart-legend] {
|
|
figcaption {
|
|
font-size: var(--font-size-xs);
|
|
line-height: var(--line-height-xs);
|
|
text-transform: uppercase;
|
|
|
|
header {
|
|
display: block;
|
|
}
|
|
|
|
h5 {
|
|
margin: 0;
|
|
font-family: var(--font-mono);
|
|
font-size: inherit;
|
|
font-weight: inherit;
|
|
line-height: inherit;
|
|
}
|
|
|
|
span:is([data-chart="unit"], [data-chart="separator"]) {
|
|
color: var(--gray);
|
|
}
|
|
|
|
menu {
|
|
display: flex;
|
|
padding: 0.25rem 0 0.5rem;
|
|
overflow-x: auto;
|
|
list-style: none;
|
|
}
|
|
|
|
li {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
button {
|
|
display: block;
|
|
min-width: 8.5ch;
|
|
padding: 0.25rem 0.375rem;
|
|
border: 0;
|
|
border-radius: 0.25rem;
|
|
color: inherit;
|
|
background: none;
|
|
font: inherit;
|
|
text-align: inherit;
|
|
text-transform: inherit;
|
|
cursor: pointer;
|
|
|
|
@media (hover: hover) and (pointer: fine) {
|
|
&:hover {
|
|
color: var(--black);
|
|
background: var(--color);
|
|
|
|
span,
|
|
output {
|
|
color: inherit;
|
|
}
|
|
}
|
|
}
|
|
|
|
&[data-press] {
|
|
color: var(--black);
|
|
background: var(--color);
|
|
|
|
span,
|
|
output {
|
|
color: inherit;
|
|
}
|
|
}
|
|
|
|
&:is([data-active], [data-preview]) {
|
|
color: var(--black);
|
|
background: var(--color);
|
|
|
|
span,
|
|
output {
|
|
color: inherit;
|
|
}
|
|
}
|
|
|
|
&:focus-visible {
|
|
outline: 1px solid var(--orange);
|
|
outline-offset: 0.125rem;
|
|
}
|
|
|
|
&[data-muted] {
|
|
opacity: 0.35;
|
|
}
|
|
|
|
> span {
|
|
display: block;
|
|
color: var(--color);
|
|
text-align: left;
|
|
|
|
&::before {
|
|
content: "";
|
|
display: inline-block;
|
|
width: 0.5em;
|
|
height: 0.5em;
|
|
margin-right: 0.35em;
|
|
margin-bottom: 0.1rem;
|
|
border-radius: 50%;
|
|
background: currentColor;
|
|
}
|
|
}
|
|
|
|
> output {
|
|
display: block;
|
|
margin-top: 0.25rem;
|
|
margin-left: auto;
|
|
width: 7ch;
|
|
min-height: 1em;
|
|
color: var(--white);
|
|
font-variant-numeric: tabular-nums;
|
|
text-align: right;
|
|
}
|
|
}
|
|
}
|
|
|
|
&:fullscreen {
|
|
figcaption {
|
|
h5 {
|
|
color: var(--white);
|
|
font-family: var(--font-serif);
|
|
font-size: 2rem;
|
|
text-transform: none;
|
|
}
|
|
|
|
menu {
|
|
padding-bottom: 0.5rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
svg [data-series][data-muted] {
|
|
opacity: 0.2;
|
|
}
|
|
|
|
svg [data-series][data-preview] {
|
|
opacity: 1;
|
|
}
|
|
}
|