163 lines
3.5 KiB
CSS
163 lines
3.5 KiB
CSS
.twipsy {
|
|
display: block;
|
|
position: absolute;
|
|
visibility: visible;
|
|
padding: 5px;
|
|
font-size: 11px;
|
|
z-index: 1000;
|
|
filter: alpha(opacity=80);
|
|
-khtml-opacity: 0.8;
|
|
-moz-opacity: 0.8;
|
|
opacity: 0.8;
|
|
}
|
|
.twipsy.fade.in {
|
|
filter: alpha(opacity=80);
|
|
-khtml-opacity: 0.8;
|
|
-moz-opacity: 0.8;
|
|
opacity: 0.8;
|
|
}
|
|
.twipsy.above .twipsy-arrow {
|
|
bottom: 0;
|
|
left: 50%;
|
|
margin-left: -5px;
|
|
border-left: 5px solid transparent;
|
|
border-right: 5px solid transparent;
|
|
border-top: 5px solid #000000;
|
|
}
|
|
.twipsy.left .twipsy-arrow {
|
|
top: 50%;
|
|
right: 0;
|
|
margin-top: -5px;
|
|
border-top: 5px solid transparent;
|
|
border-bottom: 5px solid transparent;
|
|
border-left: 5px solid #000000;
|
|
}
|
|
.twipsy.below .twipsy-arrow {
|
|
top: 0;
|
|
left: 50%;
|
|
margin-left: -5px;
|
|
border-left: 5px solid transparent;
|
|
border-right: 5px solid transparent;
|
|
border-bottom: 5px solid #000000;
|
|
}
|
|
.twipsy.right .twipsy-arrow {
|
|
top: 50%;
|
|
left: 0;
|
|
margin-top: -5px;
|
|
border-top: 5px solid transparent;
|
|
border-bottom: 5px solid transparent;
|
|
border-right: 5px solid #000000;
|
|
}
|
|
.twipsy-inner {
|
|
padding: 3px 8px;
|
|
background-color: #000000;
|
|
color: white;
|
|
text-align: center;
|
|
max-width: 200px;
|
|
text-decoration: none;
|
|
-webkit-border-radius: 4px;
|
|
-moz-border-radius: 4px;
|
|
border-radius: 4px;
|
|
}
|
|
.twipsy-arrow {
|
|
position: absolute;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
.popover {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 1000;
|
|
padding: 5px;
|
|
display: none;
|
|
}
|
|
.popover.above .arrow {
|
|
bottom: 0;
|
|
left: 50%;
|
|
margin-left: -5px;
|
|
border-left: 5px solid transparent;
|
|
border-right: 5px solid transparent;
|
|
border-top: 5px solid #000000;
|
|
}
|
|
.popover.right .arrow {
|
|
top: 50%;
|
|
left: 0;
|
|
margin-top: -5px;
|
|
border-top: 5px solid transparent;
|
|
border-bottom: 5px solid transparent;
|
|
border-right: 5px solid #000000;
|
|
}
|
|
.popover.below .arrow {
|
|
top: 0;
|
|
left: 50%;
|
|
margin-left: -5px;
|
|
border-left: 5px solid transparent;
|
|
border-right: 5px solid transparent;
|
|
border-bottom: 5px solid #000000;
|
|
}
|
|
.popover.left .arrow {
|
|
top: 50%;
|
|
right: 0;
|
|
margin-top: -5px;
|
|
border-top: 5px solid transparent;
|
|
border-bottom: 5px solid transparent;
|
|
border-left: 5px solid #000000;
|
|
}
|
|
.popover .arrow {
|
|
position: absolute;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
.popover .inner {
|
|
background-color: #000000;
|
|
background-color: rgba(0, 0, 0, 0.8);
|
|
padding: 3px;
|
|
overflow: hidden;
|
|
width: 280px;
|
|
-webkit-border-radius: 6px;
|
|
-moz-border-radius: 6px;
|
|
border-radius: 6px;
|
|
-webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
|
|
-moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
|
|
box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
|
|
}
|
|
.popover .title {
|
|
background-color: #f5f5f5;
|
|
padding: 9px 15px;
|
|
line-height: 1;
|
|
-webkit-border-radius: 3px 3px 0 0;
|
|
-moz-border-radius: 3px 3px 0 0;
|
|
border-radius: 3px 3px 0 0;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
.popover .content {
|
|
background-color: #ffffff;
|
|
padding: 14px;
|
|
-webkit-border-radius: 0 0 3px 3px;
|
|
-moz-border-radius: 0 0 3px 3px;
|
|
border-radius: 0 0 3px 3px;
|
|
-webkit-background-clip: padding-box;
|
|
-moz-background-clip: padding-box;
|
|
background-clip: padding-box;
|
|
}
|
|
.popover .content p, .popover .content ul, .popover .content ol {
|
|
margin-bottom: 0;
|
|
}
|
|
.fade {
|
|
-webkit-transition: opacity 0.15s linear;
|
|
-moz-transition: opacity 0.15s linear;
|
|
-ms-transition: opacity 0.15s linear;
|
|
-o-transition: opacity 0.15s linear;
|
|
transition: opacity 0.15s linear;
|
|
opacity: 0;
|
|
}
|
|
.fade.in {
|
|
opacity: 1;
|
|
}
|
|
|
|
/* hacks */
|
|
.popover h3 {
|
|
margin-bottom: 0;
|
|
font-weight: bold;
|
|
}
|