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

Minor fixes

This commit is contained in:
tobspr
2020-09-19 15:14:10 +02:00
parent 6b7cfb48b3
commit 8fa348ef30
4 changed files with 16 additions and 58 deletions

View File

@@ -8,53 +8,6 @@
backdrop-filter: blur(D(1px));
// > .menuButtons {
// position: relative;
// display: flex;
// flex-grow: 1;
// @include S(padding, 5px, 4px);
// justify-content: flex-end;
// @include S(margin-left, 20px);
// > .button {
// @include S(width, 30px);
// @include S(height, 30px);
// display: inline-block;
// background: center center / 60% no-repeat;
// pointer-events: all;
// cursor: pointer;
// transition: all 0.12s ease-in-out;
// transition-property: opacity, transform;
// will-change: opacity;
// opacity: 0.5;
// &:hover {
// opacity: 0.7;
// }
// @include DarkThemeOverride {
// opacity: 0.9;
// &:hover {
// opacity: 0.6;
// }
// }
// @include S(margin-left, 5px);
// position: relative;
// @include IncreasedClickArea(0px);
// @include DarkThemeInvert;
// &.save {
// background-image: uiResource("icons/save.png");
//
// }
// &.settings {
// background-image: uiResource("icons/settings_menu_settings.png");
// }
// }
// }
> button,
> .button {
@include PlainText;

View File

@@ -124,10 +124,13 @@
}
.steamLink {
align-self: center;
justify-self: center;
width: 100%;
@include S(height, 40px);
@include S(width, 180px);
background: uiResource("get_on_steam.png") center center / contain no-repeat;
background: #171a23 uiResource("get_on_steam.png") center center / contain no-repeat;
overflow: hidden;
display: block;
text-indent: -999em;
@@ -137,8 +140,11 @@
transition: all 0.12s ease-in;
transition-property: opacity, transform;
transform: skewX(-0.5deg);
@include S(border-radius, $globalBorderRadius);
&:hover {
transform: skewX(-1deg) scale(1.02);
transform: scale(1.02);
opacity: 0.9;
}
}