File tree Expand file tree Collapse file tree 1 file changed +53
-3
lines changed Expand file tree Collapse file tree 1 file changed +53
-3
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,41 @@ dd {
143143}
144144
145145.list--tree {
146+ ol ,
147+ ul {
148+ position : relative ;
149+
150+ & ::after {
151+ position : absolute ;
152+ bottom : 0.75em ;
153+ left : 0.5em ;
154+ height : 100% ;
155+ border-left : 1px solid $color-border-extra-dark ;
156+ content : " " ;
157+ }
158+ }
159+
160+ li {
161+ position : relative ;
162+
163+ & ::after {
164+ position : absolute ;
165+ top : 0 ;
166+ left : -1.25em ;
167+ width : 0.75em ;
168+ height : 0.75em ;
169+ border-bottom : 1px solid $color-border-extra-dark ;
170+ border-left : 1px solid $color-border-extra-dark ;
171+ content : " " ;
172+ }
173+ }
174+
175+ > li ::after {
176+ display : none ;
177+ }
178+
146179 .directory ::before ,
180+ .directory--open ::before ,
147181 .document ::before {
148182 display : inline-block ;
149183 width : 16px ;
@@ -162,15 +196,31 @@ dd {
162196 background-image : url (" data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='%23333'%3E%3Cpath d='M14 2h-1V1h-3L9 2H1v12h13V2zM2 3h11v10H2V3z'/%3E%3Cpath d='M2 4h11v1H2z'/%3E%3C/g%3E%3C/svg%3E" );
163197 }
164198
199+ .directory--open ::before {
200+ background-image : url (" data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23333' d='M13 5V2h-1V1H9L8 2H0v12h13.5L16 5h-3zM1 3h11v2H3l-2 7V3zm11.5 10H2l2-7h10.5l-2 7z'/%3E%3C/svg%3E" );
201+ }
202+
165203 .document ::before {
166204 background-image : url (" data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='%23333'%3E%3Cpath d='m10 15h-7v-14h10v11zm2-3v-10h-8v12h6z'/%3E%3Cpath d='m10 12v2h-1v-3h3v1z'/%3E%3C/g%3E%3C/svg%3E" );
167205 }
168206}
169207
170208@include dark-mode {
171- .list--tree .directory ::before ,
172- .list--tree .document ::before {
173- filter : brightness (3 ) sepia (1 ) hue-rotate (168deg ) saturate (33% );
209+ .list--tree {
210+ ol ::after ,
211+ ul ::after {
212+ border-color : $dark-color-border ;
213+ }
214+
215+ li ::after {
216+ border-color : $dark-color-border ;
217+ }
218+
219+ .directory ::before ,
220+ .directory--open ::before ,
221+ .document ::before {
222+ filter : brightness (3 ) sepia (1 ) hue-rotate (168deg ) saturate (33% );
223+ }
174224 }
175225}
176226
You can’t perform that action at this time.
0 commit comments