1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2024-10-27 20:34:29 +00:00
tobspr_shapez.io/src/css/textual_game_state.scss

82 lines
2.0 KiB
SCSS
Raw Normal View History

2020-05-09 14:45:23 +00:00
.gameState.textualState {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
$padding: 15px;
2020-05-17 10:46:51 +00:00
.headerBar,
> .container .content {
2020-05-17 10:46:51 +00:00
@include S(width, 500px);
2020-05-09 14:45:23 +00:00
}
2020-05-17 10:46:51 +00:00
.headerBar {
2020-05-09 14:45:23 +00:00
display: flex;
2020-05-17 10:46:51 +00:00
align-items: center;
2020-05-18 18:30:03 +00:00
justify-content: flex-start;
2020-05-09 14:45:23 +00:00
2020-05-17 10:46:51 +00:00
h1 {
2020-05-18 18:30:03 +00:00
display: flex;
pointer-events: all;
align-items: center;
cursor: pointer;
2020-05-17 10:46:51 +00:00
@include SuperHeading;
text-transform: uppercase;
color: #333438;
position: relative;
2020-05-18 18:30:03 +00:00
@include IncreasedClickArea(10px);
2020-05-09 14:45:23 +00:00
}
2020-05-17 10:46:51 +00:00
.backButton {
@include S(width, 30px);
@include S(height, 30px);
@include S(margin-right, 10px);
@include S(margin-left, -5px);
background: uiResource("icons/state_back_button.png") center center / 70% no-repeat;
2020-05-09 14:45:23 +00:00
}
2020-05-17 10:46:51 +00:00
@include S(margin-bottom, 20px);
2020-05-09 14:45:23 +00:00
}
> .container {
> .content {
background: #fff;
@include S(border-radius, $globalBorderRadius);
@include S(padding, 10px);
height: calc(80vh - #{D(60px)});
overflow-y: auto;
box-sizing: border-box;
pointer-events: all;
a {
color: $colorBlueBright;
}
.categoryLabel {
display: block;
text-transform: uppercase;
@include S(margin-top, 15px);
@include S(margin-bottom, 15px);
@include Heading;
}
}
2020-05-09 14:45:23 +00:00
}
@include DarkThemeOverride {
.headerBar {
h1 {
2020-06-21 18:27:39 +00:00
color: #e2e0db;
}
.backButton {
filter: invert(1);
}
}
> .container > .content {
2020-06-21 18:27:39 +00:00
background: darken($darkModeGameBackground, 3);
color: #eee;
}
}
2020-05-09 14:45:23 +00:00
}