You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
636 B
32 lines
636 B
4 years ago
|
$gameStateTransition: 0.2s ease-out;
|
||
|
|
||
|
@mixin StateAnim($properties...) {
|
||
|
transition: all $gameStateTransition;
|
||
|
transition-property: $properties;
|
||
|
}
|
||
|
|
||
|
.gameState {
|
||
|
display: block;
|
||
|
// background: $mainBgColor;
|
||
|
height: 100%;
|
||
|
width: 100%;
|
||
|
position: fixed;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
bottom: 0;
|
||
|
z-index: 0;
|
||
|
overflow: hidden !important;
|
||
|
@include Text;
|
||
|
|
||
|
@include StateAnim(opacity, transform, filter);
|
||
|
opacity: 0;
|
||
|
// transform: scaleX(0.99) skewX(1deg) translate(1%, 0.5%);
|
||
|
|
||
|
&.arrived {
|
||
|
opacity: 1;
|
||
|
filter: none !important;
|
||
|
transform: none;
|
||
|
}
|
||
|
}
|