💄 Add support subcategory feature.

This commit is contained in:
elkan1788
2023-06-24 11:08:17 +08:00
parent d44d4c2a79
commit 05dba844d7
15 changed files with 113 additions and 45 deletions

View File

@@ -15,14 +15,22 @@
list-style: none;
margin: 0;
padding: 0;
}
.category-list-item {
margin: 5px 10px;
.category-list-item:before {
font-family: var(--fa-style-family,"Font Awesome 6 Free");
font-weight: var(--fa-style,900);
content: "\f07c"
}
.category-list-item {
margin: 5px 10px;
font-weight: bold;
}
}
.category-list-count {
color: $grey;
padding: 0 2px;
&::before {
content: ' (';
@@ -33,7 +41,18 @@
}
}
.category-list-child {
padding-left: 10px;
.category-children-list {
padding-left: 38px;
list-style: none;
.category-children-list-item:before {
font-family: var(--fa-style-family,"Font Awesome 6 Free");
font-weight: var(--fa-style,900);
content: "\f0ae";
}
.category-children-list-item {
font-size: 0.925em;
}
}
}