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