2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03:00

add default margin for popover and twipsy

This commit is contained in:
Jacob Thornton
2011-12-20 22:12:23 -08:00
parent 0980a33b47
commit c4364285e4
4 changed files with 44 additions and 6 deletions
+5 -3
View File
@@ -9,9 +9,11 @@
padding: 5px;
font-size: 11px;
.opacity(0);
&.in {
.opacity(80);
}
&.in { .opacity(80); }
&.above { margin-top: -2px; }
&.right { margin-left: 2px; }
&.below { margin-top: 2px; }
&.left { margin-left: -2px; }
&.above .twipsy-arrow { #popoverArrow > .above(); }
&.left .twipsy-arrow { #popoverArrow > .left(); }
&.below .twipsy-arrow { #popoverArrow > .below(); }