mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-01 01:21:49 +02:00
Switch up some split button stuff
- New vars - New function for stripping units so we can combine rems and ems in math functions - Add new classes for sizing and spacing around the split dropdown toggle so that the caret isn't misaligned
This commit is contained in:
@@ -103,13 +103,19 @@
|
||||
//
|
||||
|
||||
// Give the line between buttons some depth
|
||||
.btn-group > .btn + .dropdown-toggle {
|
||||
padding-right: $split-btn-dropdown-toggle-padding-x;
|
||||
padding-left: $split-btn-dropdown-toggle-padding-x;
|
||||
}
|
||||
.btn-group > .btn-lg + .dropdown-toggle {
|
||||
padding-right: $split-btn-lg-dropdown-toggle-padding-x;
|
||||
padding-left: $split-btn-lg-dropdown-toggle-padding-x;
|
||||
.dropdown-toggle-split {
|
||||
padding-left: $btn-dropdown-toggle-split-l;
|
||||
padding-right: $btn-dropdown-toggle-split-r;
|
||||
|
||||
&.btn-sm {
|
||||
padding-left: $btn-dropdown-toggle-split-l-sm;
|
||||
padding-right: $btn-dropdown-toggle-split-r-sm;
|
||||
}
|
||||
|
||||
&.btn-lg {
|
||||
padding-left: $btn-dropdown-toggle-split-l-lg;
|
||||
padding-right: $btn-dropdown-toggle-split-r-lg;
|
||||
}
|
||||
}
|
||||
|
||||
// The clickable button for toggling the menu
|
||||
|
Reference in New Issue
Block a user