summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/bootstrap/_tooltip.scss
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2012-08-24 21:12:36 -0700
committerelijah <elijah@riseup.net>2012-08-24 21:12:36 -0700
commit627f0488e5bd3c31359fc9e78acffbfea4a86a8b (patch)
treef7b14733e314cf82d5fa3e18cbe9d98c2ffe5c7c /app/assets/stylesheets/bootstrap/_tooltip.scss
parentb774dea07f97b078fa17e5dcbf901d1c83fed0d6 (diff)
committed website v. 0.1.0
Diffstat (limited to 'app/assets/stylesheets/bootstrap/_tooltip.scss')
-rw-r--r--app/assets/stylesheets/bootstrap/_tooltip.scss35
1 files changed, 35 insertions, 0 deletions
diff --git a/app/assets/stylesheets/bootstrap/_tooltip.scss b/app/assets/stylesheets/bootstrap/_tooltip.scss
new file mode 100644
index 0000000..89d77f9
--- /dev/null
+++ b/app/assets/stylesheets/bootstrap/_tooltip.scss
@@ -0,0 +1,35 @@
+// TOOLTIP
+// -------
+
+.tooltip {
+ position: absolute;
+ z-index: $zindexTooltip;
+ display: block;
+ visibility: visible;
+ padding: 5px;
+ font-size: 11px;
+ @include opacity(0);
+ &.in { @include opacity(80); }
+ &.top { margin-top: -2px; }
+ &.right { margin-left: 2px; }
+ &.bottom { margin-top: 2px; }
+ &.left { margin-left: -2px; }
+ &.top .tooltip-arrow { @include popoverArrow-top(); }
+ &.left .tooltip-arrow { @include popoverArrow-left(); }
+ &.bottom .tooltip-arrow { @include popoverArrow-bottom(); }
+ &.right .tooltip-arrow { @include popoverArrow-right(); }
+}
+.tooltip-inner {
+ max-width: 200px;
+ padding: 3px 8px;
+ color: $white;
+ text-align: center;
+ text-decoration: none;
+ background-color: $black;
+ @include border-radius(4px);
+}
+.tooltip-arrow {
+ position: absolute;
+ width: 0;
+ height: 0;
+}