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;
|
width: @anchor-border-width;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
background-color: @border-color-split;
|
background-color: @anchor-border-color;
|
||||||
content: ' ';
|
content: ' ';
|
||||||
}
|
}
|
||||||
&-ball {
|
&-ball {
|
||||||
|
@ -443,7 +443,7 @@
|
|||||||
// https://github.com/ant-design/ant-design/issues/11456
|
// https://github.com/ant-design/ant-design/issues/11456
|
||||||
// https://github.com/ant-design/ant-design/issues/11843
|
// https://github.com/ant-design/ant-design/issues/11843
|
||||||
font-variant: initial;
|
font-variant: initial;
|
||||||
background-color: @component-background;
|
background-color: @select-dropdown-bg;
|
||||||
border-radius: @border-radius-base;
|
border-radius: @border-radius-base;
|
||||||
outline: none;
|
outline: none;
|
||||||
box-shadow: @box-shadow-base;
|
box-shadow: @box-shadow-base;
|
||||||
@ -528,7 +528,7 @@
|
|||||||
&-selected {
|
&-selected {
|
||||||
color: @text-color;
|
color: @text-color;
|
||||||
font-weight: @select-item-selected-font-weight;
|
font-weight: @select-item-selected-font-weight;
|
||||||
background-color: @background-color-light;
|
background-color: @select-item-selected-bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-disabled {
|
&-disabled {
|
||||||
@ -542,7 +542,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&-active:not(&-disabled) {
|
&-active:not(&-disabled) {
|
||||||
background-color: @item-active-bg;
|
background-color: @select-item-active-bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-divider {
|
&-divider {
|
||||||
|
@ -326,6 +326,13 @@
|
|||||||
// ---
|
// ---
|
||||||
@select-border-color: @border-color-base;
|
@select-border-color: @border-color-base;
|
||||||
@select-item-selected-font-weight: 600;
|
@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
|
// Tooltip
|
||||||
// ---
|
// ---
|
||||||
|
Loading…
Reference in New Issue
Block a user