BlueGit

timfa filemanager

Files

filemanager / public / style.css

style.css

userdirs
timfa Tim Falken · pushed by timfa · 6 months ago
f803c52f History
style.css 20.4 KiB Download Raw
1/* =========================================================
2 RESET & CUSTOM PROPERTIES
3 ========================================================= */
4*,
5*::before,
6*::after {
7 box-sizing: border-box;
8 margin: 0;
9 padding: 0;
10}
11
12:root {
13 --bg: #0f1117;
14 --surface: #1a1d27;
15 --surface2: #21242f;
16 --border: #2e3247;
17 --accent: #5b7fff;
18 --accent-hover: #7b9fff;
19 --text: #e8eaf0;
20 --text-muted: #7880a0;
21 --danger: #e05c6e;
22 --success: #3fcf8e;
23 --radius: 10px;
24 --topbar-h: 56px;
25 --sidebar-w: 300px;
26 --transition: 0.18s ease;
27}
28
29html,
30body {
31 height: 100%;
32 font-family: system-ui, -apple-system, sans-serif;
33}
34
35body {
36 background: var(--bg);
37 color: var(--text);
38 overflow: hidden;
39}
40
41.hidden {
42 display: none !important;
43}
44
45.muted {
46 color: var(--text-muted);
47}
48
49.error {
50 color: var(--danger);
51 font-size: 0.85rem;
52 margin-top: 0.3rem;
53}
54
55/* =========================================================
56 AUTH OVERLAY
57 ========================================================= */
58.overlay {
59 position: fixed;
60 inset: 0;
61 background: var(--bg);
62 display: flex;
63 align-items: center;
64 justify-content: center;
65 z-index: 100;
66}
67
68.auth-card {
69 background: var(--surface);
70 border: 1px solid var(--border);
71 border-radius: var(--radius);
72 padding: 2.5rem 2rem;
73 width: min(420px, 92vw);
74}
75
76.auth-card h1 {
77 font-size: 1.6rem;
78 margin-bottom: 0.5rem;
79}
80
81.auth-subtitle {
82 font-size: 0.88rem;
83 color: var(--text-muted);
84 margin-bottom: 1.2rem;
85}
86
87#auth-form label {
88 display: flex;
89 flex-direction: column;
90 gap: 0.3rem;
91 font-size: 0.85rem;
92 color: var(--text-muted);
93 margin-bottom: 1rem;
94}
95
96#auth-form input {
97 background: var(--bg);
98 border: 1px solid var(--border);
99 border-radius: 6px;
100 padding: 0.55rem 0.75rem;
101 color: var(--text);
102 font-size: 1rem;
103 outline: none;
104 transition: border-color var(--transition);
105}
106
107#auth-form input:focus {
108 border-color: var(--accent);
109}
110
111/* =========================================================
112 BUTTONS
113 ========================================================= */
114button {
115 cursor: pointer;
116 border: none;
117 border-radius: 6px;
118 font-size: 0.9rem;
119 transition: background var(--transition), color var(--transition);
120}
121
122.icon-btn {
123 display: flex;
124 align-items: center;
125 gap: 0.4rem;
126 background: transparent;
127 color: var(--text-muted);
128 padding: 0.4rem 0.7rem;
129 border-radius: 6px;
130}
131
132.icon-btn:hover {
133 background: var(--surface2);
134 color: var(--text);
135}
136
137.icon-btn svg {
138 width: 18px;
139 height: 18px;
140}
141
142button[type="submit"],
143.primary {
144 background: var(--accent);
145 color: #fff;
146 padding: 0.55rem 1.2rem;
147 font-weight: 600;
148 width: 100%;
149 margin-top: 0.5rem;
150}
151
152button[type="submit"]:hover,
153.primary:hover {
154 background: var(--accent-hover);
155}
156
157button.danger {
158 background: var(--surface2);
159 color: var(--danger);
160 padding: 0.55rem 1.2rem;
161 width: 100%;
162 margin-top: 0.5rem;
163}
164
165button.danger:hover {
166 background: var(--border);
167}
168
169/* =========================================================
170 TOP BAR
171 ========================================================= */
172#app {
173 display: flex;
174 flex-direction: column;
175 height: 100vh;
176}
177
178#topbar {
179 height: var(--topbar-h);
180 background: var(--surface);
181 border-bottom: 1px solid var(--border);
182 display: flex;
183 align-items: center;
184 padding: 0 1rem;
185 gap: 0.5rem;
186 flex-shrink: 0;
187}
188
189#breadcrumb-wrap {
190 flex: 1;
191 min-width: 0;
192}
193
194#breadcrumb {
195 display: flex;
196 align-items: center;
197 flex-wrap: wrap;
198 gap: 0.1rem;
199 font-size: 0.9rem;
200 white-space: nowrap;
201 overflow: hidden;
202}
203
204#breadcrumb .crumb {
205 color: var(--text-muted);
206 background: none;
207 padding: 0.2rem 0.35rem;
208 border-radius: 4px;
209 text-decoration: none;
210 cursor: pointer;
211}
212
213#breadcrumb .crumb:hover {
214 color: var(--text);
215 background: var(--surface2);
216}
217
218#breadcrumb .crumb.active {
219 color: var(--text);
220 cursor: default;
221}
222
223#breadcrumb .sep {
224 color: var(--border);
225 user-select: none;
226}
227
228#topbar-actions {
229 display: flex;
230 align-items: center;
231 gap: 0.25rem;
232 flex-shrink: 0;
233}
234
235/* =========================================================
236 MAIN + SIDEBAR LAYOUT
237 ========================================================= */
238#main-content {
239 flex: 1;
240 overflow-y: auto;
241 padding: 1.25rem;
242 position: relative;
243}
244
245#folder-stats {
246 margin-bottom: 0.8rem;
247 font-size: 0.85rem;
248}
249
250/* Drop overlay */
251#drop-overlay {
252 position: absolute;
253 inset: 0;
254 background: rgba(91, 127, 255, 0.12);
255 border: 3px dashed var(--accent);
256 border-radius: var(--radius);
257 display: flex;
258 align-items: center;
259 justify-content: center;
260 z-index: 10;
261 font-size: 1.4rem;
262 color: var(--accent);
263 pointer-events: none;
264}
265
266/* When sidebar is open, shrink main content */
267#app.sidebar-open #main-content {
268 margin-right: var(--sidebar-w);
269}
270
271/* =========================================================
272 FILE GRID
273 ========================================================= */
274#file-grid {
275 display: grid;
276 grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
277 gap: 0.75rem;
278}
279
280.file-item {
281 display: flex;
282 flex-direction: column;
283 align-items: center;
284 padding: 0.9rem 0.5rem 0.7rem;
285 border-radius: var(--radius);
286 border: 1px solid transparent;
287 cursor: pointer;
288 user-select: none;
289 transition: background var(--transition), border-color var(--transition);
290 text-align: center;
291 gap: 0.4rem;
292 position: relative;
293 touch-action: manipulation;
294}
295
296.file-item:hover {
297 background: var(--surface);
298 border-color: var(--border);
299}
300
301.file-item.selected {
302 background: var(--surface2);
303 border-color: var(--accent);
304}
305
306.file-item .icon {
307 width: 52px;
308 height: 52px;
309 display: flex;
310 align-items: center;
311 justify-content: center;
312 position: relative;
313}
314
315.file-item .icon.thumb-pending::after {
316 content: '';
317 position: absolute;
318 width: 14px;
319 height: 14px;
320 left: 50%;
321 top: 50%;
322 border: 2px solid rgba(232, 234, 240, 0.35);
323 border-top-color: var(--accent);
324 border-radius: 50%;
325 animation: icon-thumb-spin 0.75s linear infinite;
326 background: rgba(15, 17, 23, 0.85);
327}
328
329@keyframes icon-thumb-spin {
330 from { transform: translate(-50%, -50%) rotate(0deg); }
331 to { transform: translate(-50%, -50%) rotate(360deg); }
332}
333
334.file-item .icon svg {
335 width: 100%;
336 height: 100%;
337}
338
339.file-item .name {
340 font-size: 0.8rem;
341 word-break: break-all;
342 max-width: 100%;
343 line-height: 1.3;
344 color: var(--text);
345}
346
347/* =========================================================
348 SIDEBAR
349 ========================================================= */
350#sidebar {
351 position: fixed;
352 top: var(--topbar-h);
353 right: 0;
354 bottom: 0;
355 width: var(--sidebar-w);
356 background: var(--surface);
357 border-left: 1px solid var(--border);
358 padding: 1.25rem;
359 overflow-y: auto;
360 z-index: 20;
361 display: flex;
362 flex-direction: column;
363 gap: 0.75rem;
364}
365
366#sidebar-close {
367 display: none;
368 align-items: center;
369 justify-content: center;
370 width: 1.7rem;
371 height: 1.7rem;
372 border: 1px solid transparent;
373 border-radius: 999px;
374 background: transparent;
375 color: var(--text-muted);
376 font-size: 1rem;
377 line-height: 1;
378}
379
380#sidebar-close:hover {
381 background: var(--surface2);
382 color: var(--text);
383}
384
385#sidebar-icon {
386 display: flex;
387 justify-content: center;
388}
389
390#sidebar-icon svg {
391 width: 64px;
392 height: 64px;
393}
394
395#sidebar-name {
396 font-size: 1rem;
397 word-break: break-all;
398 text-align: center;
399}
400
401#sidebar-meta {
402 display: grid;
403 grid-template-columns: auto 1fr;
404 gap: 0.3rem 0.75rem;
405}
406
407#sidebar-meta dt {
408 color: var(--text-muted);
409 font-size: 0.8rem;
410 font-weight: 600;
411}
412
413#sidebar-meta dd {
414 font-size: 0.8rem;
415 word-break: break-all;
416}
417
418#sidebar-meta .root-access-list {
419 margin: 0;
420 padding-left: 1rem;
421}
422
423#sidebar-meta .root-access-list li {
424 margin: 0.12rem 0;
425}
426
427#sidebar-actions {
428 display: flex;
429 flex-direction: column;
430 gap: 0.5rem;
431 margin-top: 0.5rem;
432}
433
434#sidebar-actions button {
435 background: var(--surface2);
436 color: var(--text);
437 padding: 0.5rem 0.8rem;
438 text-align: left;
439}
440
441#sidebar-actions button:hover {
442 background: var(--border);
443}
444
445#sidebar-actions button.danger {
446 color: var(--danger);
447}
448
449/* ─── Duplicates panel ─────────────────────────────────── */
450#sidebar-duplicates {
451 margin-top: 1rem;
452 border-top: 1px solid var(--border);
453 padding-top: 0.75rem;
454}
455
456.sidebar-duplicates-heading {
457 font-size: 0.75rem;
458 font-weight: 600;
459 text-transform: uppercase;
460 letter-spacing: 0.05em;
461 color: var(--text-muted, #888);
462 margin: 0 0 0.4rem;
463}
464
465.sidebar-duplicates-list {
466 list-style: none;
467 margin: 0;
468 padding: 0;
469 display: flex;
470 flex-direction: column;
471 gap: 0.25rem;
472}
473
474.sidebar-duplicate-entry {
475 display: block;
476 width: 100%;
477 background: var(--surface2);
478 color: var(--text);
479 padding: 0.35rem 0.6rem;
480 text-align: left;
481 font-size: 0.8rem;
482 white-space: nowrap;
483 overflow: hidden;
484 text-overflow: ellipsis;
485 border-radius: var(--radius);
486 cursor: pointer;
487}
488
489.sidebar-duplicate-entry:hover {
490 background: var(--border);
491}
492
493.admin-size-feedback {
494 font-size: 0.82rem;
495 margin: 0.25rem 0 0.5rem;
496 padding: 0.25rem 0.5rem;
497 border-radius: var(--radius);
498}
499
500.admin-size-feedback.ok {
501 color: var(--accent);
502}
503
504.admin-size-feedback.err {
505 color: #e55;
506}
507
508/* =========================================================
509 MODALS
510 ========================================================= */
511.modal-overlay {
512 position: fixed;
513 inset: 0;
514 background: rgba(0, 0, 0, 0.65);
515 display: flex;
516 align-items: center;
517 justify-content: center;
518 z-index: 11000;
519}
520
521.modal {
522 background: var(--surface);
523 border: 1px solid var(--border);
524 border-radius: var(--radius);
525 padding: 2rem;
526 width: min(560px, 94vw);
527 max-height: 90vh;
528 overflow-y: auto;
529 position: relative;
530}
531
532.modal.small {
533 width: min(340px, 94vw);
534}
535
536.modal h2 {
537 font-size: 1.3rem;
538 margin-bottom: 1.25rem;
539}
540
541.modal h3 {
542 font-size: 1rem;
543 color: var(--text-muted);
544 margin: 1rem 0 0.5rem;
545}
546
547.modal-close {
548 position: absolute;
549 top: 0.75rem;
550 right: 0.75rem;
551 background: none;
552 color: var(--text-muted);
553 font-size: 1.1rem;
554 padding: 0.25rem 0.5rem;
555}
556
557.modal-close:hover {
558 color: var(--text);
559}
560
561/* =========================================================
562 FOLDER ICON PICKER
563 ========================================================= */
564.folder-icon-modal {
565 width: min(680px, 94vw);
566 max-height: 90vh;
567 display: flex;
568 flex-direction: column;
569 gap: 0.75rem;
570 overflow: hidden;
571}
572
573.folder-icon-grid {
574 display: grid;
575 grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
576 gap: 0.5rem;
577 max-height: 50vh;
578 overflow-y: auto;
579 padding: 0.25rem;
580 background: var(--bg);
581 border: 1px solid var(--border);
582 border-radius: var(--radius);
583}
584
585.folder-icon-cell {
586 display: flex;
587 flex-direction: column;
588 align-items: center;
589 gap: 0.3rem;
590 padding: 0.4rem;
591 border-radius: var(--radius);
592 border: 2px solid transparent;
593 cursor: pointer;
594 transition: border-color var(--transition), background var(--transition);
595}
596
597.folder-icon-cell:hover {
598 background: var(--surface2);
599}
600
601.folder-icon-cell.selected {
602 border-color: var(--accent);
603 background: rgba(91, 127, 255, 0.12);
604}
605
606.folder-icon-thumb {
607 width: 60px;
608 height: 60px;
609 object-fit: cover;
610 border-radius: 4px;
611 background: var(--surface2);
612}
613
614.folder-icon-label {
615 font-size: 0.68rem;
616 color: var(--text-muted);
617 word-break: break-all;
618 text-align: center;
619 max-width: 72px;
620 overflow: hidden;
621 display: -webkit-box;
622 -webkit-line-clamp: 2;
623 -webkit-box-orient: vertical;
624}
625
626/* Admin path list */
627.path-row {
628 display: flex;
629 align-items: center;
630 gap: 0.5rem;
631 padding: 0.4rem 0;
632 border-bottom: 1px solid var(--border);
633 font-size: 0.88rem;
634}
635
636.path-row span {
637 flex: 1;
638 word-break: break-all;
639}
640
641.path-row button {
642 background: none;
643 color: var(--danger);
644 padding: 0.2rem 0.5rem;
645}
646
647.path-add-row {
648 display: flex;
649 gap: 0.5rem;
650 margin: 0.5rem 0;
651}
652
653.path-add-row input {
654 flex: 1;
655 background: var(--bg);
656 border: 1px solid var(--border);
657 border-radius: 6px;
658 padding: 0.45rem 0.7rem;
659 color: var(--text);
660 font-size: 0.9rem;
661 outline: none;
662}
663
664.path-add-row input:focus {
665 border-color: var(--accent);
666}
667
668.path-add-row button {
669 background: var(--surface2);
670 color: var(--text);
671 padding: 0.45rem 0.9rem;
672}
673
674.path-add-row button:hover {
675 background: var(--border);
676}
677
678/* User list */
679.user-row {
680 display: flex;
681 align-items: center;
682 gap: 0.6rem;
683 padding: 0.5rem 0;
684 border-bottom: 1px solid var(--border);
685}
686
687.user-row .user-name {
688 flex: 1;
689 font-weight: 600;
690 font-size: 0.9rem;
691}
692
693.user-row .user-admin-badge {
694 font-size: 0.72rem;
695 background: var(--accent);
696 color: #fff;
697 border-radius: 4px;
698 padding: 0.1rem 0.4rem;
699}
700
701.user-row button {
702 background: none;
703 color: var(--text-muted);
704 padding: 0.2rem 0.5rem;
705 font-size: 0.85rem;
706}
707
708.user-row button:hover {
709 color: var(--text);
710}
711
712.user-row button.danger {
713 color: var(--danger);
714}
715
716/* User form permissions */
717#user-permissions {
718 margin-top: 0.75rem;
719}
720
721#user-permissions h4 {
722 font-size: 0.85rem;
723 color: var(--text-muted);
724 margin-bottom: 0.4rem;
725}
726
727.perm-row {
728 display: flex;
729 align-items: center;
730 gap: 0.75rem;
731 flex-wrap: wrap;
732 font-size: 0.85rem;
733 margin-bottom: 0.4rem;
734}
735
736.perm-row .perm-label {
737 min-width: 130px;
738 color: var(--text);
739}
740
741.checkbox-label {
742 display: flex;
743 align-items: center;
744 gap: 0.5rem;
745 font-size: 0.9rem;
746 margin-bottom: 0.5rem;
747}
748
749.checkbox-label input[type="checkbox"] {
750 width: 16px;
751 height: 16px;
752 accent-color: var(--accent);
753}
754
755/* Form labels in modals */
756.modal form label {
757 display: flex;
758 flex-direction: column;
759 gap: 0.3rem;
760 font-size: 0.85rem;
761 color: var(--text-muted);
762 margin-bottom: 0.9rem;
763}
764
765.modal form input[type="text"],
766.modal form input[type="password"] {
767 background: var(--bg);
768 border: 1px solid var(--border);
769 border-radius: 6px;
770 padding: 0.5rem 0.75rem;
771 color: var(--text);
772 font-size: 0.95rem;
773 outline: none;
774 transition: border-color var(--transition);
775}
776
777.modal form input:focus {
778 border-color: var(--accent);
779}
780
781/* Admin user-folder controls use the same visual language as modal forms. */
782#admin-userfolder-section label {
783 display: flex;
784 flex-direction: column;
785 gap: 0.3rem;
786 font-size: 0.85rem;
787 color: var(--text-muted);
788 margin-bottom: 0.9rem;
789}
790
791#admin-userfolder-section input[type="text"] {
792 background: var(--bg);
793 border: 1px solid var(--border);
794 border-radius: 6px;
795 padding: 0.5rem 0.75rem;
796 color: var(--text);
797 font-size: 0.95rem;
798 outline: none;
799 transition: border-color var(--transition);
800}
801
802#admin-userfolder-section input[type="text"]:focus {
803 border-color: var(--accent);
804}
805
806/* =========================================================
807 FILE PREVIEW — SHARED MEDIA STYLES
808 ========================================================= */
809.preview-media {
810 max-width: 100%;
811 max-height: 100%;
812 width: auto;
813 height: auto;
814 object-fit: contain;
815}
816
817.preview-frame {
818 width: 100%;
819 height: 100%;
820 border: none;
821 border-radius: 8px;
822 background: #fff;
823}
824
825.preview-audio {
826 width: min(640px, 95%);
827}
828
829.preview-text {
830 width: 100%;
831 min-height: 100%;
832 color: #dce4ff;
833 background: #0d111a;
834 border: 1px solid var(--border);
835 border-radius: 8px;
836 padding: 0.9rem;
837 font: 0.85rem/1.45 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
838 overflow: auto;
839 white-space: pre;
840 text-align: left;
841}
842
843.preview-code .tok-comment {
844 color: #6f7f9a;
845}
846
847.preview-code .tok-string {
848 color: #9ee37d;
849}
850
851.preview-code .tok-number {
852 color: #f8c46a;
853}
854
855.preview-code .tok-keyword {
856 color: #8bb4ff;
857 font-weight: 600;
858}
859
860.preview-code .tok-key {
861 color: #59c8ff;
862}
863
864.preview-unsupported {
865 color: var(--text-muted);
866 font-size: 0.95rem;
867 max-width: 56ch;
868 text-align: center;
869}
870
871.preview-footer {
872 border-top: 1px solid var(--border);
873 padding: 0.8rem 1rem;
874 display: flex;
875 justify-content: flex-end;
876}
877
878.preview-footer .primary {
879 width: auto;
880 margin-top: 0;
881 min-width: 8rem;
882}
883
884
885
886/* =========================================================
887
888.toast-msg {
889 background: var(--surface2);
890 border: 1px solid var(--border);
891 border-radius: 8px;
892 padding: 0.6rem 1.25rem;
893 font-size: 0.9rem;
894 animation: slideup 0.25s ease;
895}
896
897.toast-msg.err {
898 border-color: var(--danger);
899 color: var(--danger);
900}
901
902.toast-msg.ok {
903 border-color: var(--success);
904 color: var(--success);
905}
906
907@keyframes slideup {
908 from {
909 opacity: 0;
910 transform: translateY(12px);
911 }
912
913 to {
914 opacity: 1;
915 transform: translateY(0);
916 }
917}
918
919/* =========================================================
920 UPLOAD PROGRESS
921 ========================================================= */
922.upload-bar-wrap {
923 position: fixed;
924 bottom: 0;
925 left: 0;
926 right: 0;
927 background: var(--surface);
928 border-top: 1px solid var(--border);
929 padding: 0.5rem 1rem;
930 z-index: 80;
931 font-size: 0.85rem;
932}
933
934.upload-bar-track {
935 height: 6px;
936 background: var(--border);
937 border-radius: 3px;
938 margin-top: 0.3rem;
939}
940
941.upload-bar-fill {
942 height: 100%;
943 background: var(--accent);
944 border-radius: 3px;
945 transition: width 0.2s linear;
946}
947
948/* =========================================================
949 RESPONSIVE — narrow screens
950 ========================================================= */
951@media (max-width: 600px) {
952 #topbar {
953 height: auto;
954 min-height: var(--topbar-h);
955 padding: 0.5rem 0.6rem;
956 align-items: flex-start;
957 flex-direction: column;
958 }
959
960 #breadcrumb-wrap {
961 width: 100%;
962 }
963
964 #topbar-actions {
965 width: 100%;
966 flex-wrap: wrap;
967 gap: 0.15rem;
968 }
969
970 .icon-btn {
971 padding: 0.4rem 0.55rem;
972 font-size: 0.82rem;
973 }
974
975 #main-content {
976 padding: 0.9rem;
977 }
978
979 #file-grid {
980 grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
981 }
982
983 #app.sidebar-open #main-content {
984 margin-right: 0;
985 }
986
987 #sidebar {
988 top: auto;
989 right: 0;
990 bottom: 0;
991 left: 0;
992 height: auto;
993 max-height: min(68vh, calc(100vh - 0.5rem));
994 padding: 0.9rem 0.9rem 1rem;
995 border-left: none;
996 border-top: 1px solid var(--border);
997 width: 100%;
998 border-radius: 14px 14px 0 0;
999 box-shadow: 0 -12px 26px rgba(0, 0, 0, 0.34);
1000 gap: 0.55rem;
1001 }
1002
1003 #sidebar-close {
1004 display: inline-flex;
1005 position: absolute;
1006 top: 0.45rem;
1007 right: 0.45rem;
1008 border-color: var(--border);
1009 background: var(--surface2);
1010 }
1011
1012 #sidebar-name {
1013 padding-right: 2rem;
1014 }
1015
1016 #sidebar-icon svg {
1017 width: 54px;
1018 height: 54px;
1019 }
1020
1021 #sidebar-actions {
1022 margin-top: 0.2rem;
1023 }
1024
1025 .modal {
1026 padding: 1.25rem;
1027 }
1028
1029 .preview-overlay {
1030 padding: 0.8rem;
1031 }
1032
1033 .preview-sheet {
1034 width: 100%;
1035 height: 92vh;
1036 }
1037
1038 .preview-fold {
1039 width: 54px;
1040 height: 54px;
1041 }
1042
1043 .preview-close {
1044 top: 5px;
1045 right: 5px;
1046 }
1047}
1048
1049/* =========================================================
1050 DIALOG MODALS (confirm / prompt / overwrite)
1051 ========================================================= */
1052.dialog-message {
1053 color: var(--text-muted);
1054 font-size: 0.93rem;
1055 margin: 0 0 1.5rem;
1056 line-height: 1.5;
1057 word-break: break-word;
1058}
1059
1060.dialog-actions {
1061 display: flex;
1062 gap: 0.6rem;
1063 justify-content: flex-end;
1064 flex-wrap: wrap;
1065}
1066
1067.dialog-actions--overwrite {
1068 justify-content: space-between;
1069}
1070
1071.dialog-actions button {
1072 min-width: 5rem;
1073 background: var(--surface2);
1074 color: var(--text);
1075 padding: 0.5rem 1rem;
1076}
1077
1078.dialog-actions button:hover {
1079 background: var(--border);
1080}
1081
1082/* Override .primary full-width inside dialog rows */
1083.dialog-actions button.primary {
1084 width: auto;
1085 margin-top: 0;
1086}