mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-04 21:17:36 +08:00
1659aef02d
* chore: sync ant-design v4.20.7 * fix style build * clean the style * fix dropdown overlay * remove cdk styles * fix dropdown overwrite styles * fix doc styles
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;
|
|
}
|
|
}
|