1
- /*Navigation Sidebar*/
2
1
.nav-menu > .nav-list {
3
2
display : flex;
4
3
flex-direction : column;
@@ -67,6 +66,48 @@ a.nav-link {
67
66
position : relative;
68
67
}
69
68
69
+ /*.nav-item[data-depth="0"]:has(> span.nav-text) {
70
+ padding: 8px 0px!important;
71
+ margin-top: 8px!important;
72
+ }
73
+
74
+
75
+ .nav-item[data-depth="0"]:has(> span.nav-text) .nav-text:hover {
76
+ background-color: #f6f8fa;
77
+ }
78
+
79
+ .nav-item[data-depth="0"]:has(> span.nav-text):hover {
80
+ background-color: #f6f8fa;
81
+ }
82
+
83
+ .dark-mode .nav-item[data-depth="0"]:has(> span.nav-text):hover {
84
+ background-color: var(--color-purple-secondary-dark);
85
+ }
86
+
87
+ .dark-mode .nav-item[data-depth="0"]:has(> span.nav-text) .nav-text:hover {
88
+ background-color: var(--color-purple-secondary-dark);
89
+ }
90
+
91
+ .nav-item[data-depth="0"]:has(> span.nav-text) .nav-text {
92
+ font-size: 15px!important;
93
+ }*/
94
+ .nav-item [data-depth = "0" ]: has (> span .nav-text ) {
95
+ margin-top : 8px !important ;
96
+ }
97
+
98
+ .nav-item [data-depth = "0" ]> span .nav-text {
99
+ display : block;
100
+ width : 100% ;
101
+ }
102
+
103
+ .nav-item [data-depth = "0" ]> span .nav-text : hover {
104
+ background-color : # f6f8fa ;
105
+ }
106
+
107
+ .dark-mode .nav-item [data-depth = "0" ]> span .nav-text : hover {
108
+ background-color : var (--color-purple-secondary-dark );
109
+ }
110
+
70
111
li .nav-item .toggler .is-active : hover {
71
112
background-color : # FFF ;
72
113
}
@@ -294,11 +335,17 @@ label.collapse_label:after {
294
335
height : 100% ;
295
336
}
296
337
297
- .nav-item .is-active [data-depth = "1" ] li [data-depth = "2" ]> a .nav-link {
338
+ .nav-item > span .nav-text {
339
+ font-size : 15px ;
340
+ }
341
+
342
+ .nav-item .is-active [data-depth = "1" ] li [data-depth = "2" ]> a .nav-link ,
343
+ .nav-item .is-active [data-depth = "0" ]> span .nav-text ~ ul .nav-item [data-depth = "1" ] > a .nav-link {
298
344
padding : 8px 62px ;
299
345
}
300
346
301
- .nav-item .is-active [data-depth = "2" ] li [data-depth = "3" ]> a .nav-link {
347
+ .nav-item .is-active [data-depth = "2" ] li [data-depth = "3" ]> a .nav-link ,
348
+ .nav-item .is-active [data-depth = "0" ]> span .nav-text ~ ul .nav-item [data-depth = "2" ] > a .nav-link {
302
349
padding : 8px 0 8px 90px ;
303
350
}
304
351
@@ -322,7 +369,8 @@ label.collapse_label:after {
322
369
.nav-item .is-current-path [data-depth = "1" ], .nav-item .is-current-path [data-depth = "2" ], .nav-item .is-current-path [data-depth = "3" ] {
323
370
padding : 0 ;
324
371
}
325
- .nav-item .is-active [data-depth = "3" ] li [data-depth = "4" ]> a .nav-link {
372
+ .nav-item .is-active [data-depth = "3" ] li [data-depth = "4" ]> a .nav-link ,
373
+ .nav-item .is-active [data-depth = "0" ]> span .nav-text ~ ul .nav-item [data-depth = "3" ] > a .nav-link {
326
374
padding : 8px 16px 8px 120px ;
327
375
}
328
376
0 commit comments