wynai commited on
Commit
2dfc7f3
·
verified ·
1 Parent(s): 759721f

Update custom.css

Browse files
Files changed (1) hide show
  1. custom.css +73 -0
custom.css CHANGED
@@ -192,3 +192,76 @@ html.dark #sidebar,
192
  -webkit-backdrop-filter: blur(10px);
193
  background-color: rgba(13, 13, 13, 0.5) !important;
194
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
192
  -webkit-backdrop-filter: blur(10px);
193
  background-color: rgba(13, 13, 13, 0.5) !important;
194
  }
195
+
196
+ /* ================= POPUP CÀI ĐẶT (tinh chỉnh kích thước & thẩm mỹ) ================= */
197
+ [role="dialog"] {
198
+ position: fixed !important;
199
+ top: 50% !important;
200
+ left: 50% !important;
201
+ transform: translate(-50%, -50%) !important;
202
+ width: min(1100px, 96vw) !important; /* to hơn một chút */
203
+ max-height: 92vh !important;
204
+ height: auto !important;
205
+ margin: 0 !important;
206
+ padding: 2.25rem 2.5rem !important; /* thoáng hơn */
207
+ border-radius: 20px !important;
208
+ overflow: auto !important;
209
+ box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
210
+ backdrop-filter: blur(18px) !important;
211
+ -webkit-backdrop-filter: blur(18px) !important;
212
+ }
213
+
214
+ /* Nền popup sáng rõ và sang hơn */
215
+ html.light [role="dialog"] {
216
+ background: rgba(245, 245, 245, 0.75) !important;
217
+ border: 1px solid rgba(0, 0, 0, 0.08);
218
+ }
219
+ html.dark [role="dialog"] {
220
+ background: rgba(20, 20, 20, 0.72) !important;
221
+ border: 1px solid rgba(255, 255, 255, 0.1);
222
+ }
223
+
224
+ /* Nút Lưu ở góc phải to hơn và nổi bật */
225
+ [role="dialog"] button:is(#save-button, [type="submit"], [aria-label*="Lưu" i]) {
226
+ font-size: 0.95rem;
227
+ padding: 0.7rem 1.75rem;
228
+ border-radius: 999px;
229
+ font-weight: 600;
230
+ background: linear-gradient(90deg, #0099ff, #00ccff);
231
+ border: none;
232
+ color: #fff;
233
+ box-shadow: 0 0 16px rgba(0, 153, 255, 0.6);
234
+ transition: all 0.25s ease;
235
+ }
236
+ [role="dialog"] button:is(#save-button, [type="submit"], [aria-label*="Lưu" i]):hover {
237
+ transform: translateY(-1px);
238
+ box-shadow: 0 0 22px rgba(0, 153, 255, 0.8);
239
+ }
240
+ html.dark [role="dialog"] button:is(#save-button, [type="submit"], [aria-label*="Lưu" i]) {
241
+ background: linear-gradient(90deg, #ffffff, #e5e5e5);
242
+ color: #000;
243
+ }
244
+
245
+ /* Tăng chiều cao cho textarea */
246
+ [role="dialog"] textarea {
247
+ min-height: 110px !important;
248
+ font-size: 0.95rem;
249
+ padding: 0.8rem 1rem;
250
+ border-radius: 10px;
251
+ width: 100%;
252
+ background: rgba(255,255,255,0.05);
253
+ border: 1px solid rgba(255,255,255,0.15);
254
+ }
255
+ html.dark [role="dialog"] textarea {
256
+ background: rgba(0,0,0,0.3);
257
+ border: 1px solid rgba(255,255,255,0.1);
258
+ }
259
+
260
+ /* Làm mượt phần nội dung và khoảng cách */
261
+ [role="dialog"] .font-medium {
262
+ font-size: 0.96rem !important;
263
+ letter-spacing: 0.25px;
264
+ }
265
+ [role="dialog"] > * {
266
+ margin-bottom: 1.2rem !important;
267
+ }