ant-design/components/breadcrumb/style/index.less
偏右 9053192ae9 Fix component style (#7848)
* fix components style

* fix snapshot

* update travis node version

* change upload action in ci
2017-10-11 12:01:27 +08:00

41 lines
671 B
Plaintext

@import "../../style/themes/default";
@import "../../style/mixins/index";
@breadcrumb-prefix-cls: ~"@{ant-prefix}-breadcrumb";
.@{breadcrumb-prefix-cls} {
.reset-component;
color: @text-color-secondary;
.@{iconfont-css-prefix} {
font-size: @font-size-sm;
}
a {
color: @text-color-secondary;
transition: color .3s;
&:hover {
color: @primary-5;
}
}
& > span:last-child {
color: @text-color;
}
& > span:last-child &-separator {
display: none;
}
&-separator {
margin: 0 @padding-xs;
color: @text-color-secondary;
}
&-link {
> .@{iconfont-css-prefix} + span {
margin-left: 4px;
}
}
}