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:
偏右 2019-06-08 15:01:42 +08:00 committed by GitHub
commit 5168a5d23c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 3 deletions

View File

@ -78,11 +78,11 @@
&-submenu-title {
clear: both;
margin: 0;
padding: 5px @control-padding-horizontal;
padding: @dropdown-vertical-padding @control-padding-horizontal;
color: @text-color;
font-weight: normal;
font-size: @font-size-base;
line-height: 22px;
font-size: @dropdown-font-size;
line-height: @dropdown-line-height;
white-space: nowrap;
cursor: pointer;
transition: all 0.3s;

View File

@ -277,6 +277,11 @@
@animation-duration-base: 0.2s;
@animation-duration-fast: 0.1s; // Tooltip
//Dropdown
@dropdown-vertical-padding: 5px;
@dropdown-font-size: @font-size-base;
@dropdown-line-height: 22px;
// Form
// ---
@label-required-color: @highlight-color;