ant-design/components/breadcrumb/style/index.less
马斯特 a25ec29fb8 refactor: 保证所有的tsx和less都正确使用prefix (#3024)
* refactor: extract prefix cls as less variable

* refactor: apply ant icon prefix cls in less files

* refactor: all components support prefixCls props
2016-09-14 16:18:33 +08:00

37 lines
582 B
Plaintext

@import "../../style/themes/default";
@breadcrumb-prefix-cls: ~"@{ant-prefix}-breadcrumb";
.@{breadcrumb-prefix-cls} {
color: #999;
font-size: @font-size-base;
a {
color: @text-color;
transition: color .3s;
&:hover {
color: tint(@primary-color, 20%);
}
}
& > span:last-child {
font-weight: bold;
color: @text-color;
}
& > span:last-child &-separator {
display: none;
}
&-separator {
margin: 0 8px;
color: @border-color-base;
}
&-link {
> .@{iconfont-css-prefix} + span {
margin-left: 4px;
}
}
}