2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

resolve merge conflict

This commit is contained in:
Mark Otto
2011-07-01 22:16:29 -07:00
5 changed files with 273 additions and 50 deletions
+67
View File
@@ -506,3 +506,70 @@ div.modal {
}
}
}
// Twipsy
// ------
div.twipsy {
display: block;
position: absolute;
visibility: visible;
padding: 5px;
font-size: 10px;
z-index: 100000;
.opacity(80);
&.above {
.twipsy-arrow {
bottom: 0;
left: 50%;
margin-left: -5px;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 5px solid #000;
}
}
&.left {
.twipsy-arrow {
top: 50%;
right: 0;
margin-top: -5px;
border-top: 5px solid transparent;
border-bottom: 5px solid transparent;
border-left: 5px solid #000;
}
}
&.below {
.twipsy-arrow {
top:0;
left:50%;
margin-left: -5px;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 5px solid #000;
}
}
&.right {
.twipsy-arrow {
top: 50%;
left: 0;
margin-top: -5px;
border-top: 5px solid transparent;
border-bottom: 5px solid transparent;
border-right: 5px solid #000;
}
}
.twipsy-inner {
padding: 5px 8px 4px;
background-color: #000;
color: white;
text-align: center;
max-width: 200px;
text-decoration:none;
.border-radius(4px);
}
.twipsy-arrow {
position: absolute;
width: 0;
height: 0;
}
}