File: /var/www/ippmt.kauko.lt/wp-content/plugins/ocean-elementor-widgets/assets/css/tooltip/style.scss
/*------------------------------------------------------------------
Tooltip
-------------------------------------------------------------------*/
#powerTip {
cursor: default;
background-color: #333;
background-color: rgba(0, 0, 0, 0.8);
border-radius: 6px;
color: #fff;
display: none;
padding: 10px;
position: absolute;
white-space: nowrap;
z-index: 2147483647;
p {
margin: 0;
}
&:before {
content: '';
position: absolute;
}
&.n, &.s {
&:before {
border-right: 5px solid transparent;
border-left: 5px solid transparent;
left: 50%;
margin-left: -5px;
}
}
&.e, &.w {
&:before {
border-bottom: 5px solid transparent;
border-top: 5px solid transparent;
margin-top: -5px;
top: 50%;
}
}
&.n:before {
border-top: 10px solid #333;
border-top: 10px solid rgba(0, 0, 0, 0.8);
bottom: -10px;
}
&.e:before {
border-right: 10px solid #333;
border-right: 10px solid rgba(0, 0, 0, 0.8);
left: -10px;
}
&.s:before {
border-bottom: 10px solid #333;
border-bottom: 10px solid rgba(0, 0, 0, 0.8);
top: -10px;
}
&.w:before {
border-left: 10px solid #333;
border-left: 10px solid rgba(0, 0, 0, 0.8);
right: -10px;
}
&.ne, &.se {
&:before {
border-right: 10px solid transparent;
border-left: 0;
left: 10px;
}
}
&.nw, &.sw {
&:before {
border-left: 10px solid transparent;
border-right: 0;
right: 10px;
}
}
&.ne, &.nw {
&:before {
border-top: 10px solid #333;
border-top: 10px solid rgba(0, 0, 0, 0.8);
bottom: -10px;
}
}
&.se, &.sw {
&:before {
border-bottom: 10px solid #333;
border-bottom: 10px solid rgba(0, 0, 0, 0.8);
top: -10px;
}
}
&.nw-alt, &.ne-alt,
&.sw-alt, &.se-alt {
&:before {
border-top: 10px solid #333;
border-top: 10px solid rgba(0, 0, 0, 0.8);
bottom: -10px;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
left: 10px;
}
}
&.ne-alt:before {
left: auto;
right: 10px;
}
&.sw-alt, &.se-alt {
&:before {
border-top: none;
border-bottom: 10px solid #333;
border-bottom: 10px solid rgba(0, 0, 0, 0.8);
bottom: auto;
top: -10px;
}
}
&.se-alt:before {
left: auto;
right: 10px;
}
}