-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.scss
111 lines (93 loc) · 1.6 KB
/
style.scss
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
.container {
background: #222;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
width: 100vw;
height: 100vh;
font-family: sans-serif;
color: #fff;
font-size: 1rem;
a {
color: #dede44;
&:hover {
color: #dede22;
}
}
canvas {
image-rendering: auto;
}
button {
appearance: none;
padding: 0.5rem;
border: 0;
background: #fff;
width: 100px;
text-align: center;
cursor: pointer;
}
.hidden {
opacity: 0;
}
.actions,
.controls {
transition: opacity 0.3s ease, background-color 0.3s ease;
opacity: 0.2;
position: fixed;
background-color: transparent;
display: flex;
padding: 1rem 0;
flex-wrap: wrap;
justify-content: center;
width: 100%;
&:hover {
opacity: 1;
background-color: rgba(0,0,0,0.5)
}
}
.actions {
bottom: 0;
text-align: center;
flex-direction: column;
p {
margin: 1rem 0;
padding: 0 1rem;
font-size: 0.8rem;
&:last-child {
margin-bottom: 0;
}
}
}
.controls {
top: 0;
flex-direction: row;
&__title {
text-align: center;
width: 100%;
margin-top: 0.5rem;
small {
font-size: 0.8rem;
}
}
}
.control {
display: flex;
flex-direction: column;
color: #fff;
margin: 0.5rem;
width: auto;
&__label {
margin-bottom: 0.2rem;
width: 100%;
}
&__input {
width: 100%;
cursor: pointer;
margin: 0;
}
&__value {
font-weight: bold;
}
}
}