mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
Merge pull request #18821 from twbs/popover-vars
Add variables for padding of popover title & content
This commit is contained in:
commit
7be17b4a35
@ -103,7 +103,7 @@
|
|||||||
|
|
||||||
// Offset the popover to account for the popover arrow
|
// Offset the popover to account for the popover arrow
|
||||||
.popover-title {
|
.popover-title {
|
||||||
padding: 8px 14px;
|
padding: $popover-title-padding-y $popover-title-padding-x;
|
||||||
margin: 0; // reset heading margin
|
margin: 0; // reset heading margin
|
||||||
font-size: $font-size-base;
|
font-size: $font-size-base;
|
||||||
background-color: $popover-title-bg;
|
background-color: $popover-title-bg;
|
||||||
@ -113,7 +113,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.popover-content {
|
.popover-content {
|
||||||
padding: 9px 14px;
|
padding: $popover-content-padding-y $popover-content-padding-x;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -502,6 +502,11 @@ $popover-border-width: $border-width !default;
|
|||||||
$popover-border-color: rgba(0,0,0,.2) !default;
|
$popover-border-color: rgba(0,0,0,.2) !default;
|
||||||
|
|
||||||
$popover-title-bg: darken($popover-bg, 3%) !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-width: 10px !default;
|
||||||
$popover-arrow-color: $popover-bg !default;
|
$popover-arrow-color: $popover-bg !default;
|
||||||
|
Loading…
Reference in New Issue
Block a user