File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 43
43
padding : var (--mXS ) var (--mS );
44
44
list-style : none;
45
45
cursor : pointer;
46
- transition : 0.2s ;
47
46
48
47
& : hover {
49
48
background-color : var (--colorBlack200 );
54
53
display : none;
55
54
}
56
55
57
- & ::after {
58
- content : '↓' ;
56
+ & svg {
59
57
position : absolute;
60
58
right : 10px ;
61
- top : 12 px ;
59
+ top : 14 px ;
62
60
font-size : 0.8em ;
63
61
color : var (--colorBlack400 );
62
+ transition : transform 0.2s ease;
64
63
}
65
64
}
66
65
67
66
& [open ]{
68
- summary :: after {
67
+ summary > svg {
69
68
transform : rotate (180deg );
70
69
}
71
70
}
110
109
.aside_item-current {
111
110
border-left : 2px solid var (--colorPrimary );
112
111
}
112
+
Original file line number Diff line number Diff line change 8
8
{{ range .Site.Sections.ByWeight }}
9
9
< li class ="{{ if eq $currentPageSection .Section }}aside_item-current{{ end }} ">
10
10
< details {{ if eq $currentPageSection .Section }}open{{ end }} >
11
- < summary > < b > {{ .LinkTitle | markdownify }}</ b > </ summary >
11
+ < summary > < b > {{ .LinkTitle | markdownify }}</ b > < i class =" icon " data-lucide =" chevron-down " > </ i > </ summary >
12
12
< ul >
13
13
{{ $allPages := .RegularPages.ByWeight | append .Sections.ByWeight }}
14
14
{{ $allPages := sort $allPages "Weight" }}
You can’t perform that action at this time.
0 commit comments