mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
Minor adjustments (incl. CSS)
This commit is contained in:
parent
566d80a928
commit
e4da0e437b
@ -572,7 +572,7 @@
|
|||||||
justify-self: center;
|
justify-self: center;
|
||||||
grid-row: 1 / 4;
|
grid-row: 1 / 4;
|
||||||
grid-column: 1 / 2;
|
grid-column: 1 / 2;
|
||||||
|
@include S(max-width, 400px);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
||||||
@ -704,28 +704,30 @@
|
|||||||
|
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
@include S(border-radius, $globalBorderRadius * 0.5);
|
@include S(border-radius, $globalBorderRadius * 0.5);
|
||||||
|
transition: opacity 0.12s ease-in-out;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-indent: -999em;
|
text-indent: -999em;
|
||||||
&:hover {
|
&:hover {
|
||||||
opacity: 0.95;
|
opacity: 0.9;
|
||||||
}
|
}
|
||||||
|
|
||||||
box-shadow: 0 D(2px) D(4px) rgba(#000, 0.3);
|
box-shadow: 0 D(1.5px) D(4px) rgba(#000, 0.21);
|
||||||
}
|
}
|
||||||
|
|
||||||
a.ssoSignOut {
|
a.ssoSignOut {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: #171a23;
|
background: $colorRedBright;
|
||||||
color: #fff !important;
|
color: #fff !important;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@include PlainText;
|
@include SuperSmallText;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
|
|
||||||
@include S(border-radius, $globalBorderRadius * 0.5);
|
@include S(border-radius, $globalBorderRadius * 0.5);
|
||||||
box-shadow: 0 D(1px) D(4px) rgba(#000, 0.3);
|
|
||||||
|
box-shadow: 0 D(1.5px) D(4px) rgba(#000, 0.21);
|
||||||
@include S(padding, 2px, 9px);
|
@include S(padding, 2px, 9px);
|
||||||
&:hover {
|
&:hover {
|
||||||
opacity: 0.95;
|
opacity: 0.95;
|
||||||
@ -740,6 +742,7 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@include S(padding, 10px);
|
@include S(padding, 10px);
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
@include S(min-height, 150px);
|
||||||
|
|
||||||
.savegamesNone {
|
.savegamesNone {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -753,13 +756,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.savegames {
|
.savegames {
|
||||||
@include S(max-height, 105px);
|
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
@include S(min-width, 230px);
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
pointer-events: all;
|
pointer-events: all;
|
||||||
@include S(padding-right, 5px);
|
@include S(padding-right, 5px);
|
||||||
margin-right: D(-5px);
|
margin-right: D(-5px);
|
||||||
|
@include S(max-height, 150px);
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-auto-flow: row;
|
grid-auto-flow: row;
|
||||||
@include S(grid-gap, 5px);
|
@include S(grid-gap, 5px);
|
||||||
|
@ -36,7 +36,7 @@ const analyticsUrl = G_IS_DEV ? "http://localhost:8001" : "https://analytics.sha
|
|||||||
// Be sure to increment the ID whenever it changes
|
// Be sure to increment the ID whenever it changes
|
||||||
const analyticsLocalFile = G_IS_STEAM_DEMO ? "shapez_token_steamdemo.bin" : "shapez_token_123.bin";
|
const analyticsLocalFile = G_IS_STEAM_DEMO ? "shapez_token_steamdemo.bin" : "shapez_token_123.bin";
|
||||||
|
|
||||||
const CURRENT_ABT = "abt_bsnv";
|
const CURRENT_ABT = "abt_mmnd";
|
||||||
const CURRENT_ABT_COUNT = 1;
|
const CURRENT_ABT_COUNT = 1;
|
||||||
|
|
||||||
export class ShapezGameAnalytics extends GameAnalyticsInterface {
|
export class ShapezGameAnalytics extends GameAnalyticsInterface {
|
||||||
|
Loading…
Reference in New Issue
Block a user