summaryrefslogtreecommitdiffstats
path: root/bower_components/bootstrap/less/popovers.less
diff options
context:
space:
mode:
Diffstat (limited to 'bower_components/bootstrap/less/popovers.less')
-rw-r--r--bower_components/bootstrap/less/popovers.less12
1 files changed, 5 insertions, 7 deletions
diff --git a/bower_components/bootstrap/less/popovers.less b/bower_components/bootstrap/less/popovers.less
index bf6af40..3a62a64 100644
--- a/bower_components/bootstrap/less/popovers.less
+++ b/bower_components/bootstrap/less/popovers.less
@@ -11,7 +11,11 @@
display: none;
max-width: @popover-max-width;
padding: 1px;
- text-align: left; // Reset given new insertion method
+ // Our parent element can be arbitrary since popovers are by default inserted as a sibling of their target element.
+ // So reset our font and text properties to avoid inheriting weird values.
+ .reset-text();
+ font-size: @font-size-base;
+
background-color: @popover-bg;
background-clip: padding-box;
border: 1px solid @popover-fallback-border-color;
@@ -19,9 +23,6 @@
border-radius: @border-radius-large;
.box-shadow(0 5px 10px rgba(0,0,0,.2));
- // Overrides for proper insertion
- white-space: normal;
-
// Offset the popover to account for the popover arrow
&.top { margin-top: -@popover-arrow-width; }
&.right { margin-left: @popover-arrow-width; }
@@ -33,8 +34,6 @@
margin: 0; // reset heading margin
padding: 8px 14px;
font-size: @font-size-base;
- font-weight: normal;
- line-height: 18px;
background-color: @popover-title-bg;
border-bottom: 1px solid darken(@popover-title-bg, 5%);
border-radius: (@border-radius-large - 1) (@border-radius-large - 1) 0 0;
@@ -129,5 +128,4 @@
bottom: -@popover-arrow-width;
}
}
-
}