2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03:00

Add border-radius to dropdown items (#27703)

This commit is contained in:
Roy Klutman
2018-11-21 23:24:13 +01:00
committed by XhmikosR
parent 31d6d03c47
commit e7e43edf65
2 changed files with 9 additions and 0 deletions
+8
View File
@@ -136,6 +136,14 @@
background-color: transparent; // For `<button>`s
border: 0; // For `<button>`s
&:first-child {
@include border-top-radius($dropdown-inner-border-radius);
}
&:last-child {
@include border-bottom-radius($dropdown-inner-border-radius);
}
@include hover-focus {
color: $dropdown-link-hover-color;
text-decoration: none;
+1
View File
@@ -657,6 +657,7 @@ $dropdown-bg: $white !default;
$dropdown-border-color: rgba($black, .15) !default;
$dropdown-border-radius: $border-radius !default;
$dropdown-border-width: $border-width !default;
$dropdown-inner-border-radius: calc(#{$dropdown-border-radius} - #{$dropdown-border-width}) !default;
$dropdown-divider-bg: $gray-200 !default;
$dropdown-box-shadow: 0 .5rem 1rem rgba($black, .175) !default;