aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-07-26 23:42:36 -0700
committerMark Otto <[email protected]>2012-07-26 23:42:36 -0700
commit6474190746fd163375200119b9d2cc7066e05d43 (patch)
tree4324e61d40a9e0cb89090ad5d5661d02851c55fd /less
parent79067721b110a60e24637cf3996cb0ffe9350475 (diff)
downloadbootstrap-6474190746fd163375200119b9d2cc7066e05d43.tar.xz
bootstrap-6474190746fd163375200119b9d2cc7066e05d43.zip
increase height of homepage jumbotron, update vars and styles of popovers
Diffstat (limited to 'less')
-rw-r--r--less/popovers.less9
-rw-r--r--less/variables.less5
2 files changed, 8 insertions, 6 deletions
diff --git a/less/popovers.less b/less/popovers.less
index 147f54a5d..2b3f1b059 100644
--- a/less/popovers.less
+++ b/less/popovers.less
@@ -9,8 +9,9 @@
left: 0;
z-index: @zindexPopover;
display: none;
- width: 238px;
- background-color: #fff;
+ width: 236px;
+ padding: 1px;
+ background-color: @popoverBackground;
-webkit-background-clip: padding-box;
-moz-background-clip: padding;
background-clip: padding-box;
@@ -34,7 +35,7 @@
font-weight: normal;
line-height: 18px;
background-color: @popoverTitleBackground;
- border-bottom: 1px solid darken(@popoverTitleBackground, 10%);
+ border-bottom: 1px solid darken(@popoverTitleBackground, 5%);
.border-radius(5px 5px 0 0);
}
@@ -92,7 +93,7 @@
left: 50%;
margin-left: -@popoverArrowWidth;
border-width: 0 @popoverArrowWidth @popoverArrowWidth;
- border-bottom-color: @popoverTitleBackground;
+ border-bottom-color: @popoverArrowColor;
&:after {
border-width: 0 @popoverArrowOuterWidth @popoverArrowOuterWidth;
border-bottom-color: @popoverArrowOuterColor;
diff --git a/less/variables.less b/less/variables.less
index ae5cd5e00..0e3e13f41 100644
--- a/less/variables.less
+++ b/less/variables.less
@@ -205,13 +205,14 @@
@tooltipArrowWidth: 5px;
@tooltipArrowColor: @tooltipBackground;
+@popoverBackground: #fff;
@popoverArrowWidth: 10px;
@popoverArrowColor: #fff;
-@popoverTitleBackground: #f5f5f5;
+@popoverTitleBackground: darken(@popoverBackground, 3%);
// Special enhancement for popovers
@popoverArrowOuterWidth: @popoverArrowWidth + 1;
-@popoverArrowOuterColor: rgba(0,0,0,.2);
+@popoverArrowOuterColor: rgba(0,0,0,.25);