mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-18 11:18:14 +08:00
feat: less vars for select and anchor (#18444)
This commit is contained in:
parent
721a545211
commit
021e9af227
@ -27,7 +27,7 @@
|
||||
width: @anchor-border-width;
|
||||
height: 100%;
|
||||
margin: 0 auto;
|
||||
background-color: @border-color-split;
|
||||
background-color: @anchor-border-color;
|
||||
content: ' ';
|
||||
}
|
||||
&-ball {
|
||||
|
@ -443,7 +443,7 @@
|
||||
// https://github.com/ant-design/ant-design/issues/11456
|
||||
// https://github.com/ant-design/ant-design/issues/11843
|
||||
font-variant: initial;
|
||||
background-color: @component-background;
|
||||
background-color: @select-dropdown-bg;
|
||||
border-radius: @border-radius-base;
|
||||
outline: none;
|
||||
box-shadow: @box-shadow-base;
|
||||
@ -528,7 +528,7 @@
|
||||
&-selected {
|
||||
color: @text-color;
|
||||
font-weight: @select-item-selected-font-weight;
|
||||
background-color: @background-color-light;
|
||||
background-color: @select-item-selected-bg;
|
||||
}
|
||||
|
||||
&-disabled {
|
||||
@ -542,7 +542,7 @@
|
||||
}
|
||||
|
||||
&-active:not(&-disabled) {
|
||||
background-color: @item-active-bg;
|
||||
background-color: @select-item-active-bg;
|
||||
}
|
||||
|
||||
&-divider {
|
||||
|
@ -326,6 +326,13 @@
|
||||
// ---
|
||||
@select-border-color: @border-color-base;
|
||||
@select-item-selected-font-weight: 600;
|
||||
@select-dropdown-bg: @component-background;
|
||||
@select-item-selected-bg: @background-color-light;
|
||||
@select-item-active-bg: @item-active-bg;
|
||||
|
||||
// Anchor
|
||||
// ---
|
||||
@anchor-border-color: @border-color-split;
|
||||
|
||||
// Tooltip
|
||||
// ---
|
||||
|
Loading…
Reference in New Issue
Block a user