-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
60 lines (60 loc) · 1.06 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
body,
html {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
font-family: Arial, sans-serif;
}
canvas {
display: block;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
#controls {
position: absolute;
top: 20px;
left: 50%;
transform: translateX(-50%);
background: rgba(255, 255, 255, 0.8);
padding: 10px;
border-radius: 25px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
z-index: 10;
display: flex;
align-items: center;
width: 80%;
max-width: 600px;
}
#connectionBox {
flex-grow: 1;
padding: 8px;
border: 1px solid #ccc;
border-radius: 20px 0 0 20px;
margin-right: -1px;
}
#connectBtn {
padding: 8px 15px;
background-color: #2ecc71;
color: white;
border: 1px solid #2ecc71;
border-radius: 0 20px 20px 0;
cursor: pointer;
transition: background-color 0.3s;
}
#connectBtn:disabled {
background-color: #95a5a6;
border-color: #95a5a6;
cursor: not-allowed;
}
#connectBtn:hover:not(:disabled) {
background-color: #27ae60;
}
#status {
margin-left: 10px;
font-weight: bold;
}