mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-12 12:31:42 -05:00
Maps components css modules migration (#2173)
This commit is contained in:
76
app/components/MapPoolSelector.module.css
Normal file
76
app/components/MapPoolSelector.module.css
Normal file
@@ -0,0 +1,76 @@
|
||||
.templateSelection {
|
||||
display: grid;
|
||||
gap: var(--s-2);
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 640px) {
|
||||
.templateSelection {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
.stageRow {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
align-items: center;
|
||||
gap: var(--s-3);
|
||||
}
|
||||
|
||||
.stageNameRow {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-grow: 1;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
border-radius: var(--rounded);
|
||||
background-color: var(--bg-lighter);
|
||||
font-size: var(--fonts-xs);
|
||||
font-weight: var(--semi-bold);
|
||||
gap: var(--s-2);
|
||||
padding-block: var(--s-1-5);
|
||||
padding-inline: var(--s-3);
|
||||
}
|
||||
|
||||
@media screen and (min-width: 640px) {
|
||||
.stageNameRow {
|
||||
flex-direction: row;
|
||||
}
|
||||
}
|
||||
|
||||
.stageImage {
|
||||
border-radius: var(--rounded);
|
||||
}
|
||||
|
||||
.modeButtonsContainer {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: var(--s-1-5);
|
||||
}
|
||||
|
||||
.modeButton {
|
||||
padding: 0;
|
||||
padding: var(--s-1);
|
||||
border: 2px solid var(--bg-darker);
|
||||
border-radius: var(--rounded-full);
|
||||
background-color: transparent;
|
||||
color: var(--theme);
|
||||
opacity: 1 !important;
|
||||
outline: initial;
|
||||
}
|
||||
|
||||
.modeButton.selected {
|
||||
border: 2px solid transparent;
|
||||
background-color: var(--bg-mode-active);
|
||||
}
|
||||
|
||||
.modeButton.preselected {
|
||||
border: 2px solid var(--theme-info);
|
||||
background-color: var(--bg-mode-active);
|
||||
}
|
||||
|
||||
.mode:not(.selected, .preselected) {
|
||||
filter: var(--inactive-image-filter);
|
||||
opacity: 0.6;
|
||||
}
|
||||
Reference in New Issue
Block a user