sendou.ink/app/features/comp-analyzer/components/SelectedWeapons.module.css
Kalle fef1ffc955
Design refresh + a bunch of stuff (#2864)
Co-authored-by: hfcRed <hfcred@gmx.net>
2026-03-19 17:51:42 +02:00

123 lines
2.1 KiB
CSS

.selectedWeapons {
display: flex;
flex-direction: column;
gap: var(--s-3);
}
.selectedWeaponRow {
display: flex;
align-items: center;
gap: var(--s-2);
}
.weaponImageContainer {
position: relative;
z-index: 1;
display: flex;
align-items: center;
justify-content: center;
width: 56px;
height: 56px;
background-color: var(--color-bg-high);
border: 2px solid var(--color-border);
border-radius: 50%;
flex-shrink: 0;
}
.weaponImageContainerEmpty {
position: relative;
z-index: 1;
display: flex;
align-items: center;
justify-content: center;
width: 56px;
height: 56px;
background-color: var(--color-bg-higher);
border: 2px dashed var(--color-border);
border-radius: 50%;
flex-shrink: 0;
opacity: 0.6;
}
.weaponNamePill {
display: flex;
align-items: center;
gap: var(--s-2);
padding: var(--s-2) var(--s-3);
padding-left: var(--s-5);
background-color: var(--color-bg-high);
border: 2px solid var(--color-border);
border-radius: var(--radius-full);
flex: 1;
min-width: 0;
}
.weaponName {
flex: 1;
font-weight: var(--weight-semi);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.weaponNamePillEmpty {
display: flex;
align-items: center;
padding: var(--s-2) var(--s-3);
padding-left: var(--s-5);
background-color: var(--color-bg-higher);
border: 2px dashed var(--color-border);
border-radius: var(--radius-full);
flex: 1;
min-width: 0;
opacity: 0.6;
}
.weaponNameEmpty {
flex: 1;
font-weight: var(--weight-semi);
font-style: italic;
color: var(--color-text-high);
}
.removeButton {
display: flex;
align-items: center;
justify-content: center;
width: 20px;
height: 20px;
background: none;
border: none;
cursor: pointer;
font-size: 18px;
font-weight: bold;
line-height: 1;
color: var(--color-text-high);
flex-shrink: 0;
}
.removeButton:hover {
color: var(--color-error);
}
.subSpecialContainer {
display: flex;
gap: var(--s-2);
flex-shrink: 0;
}
.subSpecialContainerSpacer {
width: 89px;
}
.kitIcon {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
background-color: var(--color-bg-high);
border: 2px solid var(--color-border);
border-radius: 50%;
}