2019-05-06 12:04:39 +08:00
|
|
|
@import '../../style/themes/index';
|
2018-12-07 16:17:45 +08:00
|
|
|
@import '../../style/mixins/index';
|
2016-04-27 20:44:36 +08:00
|
|
|
|
2018-12-07 16:17:45 +08:00
|
|
|
@breadcrumb-prefix-cls: ~'@{ant-prefix}-breadcrumb';
|
2015-07-01 20:44:19 +08:00
|
|
|
|
2015-08-20 16:55:42 +08:00
|
|
|
.@{breadcrumb-prefix-cls} {
|
2017-09-22 18:33:29 +08:00
|
|
|
.reset-component;
|
2019-04-15 10:52:00 +08:00
|
|
|
|
2018-01-20 16:04:49 +08:00
|
|
|
color: @breadcrumb-base-color;
|
|
|
|
font-size: @breadcrumb-font-size;
|
2015-07-01 20:44:19 +08:00
|
|
|
|
2020-01-21 19:20:21 +08:00
|
|
|
&-rtl {
|
|
|
|
direction: rtl;
|
|
|
|
|
|
|
|
> span {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-27 22:32:49 +08:00
|
|
|
.@{iconfont-css-prefix} {
|
2018-01-20 16:04:49 +08:00
|
|
|
font-size: @breadcrumb-icon-font-size;
|
2017-09-27 22:32:49 +08:00
|
|
|
}
|
|
|
|
|
2015-07-02 18:33:37 +08:00
|
|
|
a {
|
2018-01-20 16:04:49 +08:00
|
|
|
color: @breadcrumb-link-color;
|
2018-12-07 16:17:45 +08:00
|
|
|
transition: color 0.3s;
|
2016-07-21 11:48:56 +08:00
|
|
|
&:hover {
|
2018-01-20 16:04:49 +08:00
|
|
|
color: @breadcrumb-link-color-hover;
|
2016-07-21 11:48:56 +08:00
|
|
|
}
|
2015-07-01 20:44:19 +08:00
|
|
|
}
|
|
|
|
|
2015-07-02 17:22:26 +08:00
|
|
|
& > span:last-child {
|
2018-01-20 16:04:49 +08:00
|
|
|
color: @breadcrumb-last-item-color;
|
2019-08-16 17:19:05 +08:00
|
|
|
a {
|
|
|
|
color: @breadcrumb-last-item-color;
|
|
|
|
}
|
2015-07-01 20:44:19 +08:00
|
|
|
}
|
|
|
|
|
2015-12-09 16:48:52 +08:00
|
|
|
& > span:last-child &-separator {
|
2015-07-02 17:22:26 +08:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2015-12-09 16:48:52 +08:00
|
|
|
&-separator {
|
2018-01-20 16:04:49 +08:00
|
|
|
margin: @breadcrumb-separator-margin;
|
|
|
|
color: @breadcrumb-separator-color;
|
2015-07-01 20:44:19 +08:00
|
|
|
}
|
2015-07-01 21:24:04 +08:00
|
|
|
|
2016-07-21 11:48:56 +08:00
|
|
|
&-link {
|
2016-09-14 16:18:33 +08:00
|
|
|
> .@{iconfont-css-prefix} + span {
|
2016-07-21 11:48:56 +08:00
|
|
|
margin-left: 4px;
|
2020-01-21 19:20:21 +08:00
|
|
|
|
|
|
|
.@{breadcrumb-prefix-cls}-rtl & {
|
|
|
|
margin-right: 4px;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2016-07-21 11:48:56 +08:00
|
|
|
}
|
2015-07-01 21:24:04 +08:00
|
|
|
}
|
2019-05-06 12:04:39 +08:00
|
|
|
|
|
|
|
&-overlay-link {
|
|
|
|
> .@{iconfont-css-prefix} {
|
|
|
|
margin-left: 4px;
|
2020-01-21 19:20:21 +08:00
|
|
|
|
|
|
|
.@{breadcrumb-prefix-cls}-rtl & {
|
|
|
|
margin-right: 4px;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2019-05-06 12:04:39 +08:00
|
|
|
}
|
|
|
|
}
|
2015-07-01 20:44:19 +08:00
|
|
|
}
|