mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-11-16 10:51:13 -06:00
Some checks failed
E2E Tests / e2e (push) Has been cancelled
E2E Tests / publish-docs-screenshots (push) Has been cancelled
Tests and checks on push / run-checks-and-tests (push) Has been cancelled
Updates translation progress / update-translation-progress-issue (push) Has been cancelled
Co-authored-by: hfcRed <hfcred@gmx.net>
124 lines
2.0 KiB
CSS
124 lines
2.0 KiB
CSS
.sectionTitle {
|
|
font-size: var(--font-xl);
|
|
border-bottom: 2px solid var(--color-border);
|
|
}
|
|
|
|
.tokenName {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--s-1-5);
|
|
font-size: var(--font-xs);
|
|
word-break: break-all;
|
|
}
|
|
|
|
.swatch {
|
|
flex-shrink: 0;
|
|
width: 1rem;
|
|
height: 1rem;
|
|
border: 1px solid var(--color-border-high);
|
|
border-radius: var(--radius-selector);
|
|
}
|
|
|
|
.annotated {
|
|
container-type: inline-size;
|
|
position: relative;
|
|
}
|
|
|
|
.annotatedGrid {
|
|
display: grid;
|
|
gap: var(--s-6);
|
|
|
|
@container (width > 44rem) {
|
|
grid-template-columns: minmax(0, 30rem) 18rem;
|
|
justify-content: space-between;
|
|
gap: var(--s-24);
|
|
align-items: center;
|
|
}
|
|
}
|
|
|
|
.stage {
|
|
padding: var(--s-6);
|
|
border: var(--border-style);
|
|
border-radius: var(--radius-box);
|
|
background-color: var(--color-bg);
|
|
}
|
|
|
|
.notes {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--s-3);
|
|
padding: 0;
|
|
margin: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.note {
|
|
display: flex;
|
|
gap: var(--s-2);
|
|
padding: var(--s-1-5);
|
|
border-radius: var(--radius-field);
|
|
cursor: default;
|
|
|
|
&[data-active="true"] {
|
|
background-color: var(--color-bg-high);
|
|
}
|
|
}
|
|
|
|
.marker,
|
|
.pin {
|
|
display: grid;
|
|
flex-shrink: 0;
|
|
place-items: center;
|
|
width: 1.25rem;
|
|
height: 1.25rem;
|
|
border-radius: var(--radius-full);
|
|
background-color: var(--color-text);
|
|
color: var(--color-text-inverse);
|
|
font-size: var(--font-2xs);
|
|
font-weight: var(--weight-bold);
|
|
}
|
|
|
|
.pin {
|
|
position: absolute;
|
|
translate: -50% -50%;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.arrows {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: visible;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.arrow {
|
|
fill: none;
|
|
stroke: var(--color-text-high);
|
|
stroke-width: 1.5;
|
|
opacity: 0.6;
|
|
|
|
&[data-active="true"] {
|
|
stroke: var(--color-text);
|
|
stroke-width: 2;
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.arrowHead {
|
|
fill: var(--color-text-high);
|
|
|
|
&[data-active="true"] {
|
|
fill: var(--color-text);
|
|
}
|
|
}
|
|
|
|
.targetHighlight {
|
|
position: absolute;
|
|
outline: 2px dashed var(--color-text);
|
|
outline-offset: 3px;
|
|
border-radius: var(--radius-field);
|
|
pointer-events: none;
|
|
}
|