aboutsummaryrefslogtreecommitdiff
path: root/docs/assets/css/bootstrap.css
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-07-09 22:14:30 -0700
committerMark Otto <[email protected]>2012-07-09 22:14:30 -0700
commit64e87a85f5e17e3cf603b97e21d58b077060e7b2 (patch)
treea7766fb158d90f846042fd7f676cddedd00ceddd /docs/assets/css/bootstrap.css
parentf4877c236968ba61ac76f4862bba49e0354c60e5 (diff)
downloadbootstrap-64e87a85f5e17e3cf603b97e21d58b077060e7b2.tar.xz
bootstrap-64e87a85f5e17e3cf603b97e21d58b077060e7b2.zip
remove popoverarrows mixin, relegate code to tooltips and popvers since we only used them once each; this fixes the problem of broken tooltips in 2.1
Diffstat (limited to 'docs/assets/css/bootstrap.css')
-rw-r--r--docs/assets/css/bootstrap.css249
1 files changed, 100 insertions, 149 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css
index 52dbf7a1c..f8edafa3b 100644
--- a/docs/assets/css/bootstrap.css
+++ b/docs/assets/css/bootstrap.css
@@ -4603,91 +4603,19 @@ input[type="submit"].btn.btn-mini {
}
.tooltip.top {
- margin-top: -2px;
+ margin-top: -3px;
}
.tooltip.right {
- margin-left: 2px;
+ margin-left: 3px;
}
.tooltip.bottom {
- margin-top: 2px;
+ margin-top: 3px;
}
.tooltip.left {
- margin-left: -2px;
-}
-
-.tooltip.top .tooltip-arrow {
- bottom: -10px;
- left: 50%;
- margin-left: -10px;
- border-top: 10px solid #cccccc;
- border-top: 10px solid rgba(0, 0, 0, 0.2);
- border-right: 10px solid transparent;
- border-left: 10px solid transparent;
-}
-
-.tooltip.top .tooltip-arrow:after {
- bottom: 1px;
- left: -9px;
- border-top: 9px solid #ffffff;
- border-right: 9px solid transparent;
- border-left: 9px solid transparent;
-}
-
-.tooltip.left .tooltip-arrow {
- top: 50%;
- right: -10px;
- margin-top: -10px;
- border-top: 10px solid transparent;
- border-bottom: 10px solid transparent;
- border-left: 10px solid #cccccc;
- border-left: 10px solid rgba(0, 0, 0, 0.2);
-}
-
-.tooltip.left .tooltip-arrow:after {
- right: 1px;
- bottom: -9px;
- border-top: 9px solid transparent;
- border-bottom: 9px solid transparent;
- border-left: 9px solid #ffffff;
-}
-
-.tooltip.bottom .tooltip-arrow {
- top: -10px;
- left: 50%;
- margin-left: -10px;
- border-right: 10px solid transparent;
- border-bottom: 10px solid #cccccc;
- border-bottom: 10px solid rgba(0, 0, 0, 0.2);
- border-left: 10px solid transparent;
-}
-
-.tooltip.bottom .tooltip-arrow:after {
- top: 1px;
- left: -9px;
- border-right: 9px solid transparent;
- border-bottom: 9px solid #f5f5f5;
- border-left: 9px solid transparent;
-}
-
-.tooltip.right .tooltip-arrow {
- top: 50%;
- left: -10px;
- margin-top: -10px;
- border-top: 10px solid transparent;
- border-right: 10px solid #cccccc;
- border-right: 10px solid rgba(0, 0, 0, 0.2);
- border-bottom: 10px solid transparent;
-}
-
-.tooltip.right .tooltip-arrow:after {
- bottom: -9px;
- left: 1px;
- border-top: 9px solid transparent;
- border-right: 9px solid #ffffff;
- border-bottom: 9px solid transparent;
+ margin-left: -3px;
}
.tooltip-inner {
@@ -4706,6 +4634,40 @@ input[type="submit"].btn.btn-mini {
position: absolute;
width: 0;
height: 0;
+ border-color: transparent;
+ border-style: solid;
+}
+
+.tooltip.top .tooltip-arrow {
+ bottom: 0;
+ left: 50%;
+ margin-left: -5px;
+ border-top-color: #000000;
+ border-width: 5px 5px 0;
+}
+
+.tooltip.right .tooltip-arrow {
+ top: 50%;
+ left: 0;
+ margin-top: -5px;
+ border-right-color: #000000;
+ border-width: 5px 5px 5px 0;
+}
+
+.tooltip.left .tooltip-arrow {
+ top: 50%;
+ right: 0;
+ margin-top: -5px;
+ border-left-color: #000000;
+ border-width: 5px 0 5px 5px;
+}
+
+.tooltip.bottom .tooltip-arrow {
+ top: 0;
+ left: 50%;
+ margin-left: -5px;
+ border-bottom-color: #000000;
+ border-width: 0 5px 5px;
}
.popover {
@@ -4745,113 +4707,102 @@ input[type="submit"].btn.btn-mini {
margin-right: 10px;
}
+.popover-title {
+ padding: 8px 14px;
+ margin: 0;
+ font-size: 14px;
+ font-weight: normal;
+ line-height: 18px;
+ background-color: #f5f5f5;
+ border-bottom: 1px solid #dcdcdc;
+ -webkit-border-radius: 5px 5px 0 0;
+ -moz-border-radius: 5px 5px 0 0;
+ border-radius: 5px 5px 0 0;
+}
+
+.popover-content {
+ padding: 9px 14px;
+}
+
+.popover-content p,
+.popover-content ul,
+.popover-content ol {
+ margin-bottom: 0;
+}
+
+.popover .arrow,
+.popover .arrow:after {
+ position: absolute;
+ display: inline-block;
+ width: 0;
+ height: 0;
+ border-color: transparent;
+ border-style: solid;
+}
+
+.popover .arrow:after {
+ z-index: -1;
+ content: "";
+}
+
.popover.top .arrow {
bottom: -10px;
left: 50%;
margin-left: -10px;
- border-top: 10px solid #cccccc;
- border-top: 10px solid rgba(0, 0, 0, 0.2);
- border-right: 10px solid transparent;
- border-left: 10px solid transparent;
+ border-top-color: #ffffff;
+ border-width: 10px 10px 0;
}
.popover.top .arrow:after {
- bottom: 1px;
- left: -9px;
- border-top: 9px solid #ffffff;
- border-right: 9px solid transparent;
- border-left: 9px solid transparent;
+ bottom: -1px;
+ left: -11px;
+ border-top-color: rgba(0, 0, 0, 0.2);
+ border-width: 11px 11px 0;
}
.popover.right .arrow {
top: 50%;
left: -10px;
margin-top: -10px;
- border-top: 10px solid transparent;
- border-right: 10px solid #cccccc;
- border-right: 10px solid rgba(0, 0, 0, 0.2);
- border-bottom: 10px solid transparent;
+ border-right-color: #ffffff;
+ border-width: 10px 10px 10px 0;
}
.popover.right .arrow:after {
- bottom: -9px;
- left: 1px;
- border-top: 9px solid transparent;
- border-right: 9px solid #ffffff;
- border-bottom: 9px solid transparent;
+ bottom: -11px;
+ left: -1px;
+ border-right-color: rgba(0, 0, 0, 0.2);
+ border-width: 11px 11px 11px 0;
}
.popover.bottom .arrow {
top: -10px;
left: 50%;
margin-left: -10px;
- border-right: 10px solid transparent;
- border-bottom: 10px solid #cccccc;
- border-bottom: 10px solid rgba(0, 0, 0, 0.2);
- border-left: 10px solid transparent;
+ border-bottom-color: #f5f5f5;
+ border-width: 0 10px 10px;
}
.popover.bottom .arrow:after {
- top: 1px;
- left: -9px;
- border-right: 9px solid transparent;
- border-bottom: 9px solid #f5f5f5;
- border-left: 9px solid transparent;
+ top: -1px;
+ left: -11px;
+ border-bottom-color: rgba(0, 0, 0, 0.2);
+ border-width: 0 11px 11px;
}
.popover.left .arrow {
top: 50%;
right: -10px;
margin-top: -10px;
- border-top: 10px solid transparent;
- border-bottom: 10px solid transparent;
- border-left: 10px solid #cccccc;
- border-left: 10px solid rgba(0, 0, 0, 0.2);
+ border-left-color: #ffffff;
+ border-width: 10px 0 10px 10px;
}
.popover.left .arrow:after {
- right: 1px;
- bottom: -9px;
- border-top: 9px solid transparent;
- border-bottom: 9px solid transparent;
- border-left: 9px solid #ffffff;
-}
-
-.popover .arrow {
- position: absolute;
- width: 0;
- height: 0;
-}
-
-.popover .arrow:after {
- position: absolute;
- display: inline-block;
- width: 0;
- height: 0;
- content: "";
-}
-
-.popover-title {
- padding: 8px 14px;
- margin: 0;
- font-size: 14px;
- font-weight: normal;
- line-height: 18px;
- background-color: #f5f5f5;
- border-bottom: 1px solid #e5e5e5;
- -webkit-border-radius: 5px 5px 0 0;
- -moz-border-radius: 5px 5px 0 0;
- border-radius: 5px 5px 0 0;
-}
-
-.popover-content {
- padding: 9px 14px;
-}
-
-.popover-content p,
-.popover-content ul,
-.popover-content ol {
- margin-bottom: 0;
+ right: -1px;
+ bottom: -11px;
+ border-left-color: rgba(0, 0, 0, 0.2);
+ border-width: 11px 0 11px 11px;
}
.thumbnails {