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

42 lines
777 B
Plaintext
Raw Normal View History

@import "../../style/themes/default";
@import "../../style/mixins/index";
@breadcrumb-prefix-cls: ~"@{ant-prefix}-breadcrumb";
2015-07-01 20:44:19 +08:00
2015-08-20 16:55:42 +08:00
.@{breadcrumb-prefix-cls} {
.reset-component;
color: @breadcrumb-base-color;
font-size: @breadcrumb-font-size;
2015-07-01 20:44:19 +08:00
.@{iconfont-css-prefix} {
font-size: @breadcrumb-icon-font-size;
}
2015-07-02 18:33:37 +08:00
a {
color: @breadcrumb-link-color;
2016-07-25 11:57:37 +08:00
transition: color .3s;
&:hover {
color: @breadcrumb-link-color-hover;
}
2015-07-01 20:44:19 +08:00
}
2015-07-02 17:22:26 +08:00
& > span:last-child {
color: @breadcrumb-last-item-color;
2015-07-01 20:44:19 +08:00
}
2015-12-09 16:48:52 +08:00
& > span:last-child &-separator {
2015-07-02 17:22:26 +08:00
display: none;
}
2015-12-09 16:48:52 +08:00
&-separator {
margin: @breadcrumb-separator-margin;
color: @breadcrumb-separator-color;
2015-07-01 20:44:19 +08:00
}
2015-07-01 21:24:04 +08:00
&-link {
> .@{iconfont-css-prefix} + span {
margin-left: 4px;
}
2015-07-01 21:24:04 +08:00
}
2015-07-01 20:44:19 +08:00
}