1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-09 16:21:51 +00:00
tobspr_shapez.io/src/css/states/mods.scss
Даниїл Григор'єв c184d08ece
Replace usages of D() and S() SCSS mixins
Replace all instances of D() and S() mixins with rem units. Also,
replace deprecated slash division with math.div as suggested by
dart-sass. Finally, remove the mixins as they are no longer used.
2025-06-20 09:16:53 +03:00

42 lines
823 B
SCSS

#state_ModsState {
// TODO: Update dimensions to use less build-time logic
.modsGrid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1rem;
}
.modsGrid.noMods {
grid-template-columns: unset;
place-items: center;
}
.mod {
width: 100%;
box-sizing: border-box;
padding: 1rem;
border-radius: 0.4rem;
background: #eee;
@include DarkThemeOverride {
background: lighten($darkModeControlsBackground, 5);
}
}
.mod > .title {
text-wrap: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.mod > .description {
@include PlainText();
}
.mod > .advanced {
@include PlainText();
color: $accentColorDark;
}
}