mirror of
https://github.com/jasny/bootstrap.git
synced 2026-04-24 03:00:49 -04:00
add build tool for js + rename twipsy to tooltip + lots of little doc cleanup
This commit is contained in:
2
lib/bootstrap.less
vendored
2
lib/bootstrap.less
vendored
@@ -39,7 +39,7 @@
|
||||
|
||||
// Components: Popovers
|
||||
@import "modals.less";
|
||||
@import "twipsy.less";
|
||||
@import "tooltip.less";
|
||||
@import "popovers.less";
|
||||
|
||||
// Components: Buttons & Alerts
|
||||
|
||||
@@ -90,6 +90,7 @@
|
||||
display: block;
|
||||
top: 30px;
|
||||
.border-radius(5px);
|
||||
&.large { top: 40px; }
|
||||
}
|
||||
.btn-group.open .dropdown-toggle {
|
||||
background-image: none;
|
||||
|
||||
@@ -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;
|
||||
@@ -52,7 +52,7 @@
|
||||
|
||||
@zindexDropdown: 1000;
|
||||
@zindexPopover: 1010;
|
||||
@zindexTwipsy: 1020;
|
||||
@zindexTooltip: 1020;
|
||||
@zindexFixedNavbar: 1030;
|
||||
@zindexModalBackdrop: 1040;
|
||||
@zindexModal: 1050;
|
||||
|
||||
Reference in New Issue
Block a user