-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
89 lines (78 loc) · 1.42 KB
/
styles.css
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
/* styles.css */
body {
font-family: Avenir, Helvetica, Arial, sans-serif;
background-color: #0a0a0a;
color: #0a8c3c;
margin: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
#wheel {
transition: transform 10s ease-out;
}
#wheel.stopped {
transition: transform 0.25s ease-in;
}
.user-balance {
position: absolute;
top: 20px;
right: 20px;
font-size: 24px;
color: #0a8c3c;
}
.wheel-container {
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
}
.wheel {
position: relative;
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
box-shadow: 0 0 0 10px rgba(10, 140, 60, 0.25);
}
.wheel__marker {
position: absolute;
top: -4px;
left: 0;
right: 0;
margin: 0 auto;
width: 0;
height: 0;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-top: 20px solid #000;
}
.button {
position: relative;
min-width: 120px;
padding: 12px;
border: none;
outline: none;
background-color: #0a8c3c;
color: #0a0a0a;
text-align: center;
cursor: pointer;
}
.button__title {
font-size: 20px;
letter-spacing: 2px;
text-transform: uppercase;
}
.button:hover {
background-color: lighten(#0a8c3c, 10%);
}
.button:active {
background-color: #0a8c3c;
}
.button:disabled {
pointer-events: none;
opacity: 0.8;
background-color: #bdc3c7;
border-color: #95a5a6;
}