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

41 lines
671 B
Plaintext
Raw Normal View History

2018-01-15 10:52:16 +08:00
@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;
}
}
}