mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 04:36:19 +08:00
a25ec29fb8
* refactor: extract prefix cls as less variable * refactor: apply ant icon prefix cls in less files * refactor: all components support prefixCls props
37 lines
582 B
Plaintext
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;
|
|
}
|
|
}
|
|
}
|