mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
36 lines
780 B
Plaintext
36 lines
780 B
Plaintext
// TWIPSY
|
|
// ------
|
|
|
|
.twipsy {
|
|
position: absolute;
|
|
z-index: 1000;
|
|
display: block;
|
|
visibility: visible;
|
|
padding: 5px;
|
|
font-size: 11px;
|
|
.opacity(0);
|
|
&.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(); }
|
|
&.right .twipsy-arrow { #popoverArrow > .right(); }
|
|
}
|
|
.twipsy-inner {
|
|
max-width: 200px;
|
|
padding: 3px 8px;
|
|
color: white;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
background-color: @black;
|
|
.border-radius(4px);
|
|
}
|
|
.twipsy-arrow {
|
|
position: absolute;
|
|
width: 0;
|
|
height: 0;
|
|
}
|