2019-10-29 12:38:42 +08:00
|
|
|
@import './mixins/mixins.scss';
|
|
|
|
|
|
|
|
@include themes-mixin {
|
|
|
|
@include b(breadcrumb) {
|
2020-02-21 14:59:17 +08:00
|
|
|
@include once {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2019-10-29 12:38:42 +08:00
|
|
|
@include b(breadcrumb-item) {
|
|
|
|
@include once {
|
2019-12-22 15:50:37 +08:00
|
|
|
transition: color .3s $--n-ease-in-out-cubic-bezier;
|
2019-10-29 12:38:42 +08:00
|
|
|
@include b(icon) {
|
2019-12-06 16:23:10 +08:00
|
|
|
font-size: 16px;
|
|
|
|
vertical-align: -.2em;
|
2019-10-29 12:38:42 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@include b(icon) {
|
|
|
|
fill: map-get($--breadcrumb-link-text-color, 'default');
|
2020-02-07 20:04:20 +08:00
|
|
|
stroke: map-get($--breadcrumb-link-text-color, 'default');
|
2019-10-29 12:38:42 +08:00
|
|
|
}
|
2019-12-06 16:23:10 +08:00
|
|
|
@include e(link) {
|
|
|
|
@include once {
|
2019-12-22 15:50:37 +08:00
|
|
|
transition: color .3s $--n-ease-in-out-cubic-bezier;
|
2019-12-06 16:23:10 +08:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
color: map-get($--breadcrumb-link-text-color, 'default');
|
|
|
|
}
|
2019-10-29 12:38:42 +08:00
|
|
|
@include e(seperator) {
|
|
|
|
@include once {
|
2019-12-22 15:50:37 +08:00
|
|
|
transition: color .3s $--n-ease-in-out-cubic-bezier;
|
2019-10-29 12:38:42 +08:00
|
|
|
margin: 0 4px;
|
|
|
|
}
|
|
|
|
color: map-get($--breadcrumb-seperator-text-color, 'default');
|
|
|
|
}
|
2019-12-06 16:23:10 +08:00
|
|
|
&:hover {
|
|
|
|
@include b(icon) {
|
|
|
|
fill: map-get($--breadcrumb-link-text-color, 'hover');
|
2020-02-07 20:04:20 +08:00
|
|
|
stroke: map-get($--breadcrumb-link-text-color, 'hover');
|
2019-12-06 16:23:10 +08:00
|
|
|
}
|
|
|
|
@include e(link) {
|
|
|
|
color: map-get($--breadcrumb-link-text-color, 'hover');
|
|
|
|
}
|
|
|
|
}
|
2019-10-29 12:38:42 +08:00
|
|
|
&:last-child {
|
2019-12-06 16:23:10 +08:00
|
|
|
@include e(link) {
|
2020-02-21 14:59:17 +08:00
|
|
|
@include once {
|
|
|
|
cursor: unset;
|
|
|
|
}
|
2019-12-06 16:23:10 +08:00
|
|
|
color: map-get($--breadcrumb-link-text-color, 'active');
|
|
|
|
}
|
2019-10-29 12:38:42 +08:00
|
|
|
@include b(icon) {
|
|
|
|
fill: map-get($--breadcrumb-link-text-color, 'active');
|
2020-02-07 20:04:20 +08:00
|
|
|
stroke: map-get($--breadcrumb-link-text-color, 'active');
|
2019-10-29 12:38:42 +08:00
|
|
|
}
|
|
|
|
@include once {
|
|
|
|
@include e(seperator) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|