mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-27 05:00:48 +08:00
58 lines
1.7 KiB
SCSS
58 lines
1.7 KiB
SCSS
@import './mixins/mixins.scss';
|
|
|
|
@include themes-mixin {
|
|
@include b(breadcrumb) {
|
|
white-space: nowrap;
|
|
@include b(breadcrumb-item) {
|
|
@include once {
|
|
transition: color .3s $--n-ease-in-out-cubic-bezier;
|
|
@include b(icon) {
|
|
font-size: 16px;
|
|
vertical-align: -.2em;
|
|
}
|
|
}
|
|
@include b(icon) {
|
|
fill: map-get($--breadcrumb-link-text-color, 'default');
|
|
stroke: map-get($--breadcrumb-link-text-color, 'default');
|
|
}
|
|
@include e(link) {
|
|
@include once {
|
|
transition: color .3s $--n-ease-in-out-cubic-bezier;
|
|
cursor: pointer;
|
|
}
|
|
color: map-get($--breadcrumb-link-text-color, 'default');
|
|
}
|
|
@include e(seperator) {
|
|
@include once {
|
|
transition: color .3s $--n-ease-in-out-cubic-bezier;
|
|
margin: 0 4px;
|
|
}
|
|
color: map-get($--breadcrumb-seperator-text-color, 'default');
|
|
}
|
|
&:hover {
|
|
@include b(icon) {
|
|
fill: map-get($--breadcrumb-link-text-color, 'hover');
|
|
stroke: map-get($--breadcrumb-link-text-color, 'hover');
|
|
}
|
|
@include e(link) {
|
|
color: map-get($--breadcrumb-link-text-color, 'hover');
|
|
}
|
|
}
|
|
&:last-child {
|
|
@include e(link) {
|
|
cursor: unset;
|
|
color: map-get($--breadcrumb-link-text-color, 'active');
|
|
}
|
|
@include b(icon) {
|
|
fill: map-get($--breadcrumb-link-text-color, 'active');
|
|
stroke: map-get($--breadcrumb-link-text-color, 'active');
|
|
}
|
|
@include once {
|
|
@include e(seperator) {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |