-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings-menu.css
171 lines (147 loc) · 3.11 KB
/
settings-menu.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
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
/* General styles */
body {
font-family: 'Laro Soft', sans-serif;
background-color: #1e1e1e;
color: #ffffff;
margin: 0;
padding: 0;
font-size: 16px; /* Set a base font size */
}
.settings-container {
background-color: #2a2a2a;
width: 250px;
padding: 1rem;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
position: fixed;
top: 20px;
left: 20px;
border-radius: 0.625rem;
}
/* Header styles */
.settings-title {
font-weight: bold;
font-size: 1.5rem;
margin: 0;
}
/* Section styles */
.settings-section {
margin-bottom: 0.625rem;
}
.settings-header {
display: flex;
align-items: center;
}
/* Input group styles */
.settings-input-group {
display: flex;
align-items: center;
margin-bottom: 0.9375rem;
}
.settings-input-group input[type="text"] {
width: 100%;
background-color: #3a3a3a;
border: 3px solid #5a5a5a;
color: white;
padding: 0.5rem 0.75rem;
border-radius: 0.375rem;
transition: border-color 0.3s;
}
.settings-input-group input[type="text"]:hover {
border-color: #4a4a4a;
}
.settings-input-group input[type="text"]:focus {
outline: none;
border-color: #7c3aed;
}
/* Select styles */
.settings-item.select-item {
display: flex;
flex-direction: column;
margin-bottom: 0.9375rem;
}
.settings-item-control {
margin-top: -0.250rem;
}
.settings-item-name {
font-size: 0.875rem;
margin-bottom: 0.625rem;
}
.settings-select {
width: 100%;
background-color: #3a3a3a;
border: 3px solid #5a5a5a;
color: white;
padding: 0.5rem;
border-radius: 0.375rem;
transition: border-color 0.3s, background-color 0.3s;
appearance: none; /* Remove default dropdown styling */
cursor: pointer;
position: relative;
}
.settings-select:hover {
border-color: #4a4a4a;
}
.settings-select:focus {
outline: none;
border-color: #7c3aed;
}
/* Slider styles */
.slider {
-webkit-appearance: none;
width: 100%;
height: 0.25rem;
background: #5a5a5a;
outline: none;
opacity: 1;
transition: background-color 0.3s;
border-radius: 0.125rem;
transform: translateY(-0.625rem);
}
.slider:hover {
background: #4a4a4a;
}
.slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 1rem;
height: 1rem;
background: #7c3aed;
cursor: pointer;
border-radius: 50%;
transition: background-color 0.3s;
}
.slider::-webkit-slider-thumb:hover {
background: #6d28d9;
}
.slider::-moz-range-thumb {
width: 1rem;
height: 1rem;
background: #7c3aed;
cursor: pointer;
border-radius: 50%;
transition: background-color 0.3s;
}
.slider::-moz-range-thumb:hover {
background: #6d28d9;
}
/* Button container */
.settings-button-container {
margin-top: 1.25rem;
}
/* Button styles */
.settings-button {
background-color: #7c3aed;
border: none;
color: white;
padding: 0.625rem 1rem;
border-radius: 0.375rem;
cursor: pointer;
width: 100%;
transition: background-color 0.3s;
}
.settings-button:hover {
background-color: #6d28d9;
}
.is-hidden {
display: none;
}