0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01: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;