mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 05:28:20 +08:00
Merge pull request #16996 from alxkosov/add_vars_to_customization_dropdown
feat: added three variables to allow customization of the dropdown list
This commit is contained in:
commit
5168a5d23c
@ -78,11 +78,11 @@
|
|||||||
&-submenu-title {
|
&-submenu-title {
|
||||||
clear: both;
|
clear: both;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 5px @control-padding-horizontal;
|
padding: @dropdown-vertical-padding @control-padding-horizontal;
|
||||||
color: @text-color;
|
color: @text-color;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: @font-size-base;
|
font-size: @dropdown-font-size;
|
||||||
line-height: 22px;
|
line-height: @dropdown-line-height;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: all 0.3s;
|
transition: all 0.3s;
|
||||||
|
@ -277,6 +277,11 @@
|
|||||||
@animation-duration-base: 0.2s;
|
@animation-duration-base: 0.2s;
|
||||||
@animation-duration-fast: 0.1s; // Tooltip
|
@animation-duration-fast: 0.1s; // Tooltip
|
||||||
|
|
||||||
|
//Dropdown
|
||||||
|
@dropdown-vertical-padding: 5px;
|
||||||
|
@dropdown-font-size: @font-size-base;
|
||||||
|
@dropdown-line-height: 22px;
|
||||||
|
|
||||||
// Form
|
// Form
|
||||||
// ---
|
// ---
|
||||||
@label-required-color: @highlight-color;
|
@label-required-color: @highlight-color;
|
||||||
|
Loading…
Reference in New Issue
Block a user