2012-03-13 02:21:02 +01:00
|
|
|
/**
|
|
|
|
* @provides aphront-tooltip-css
|
|
|
|
*/
|
|
|
|
|
|
|
|
.jx-tooltip-container {
|
|
|
|
position: absolute;
|
2015-03-27 18:38:28 +01:00
|
|
|
padding: 5px;
|
2018-11-15 13:03:47 +01:00
|
|
|
|
|
|
|
/* In Chrome, moving the cursor into the empty space next to the "caret" on
|
|
|
|
the caret side of the tooltip can cause the tooltip to flicker rapidly
|
|
|
|
because the cursor hits the container. To stop this, prevent cursor
|
|
|
|
events on the container. See T8440. */
|
|
|
|
pointer-events: none;
|
2017-01-30 15:27:12 +01: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 17:58:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.jx-tooltip-hidden {
|
|
|
|
opacity: 0;
|
2012-03-13 02:21:02 +01:00
|
|
|
}
|
|
|
|
|
2014-11-24 20:57:29 +01:00
|
|
|
.jx-tooltip-inner {
|
|
|
|
position: relative;
|
2017-01-31 17:58:33 +01:00
|
|
|
background: #000;
|
2014-11-24 20:57:29 +01:00
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
2012-03-13 02:21:02 +01:00
|
|
|
.jx-tooltip {
|
2017-02-01 07:02:00 +01:00
|
|
|
color: #fff;
|
2015-06-26 18:33:03 +02:00
|
|
|
font-size: {$normalfontsize};
|
2017-01-31 17:58:33 +01:00
|
|
|
-webkit-font-smoothing: antialiased;
|
2017-02-01 07:02:00 +01:00
|
|
|
font-weight: bold;
|
2014-11-24 20:57:29 +01:00
|
|
|
padding: 6px 8px;
|
2012-03-13 02:21:02 +01:00
|
|
|
overflow: hidden;
|
2012-05-21 19:24:23 +02:00
|
|
|
white-space: pre-wrap;
|
2012-03-13 02:21:02 +01:00
|
|
|
}
|
|
|
|
|
2012-12-09 01:51:01 +01:00
|
|
|
.jx-tooltip:after {
|
|
|
|
border: solid transparent;
|
|
|
|
content: " ";
|
|
|
|
height: 0;
|
|
|
|
width: 0;
|
|
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
2016-02-15 06:29:56 +01:00
|
|
|
border-color: rgba({$alphablack}, 0);
|
2012-12-09 01:51:01 +01:00
|
|
|
border-width: 5px;
|
|
|
|
}
|
|
|
|
|
2012-03-13 02:21:02 +01:00
|
|
|
.jx-tooltip-align-E {
|
2012-12-09 01:51:01 +01: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 20:57:29 +01:00
|
|
|
.jx-tooltip-align-E {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
2012-12-09 01:51:01 +01:00
|
|
|
.jx-tooltip-align-W .jx-tooltip:after {
|
|
|
|
margin-top: -5px;
|
|
|
|
border-left-color: #000;
|
|
|
|
left: 100%;
|
|
|
|
top: 50%;
|
2012-03-13 02:21:02 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.jx-tooltip-align-N {
|
2014-11-24 20:57:29 +01:00
|
|
|
margin-bottom: 5px;
|
2012-12-09 01:51:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.jx-tooltip-align-N .jx-tooltip:after {
|
|
|
|
margin-left: -5px;
|
|
|
|
border-top-color: #000;
|
|
|
|
top: 100%;
|
|
|
|
left: 50%;
|
|
|
|
}
|
|
|
|
|
2014-11-24 20:57:29 +01:00
|
|
|
.jx-tooltip-align-N {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
|
2012-12-09 01:51:01 +01:00
|
|
|
.jx-tooltip-align-S .jx-tooltip:after {
|
|
|
|
margin-left: -5px;
|
|
|
|
border-bottom-color: #000;
|
|
|
|
bottom: 100%;
|
|
|
|
left: 50%;
|
2012-03-13 02:21:02 +01:00
|
|
|
}
|