ant-design/components/breadcrumb/style/index.less

41 lines
671 B
Plaintext
Raw Normal View History

@import "../../style/themes/default";
@import "../../style/mixins/index";
@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} {
.reset-component;
color: @text-color-secondary;
2015-07-01 20:44:19 +08:00
.@{iconfont-css-prefix} {
font-size: @font-size-sm;
}
2015-07-02 18:33:37 +08:00
a {
color: @text-color-secondary;
2016-07-25 11:57:37 +08:00
transition: color .3s;
&:hover {
color: @primary-5;
}
2015-07-01 20:44:19 +08:00
}
2015-07-02 17:22:26 +08:00
& > span:last-child {
2016-03-30 19:30:16 +08:00
color: @text-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 {
margin: 0 @padding-xs;
color: @text-color-secondary;
2015-07-01 20:44:19 +08:00
}
2015-07-01 21:24:04 +08:00
&-link {
> .@{iconfont-css-prefix} + span {
margin-left: 4px;
}
2015-07-01 21:24:04 +08:00
}
2015-07-01 20:44:19 +08:00
}