-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
121 lines (108 loc) · 2 KB
/
style.css
File metadata and controls
121 lines (108 loc) · 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
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
112
113
114
115
116
117
118
119
120
121
* {
margin: 0;
padding: 0;
}
body {
overflow: hidden;
height: 100vh;
}
#c {
background: black;
background-size: cover;
}
#controls {
position: fixed;
top: 10px;
left: 10px;
background: #222;
color: #fff;
padding: 10px;
border-radius: 8px;
z-index: 10;
}
#sliders-container {
position: fixed;
bottom: 70px;
right: 10px;
background: rgba(34, 34, 34, 0.95);
color: white;
padding: 12px;
border-radius: 8px;
max-width: 250px;
max-height: 0;
opacity: 0;
overflow-y: auto;
z-index: 20;
font-family: sans-serif;
font-size: 14px;
pointer-events: none;
transition: max-height 0.6s ease, opacity 0.4s ease;
}
#sliders-container.expanded {
max-height: 400px;
opacity: 1;
pointer-events: auto;
}
#sliders-container input[type="range"] {
width: 100%;
}
#sliders-container label {
display: inline-block;
width: 100px;
}
#toggle-controls-btn {
position: fixed;
bottom: 10px;
right: 10px;
width: 50px;
height: 50px;
border: none;
border-radius: 50%;
background: #333;
color: white;
font-size: 22px;
cursor: pointer;
z-index: 30;
transition: background 0.3s;
}
#toggle-controls-btn:hover {
background: #555;
}
/* General button styling */
.btn {
background: linear-gradient(145deg, #1f1f1f, #292929);
color: white;
border: 1px solid #444;
border-radius: 8px;
padding: 8px 16px;
font-size: 14px;
cursor: pointer;
font-family: 'Segoe UI', sans-serif;
transition: background 0.3s ease, transform 0.2s ease;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}
.btn:hover {
background: linear-gradient(145deg, #2c2c2c, #1a1a1a);
transform: translateY(-1px);
}
/* Dropdown styling */
select {
background: #222;
color: white;
border: 1px solid #444;
border-radius: 8px;
padding: 8px;
font-size: 14px;
font-family: 'Segoe UI', sans-serif;
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
}
select:focus {
outline: none;
box-shadow: 0 0 5px #00aaff;
}
select option {
background: #222;
color: white;
}