2020-03-05 12:17:50 +08:00
|
|
|
@import '../../style/themes/index';
|
|
|
|
@import '../../style/mixins/index';
|
|
|
|
|
|
|
|
@breadcrumb-prefix-cls: ~'@{ant-prefix}-breadcrumb';
|
|
|
|
|
|
|
|
.@{breadcrumb-prefix-cls} {
|
|
|
|
.reset-component;
|
|
|
|
|
|
|
|
color: @breadcrumb-base-color;
|
|
|
|
font-size: @breadcrumb-font-size;
|
|
|
|
|
2020-03-08 15:12:21 +08:00
|
|
|
&-rtl {
|
2020-03-16 12:37:25 +08:00
|
|
|
.clearfix;
|
2020-03-08 15:12:21 +08:00
|
|
|
direction: rtl;
|
|
|
|
|
|
|
|
> span {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-05 12:17:50 +08:00
|
|
|
.@{iconfont-css-prefix} {
|
|
|
|
font-size: @breadcrumb-icon-font-size;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: @breadcrumb-link-color;
|
|
|
|
transition: color 0.3s;
|
|
|
|
&:hover {
|
|
|
|
color: @breadcrumb-link-color-hover;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
& > span:last-child {
|
|
|
|
color: @breadcrumb-last-item-color;
|
|
|
|
a {
|
|
|
|
color: @breadcrumb-last-item-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
& > span:last-child &-separator {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-separator {
|
|
|
|
margin: @breadcrumb-separator-margin;
|
|
|
|
color: @breadcrumb-separator-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-link {
|
|
|
|
> .@{iconfont-css-prefix} + span {
|
|
|
|
margin-left: 4px;
|
2020-03-08 15:12:21 +08:00
|
|
|
|
|
|
|
.@{breadcrumb-prefix-cls}-rtl & {
|
|
|
|
margin-right: 4px;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2020-03-05 12:17:50 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-overlay-link {
|
|
|
|
> .@{iconfont-css-prefix} {
|
|
|
|
margin-left: 4px;
|
2020-03-08 15:12:21 +08:00
|
|
|
|
|
|
|
.@{breadcrumb-prefix-cls}-rtl & {
|
|
|
|
margin-right: 4px;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2020-03-05 12:17:50 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|