mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-04 08:59:40 +08:00
b445baa001
* chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2 Bumps [stylelint-config-prettier](https://github.com/prettier/stylelint-config-prettier) from 8.0.2 to 9.0.2. - [Release notes](https://github.com/prettier/stylelint-config-prettier/releases) - [Commits](https://github.com/prettier/stylelint-config-prettier/compare/v8.0.2...v9.0.2) --- updated-dependencies: - dependency-name: stylelint-config-prettier dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * chore: autofix stylelint errors * chore: autofix stylelint errors Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: afc163 <afc163@gmail.com>
50 lines
1.0 KiB
Plaintext
50 lines
1.0 KiB
Plaintext
@import (reference) '../../style/themes/index';
|
|
@menu-prefix-cls: ~'@{ant-prefix}-menu';
|
|
|
|
.@{menu-prefix-cls} {
|
|
// Danger
|
|
&-item-danger&-item {
|
|
color: @menu-highlight-danger-color;
|
|
|
|
&:hover,
|
|
&-active {
|
|
color: @menu-highlight-danger-color;
|
|
}
|
|
|
|
&:active {
|
|
background: @menu-item-active-danger-bg;
|
|
}
|
|
|
|
&-selected {
|
|
color: @menu-highlight-danger-color;
|
|
|
|
> a,
|
|
> a:hover {
|
|
color: @menu-highlight-danger-color;
|
|
}
|
|
}
|
|
|
|
.@{menu-prefix-cls}:not(.@{menu-prefix-cls}-horizontal) &-selected {
|
|
background-color: @menu-item-active-danger-bg;
|
|
}
|
|
|
|
.@{menu-prefix-cls}-inline &::after {
|
|
border-right-color: @menu-highlight-danger-color;
|
|
}
|
|
}
|
|
|
|
// ==================== Dark ====================
|
|
&-dark &-item-danger&-item {
|
|
&,
|
|
&:hover,
|
|
& > a {
|
|
color: @menu-dark-danger-color;
|
|
}
|
|
}
|
|
|
|
&-dark&-dark:not(&-horizontal) &-item-danger&-item-selected {
|
|
color: @menu-dark-highlight-color;
|
|
background-color: @menu-dark-item-active-danger-bg;
|
|
}
|
|
}
|