-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
880 lines (767 loc) · 21.6 KB
/
Copy pathstyles.css
File metadata and controls
880 lines (767 loc) · 21.6 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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
/**
* Lockdown Plugin Styles
* Architecture: BEM (Block Element Modifier)
*
* Naming Convention:
* - Block: .ld-block
* - Element: .ld-block__element
* - Modifier: .ld-block--modifier or .ld-block__element--modifier
*
* Prefix: "ld-" (lockdown) to avoid conflicts with Obsidian and other plugins
*
* Organization:
* 1. CSS Variables (Design Tokens)
* 2. Global Utilities
* 3. Components (BEM Blocks)
* - Modal
* - Overlay
* - File Explorer
* - Password Strength
* - Manager
* 4. Animations
* 5. Obsidian-specific Overrides
*/
/* ========================================================================
1. CSS VARIABLES (DESIGN TOKENS)
======================================================================== */
:root {
/* Spacing Scale */
--ld-space-xs: 4px;
--ld-space-sm: 8px;
--ld-space-md: 12px;
--ld-space-lg: 16px;
--ld-space-xl: 20px;
--ld-space-2xl: 24px;
--ld-space-3xl: 32px;
--ld-space-4xl: 40px;
--ld-space-5xl: 60px;
/* Border Radius Scale */
--ld-radius-sm: 4px;
--ld-radius-md: 6px;
--ld-radius-lg: 8px;
/* Typography Scale */
--ld-text-xs: 12px;
--ld-text-sm: 13px;
--ld-text-base: 14px;
--ld-text-md: 15px;
--ld-text-lg: 16px;
--ld-text-xl: 24px;
--ld-text-2xl: 32px;
--ld-text-3xl: 80px;
--ld-text-4xl: 120px;
/* Font Weights */
--ld-weight-normal: 400;
--ld-weight-medium: 500;
--ld-weight-semibold: 600;
/* Transitions */
--ld-transition-fast: 0.15s ease;
--ld-transition-base: 0.2s ease;
--ld-transition-slow: 0.3s ease;
--ld-transition-slower: 0.4s ease;
/* Shadows */
--ld-shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.15);
--ld-shadow-md: 0 2px 8px rgba(0, 0, 0, 0.15);
--ld-shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.15);
--ld-shadow-xl: 0 4px 16px rgba(0, 0, 0, 0.2);
/* Z-index Scale */
--ld-z-overlay: 10;
--ld-z-modal: 100;
/* Animation Durations */
--ld-anim-glow: 2s;
--ld-anim-pulse: 2s;
--ld-anim-bounce: 2s;
/* Component Specific */
--ld-modal-min-width: 400px;
--ld-modal-min-width-lg: 450px;
--ld-manager-min-width: 600px;
--ld-manager-max-width: 800px;
--ld-list-max-height: 450px;
--ld-overlay-opacity: 0.98;
}
/* ========================================================================
2. GLOBAL UTILITIES
======================================================================== */
/**
* Utility: Locked State
* Applied to elements that should appear locked and non-interactive
*/
.ld-locked {
opacity: 0.7;
pointer-events: none;
}
/**
* Utility: Status Bar Item
* Applied to status bar indicators
*/
.ld-status-bar {
cursor: pointer;
padding: 2px var(--ld-space-sm);
border-radius: var(--ld-radius-sm);
transition: background-color var(--ld-transition-base);
}
.ld-status-bar:hover {
background-color: var(--background-modifier-hover);
}
/* ========================================================================
3. COMPONENTS (BEM BLOCKS)
======================================================================== */
/* ------------------------------------------------------------------------
BLOCK: Modal
Base component for all modals in the plugin
------------------------------------------------------------------------ */
.ld-modal {
padding: var(--ld-space-2xl);
min-width: var(--ld-modal-min-width);
}
/* Modal Modifier: Password */
.ld-modal--password {
min-width: var(--ld-modal-min-width-lg);
}
/* Modal Modifier: Manager */
.ld-modal--manager {
min-width: var(--ld-manager-min-width);
max-width: var(--ld-manager-max-width);
}
/* Modal Element: Title Container */
.ld-modal__title-container {
display: flex;
align-items: center;
gap: var(--ld-space-md);
margin-bottom: var(--ld-space-xl);
padding-bottom: var(--ld-space-lg);
border-bottom: 2px solid var(--background-modifier-border);
}
/* Modal Element: Icon */
.ld-modal__icon {
font-size: var(--ld-text-2xl);
line-height: 1;
animation: ld-icon-glow var(--ld-anim-glow) ease-in-out infinite;
}
/* Modal Element: Title */
.ld-modal__title {
margin: 0;
font-size: var(--ld-text-xl);
font-weight: var(--ld-weight-semibold);
color: var(--text-normal);
letter-spacing: -0.02em;
}
/* Modal Element: Message */
.ld-modal__message {
margin: 0 0 var(--ld-space-2xl) 0;
font-size: var(--ld-text-md);
line-height: 1.5;
color: var(--text-muted);
}
/* Modal Element: Button Container */
.ld-modal__button-container {
display: flex;
gap: var(--ld-space-md);
justify-content: flex-end;
margin-top: var(--ld-space-2xl);
padding-top: var(--ld-space-xl);
border-top: 1px solid var(--background-modifier-border);
}
/* ------------------------------------------------------------------------
BLOCK: Button
Reusable button component used in modals and overlays
------------------------------------------------------------------------ */
.ld-button {
padding: 10px var(--ld-space-2xl);
border: none;
border-radius: var(--ld-radius-lg);
font-size: var(--ld-text-base);
font-weight: var(--ld-weight-semibold);
cursor: pointer;
transition: all var(--ld-transition-base);
letter-spacing: 0.02em;
}
.ld-button:hover {
transform: translateY(-1px);
box-shadow: var(--ld-shadow-lg);
}
.ld-button:active {
transform: translateY(0);
}
/* Button Modifier: Primary */
.ld-button--primary {
background-color: var(--interactive-accent);
color: var(--text-on-accent);
}
.ld-button--primary:hover {
background-color: var(--interactive-accent-hover);
box-shadow: 0 4px 16px rgba(var(--interactive-accent-rgb), 0.3);
}
/* Button Modifier: Secondary */
.ld-button--secondary {
background-color: var(--background-secondary);
color: var(--text-normal);
border: 2px solid var(--background-modifier-border);
}
.ld-button--secondary:hover {
background-color: var(--background-modifier-hover);
border-color: var(--background-modifier-border-hover);
}
/* Button Modifier: Warning */
.ld-button--warning {
background-color: #e74c3c;
color: white;
}
.ld-button--warning:hover {
background-color: #c0392b;
box-shadow: 0 4px 16px rgba(231, 76, 60, 0.3);
}
/* ------------------------------------------------------------------------
BLOCK: Input
Form input components (text, password, search)
------------------------------------------------------------------------ */
.ld-input-container {
margin-bottom: var(--ld-space-xl);
}
.ld-input__label {
display: block;
margin-bottom: var(--ld-space-sm);
font-size: var(--ld-text-base);
font-weight: var(--ld-weight-medium);
color: var(--text-normal);
letter-spacing: 0.01em;
}
.ld-input {
width: 100%;
padding: var(--ld-space-md) var(--ld-space-lg);
border: 2px solid var(--background-modifier-border);
border-radius: var(--ld-radius-lg);
background-color: var(--background-primary);
color: var(--text-normal);
font-size: var(--ld-text-md);
font-family: inherit;
transition: all var(--ld-transition-base);
}
.ld-input:hover {
border-color: var(--background-modifier-border-hover);
}
.ld-input:focus {
outline: none;
border-color: var(--interactive-accent);
box-shadow: 0 0 0 3px rgba(var(--interactive-accent-rgb), 0.1);
background-color: var(--background-primary-alt);
}
.ld-input::placeholder {
color: var(--text-faint);
opacity: 0.6;
}
/* Input Modifier: Password */
.ld-input--password {
/* Specific password input styles if needed */
}
/* Input Modifier: Search */
.ld-input--search {
/* Specific search input styles if needed */
}
/* ------------------------------------------------------------------------
BLOCK: Overlay
Full-screen overlay shown when a note is locked
------------------------------------------------------------------------ */
.ld-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
background-color: var(--background-primary);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
z-index: var(--ld-z-overlay);
gap: var(--ld-space-2xl);
padding: var(--ld-space-4xl);
animation: ld-fade-in var(--ld-transition-slow) ease-in-out;
box-sizing: border-box;
overflow: hidden;
pointer-events: auto;
isolation: isolate;
opacity: var(--ld-overlay-opacity);
contain: layout style paint;
}
/* Overlay Element: Icon */
.ld-overlay__icon {
font-size: var(--ld-text-4xl);
line-height: 1;
opacity: 0.9;
animation: ld-pulse var(--ld-anim-pulse) ease-in-out infinite;
filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}
/* Overlay Element: Message */
.ld-overlay__message {
font-size: var(--ld-text-xl);
font-weight: var(--ld-weight-semibold);
color: var(--text-normal);
text-align: center;
margin: 0;
opacity: 0.95;
letter-spacing: 0.5px;
}
/* Overlay Element: Button */
.ld-overlay__button {
padding: var(--ld-space-md) var(--ld-space-3xl);
font-size: var(--ld-text-lg);
font-weight: var(--ld-weight-semibold);
border-radius: var(--ld-radius-lg);
border: none;
background-color: var(--interactive-accent);
color: var(--text-on-accent);
cursor: pointer;
transition: all var(--ld-transition-base);
box-shadow: var(--ld-shadow-md);
}
.ld-overlay__button:hover {
background-color: var(--interactive-accent-hover);
transform: translateY(-2px);
box-shadow: var(--ld-shadow-xl);
}
.ld-overlay__button:active {
transform: translateY(0);
box-shadow: var(--ld-shadow-sm);
}
/* ------------------------------------------------------------------------
BLOCK: Overlay Container
Container styles for overlay positioning
------------------------------------------------------------------------ */
.ld-overlay-container {
position: relative;
}
.ld-overlay-container-isolated {
isolation: isolate;
will-change: auto;
}
/* ------------------------------------------------------------------------
BLOCK: File Explorer Indicators
Lock icons shown in the file explorer sidebar
------------------------------------------------------------------------ */
.ld-file-explorer-indicator {
margin-left: var(--ld-space-xs);
opacity: 0.7;
font-size: 0.9em;
vertical-align: middle;
cursor: help;
display: inline-block;
pointer-events: none;
will-change: opacity;
transition: opacity var(--ld-transition-fast);
position: relative;
z-index: 0;
background: transparent !important;
background-color: transparent !important;
mix-blend-mode: normal;
contain: none;
}
.ld-file-explorer-indicator:hover {
opacity: 1;
pointer-events: auto;
}
/* Indicator Modifier: Folder */
.ld-file-explorer-indicator--folder {
opacity: 0.8;
}
/* Indicator Modifier: Encrypted */
.ld-file-explorer-indicator--encrypted {
opacity: 1;
}
/* Ensure indicators don't affect sidebar background */
.nav-files-container .ld-file-explorer-indicator,
.nav-folder-title .ld-file-explorer-indicator,
.nav-file-title .ld-file-explorer-indicator {
background: transparent !important;
background-color: transparent !important;
mix-blend-mode: normal;
contain: none;
pointer-events: none;
}
.nav-folder-title .ld-file-explorer-indicator--folder {
opacity: 0.8;
}
/* ------------------------------------------------------------------------
BLOCK: Empty State
Displayed when there are no items to show
------------------------------------------------------------------------ */
.ld-empty-state {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: var(--ld-space-5xl) var(--ld-space-4xl);
text-align: center;
}
.ld-empty-state__icon {
font-size: var(--ld-text-3xl);
line-height: 1;
margin-bottom: var(--ld-space-xl);
opacity: 0.5;
animation: ld-bounce var(--ld-anim-bounce) ease-in-out infinite;
}
.ld-empty-state__message {
margin: 0;
font-size: var(--ld-text-lg);
color: var(--text-muted);
}
/* ------------------------------------------------------------------------
BLOCK: Manager
Locked files manager modal components
------------------------------------------------------------------------ */
/* Manager Element: Tabs Container */
.ld-manager__tabs {
display: flex;
gap: var(--ld-space-sm);
margin-bottom: var(--ld-space-xl);
padding: var(--ld-space-xs);
background-color: var(--background-secondary);
border-radius: var(--ld-radius-lg);
}
/* Manager Element: Tab */
.ld-manager__tab {
flex: 1;
padding: 10px var(--ld-space-lg);
border: none;
border-radius: var(--ld-radius-md);
background-color: transparent;
color: var(--text-muted);
cursor: pointer;
transition: all var(--ld-transition-base);
font-weight: var(--ld-weight-medium);
font-size: var(--ld-text-base);
}
.ld-manager__tab:hover {
background-color: var(--background-modifier-hover);
color: var(--text-normal);
}
/* Manager Tab Modifier: Active */
.ld-manager__tab--active {
background-color: var(--interactive-accent);
color: var(--text-on-accent);
box-shadow: var(--ld-shadow-md);
}
/* Manager Element: Search Container */
.ld-manager__search-container {
margin-bottom: var(--ld-space-xl);
display: flex;
gap: var(--ld-space-sm);
}
/* Manager Element: Files List */
.ld-manager__files-list {
max-height: var(--ld-list-max-height);
overflow-y: auto;
margin-bottom: var(--ld-space-xl);
border-radius: var(--ld-radius-lg);
border: 1px solid var(--background-modifier-border);
}
/* Custom scrollbar for files list */
.ld-manager__files-list::-webkit-scrollbar {
width: var(--ld-space-sm);
}
.ld-manager__files-list::-webkit-scrollbar-track {
background: var(--background-secondary);
border-radius: var(--ld-radius-sm);
}
.ld-manager__files-list::-webkit-scrollbar-thumb {
background: var(--background-modifier-border);
border-radius: var(--ld-radius-sm);
}
.ld-manager__files-list::-webkit-scrollbar-thumb:hover {
background: var(--background-modifier-border-hover);
}
/* Manager Element: Bulk Actions */
.ld-manager__bulk-actions {
margin-top: var(--ld-space-xl);
padding-top: var(--ld-space-xl);
border-top: 2px solid var(--background-modifier-border);
display: flex;
justify-content: flex-end;
}
/* ------------------------------------------------------------------------
BLOCK: File Item
Individual file item in the manager list
------------------------------------------------------------------------ */
.ld-file-item {
display: flex;
align-items: center;
padding: var(--ld-space-lg);
border-bottom: 1px solid var(--background-modifier-border);
gap: var(--ld-space-lg);
transition: all var(--ld-transition-base);
}
.ld-file-item:last-child {
border-bottom: none;
}
.ld-file-item:hover {
background-color: var(--background-modifier-hover);
}
/* File Item Element: Name */
.ld-file-item__name {
font-weight: var(--ld-weight-semibold);
flex: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: var(--text-normal);
}
/* File Item Element: Path */
.ld-file-item__path {
font-size: var(--ld-text-xs);
color: var(--text-muted);
flex: 2;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-family: var(--font-monospace);
opacity: 0.8;
}
/* File Item Element: Status */
.ld-file-item__status {
display: flex;
gap: 6px;
align-items: center;
font-size: 1.3em;
}
/* File Item Element: Actions */
.ld-file-item__actions {
display: flex;
gap: var(--ld-space-sm);
}
.ld-file-item__actions button {
padding: 6px var(--ld-space-lg);
font-size: var(--ld-text-sm);
border-radius: var(--ld-radius-md);
border: 1px solid var(--background-modifier-border);
background-color: var(--background-secondary);
color: var(--text-normal);
cursor: pointer;
transition: all var(--ld-transition-base);
font-weight: var(--ld-weight-medium);
}
.ld-file-item__actions button:hover {
background-color: var(--background-modifier-hover);
border-color: var(--background-modifier-border-hover);
transform: translateY(-1px);
box-shadow: var(--ld-shadow-md);
}
.ld-file-item__actions button.mod-cta {
background-color: var(--interactive-accent);
color: var(--text-on-accent);
border-color: var(--interactive-accent);
}
.ld-file-item__actions button.mod-cta:hover {
background-color: var(--interactive-accent-hover);
box-shadow: 0 2px 12px rgba(var(--interactive-accent-rgb), 0.3);
}
/* ------------------------------------------------------------------------
BLOCK: Password Strength
Password strength indicator component
------------------------------------------------------------------------ */
.ld-password-strength {
margin-top: var(--ld-space-md);
}
/* Password Strength Element: Bar Container */
.ld-password-strength__bar-container {
height: 6px;
background-color: var(--background-modifier-border);
border-radius: 3px;
overflow: hidden;
margin-bottom: var(--ld-space-sm);
}
/* Password Strength Element: Meter */
.ld-password-strength__meter {
height: 100%;
border-radius: 3px;
transition: width var(--ld-transition-slower) ease,
background-color var(--ld-transition-slow) ease;
width: 0%;
box-shadow: var(--ld-shadow-md);
}
/* Meter Modifier: Weak */
.ld-password-strength__meter--weak {
background: linear-gradient(90deg, #e74c3c 0%, #c0392b 100%);
box-shadow: 0 0 12px rgba(231, 76, 60, 0.4);
}
/* Meter Modifier: Fair */
.ld-password-strength__meter--fair {
background: linear-gradient(90deg, #f39c12 0%, #e67e22 100%);
box-shadow: 0 0 12px rgba(243, 156, 18, 0.4);
}
/* Meter Modifier: Good */
.ld-password-strength__meter--good {
background: linear-gradient(90deg, #3498db 0%, #2980b9 100%);
box-shadow: 0 0 12px rgba(52, 152, 219, 0.4);
}
/* Meter Modifier: Strong */
.ld-password-strength__meter--strong {
background: linear-gradient(90deg, #2ecc71 0%, #27ae60 100%);
box-shadow: 0 0 12px rgba(46, 204, 113, 0.4);
}
/* Password Strength Element: Text */
.ld-password-strength__text {
font-size: var(--ld-text-sm);
font-weight: var(--ld-weight-medium);
margin-top: var(--ld-space-xs);
transition: color var(--ld-transition-slow);
letter-spacing: 0.01em;
}
/* Text Modifier: Weak */
.ld-password-strength__text--weak {
color: #e74c3c;
}
/* Text Modifier: Fair */
.ld-password-strength__text--fair {
color: #f39c12;
}
/* Text Modifier: Good */
.ld-password-strength__text--good {
color: #3498db;
}
/* Text Modifier: Strong */
.ld-password-strength__text--strong {
color: #2ecc71;
}
/* ========================================================================
4. ANIMATIONS
======================================================================== */
@keyframes ld-icon-glow {
0%, 100% {
opacity: 1;
filter: drop-shadow(0 0 4px rgba(128, 128, 128, 0.3));
}
50% {
opacity: 0.85;
filter: drop-shadow(0 0 8px rgba(128, 128, 128, 0.5));
}
}
@keyframes ld-fade-in {
from {
opacity: 0;
}
to {
opacity: var(--ld-overlay-opacity);
}
}
@keyframes ld-pulse {
0%, 100% {
transform: scale(1);
opacity: 0.9;
}
50% {
transform: scale(1.05);
opacity: 1;
}
}
@keyframes ld-bounce {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-10px);
}
}
/* ========================================================================
5. OBSIDIAN-SPECIFIC OVERRIDES
Protection against overlay bleed into sidebar and UI elements
======================================================================== */
.workspace-split.mod-left-split,
.workspace-split.mod-right-split,
.workspace-ribbon,
.status-bar,
.notice-container,
.modal-container,
.prompt-container,
.popover {
isolation: isolate;
z-index: auto;
transform: none;
will-change: auto;
}
.nav-files-container,
.workspace-leaf-content,
.workspace-tab-header-container {
isolation: isolate;
background-color: var(--background-primary);
transform: translateZ(0);
-webkit-transform: translateZ(0);
}
/* Prevent pseudo-elements from creating overlays */
.nav-files-container::before,
.nav-files-container::after,
.nav-folder-title::before,
.nav-folder-title::after,
.nav-file-title::before,
.nav-file-title::after {
content: none !important;
}
/* ========================================================================
LEGACY CLASS SUPPORT (BACKWARDS COMPATIBILITY)
Temporary aliases for old class names - will be removed in v2.0.0
======================================================================== */
/**
* These legacy classes are deprecated and maintained only for backwards
* compatibility. They will be removed in v2.0.0.
*
* Migration guide:
* - Use new BEM classes with "ld-" prefix
* - Follow BEM naming: .ld-block__element--modifier
* - Check CSS_ARCHITECTURE.md for complete mapping
*/
/* Backwards compatibility aliases - exact duplicates of new classes */
.lockdown-locked,
.lockdown-status-bar,
.lockdown-modal,
.lockdown-password-modal,
.lockdown-manager-modal,
.lockdown-modal-title-container,
.lockdown-modal-icon,
.lockdown-modal-title,
.lockdown-modal-message,
.lockdown-modal-button-container,
.lockdown-input-container,
.lockdown-input-label,
.lockdown-password-input,
.lockdown-search-input,
.lockdown-modal-button,
.lockdown-modal-button-primary,
.lockdown-modal-button-secondary,
.lockdown-modal-button-warning,
.lockdown-overlay,
.lockdown-overlay-icon,
.lockdown-overlay-message,
.lockdown-overlay-button,
.lockdown-file-indicator,
.lockdown-folder-indicator,
.lockdown-empty-state,
.lockdown-empty-state-icon,
.lockdown-empty-state-message,
.lockdown-tabs,
.lockdown-tab,
.lockdown-tab.active,
.lockdown-search-container,
.lockdown-files-list,
.lockdown-file-item,
.lockdown-file-name,
.lockdown-file-path,
.lockdown-file-status,
.lockdown-file-actions,
.lockdown-bulk-actions,
.lockdown-password-strength-container,
.lockdown-password-strength-bar-container,
.lockdown-password-strength-meter,
.lockdown-password-strength-meter.strength-weak,
.lockdown-password-strength-meter.strength-fair,
.lockdown-password-strength-meter.strength-good,
.lockdown-password-strength-meter.strength-strong,
.lockdown-password-strength-text,
.lockdown-password-strength-text.strength-weak,
.lockdown-password-strength-text.strength-fair,
.lockdown-password-strength-text.strength-good,
.lockdown-password-strength-text.strength-strong {
/* All legacy classes inherit styles from their new BEM counterparts */
/* Styles are defined above in their respective sections */
}