mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-11-14 08:09:13 -06:00
84 lines
1.6 KiB
CSS
84 lines
1.6 KiB
CSS
.minimap {
|
|
position: relative;
|
|
display: grid;
|
|
place-items: center;
|
|
width: 100%;
|
|
max-height: 70dvh;
|
|
aspect-ratio: 16 / 9;
|
|
padding: 0;
|
|
border: none;
|
|
border-radius: var(--radius-box);
|
|
background: #000;
|
|
overflow: hidden;
|
|
|
|
&:has(.empty) {
|
|
border: var(--border-width) dashed var(--color-border);
|
|
background: transparent;
|
|
}
|
|
|
|
/* below CoachView's side-by-side width it sits between the video and the events */
|
|
&.besideVideo:has(.empty) {
|
|
@container (width < 900px) {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
.swap {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 0;
|
|
border: none;
|
|
background: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.planner {
|
|
position: absolute;
|
|
z-index: 1;
|
|
inset-block-end: var(--s-1-5);
|
|
inset-inline-start: var(--s-1-5);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--s-1);
|
|
padding: var(--s-1) var(--s-2);
|
|
border: none;
|
|
border-radius: var(--radius-field);
|
|
background: var(--color-bg-overlay);
|
|
color: var(--color-text-on-dark);
|
|
font-size: var(--font-xs);
|
|
font-weight: var(--weight-semi);
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
background: var(--color-bg-overlay-high);
|
|
}
|
|
}
|
|
|
|
.image {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.ago {
|
|
position: absolute;
|
|
inset-block-start: var(--s-1-5);
|
|
inset-inline-start: var(--s-1-5);
|
|
padding: var(--s-0-5) var(--s-1-5);
|
|
border-radius: var(--radius-field);
|
|
background: var(--color-bg-overlay);
|
|
color: var(--color-text-on-dark);
|
|
font-size: var(--font-xs);
|
|
font-weight: var(--weight-semi);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.empty {
|
|
font-size: var(--font-xs);
|
|
color: var(--color-text-high);
|
|
}
|