mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-21 18:54:30 +01:00
Extract $dropdown-padding-y variable
[skip sauce] [skip validator]
This commit is contained in:
parent
90e19380e8
commit
1f5621f46e
@ -43,7 +43,7 @@
|
|||||||
display: none; // none by default, but block on "open" of the menu
|
display: none; // none by default, but block on "open" of the menu
|
||||||
float: left;
|
float: left;
|
||||||
min-width: $dropdown-min-width;
|
min-width: $dropdown-min-width;
|
||||||
padding: 5px 0;
|
padding: $dropdown-padding-y 0;
|
||||||
margin: $dropdown-margin-top 0 0; // override default ul
|
margin: $dropdown-margin-top 0 0; // override default ul
|
||||||
font-size: $font-size-base;
|
font-size: $font-size-base;
|
||||||
color: $body-color;
|
color: $body-color;
|
||||||
@ -141,7 +141,7 @@
|
|||||||
// Dropdown section headers
|
// Dropdown section headers
|
||||||
.dropdown-header {
|
.dropdown-header {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 5px $dropdown-item-padding-x;
|
padding: $dropdown-padding-y $dropdown-item-padding-x;
|
||||||
font-size: $font-size-sm;
|
font-size: $font-size-sm;
|
||||||
color: $dropdown-header-color;
|
color: $dropdown-header-color;
|
||||||
white-space: nowrap; // as with > li > a
|
white-space: nowrap; // as with > li > a
|
||||||
|
@ -431,6 +431,7 @@ $form-icon-danger: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www
|
|||||||
// Dropdown menu container and contents.
|
// Dropdown menu container and contents.
|
||||||
|
|
||||||
$dropdown-min-width: 160px !default;
|
$dropdown-min-width: 160px !default;
|
||||||
|
$dropdown-padding-y: 5px !default;
|
||||||
$dropdown-margin-top: 2px !default;
|
$dropdown-margin-top: 2px !default;
|
||||||
$dropdown-bg: #fff !default;
|
$dropdown-bg: #fff !default;
|
||||||
$dropdown-border-color: rgba(0,0,0,.15) !default;
|
$dropdown-border-color: rgba(0,0,0,.15) !default;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user