-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.html
More file actions
297 lines (268 loc) · 9.96 KB
/
config.html
File metadata and controls
297 lines (268 loc) · 9.96 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
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
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
<div id="BGEnhanced-Extra-Dom">
<section class="transparency">
<h1 class="title">
<strong>Material附加歌单容器的透明</strong>
</h1>
<div class="item_container">
<span>歌单列表的背景透明</span>
<input type="checkbox" class="switch-btn enabled">
<span>(关闭-背景半透)</span>
</div>
</section>
<section class="pointermove">
<h1 class="title">
<strong>正在操作时</strong>
<button class="u-ibtn5 u-ibtnsz8 apply">立即应用</button>
<button class="u-ibtn5 u-ibtnsz8 reset">恢复默认</button>
</h1>
<div class="item_container">
<span>跟随指针:</span>
<input type="checkbox" class="switch-btn followPointerSwitch">
<span>(关闭后,背景不再跟随指针移动)</span>
</div>
<div class="item_container">
<span>过度:</span>
<input type="number" class="u-txt sc-flag number-input transitionDelay" step="50">
<span>毫秒(ms)</span>
</div>
<div class="item_container">
<span>缩放:</span>
<input type="number" class="u-txt sc-flag number-input transformScale" step="1">
<span>百分比(%)</span>
</div>
<div class="item_container">
<span>模糊:</span>
<input type="number" class="u-txt sc-flag number-input filterBlur" step="1">
<span>像素(px)</span>
</div>
<div class="item_container">
<span>亮度:</span>
<input type="number" class="u-txt sc-flag number-input filterBrightness" step="1">
<span>百分比(%)</span>
</div>
<div class="item_container">
<span>饱和:</span>
<input type="number" class="u-txt sc-flag number-input filterSaturate" step="1">
<span>百分比(%)</span>
</div>
</section>
<hr />
<section class="pointerIdle">
<h1 class="title">
<strong>无操作时</strong>
<button class="u-ibtn5 u-ibtnsz8 apply">立即应用</button>
<button class="u-ibtn5 u-ibtnsz8 reset">恢复默认</button>
</h1>
<div class="item_container">
<span>启用空闲检测:</span>
<input type="checkbox" class="switch-btn enabled">
<span>(鼠标静止一段时间后应用下方设置)</span>
</div>
<div class="item_container">
<span>等待:</span>
<input type="number" class="u-txt sc-flag number-input time" step="500">
<span>毫秒(ms)(1秒=1000ms)</span>
</div>
<div class="item_container">
<span>过度:</span>
<input type="number" class="u-txt sc-flag number-input transitionDelay" step="50">
<span>毫秒(ms)</span>
</div>
<div class="item_container">
<span>缩放:</span>
<input type="number" class="u-txt sc-flag number-input transformScale" step="1">
<span>百分比(%)</span>
</div>
<div class="item_container">
<span>模糊:</span>
<input type="number" class="u-txt sc-flag number-input filterBlur" step="1">
<span>像素(px)</span>
</div>
<div class="item_container">
<span>亮度:</span>
<input type="number" class="u-txt sc-flag number-input filterBrightness" step="1">
<span>百分比(%)</span>
</div>
<div class="item_container">
<span>饱和:</span>
<input type="number" class="u-txt sc-flag number-input filterSaturate" step="1">
<span>百分比(%)</span>
</div>
</section>
<hr />
<section class="pointerleave">
<h1 class="title">
<strong>指针离开</strong>
<button class="u-ibtn5 u-ibtnsz8 apply">立即应用</button>
<button class="u-ibtn5 u-ibtnsz8 reset">恢复默认</button>
</h1>
<div class="item_container">
<span>过度:</span>
<input type="number" class="u-txt sc-flag number-input transitionDelay" step="50">
<span>毫秒(ms)</span>
</div>
<div class="item_container">
<span>缩放:</span>
<input type="number" class="u-txt sc-flag number-input transformScale" step="1">
<span>百分比(%)</span>
</div>
<div class="item_container">
<span>模糊:</span>
<input type="number" class="u-txt sc-flag number-input filterBlur" step="1">
<span>像素(px)</span>
</div>
<div class="item_container">
<span>亮度:</span>
<input type="number" class="u-txt sc-flag number-input filterBrightness" step="1">
<span>百分比(%)</span>
</div>
<div class="item_container">
<span>饱和:</span>
<input type="number" class="u-txt sc-flag number-input filterSaturate" step="1">
<span>百分比(%)</span>
</div>
</section>
<hr />
<section class="windowFocus">
<h1 class="title">
<strong>窗口聚焦</strong>
<button class="u-ibtn5 u-ibtnsz8 apply">立即应用</button>
<button class="u-ibtn5 u-ibtnsz8 reset">恢复默认</button>
</h1>
<div class="item_container">
<span>过度:</span>
<input type="number" class="u-txt sc-flag number-input transitionDelay" step="50">
<span>毫秒(ms)</span>
</div>
<div class="item_container">
<span>缩放:</span>
<input type="number" class="u-txt sc-flag number-input transformScale" step="1">
<span>百分比(%)</span>
</div>
<div class="item_container">
<span>模糊:</span>
<input type="number" class="u-txt sc-flag number-input filterBlur" step="1">
<span>像素(px)</span>
</div>
<div class="item_container">
<span>亮度:</span>
<input type="number" class="u-txt sc-flag number-input filterBrightness" step="1">
<span>百分比(%)</span>
</div>
<div class="item_container">
<span>饱和:</span>
<input type="number" class="u-txt sc-flag number-input filterSaturate" step="1">
<span>百分比(%)</span>
</div>
</section>
<hr />
<section class="windowBlur">
<h1 class="title">
<strong>窗口失焦</strong>
<button class="u-ibtn5 u-ibtnsz8 apply">立即应用</button>
<button class="u-ibtn5 u-ibtnsz8 reset">恢复默认</button>
</h1>
<div class="item_container">
<span>过度:</span>
<input type="number" class="u-txt sc-flag number-input transitionDelay" step="50">
<span>毫秒(ms)</span>
</div>
<div class="item_container">
<span>缩放:</span>
<input type="number" class="u-txt sc-flag number-input transformScale" step="1">
<span>百分比(%)</span>
</div>
<div class="item_container">
<span>模糊:</span>
<input type="number" class="u-txt sc-flag number-input filterBlur" step="1">
<span>像素(px)</span>
</div>
<div class="item_container">
<span>亮度:</span>
<input type="number" class="u-txt sc-flag number-input filterBrightness" step="1">
<span>百分比(%)</span>
</div>
<div class="item_container">
<span>饱和:</span>
<input type="number" class="u-txt sc-flag number-input filterSaturate" step="1">
<span>百分比(%)</span>
</div>
</section>
</div>
<style id="BGEnhanced-Extra-Style">
#BGEnhanced-Extra-Dom .title {
height: 30px;
display: flex;
align-items: center;
margin: 10px 0;
gap: 10px;
}
#BGEnhanced-Extra-Dom .title strong {
font-size: 1.25rem;
font-weight: bold;
}
#BGEnhanced-Extra-Dom hr {
margin: 20px 0;
border: none;
height: 1px;
background-color: rgba(255, 255, 255, 0.2);
}
body.s-theme-white #BGEnhanced-Extra-Dom hr {
background-color: rgba(0, 0, 0, 0.2);
}
#BGEnhanced-Extra-Dom .item_container {
display: flex;
flex-direction: row;
align-items: center;
gap: 10px;
margin: 5px 0;
min-height: 30px;
}
#BGEnhanced-Extra-Dom .item_container input.number-input {
width: 100px;
}
#BGEnhanced-Extra-Dom .item_container input.u-txt {
border-radius: 4px;
}
#BGEnhanced-Extra-Dom .item_container input.switch-btn {
width: 44px;
height: 22px;
appearance: none;
border-radius: 20px;
border: 1px solid rgba(255, 255, 255, 0.15);
position: relative;
}
#BGEnhanced-Extra-Dom .item_container input.switch-btn::before {
content: "关";
text-align: center;
line-height: 18px;
font-size: 12px;
position: absolute;
top: 1px;
left: 1px;
height: 18px;
width: 18px;
background-color: rgba(255, 255, 255, 0.3);
border-radius: 50%;
transition: all 0.1s ease-out;
}
#BGEnhanced-Extra-Dom .item_container input.switch-btn:checked {
background-color: rgba(255, 255, 255, 0.1);
}
#BGEnhanced-Extra-Dom .item_container input.switch-btn:checked::before {
content: "开";
text-align: center;
line-height: 18px;
font-size: 12px;
left: calc(100% - 19px);
}
body.s-theme-white #BGEnhanced-Extra-Dom .item_container input.switch-btn {
border: 1px solid rgba(0, 0, 0, 0.15);
}
body.s-theme-white #BGEnhanced-Extra-Dom .item_container input.switch-btn::before {
background-color: rgba(0, 0, 0, 0.3);
}
body.s-theme-white #BGEnhanced-Extra-Dom .item_container input.switch-btn:checked {
background-color: rgba(0, 0, 0, 0.1);
}
</style>