forked from google/santa-tracker-web
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodeboogie-scene.scss
More file actions
132 lines (113 loc) · 2.27 KB
/
Copy pathcodeboogie-scene.scss
File metadata and controls
132 lines (113 loc) · 2.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
$name: 'module-codeboogie';
$gameover-bg: #3F4EA1;
$rotate-bg: $gameover-bg;
$board-level-bp: 1025px;
@import "../shared/sass/overlay";
@import "../shared/sass/rotate";
@import "sass/promo";
@import "sass/choose-mode";
@import "sass/choose-stage";
##{$name} {
background: #364189;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
.overlay {
color: #fff;
background: #3F49A3;
}
.overlay-dialog {
width: 80%;
max-width: 80em;
}
.overlay-title {
font-family: 'Lobster', sans-serif;
font-size: 3em;
font-weight: 400;
letter-spacing: -2px;
line-height: 0.95;
margin: 0;
text-shadow: 6px 6px 0 rgba(0, 0, 0, 0.15);
}
.overlay-title-wrapper {
margin: 0 auto 4em auto;
}
.grid__option {
cursor: pointer;
margin: 0 auto 40px;
position: relative;
flex: 0 1 45%;
}
.go {
color: #fff;
font-family: 'Lobster', sans-serif;
font-size: 7.3em;
left: 50%;
letter-spacing: -1.5px;
line-height: 0.95;
margin-left: -0.7em;
opacity: 0;
position: absolute;
text-shadow : 5px 5px 0 rgba(0, 0, 0, 0.15);
top: 0;
transform: translate3d(0, -.5em, 0);
transition: opacity 400ms 200ms ease, transform 400ms 200ms ease;
user-select: none;
}
@media (min-width: 680px) {
.overlay-title {
font-size: 8em;
font-size: 8vw;
}
.overlay-title-wrapper {
margin: 0 auto 8em auto;
}
.grid {
justify-content: space-between;
align-items: center;
display: flex;
width: 100%;
}
.grid__option:hover .go {
opacity: 1;
transform: none;
}
}
@media (min-width: 1025px) {
.overlay-title {
font-size: 8em;
}
// Less height of logo in scoreboard
.board .logo {
height: 68px;
}
}
/*
* Remove levels from scoreboard on freestyle and custom modes
*/
&.level--freestyle, &.level--custom {
.board {
height: 68px;
}
.board .logo {
display: block;
height: 68px;
}
.board .level {
display: none;
}
}
@media (min-height: 600px) {
&.level--freestyle, &.level--custom {
.board {
height: 140px;
}
.board .logo {
height: 140px;
background-size: 70% 70%;
}
}
}
}