diff options
author | Thomas Park <thomas@thomaspark.co> | 2015-06-16 21:40:15 -0400 |
---|---|---|
committer | Thomas Park <thomas@thomaspark.co> | 2015-06-16 21:40:15 -0400 |
commit | ea56c37ca9674f0155448699918650bbfcfbb888 (patch) | |
tree | 12b2d28dc05b533adb55e0ff344c41df36d51301 /bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_popovers.scss | |
parent | 06885df3cfbb7d498f59dc5ac61a4cc1cc4f6dc2 (diff) |
update bootstrap to 3.3.5
Diffstat (limited to 'bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_popovers.scss')
-rw-r--r-- | bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_popovers.scss | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_popovers.scss b/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_popovers.scss index 699c7b8d..9b90a2e9 100644 --- a/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_popovers.scss +++ b/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_popovers.scss @@ -11,12 +11,11 @@ display: none; max-width: $popover-max-width; padding: 1px; - // Reset font and text properties given new insertion method - font-family: $font-family-base; + // 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. + @include reset-text; font-size: $font-size-base; - font-weight: normal; - line-height: $line-height-base; - text-align: left; + background-color: $popover-bg; background-clip: padding-box; border: 1px solid $popover-fallback-border-color; @@ -24,9 +23,6 @@ border-radius: $border-radius-large; @include 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; } |