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

37 lines
582 B
Plaintext
Raw Normal View History

@import "../../style/themes/default";
@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} {
2015-07-01 20:44:19 +08:00
color: #999;
2016-03-30 19:30:16 +08:00
font-size: @font-size-base;
2015-07-01 20:44:19 +08:00
2015-07-02 18:33:37 +08:00
a {
2016-03-30 19:30:16 +08:00
color: @text-color;
2016-07-25 11:57:37 +08:00
transition: color .3s;
&:hover {
color: tint(@primary-color, 20%);
}
2015-07-01 20:44:19 +08:00
}
2015-07-02 17:22:26 +08:00
& > span:last-child {
2015-07-01 20:44:19 +08:00
font-weight: bold;
2016-03-30 19:30:16 +08:00
color: @text-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 {
2015-07-01 20:44:19 +08:00
margin: 0 8px;
2016-03-04 17:06:39 +08:00
color: @border-color-base;
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
}