}
}
+ &:only-child {
+ @include border-radius($card-border-radius);
+ }
+
&:not(:first-child):not(:last-child):not(:only-child) {
border-radius: 0;
border-radius: 0;
}
}
-
- &:only-child {
- @include border-radius($card-border-radius);
- }
}
}
}
@include caret;
}
-// Allow for dropdowns to go bottom up (aka, dropup-menu)
-// Just add .dropup after the standard .dropdown class and you're set.
-.dropup {
- .dropdown-menu {
- margin-top: 0;
- margin-bottom: $dropdown-spacer;
- }
-
- .dropdown-toggle {
- @include caret(up);
- }
-}
-
// The dropdown menu
.dropdown-menu {
position: absolute;
@include box-shadow($dropdown-box-shadow);
}
+// Allow for dropdowns to go bottom up (aka, dropup-menu)
+// Just add .dropup after the standard .dropdown class and you're set.
+.dropup {
+ .dropdown-menu {
+ margin-top: 0;
+ margin-bottom: $dropdown-spacer;
+ }
+
+ .dropdown-toggle {
+ @include caret(up);
+ }
+}
+
// Dividers (basically an `<hr>`) within the dropdown
.dropdown-divider {
@include nav-divider($dropdown-divider-bg);
height: $tooltip-arrow-height;
}
+ .arrow::before {
+ position: absolute;
+ border-color: transparent;
+ border-style: solid;
+ }
+
&.bs-tooltip-top {
padding: $tooltip-arrow-width 0;
.arrow {
@extend .bs-tooltip-left;
}
}
-
- .arrow::before {
- position: absolute;
- border-color: transparent;
- border-style: solid;
- }
}
// Wrapper for the tooltip content