2012-03-12 18:21:02 -07:00
|
|
|
/**
|
|
|
|
* @provides aphront-tooltip-css
|
|
|
|
*/
|
|
|
|
|
|
|
|
.jx-tooltip-container {
|
|
|
|
position: absolute;
|
2015-03-27 10:38:28 -07:00
|
|
|
padding: 5px;
|
2017-01-30 06:27:12 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.jx-tooltip-appear {
|
|
|
|
animation: 0.5s tooltip-appear;
|
|
|
|
|
|
|
|
/* Without this, there's a nasty pop-in effect at the end of the animation
|
|
|
|
when Safari changes font smoothing. The text becomes visibly more bold
|
|
|
|
after the last frame of animation. */
|
|
|
|
-webkit-font-smoothing: subpixel-antialiased;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes tooltip-appear {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2017-01-31 08:58:33 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.jx-tooltip-hidden {
|
|
|
|
opacity: 0;
|
2012-03-12 18:21:02 -07:00
|
|
|
}
|
|
|
|
|
2014-11-24 11:57:29 -08:00
|
|
|
.jx-tooltip-inner {
|
|
|
|
position: relative;
|
2017-01-31 08:58:33 -08:00
|
|
|
background: #000;
|
2014-11-24 11:57:29 -08:00
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
2012-03-12 18:21:02 -07:00
|
|
|
.jx-tooltip {
|
2017-01-31 22:02:00 -08:00
|
|
|
color: #fff;
|
2015-06-26 09:33:03 -07:00
|
|
|
font-size: {$normalfontsize};
|
2017-01-31 08:58:33 -08:00
|
|
|
-webkit-font-smoothing: antialiased;
|
2017-01-31 22:02:00 -08:00
|
|
|
font-weight: bold;
|
2014-11-24 11:57:29 -08:00
|
|
|
padding: 6px 8px;
|
2012-03-12 18:21:02 -07:00
|
|
|
overflow: hidden;
|
2012-05-21 10:24:23 -07:00
|
|
|
white-space: pre-wrap;
|
2012-03-12 18:21:02 -07:00
|
|
|
}
|
|
|
|
|
2012-12-08 16:51:01 -08:00
|
|
|
.jx-tooltip:after {
|
|
|
|
border: solid transparent;
|
|
|
|
content: " ";
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
2016-02-14 21:29:56 -08:00
|
|
|
border-color: rgba({$alphablack}, 0);
|
2012-12-08 16:51:01 -08:00
|
|
|
border-width: 5px;
|
|
|
|
}
|
|
|
|
|
2012-03-12 18:21:02 -07:00
|
|
|
.jx-tooltip-align-E {
|
2012-12-08 16:51:01 -08:00
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.jx-tooltip-align-E .jx-tooltip:after {
|
|
|
|
margin-top: -5px;
|
|
|
|
border-right-color: #000;
|
|
|
|
right: 100%;
|
|
|
|
top: 50%;
|
|
|
|
}
|
|
|
|
|
2014-11-24 11:57:29 -08:00
|
|
|
.jx-tooltip-align-E {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
2012-12-08 16:51:01 -08:00
|
|
|
.jx-tooltip-align-W .jx-tooltip:after {
|
|
|
|
margin-top: -5px;
|
|
|
|
border-left-color: #000;
|
|
|
|
left: 100%;
|
|
|
|
top: 50%;
|
2012-03-12 18:21:02 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.jx-tooltip-align-N {
|
2014-11-24 11:57:29 -08:00
|
|
|
margin-bottom: 5px;
|
2012-12-08 16:51:01 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.jx-tooltip-align-N .jx-tooltip:after {
|
|
|
|
margin-left: -5px;
|
|
|
|
border-top-color: #000;
|
|
|
|
top: 100%;
|
|
|
|
left: 50%;
|
|
|
|
}
|
|
|
|
|
2014-11-24 11:57:29 -08:00
|
|
|
.jx-tooltip-align-N {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
|
2012-12-08 16:51:01 -08:00
|
|
|
.jx-tooltip-align-S .jx-tooltip:after {
|
|
|
|
margin-left: -5px;
|
|
|
|
border-bottom-color: #000;
|
|
|
|
bottom: 100%;
|
|
|
|
left: 50%;
|
2012-03-12 18:21:02 -07:00
|
|
|
}
|