2020-05-16 20:45:40 +00:00
|
|
|
#ingame_HUD_PlacementHints {
|
2020-05-09 14:45:23 +00:00
|
|
|
position: fixed;
|
2020-05-16 20:45:40 +00:00
|
|
|
@include S(top, 60px);
|
2020-05-10 15:45:48 +00:00
|
|
|
@include S(right, 10px);
|
2020-05-09 14:45:23 +00:00
|
|
|
|
2020-05-13 10:57:18 +00:00
|
|
|
display: grid;
|
2020-05-09 14:45:23 +00:00
|
|
|
|
|
|
|
@include S(padding, 6px);
|
2020-05-17 11:24:47 +00:00
|
|
|
@include S(border-radius, $globalBorderRadius);
|
2020-05-13 10:57:18 +00:00
|
|
|
@include S(width, 240px);
|
|
|
|
@include S(grid-column-gap, 5px);
|
|
|
|
|
2020-06-01 19:14:12 +00:00
|
|
|
background: $ingameHudBg;
|
2020-05-13 10:57:18 +00:00
|
|
|
grid-template-columns: 1fr auto;
|
|
|
|
grid-template-rows: auto 1fr;
|
2020-05-09 14:45:23 +00:00
|
|
|
|
2020-05-17 11:24:47 +00:00
|
|
|
@include DarkThemeOverride {
|
|
|
|
background-color: #55585a;
|
|
|
|
}
|
|
|
|
|
2020-05-09 14:45:23 +00:00
|
|
|
.buildingLabel {
|
|
|
|
@include PlainText;
|
2020-05-13 10:57:18 +00:00
|
|
|
@include S(margin-bottom, 2px);
|
2020-05-09 14:45:23 +00:00
|
|
|
color: #fff;
|
|
|
|
text-transform: uppercase;
|
2020-05-13 10:57:18 +00:00
|
|
|
grid-column: 1 / 3;
|
|
|
|
grid-row: 1 / 2;
|
2020-05-09 14:45:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.description {
|
2020-05-13 10:57:18 +00:00
|
|
|
color: #bbb;
|
2020-05-09 14:45:23 +00:00
|
|
|
@include SuperSmallText;
|
2020-05-13 10:57:18 +00:00
|
|
|
grid-column: 1 / 2;
|
|
|
|
grid-row: 2 / 3;
|
|
|
|
display: grid;
|
|
|
|
grid-template-rows: 1fr auto;
|
|
|
|
|
|
|
|
strong {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-05-17 13:32:19 +00:00
|
|
|
.additionalInfo {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: auto 1fr;
|
|
|
|
|
|
|
|
label {
|
|
|
|
color: lighten($colorGreenBright, 10);
|
|
|
|
font-weight: bold;
|
|
|
|
@include S(margin-right, 5px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-05-13 10:57:18 +00:00
|
|
|
.hotkey {
|
|
|
|
color: lighten($colorGreenBright, 10);
|
|
|
|
font-weight: bold;
|
2020-05-17 10:12:13 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
.keybinding {
|
|
|
|
position: relative;
|
|
|
|
@include S(margin-left, 5px);
|
|
|
|
}
|
2020-05-13 10:57:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.buildingImage {
|
|
|
|
grid-column: 2 / 3;
|
|
|
|
grid-row: 1 / 3;
|
|
|
|
@include S(width, 100px);
|
|
|
|
@include S(height, 100px);
|
|
|
|
background: top left / 100% 100% no-repeat;
|
2020-05-17 11:24:47 +00:00
|
|
|
@include S(border-radius, $globalBorderRadius);
|
2020-05-09 14:45:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@include StyleBelowWidth(700px) {
|
|
|
|
display: none !important;
|
|
|
|
}
|
2020-06-21 18:47:37 +00:00
|
|
|
|
|
|
|
&.compact {
|
|
|
|
width: unset !important;
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
.buildingImage,
|
|
|
|
.description > .text {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2020-05-09 14:45:23 +00:00
|
|
|
}
|
2020-05-16 20:45:40 +00:00
|
|
|
|
|
|
|
#ingame_HUD_PlacerVariants {
|
|
|
|
position: absolute;
|
2020-05-21 09:40:26 +00:00
|
|
|
@include S(right, 10px);
|
|
|
|
@include S(top, 200px);
|
|
|
|
display: flex;
|
2020-05-16 20:45:40 +00:00
|
|
|
@include S(grid-gap, 5px);
|
2020-05-21 09:40:26 +00:00
|
|
|
flex-direction: column;
|
|
|
|
align-items: flex-end;
|
2020-05-16 20:45:40 +00:00
|
|
|
|
2020-06-21 18:47:37 +00:00
|
|
|
&.compact {
|
|
|
|
@include S(top, 150px);
|
|
|
|
}
|
|
|
|
|
2020-05-16 20:45:40 +00:00
|
|
|
.explanation {
|
2020-05-16 22:39:36 +00:00
|
|
|
text-transform: uppercase;
|
2020-05-21 09:40:26 +00:00
|
|
|
grid-row: 1 / 2;
|
2020-05-16 22:39:36 +00:00
|
|
|
@include SuperSmallText;
|
2020-05-21 09:40:26 +00:00
|
|
|
text-align: right;
|
2020-05-16 20:45:40 +00:00
|
|
|
.keybinding {
|
|
|
|
position: relative;
|
|
|
|
}
|
2020-05-28 18:36:53 +00:00
|
|
|
font-weight: bold !important;
|
2020-05-17 11:24:47 +00:00
|
|
|
|
|
|
|
@include DarkThemeOverride {
|
|
|
|
color: rgba(#fff, 0.5);
|
|
|
|
}
|
2020-05-16 20:45:40 +00:00
|
|
|
}
|
|
|
|
|
2020-05-21 09:40:26 +00:00
|
|
|
.variants {
|
|
|
|
display: grid;
|
|
|
|
@include S(grid-gap, 5px);
|
|
|
|
|
|
|
|
.variant {
|
|
|
|
grid-row: 2 / 3;
|
|
|
|
@include S(border-radius, $globalBorderRadius);
|
2020-06-01 19:14:12 +00:00
|
|
|
background: rgba($ingameHudBg, 0.3);
|
|
|
|
opacity: 0.5;
|
2020-05-21 09:40:26 +00:00
|
|
|
display: inline-flex;
|
|
|
|
vertical-align: top;
|
2020-05-16 20:45:40 +00:00
|
|
|
position: relative;
|
2020-05-21 09:40:26 +00:00
|
|
|
align-items: center;
|
|
|
|
@include S(padding, 3px);
|
|
|
|
@include S(grid-gap, 10px);
|
2020-05-16 20:45:40 +00:00
|
|
|
|
2020-05-21 09:40:26 +00:00
|
|
|
&.active {
|
2020-06-01 19:14:12 +00:00
|
|
|
opacity: 1;
|
|
|
|
background-color: rgba($colorBlueBright, 0.8);
|
2020-05-16 20:45:40 +00:00
|
|
|
}
|
2020-05-21 09:40:26 +00:00
|
|
|
|
|
|
|
$iconSize: 25px;
|
|
|
|
|
|
|
|
.iconWrap {
|
|
|
|
grid-column: 1 / 2;
|
|
|
|
grid-row: 1 / 2;
|
|
|
|
position: relative;
|
|
|
|
@include S(width, $iconSize);
|
|
|
|
@include S(height, $iconSize);
|
|
|
|
background: center center / contain no-repeat;
|
|
|
|
|
|
|
|
&[data-tile-w="2"] {
|
|
|
|
@include S(width, 2 * $iconSize);
|
|
|
|
}
|
|
|
|
&[data-tile-h="2"] {
|
|
|
|
@include S(height, 2 * $iconSize);
|
|
|
|
}
|
|
|
|
&[data-tile-h="3"] {
|
|
|
|
@include S(height, 3 * $iconSize);
|
|
|
|
}
|
|
|
|
&[data-tile-w="3"] {
|
|
|
|
@include S(width, 3 * $iconSize);
|
|
|
|
}
|
|
|
|
&[data-tile-w="4"] {
|
|
|
|
@include S(width, 4 * $iconSize);
|
|
|
|
}
|
2020-05-20 13:51:06 +00:00
|
|
|
}
|
2020-05-16 20:45:40 +00:00
|
|
|
|
2020-05-21 09:40:26 +00:00
|
|
|
.label {
|
|
|
|
display: none;
|
|
|
|
grid-column: 2 / 3;
|
|
|
|
text-transform: uppercase;
|
|
|
|
grid-row: 1 / 2;
|
|
|
|
@include SuperSmallText;
|
|
|
|
color: #fff;
|
|
|
|
}
|
2020-05-16 20:45:40 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|