| 1 |
@import "../start"; |
| 2 |
|
| 3 |
.fs-tooltip-trigger |
| 4 |
{ |
| 5 |
&:not(a) |
| 6 |
{ |
| 7 |
cursor: help; |
| 8 |
} |
| 9 |
|
| 10 |
position: relative; |
| 11 |
|
| 12 |
.dashicons { |
| 13 |
float: none !important; |
| 14 |
} |
| 15 |
|
| 16 |
.fs-tooltip |
| 17 |
{ |
| 18 |
opacity: 0; |
| 19 |
visibility: hidden; |
| 20 |
transition: opacity 0.3s ease-in-out; |
| 21 |
position: absolute; |
| 22 |
background: $tooltip-bkg-color; |
| 23 |
color: $tooltip-color !important; |
| 24 |
font-family: 'arial', serif; |
| 25 |
font-size: 12px; |
| 26 |
padding: 10px; |
| 27 |
z-index: 999999; |
| 28 |
bottom: 100%; |
| 29 |
margin-bottom: 5px; |
| 30 |
left: -17px; |
| 31 |
right: 0; |
| 32 |
border-radius: 5px; |
| 33 |
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2); |
| 34 |
line-height: 1.3em; |
| 35 |
font-weight: bold; |
| 36 |
text-align: left; |
| 37 |
text-transform: none !important; |
| 38 |
|
| 39 |
.rtl & |
| 40 |
{ |
| 41 |
text-align: right; |
| 42 |
left: auto; |
| 43 |
right: -17px; |
| 44 |
} |
| 45 |
|
| 46 |
&::after |
| 47 |
{ |
| 48 |
content: ' '; |
| 49 |
display: block; |
| 50 |
width: 0; |
| 51 |
height: 0; |
| 52 |
border-style: solid; |
| 53 |
border-width: 5px 5px 0 5px; |
| 54 |
border-color: $tooltip-bkg-color transparent transparent transparent; |
| 55 |
position: absolute; |
| 56 |
top: 100%; |
| 57 |
left: 21px; |
| 58 |
|
| 59 |
.rtl & |
| 60 |
{ |
| 61 |
right: 21px; |
| 62 |
left: auto; |
| 63 |
} |
| 64 |
} |
| 65 |
} |
| 66 |
|
| 67 |
&:hover |
| 68 |
{ |
| 69 |
.fs-tooltip |
| 70 |
{ |
| 71 |
visibility: visible; |
| 72 |
opacity: 1; |
| 73 |
} |
| 74 |
} |
| 75 |
} |
| 76 |
|