-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
70 lines (59 loc) · 3.2 KB
/
Copy pathstyle.css
File metadata and controls
70 lines (59 loc) · 3.2 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
body, html {
margin: 0; padding: 0; width: 100%; height: 100%;
background-color: #050508; overflow: hidden;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
user-select: none;
}
canvas { display: block; cursor: grab; }
canvas:active { cursor: grabbing; }
#ui-panel {
position: absolute; top: 20px; right: 20px;
width: 330px; background: rgba(20, 20, 25, 0.85);
backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 12px; padding: 20px; color: white;
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
transition: width 0.3s ease;
}
#ui-panel.collapsed { width: 220px; padding-bottom: 10px;}
#panel-content { max-height: 80vh; overflow-y: auto; transition: opacity 0.3s, max-height 0.3s; }
#ui-panel.collapsed #panel-content { max-height: 0; opacity: 0; overflow: hidden; margin: 0; border: none; }
#panel-content::-webkit-scrollbar { width: 6px; }
#panel-content::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 3px; }
.panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.panel-header h1 { margin: 0; font-size: 20px; }
.panel-header p { margin: 5px 0 0 0; font-size: 12px; color: #aaa; }
#ui-panel.collapsed .panel-header { margin-bottom: 0; border: none; }
#btn-collapse {
background: #333; border: 1px solid #555; color: white;
border-radius: 50%; width: 30px; height: 30px; cursor: pointer;
display: flex; justify-content: center; align-items: center; padding: 0;
}
#btn-collapse:hover { background: #555; }
.mt-10 { margin-top: 10px; }
.controls-main { display: flex; gap: 10px; margin-bottom: 20px; }
button {
flex: 1; padding: 10px; border: none; border-radius: 6px;
font-size: 16px; font-weight: bold; cursor: pointer; transition: 0.2s;
}
.btn-play { background-color: #2ecc71; color: white; }
.btn-play:hover { background-color: #27ae60; }
.btn-pause { background-color: #e74c3c; color: white; }
.btn-pause:hover { background-color: #c0392b; }
.btn-reset { background-color: #555; color: white; }
.btn-reset:hover { background-color: #777; }
.body-settings {
background: rgba(255, 255, 255, 0.05); border-radius: 8px; padding: 10px; margin-bottom: 10px;
}
.body-settings h3 { margin: 0 0 10px 0; font-size: 16px; text-shadow: 0 0 5px rgba(255,255,255,0.3); }
.checkbox-group { display: flex; align-items: center; font-size: 14px; cursor: pointer;}
.checkbox-group input { margin-right: 8px; cursor: pointer;}
select { flex: 1; padding: 5px; background: #111; color: white; border: 1px solid #444; border-radius: 4px; cursor: pointer; }
.slider-group { display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.slider-group input[type=range] { width: 60%; cursor: pointer; }
.input-group { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 14px; }
.input-group label { width: 70px; }
.input-group input[type=range] { flex: 1; cursor: pointer; }
.input-group input[type=number] {
width: 60px; padding: 3px 5px; border: 1px solid #444;
background: #111; color: #fff; border-radius: 4px; text-align: center; font-family: monospace;
}