ant-design/components/breadcrumb/style/index.less
偏右 759b0bb821 seperate reset styles (#7682)
* seperate reset styles

* not reset ul/ol/p/heading

* revert reset.less idea

* move label style into ant-form-item, #5851

* revert reset.less idea

* update base.less

* Better typography from bootstrap@4

use reboot replace normalize

ref:
b4d84b9cdf/scss/_reboot.scss

close #6162
2017-09-22 18:33:29 +08:00

37 lines
577 B
Plaintext

@import "../../style/themes/default";
@import "../../style/mixins/index";
@breadcrumb-prefix-cls: ~"@{ant-prefix}-breadcrumb";
.@{breadcrumb-prefix-cls} {
.reset-component;
a {
color: @text-color;
transition: color .3s;
&:hover {
color: @primary-5;
}
}
& > span:last-child {
font-weight: 500;
color: @text-color;
}
& > span:last-child &-separator {
display: none;
}
&-separator {
margin: 0 8px;
color: rgba(0, 0, 0, 0.3);
}
&-link {
> .@{iconfont-css-prefix} + span {
margin-left: 4px;
}
}
}