1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

ability to change text color in popovers (#22221)

This commit is contained in:
Praveen Puglia 2017-03-29 03:51:47 +05:30 committed by Mark Otto
parent fb42d6e043
commit cb4bc89fdf
2 changed files with 4 additions and 0 deletions

View file

@ -132,6 +132,7 @@
padding: $popover-title-padding-y $popover-title-padding-x;
margin-bottom: 0; // Reset the default from Reboot
font-size: $font-size-base;
color: $popover-title-color;
background-color: $popover-title-bg;
border-bottom: $popover-border-width solid darken($popover-title-bg, 5%);
$offset-border-width: calc(#{$border-radius-lg} - #{$popover-border-width});
@ -144,6 +145,7 @@
.popover-content {
padding: $popover-content-padding-y $popover-content-padding-x;
color: $popover-content-color;
}

View file

@ -721,9 +721,11 @@ $popover-border-color: rgba($black,.2) !default;
$popover-box-shadow: 0 5px 10px rgba($black,.2) !default;
$popover-title-bg: darken($popover-bg, 3%) !default;
$popover-title-color: $headings-color !default;
$popover-title-padding-x: 14px !default;
$popover-title-padding-y: 8px !default;
$popover-content-color: $body-color !default;
$popover-content-padding-x: 14px !default;
$popover-content-padding-y: 9px !default;