add build tool for js + rename twipsy to tooltip + lots of little doc cleanup

This commit is contained in:
Jacob Thornton
2012-01-11 21:42:55 -08:00
parent 51e4e77034
commit 6f2f947a43
17 changed files with 297 additions and 172 deletions

2
lib/bootstrap.less vendored
View File

@@ -39,7 +39,7 @@
// Components: Popovers
@import "modals.less";
@import "twipsy.less";
@import "tooltip.less";
@import "popovers.less";
// Components: Buttons & Alerts

View File

@@ -90,6 +90,7 @@
display: block;
top: 30px;
.border-radius(5px);
&.large { top: 40px; }
}
.btn-group.open .dropdown-toggle {
background-image: none;

View File

@@ -1,9 +1,9 @@
// TWIPSY
// ------
// TOOLTIP
// ------=
.twipsy {
.tooltip {
position: absolute;
z-index: @zindexTwipsy;
z-index: @zindexTooltip;
display: block;
visibility: visible;
padding: 5px;
@@ -14,12 +14,12 @@
&.right { margin-left: 2px; }
&.bottom { margin-top: 2px; }
&.left { margin-left: -2px; }
&.top .twipsy-arrow { #popoverArrow > .top(); }
&.left .twipsy-arrow { #popoverArrow > .left(); }
&.bottom .twipsy-arrow { #popoverArrow > .bottom(); }
&.right .twipsy-arrow { #popoverArrow > .right(); }
&.top .tooltip-arrow { #popoverArrow > .top(); }
&.left .tooltip-arrow { #popoverArrow > .left(); }
&.bottom .tooltip-arrow { #popoverArrow > .bottom(); }
&.right .tooltip-arrow { #popoverArrow > .right(); }
}
.twipsy-inner {
.tooltip-inner {
max-width: 200px;
padding: 3px 8px;
color: white;
@@ -28,7 +28,7 @@
background-color: @black;
.border-radius(4px);
}
.twipsy-arrow {
.tooltip-arrow {
position: absolute;
width: 0;
height: 0;

View File

@@ -52,7 +52,7 @@
@zindexDropdown: 1000;
@zindexPopover: 1010;
@zindexTwipsy: 1020;
@zindexTooltip: 1020;
@zindexFixedNavbar: 1030;
@zindexModalBackdrop: 1040;
@zindexModal: 1050;