1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Initial support for translations

This commit is contained in:
tobspr
2020-05-17 12:12:13 +02:00
parent 13c6fc7598
commit a70a937302
44 changed files with 573 additions and 328 deletions

View File

@@ -39,6 +39,13 @@
.hotkey {
color: lighten($colorGreenBright, 10);
font-weight: bold;
display: flex;
flex-direction: row;
align-items: center;
.keybinding {
position: relative;
@include S(margin-left, 5px);
}
}
.buildingImage {

View File

@@ -66,17 +66,13 @@
}
}
.keybinding.shift {
.keybinding.builtinKey {
transition: all 0.1s ease-in-out;
transition-property: background-color, color, border-color;
background: $colorRedBright;
border-color: $colorRedBright;
color: #fff;
}
&.shiftDown .keybinding.shift {
border-color: darken($colorRedBright, 40);
}
}
body.uiHidden #ingame_HUD_KeybindingOverlay .binding:not(.hudToggle) {

View File

@@ -251,9 +251,9 @@
@include S(padding, 15px);
> a {
display: flex;
flex-direction: row;
display: grid;
align-items: center;
grid-template-columns: 1fr auto;
justify-content: center;
background: #fafafa;
@@ -280,8 +280,8 @@
.thirdpartyLogo {
display: inline-block;
width: 80%;
height: 80%;
@include S(width, 50px);
@include S(height, 50px);
background: center center / 80% no-repeat;
&.githubLogo {
background-image: uiResource("main_menu/github.png");