2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

Tooltip positionning on special cases

This commit is contained in:
Guillaume Gautreau
2013-01-26 13:50:26 +01:00
parent 01b465928e
commit 6803ff70f9
2 changed files with 65 additions and 9 deletions
+4 -5
View File
@@ -9,15 +9,14 @@
z-index: @zindexTooltip;
display: block;
visibility: visible;
padding: 5px;
font-size: 11px;
line-height: 1.4;
.opacity(0);
&.in { .opacity(80); }
&.top { margin-top: -3px; }
&.right { margin-left: 3px; }
&.bottom { margin-top: 3px; }
&.left { margin-left: -3px; }
&.top { margin-top: -3px; padding: 5px 0;}
&.right { margin-left: 3px; padding: 0 5px;}
&.bottom { margin-top: 3px; padding: 5px 0;}
&.left { margin-left: -3px; padding: 0 5px;}
}
// Wrapper for the tooltip content