mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-12-09 16:21:51 +00:00
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.
42 lines
823 B
SCSS
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;
|
|
}
|
|
}
|