BlueGit

timfa filemanager

Files

filemanager / public / style.css

style.css

border test
timfa Tim Falken · pushed by timfa · 6 months ago
d177e6fa History
style.css 20.7 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 {
331 transform: translate(-50%, -50%) rotate(0deg);
332 }
333
334 to {
335 transform: translate(-50%, -50%) rotate(360deg);
336 }
337}
338
339.file-item .icon svg {
340 width: 100%;
341 height: 100%;
342}
343
344.file-item .name {
345 font-size: 0.8rem;
346 word-break: break-all;
347 max-width: 100%;
348 line-height: 1.3;
349 color: var(--text);
350}
351
352/* =========================================================
353 SIDEBAR
354 ========================================================= */
355#sidebar {
356 position: fixed;
357 top: var(--topbar-h);
358 right: 0;
359 bottom: 0;
360 width: var(--sidebar-w);
361 background: var(--surface);
362 border-left: 1px solid var(--border);
363 padding: 1.25rem;
364 overflow-y: auto;
365 z-index: 20;
366 display: flex;
367 flex-direction: column;
368 gap: 0.75rem;
369}
370
371#sidebar-close {
372 display: none;
373 align-items: center;
374 justify-content: center;
375 width: 1.7rem;
376 height: 1.7rem;
377 border: 1px solid transparent;
378 border-radius: 999px;
379 background: transparent;
380 color: var(--text-muted);
381 font-size: 1rem;
382 line-height: 1;
383}
384
385#sidebar-close:hover {
386 background: var(--surface2);
387 color: var(--text);
388}
389
390#sidebar-icon {
391 display: flex;
392 justify-content: center;
393}
394
395#sidebar-icon svg {
396 width: 64px;
397 height: 64px;
398}
399
400#sidebar-name {
401 font-size: 1rem;
402 word-break: break-all;
403 text-align: center;
404}
405
406#sidebar-meta {
407 display: grid;
408 grid-template-columns: auto 1fr;
409 gap: 0.3rem 0.75rem;
410}
411
412#sidebar-meta dt {
413 color: var(--text-muted);
414 font-size: 0.8rem;
415 font-weight: 600;
416}
417
418#sidebar-meta dd {
419 font-size: 0.8rem;
420 word-break: break-all;
421}
422
423#sidebar-meta .root-access-list {
424 margin: 0;
425 padding-left: 1rem;
426}
427
428#sidebar-meta .root-access-list li {
429 margin: 0.12rem 0;
430}
431
432#sidebar-actions {
433 display: flex;
434 flex-direction: column;
435 gap: 0.5rem;
436 margin-top: 0.5rem;
437}
438
439#sidebar-actions button {
440 background: var(--surface2);
441 color: var(--text);
442 padding: 0.5rem 0.8rem;
443 text-align: left;
444}
445
446#sidebar-actions button:hover {
447 background: var(--border);
448}
449
450#sidebar-actions button.danger {
451 color: var(--danger);
452}
453
454/* ─── Duplicates panel ─────────────────────────────────── */
455#sidebar-duplicates {
456 margin-top: 1rem;
457 border-top: 1px solid var(--border);
458 padding-top: 0.75rem;
459}
460
461.sidebar-duplicates-heading {
462 font-size: 0.75rem;
463 font-weight: 600;
464 text-transform: uppercase;
465 letter-spacing: 0.05em;
466 color: var(--text-muted, #888);
467 margin: 0 0 0.4rem;
468}
469
470.sidebar-duplicates-list {
471 list-style: none;
472 margin: 0;
473 padding: 0;
474 display: flex;
475 flex-direction: column;
476 gap: 0.25rem;
477}
478
479.sidebar-duplicate-entry {
480 display: block;
481 width: 100%;
482 background: var(--surface2);
483 color: var(--text);
484 padding: 0.35rem 0.6rem;
485 text-align: left;
486 font-size: 0.8rem;
487 white-space: nowrap;
488 overflow: hidden;
489 text-overflow: ellipsis;
490 border-radius: var(--radius);
491 cursor: pointer;
492}
493
494.sidebar-duplicate-entry:hover {
495 background: var(--border);
496}
497
498.admin-size-feedback {
499 font-size: 0.82rem;
500 margin: 0.25rem 0 0.5rem;
501 padding: 0.25rem 0.5rem;
502 border-radius: var(--radius);
503}
504
505.admin-size-feedback.ok {
506 color: var(--accent);
507}
508
509.admin-size-feedback.err {
510 color: #e55;
511}
512
513/* =========================================================
514 MODALS
515 ========================================================= */
516.modal-overlay {
517 position: fixed;
518 inset: 0;
519 background: rgba(0, 0, 0, 0.65);
520 display: flex;
521 align-items: center;
522 justify-content: center;
523 z-index: 11000;
524}
525
526#file-conflict-modal,
527#overwrite-modal {
528 z-index: 11150;
529}
530
531.modal {
532 background: var(--surface);
533 border: 1px solid var(--border);
534 border-radius: var(--radius);
535 padding: 2rem;
536 width: min(560px, 94vw);
537 max-height: 90vh;
538 overflow-y: auto;
539 position: relative;
540}
541
542.modal.small {
543 width: min(340px, 94vw);
544}
545
546.modal h2 {
547 font-size: 1.3rem;
548 margin-bottom: 1.25rem;
549}
550
551.modal h3 {
552 font-size: 1rem;
553 color: var(--text-muted);
554 margin: 1rem 0 0.5rem;
555}
556
557.modal-close {
558 position: absolute;
559 top: 0.75rem;
560 right: 0.75rem;
561 background: none;
562 color: var(--text-muted);
563 font-size: 1.1rem;
564 padding: 0.25rem 0.5rem;
565}
566
567.modal-close:hover {
568 color: var(--text);
569}
570
571/* =========================================================
572 FOLDER ICON PICKER
573 ========================================================= */
574.folder-icon-modal {
575 width: min(680px, 94vw);
576 max-height: 90vh;
577 display: flex;
578 flex-direction: column;
579 gap: 0.75rem;
580 overflow: hidden;
581}
582
583.folder-icon-grid {
584 display: grid;
585 grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
586 gap: 0.5rem;
587 max-height: 50vh;
588 overflow-y: auto;
589 padding: 0.25rem;
590 background: var(--bg);
591 border: 1px solid var(--border);
592 border-radius: var(--radius);
593}
594
595.folder-icon-cell {
596 display: flex;
597 flex-direction: column;
598 align-items: center;
599 gap: 0.3rem;
600 padding: 0.4rem;
601 border-radius: var(--radius);
602 border: 2px solid transparent;
603 cursor: pointer;
604 transition: border-color var(--transition), background var(--transition);
605}
606
607.folder-icon-cell:hover {
608 background: var(--surface2);
609}
610
611.folder-icon-cell.selected {
612 border-color: var(--accent);
613 background: rgba(91, 127, 255, 0.12);
614}
615
616.folder-icon-thumb {
617 width: 60px;
618 height: 60px;
619 object-fit: cover;
620 border-radius: 4px;
621 background: var(--surface2);
622}
623
624.folder-icon-label {
625 font-size: 0.68rem;
626 color: var(--text-muted);
627 word-break: break-all;
628 text-align: center;
629 max-width: 72px;
630 overflow: hidden;
631 display: -webkit-box;
632 -webkit-line-clamp: 2;
633 -webkit-box-orient: vertical;
634}
635
636.vjs-text-track-cue>div {
637 background: transparent !important;
638 text-shadow: 2px 0 black, -2px 0 black, 0 2px black, 0 -2px black,
639 1px 1px black, -1px -1px black, 1px -1px black, -1px 1px black;
640}
641
642/* Admin path list */
643.path-row {
644 display: flex;
645 align-items: center;
646 gap: 0.5rem;
647 padding: 0.4rem 0;
648 border-bottom: 1px solid var(--border);
649 font-size: 0.88rem;
650}
651
652.path-row span {
653 flex: 1;
654 word-break: break-all;
655}
656
657.path-row button {
658 background: none;
659 color: var(--danger);
660 padding: 0.2rem 0.5rem;
661}
662
663.path-add-row {
664 display: flex;
665 gap: 0.5rem;
666 margin: 0.5rem 0;
667}
668
669.path-add-row input {
670 flex: 1;
671 background: var(--bg);
672 border: 1px solid var(--border);
673 border-radius: 6px;
674 padding: 0.45rem 0.7rem;
675 color: var(--text);
676 font-size: 0.9rem;
677 outline: none;
678}
679
680.path-add-row input:focus {
681 border-color: var(--accent);
682}
683
684.path-add-row button {
685 background: var(--surface2);
686 color: var(--text);
687 padding: 0.45rem 0.9rem;
688}
689
690.path-add-row button:hover {
691 background: var(--border);
692}
693
694/* User list */
695.user-row {
696 display: flex;
697 align-items: center;
698 gap: 0.6rem;
699 padding: 0.5rem 0;
700 border-bottom: 1px solid var(--border);
701}
702
703.user-row .user-name {
704 flex: 1;
705 font-weight: 600;
706 font-size: 0.9rem;
707}
708
709.user-row .user-admin-badge {
710 font-size: 0.72rem;
711 background: var(--accent);
712 color: #fff;
713 border-radius: 4px;
714 padding: 0.1rem 0.4rem;
715}
716
717.user-row button {
718 background: none;
719 color: var(--text-muted);
720 padding: 0.2rem 0.5rem;
721 font-size: 0.85rem;
722}
723
724.user-row button:hover {
725 color: var(--text);
726}
727
728.user-row button.danger {
729 color: var(--danger);
730}
731
732/* User form permissions */
733#user-permissions {
734 margin-top: 0.75rem;
735}
736
737#user-permissions h4 {
738 font-size: 0.85rem;
739 color: var(--text-muted);
740 margin-bottom: 0.4rem;
741}
742
743.perm-row {
744 display: flex;
745 align-items: center;
746 gap: 0.75rem;
747 flex-wrap: wrap;
748 font-size: 0.85rem;
749 margin-bottom: 0.4rem;
750}
751
752.perm-row .perm-label {
753 min-width: 130px;
754 color: var(--text);
755}
756
757.checkbox-label {
758 display: flex;
759 align-items: center;
760 gap: 0.5rem;
761 font-size: 0.9rem;
762 margin-bottom: 0.5rem;
763}
764
765.checkbox-label input[type="checkbox"] {
766 width: 16px;
767 height: 16px;
768 accent-color: var(--accent);
769}
770
771/* Form labels in modals */
772.modal form label {
773 display: flex;
774 flex-direction: column;
775 gap: 0.3rem;
776 font-size: 0.85rem;
777 color: var(--text-muted);
778 margin-bottom: 0.9rem;
779}
780
781.modal form input[type="text"],
782.modal form input[type="password"] {
783 background: var(--bg);
784 border: 1px solid var(--border);
785 border-radius: 6px;
786 padding: 0.5rem 0.75rem;
787 color: var(--text);
788 font-size: 0.95rem;
789 outline: none;
790 transition: border-color var(--transition);
791}
792
793.modal form input:focus {
794 border-color: var(--accent);
795}
796
797/* Admin user-folder controls use the same visual language as modal forms. */
798#admin-userfolder-section label {
799 display: flex;
800 flex-direction: column;
801 gap: 0.3rem;
802 font-size: 0.85rem;
803 color: var(--text-muted);
804 margin-bottom: 0.9rem;
805}
806
807#admin-userfolder-section input[type="text"] {
808 background: var(--bg);
809 border: 1px solid var(--border);
810 border-radius: 6px;
811 padding: 0.5rem 0.75rem;
812 color: var(--text);
813 font-size: 0.95rem;
814 outline: none;
815 transition: border-color var(--transition);
816}
817
818#admin-userfolder-section input[type="text"]:focus {
819 border-color: var(--accent);
820}
821
822/* =========================================================
823 FILE PREVIEW — SHARED MEDIA STYLES
824 ========================================================= */
825.preview-media {
826 max-width: 100%;
827 max-height: 100%;
828 width: auto;
829 height: auto;
830 object-fit: contain;
831}
832
833.preview-frame {
834 width: 100%;
835 height: 100%;
836 border: none;
837 border-radius: 8px;
838 background: #fff;
839}
840
841.preview-audio {
842 width: min(640px, 95%);
843}
844
845.preview-text {
846 width: 100%;
847 min-height: 100%;
848 color: #dce4ff;
849 background: #0d111a;
850 border: 1px solid var(--border);
851 border-radius: 8px;
852 padding: 0.9rem;
853 font: 0.85rem/1.45 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
854 overflow: auto;
855 white-space: pre;
856 text-align: left;
857}
858
859.preview-code .tok-comment {
860 color: #6f7f9a;
861}
862
863.preview-code .tok-string {
864 color: #9ee37d;
865}
866
867.preview-code .tok-number {
868 color: #f8c46a;
869}
870
871.preview-code .tok-keyword {
872 color: #8bb4ff;
873 font-weight: 600;
874}
875
876.preview-code .tok-key {
877 color: #59c8ff;
878}
879
880.preview-unsupported {
881 color: var(--text-muted);
882 font-size: 0.95rem;
883 max-width: 56ch;
884 text-align: center;
885}
886
887.preview-footer {
888 border-top: 1px solid var(--border);
889 padding: 0.8rem 1rem;
890 display: flex;
891 justify-content: flex-end;
892}
893
894.preview-footer .primary {
895 width: auto;
896 margin-top: 0;
897 min-width: 8rem;
898}
899
900
901
902/* =========================================================
903
904.toast-msg {
905 background: var(--surface2);
906 border: 1px solid var(--border);
907 border-radius: 8px;
908 padding: 0.6rem 1.25rem;
909 font-size: 0.9rem;
910 animation: slideup 0.25s ease;
911}
912
913.toast-msg.err {
914 border-color: var(--danger);
915 color: var(--danger);
916}
917
918.toast-msg.ok {
919 border-color: var(--success);
920 color: var(--success);
921}
922
923@keyframes slideup {
924 from {
925 opacity: 0;
926 transform: translateY(12px);
927 }
928
929 to {
930 opacity: 1;
931 transform: translateY(0);
932 }
933}
934
935/* =========================================================
936 UPLOAD PROGRESS
937 ========================================================= */
938.upload-bar-wrap {
939 position: fixed;
940 bottom: 0;
941 left: 0;
942 right: 0;
943 background: var(--surface);
944 border-top: 1px solid var(--border);
945 padding: 0.5rem 1rem;
946 z-index: 80;
947 font-size: 0.85rem;
948}
949
950.upload-bar-track {
951 height: 6px;
952 background: var(--border);
953 border-radius: 3px;
954 margin-top: 0.3rem;
955}
956
957.upload-bar-fill {
958 height: 100%;
959 background: var(--accent);
960 border-radius: 3px;
961 transition: width 0.2s linear;
962}
963
964/* =========================================================
965 RESPONSIVE — narrow screens
966 ========================================================= */
967@media (max-width: 600px) {
968 #topbar {
969 height: auto;
970 min-height: var(--topbar-h);
971 padding: 0.5rem 0.6rem;
972 align-items: flex-start;
973 flex-direction: column;
974 }
975
976 #breadcrumb-wrap {
977 width: 100%;
978 }
979
980 #topbar-actions {
981 width: 100%;
982 flex-wrap: wrap;
983 gap: 0.15rem;
984 }
985
986 .icon-btn {
987 padding: 0.4rem 0.55rem;
988 font-size: 0.82rem;
989 }
990
991 #main-content {
992 padding: 0.9rem;
993 }
994
995 #file-grid {
996 grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
997 }
998
999 #app.sidebar-open #main-content {
1000 margin-right: 0;
1001 }
1002
1003 #sidebar {
1004 top: auto;
1005 right: 0;
1006 bottom: 0;
1007 left: 0;
1008 height: auto;
1009 max-height: min(68vh, calc(100vh - 0.5rem));
1010 padding: 0.9rem 0.9rem 1rem;
1011 border-left: none;
1012 border-top: 1px solid var(--border);
1013 width: 100%;
1014 border-radius: 14px 14px 0 0;
1015 box-shadow: 0 -12px 26px rgba(0, 0, 0, 0.34);
1016 gap: 0.55rem;
1017 }
1018
1019 #sidebar-close {
1020 display: inline-flex;
1021 position: absolute;
1022 top: 0.45rem;
1023 right: 0.45rem;
1024 border-color: var(--border);
1025 background: var(--surface2);
1026 }
1027
1028 #sidebar-name {
1029 padding-right: 2rem;
1030 }
1031
1032 #sidebar-icon svg {
1033 width: 54px;
1034 height: 54px;
1035 }
1036
1037 #sidebar-actions {
1038 margin-top: 0.2rem;
1039 }
1040
1041 .modal {
1042 padding: 1.25rem;
1043 }
1044
1045 .preview-overlay {
1046 padding: 0.8rem;
1047 }
1048
1049 .preview-sheet {
1050 width: 100%;
1051 height: 92vh;
1052 }
1053
1054 .preview-fold {
1055 width: 54px;
1056 height: 54px;
1057 }
1058
1059 .preview-close {
1060 top: 5px;
1061 right: 5px;
1062 }
1063}
1064
1065/* =========================================================
1066 DIALOG MODALS (confirm / prompt / overwrite)
1067 ========================================================= */
1068.dialog-message {
1069 color: var(--text-muted);
1070 font-size: 0.93rem;
1071 margin: 0 0 1.5rem;
1072 line-height: 1.5;
1073 word-break: break-word;
1074}
1075
1076.dialog-actions {
1077 display: flex;
1078 gap: 0.6rem;
1079 justify-content: flex-end;
1080 flex-wrap: wrap;
1081}
1082
1083.dialog-actions--overwrite {
1084 justify-content: space-between;
1085}
1086
1087.dialog-actions button {
1088 min-width: 5rem;
1089 background: var(--surface2);
1090 color: var(--text);
1091 padding: 0.5rem 1rem;
1092}
1093
1094.dialog-actions button:hover {
1095 background: var(--border);
1096}
1097
1098/* Override .primary full-width inside dialog rows */
1099.dialog-actions button.primary {
1100 width: auto;
1101 margin-top: 0;
1102}