-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathball.css
More file actions
90 lines (83 loc) · 1.72 KB
/
ball.css
File metadata and controls
90 lines (83 loc) · 1.72 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
/* Ball Playground Styles */
#ballCanvas {
position: fixed;
top: 0;
left: 0;
z-index: -1;
pointer-events: none;
}
#ballCanvas.interactive {
pointer-events: auto;
z-index: 15;
}
.ball-spawn-button {
position: fixed;
top: 70px;
right: 20px;
font-size: 0.9rem;
padding: 0.4rem 0.8rem;
background-color: #c0c0c0;
border: 2px solid #808080;
border-right-color: #ffffff;
border-bottom-color: #ffffff;
border-left-color: #808080;
border-top-color: #808080;
cursor: pointer;
font-family: inherit;
color: #000000;
z-index: 50;
}
.ball-spawn-button:active {
border-right-color: #808080;
border-bottom-color: #808080;
border-left-color: #ffffff;
border-top-color: #ffffff;
}
.ball-controls {
position: fixed;
top: 70px;
right: 20px;
display: flex;
align-items: center;
gap: 5px;
z-index: 50;
}
.ball-control-button {
width: 30px;
height: 30px;
font-size: 1.2rem;
font-weight: bold;
padding: 0;
background-color: #c0c0c0;
border: 2px solid #808080;
border-right-color: #ffffff;
border-bottom-color: #ffffff;
border-left-color: #808080;
border-top-color: #808080;
cursor: pointer;
font-family: inherit;
color: #000000;
display: flex;
align-items: center;
justify-content: center;
}
.ball-control-button:active {
border-right-color: #808080;
border-bottom-color: #808080;
border-left-color: #ffffff;
border-top-color: #ffffff;
}
.ball-counter-display {
min-width: 30px;
text-align: center;
font-size: 0.9rem;
padding: 0.2rem 0.4rem;
background-color: #c0c0c0;
border: 2px solid #808080;
border-left-color: #ffffff;
border-top-color: #ffffff;
border-right-color: #808080;
border-bottom-color: #808080;
font-family: inherit;
color: #000000;
}