mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-11-12 22:29:53 -06:00
223 lines
3.6 KiB
CSS
223 lines
3.6 KiB
CSS
.container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-field);
|
|
background: var(--color-bg);
|
|
}
|
|
|
|
.header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: var(--s-2) var(--s-3);
|
|
background: var(--color-bg-higher);
|
|
border: none;
|
|
border-radius: var(--radius-field);
|
|
cursor: pointer;
|
|
font-size: var(--font-sm);
|
|
font-weight: var(--weight-semi);
|
|
color: var(--color-text);
|
|
width: 100%;
|
|
text-align: left;
|
|
|
|
&:hover {
|
|
background: var(--color-bg-high);
|
|
}
|
|
}
|
|
|
|
.headerTitle {
|
|
flex: 1;
|
|
}
|
|
|
|
.collapseIcon {
|
|
font-size: var(--font-lg);
|
|
font-weight: var(--weight-bold);
|
|
color: var(--color-text-high);
|
|
width: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.content {
|
|
padding: var(--s-3);
|
|
}
|
|
|
|
.benchmarkLegend {
|
|
display: flex;
|
|
gap: var(--s-4);
|
|
margin-bottom: var(--s-3);
|
|
padding-bottom: var(--s-2);
|
|
border-bottom: 1px solid var(--color-border);
|
|
}
|
|
|
|
.legendItem {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--s-1);
|
|
font-size: var(--font-xs);
|
|
color: var(--color-text-high);
|
|
}
|
|
|
|
.legendLine {
|
|
width: 16px;
|
|
height: 2px;
|
|
background-image: repeating-linear-gradient(
|
|
to right,
|
|
rgb(100 100 120) 0,
|
|
rgb(100 100 120) 4px,
|
|
transparent 4px,
|
|
transparent 8px
|
|
);
|
|
}
|
|
|
|
.legendLabel {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.chartContainer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--s-2);
|
|
}
|
|
|
|
.weaponLegend {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: var(--s-3);
|
|
}
|
|
|
|
.weaponLegendItem {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: var(--s-1);
|
|
min-width: 0;
|
|
}
|
|
|
|
.weaponLegendColor {
|
|
width: 12px;
|
|
height: 3px;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.weaponLegendRange {
|
|
font-size: var(--font-xs);
|
|
color: var(--color-text-high);
|
|
font-weight: var(--weight-semi);
|
|
}
|
|
|
|
.chart {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
height: auto;
|
|
min-height: 150px;
|
|
}
|
|
|
|
.variantChip {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--s-1);
|
|
padding: var(--s-0-5) var(--s-2);
|
|
background: var(--color-bg-higher);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-field);
|
|
font-size: var(--font-xs);
|
|
color: var(--color-text);
|
|
cursor: pointer;
|
|
flex-wrap: wrap;
|
|
|
|
&:hover {
|
|
background: var(--color-bg-high);
|
|
}
|
|
}
|
|
|
|
.variantChipHidden {
|
|
background: transparent;
|
|
border-style: dashed;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.variantLine {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.lethalRange {
|
|
font-size: var(--font-xs);
|
|
color: var(--color-text-high);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.specialRangesToggleRow {
|
|
display: flex;
|
|
padding-block-start: var(--s-2);
|
|
border-block-start: 1px solid var(--color-border);
|
|
}
|
|
|
|
.specialRanges {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--s-1);
|
|
}
|
|
|
|
.specialRangeRow {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
min-height: 24px;
|
|
}
|
|
|
|
.specialRangeIcon {
|
|
position: absolute;
|
|
inset-inline-start: 0;
|
|
}
|
|
|
|
.specialRangeTrack {
|
|
position: relative;
|
|
height: 18px;
|
|
}
|
|
|
|
.specialRangeBar {
|
|
position: absolute;
|
|
inset-block: 0;
|
|
inset-inline-start: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
padding-inline: var(--s-1);
|
|
border-radius: var(--radius-field);
|
|
font-size: var(--font-xs);
|
|
font-weight: var(--weight-semi);
|
|
color: black;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.specialRangeBlast {
|
|
position: absolute;
|
|
inset-block: 0;
|
|
border-radius: var(--radius-field);
|
|
opacity: 0.35;
|
|
}
|
|
|
|
.weaponLegendItemHidden > :not(.visibilityToggle) {
|
|
opacity: 0.35;
|
|
}
|
|
|
|
.visibilityToggle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--s-0-5);
|
|
padding: var(--s-0-5);
|
|
background: transparent;
|
|
border: none;
|
|
border-radius: var(--radius-field);
|
|
color: var(--color-text-high);
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
background: var(--color-bg-high);
|
|
}
|
|
|
|
&[aria-pressed="false"] img {
|
|
opacity: 0.35;
|
|
}
|
|
}
|