63 lines
1.2 KiB
CSS
63 lines
1.2 KiB
CSS
what3words-autosuggest > .what3words-autosuggest {
|
|
position: absolute;
|
|
display: -ms-flexbox;
|
|
display: inherit;
|
|
-ms-flex-direction: column;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* ——— Tooltip Styles ———- */
|
|
|
|
.what3words_tooltip {
|
|
position: relative;
|
|
padding: 4px 8px;
|
|
border-radius: 100%;
|
|
font-size: 12px;
|
|
cursor: help;
|
|
display: inline-flex;
|
|
margin: 7px 0px 0px 405px;
|
|
border: 1px solid;
|
|
}
|
|
|
|
.what3words_tooltip .what3words_tooltiptext {
|
|
visibility: hidden;
|
|
width: 200px;
|
|
background-color: black;
|
|
color: #fff;
|
|
text-align: center;
|
|
border-radius: 6px;
|
|
padding: 5px 5px;
|
|
position: absolute;
|
|
z-index: 1;
|
|
bottom: 150%;
|
|
left: -100%;
|
|
margin-left: -68px;
|
|
white-space: normal;
|
|
}
|
|
|
|
.what3words_tooltip .what3words_tooltiptext a {
|
|
color: cornflowerblue;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.what3words_tooltip .what3words_tooltiptext::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 50%;
|
|
margin-left: -5px;
|
|
border-width: 5px;
|
|
border-style: solid;
|
|
border-color: black transparent transparent transparent;
|
|
}
|
|
|
|
.what3words_tooltip:hover .what3words_tooltiptext {
|
|
visibility: visible;
|
|
}
|
|
|
|
/* Hover states */
|
|
|
|
.what3words_tooltip:hover::before, .what3words_tooltip:hover::after {
|
|
opacity: 1;
|
|
}
|