tachybase_todo/.dumi/theme/components/SlugList.less

23 lines
328 B
Plaintext
Raw Normal View History

@import (reference) '../style/variables.less';
ul[role='slug-list'] {
&:empty {
margin: 0 !important;
padding: 0 !important;
}
li {
> a.active {
color: darken(@c-primary, 2%);
}
&[data-depth='3'] {
padding-left: 24px;
}
&[data-depth='4'] {
padding-left: 48px;
}
}
}