mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 01:19:45 +08:00
662f3ade06
* add accessibility to the breadcrumb component * feat: add accessibility to the breadcrumb component * test: breadcrumb accessibility
62 lines
1016 B
Plaintext
62 lines
1016 B
Plaintext
@import '../../style/themes/index';
|
|
@import '../../style/mixins/index';
|
|
|
|
@breadcrumb-prefix-cls: ~'@{ant-prefix}-breadcrumb';
|
|
|
|
.@{breadcrumb-prefix-cls} {
|
|
.reset-component();
|
|
|
|
color: @breadcrumb-base-color;
|
|
font-size: @breadcrumb-font-size;
|
|
|
|
.@{iconfont-css-prefix} {
|
|
font-size: @breadcrumb-icon-font-size;
|
|
}
|
|
|
|
ol {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
a {
|
|
color: @breadcrumb-link-color;
|
|
transition: color 0.3s;
|
|
|
|
&:hover {
|
|
color: @breadcrumb-link-color-hover;
|
|
}
|
|
}
|
|
|
|
li:last-child {
|
|
color: @breadcrumb-last-item-color;
|
|
|
|
a {
|
|
color: @breadcrumb-last-item-color;
|
|
}
|
|
}
|
|
|
|
li:last-child &-separator {
|
|
display: none;
|
|
}
|
|
|
|
&-separator {
|
|
margin: @breadcrumb-separator-margin;
|
|
color: @breadcrumb-separator-color;
|
|
}
|
|
|
|
&-link {
|
|
> .@{iconfont-css-prefix} + span,
|
|
> .@{iconfont-css-prefix} + a {
|
|
margin-left: 4px;
|
|
}
|
|
}
|
|
|
|
&-overlay-link {
|
|
> .@{iconfont-css-prefix} {
|
|
margin-left: 4px;
|
|
}
|
|
}
|
|
}
|
|
|
|
@import './rtl';
|