0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Add variables for padding of popover title & content

[skip sauce]
[skip validator]
This commit is contained in:
Chris Rebert 2016-01-09 14:46:04 -08:00
parent f646ed7920
commit c919746a4f
2 changed files with 7 additions and 2 deletions

View File

@ -103,7 +103,7 @@
// Offset the popover to account for the popover arrow
.popover-title {
padding: 8px 14px;
padding: $popover-title-padding-y $popover-title-padding-x;
margin: 0; // reset heading margin
font-size: $font-size-base;
background-color: $popover-title-bg;
@ -113,7 +113,7 @@
}
.popover-content {
padding: 9px 14px;
padding: $popover-content-padding-y $popover-content-padding-x;
}

View File

@ -501,6 +501,11 @@ $popover-border-width: $border-width !default;
$popover-border-color: rgba(0,0,0,.2) !default;
$popover-title-bg: darken($popover-bg, 3%) !default;
$popover-title-padding-x: 14px !default;
$popover-title-padding-y: 8px !default;
$popover-content-padding-x: 14px !default;
$popover-content-padding-y: 9px !default;
$popover-arrow-width: 10px !default;
$popover-arrow-color: $popover-bg !default;