mirror of
https://github.com/derf/travelynx
synced 2024-12-12 22:12:32 +00:00
32 lines
600 B
SCSS
32 lines
600 B
SCSS
.material-tooltip {
|
|
padding: 10px 8px;
|
|
font-size: 1rem;
|
|
z-index: 2000;
|
|
background-color: transparent;
|
|
border-radius: 2px;
|
|
color: #fff;
|
|
min-height: 36px;
|
|
line-height: 120%;
|
|
opacity: 0;
|
|
position: absolute;
|
|
text-align: center;
|
|
max-width: calc(100% - 4px);
|
|
overflow: hidden;
|
|
left: 0;
|
|
top: 0;
|
|
pointer-events: none;
|
|
visibility: hidden;
|
|
background-color: #323232;
|
|
}
|
|
|
|
.backdrop {
|
|
position: absolute;
|
|
opacity: 0;
|
|
height: 7px;
|
|
width: 14px;
|
|
border-radius: 0 0 50% 50%;
|
|
background-color: #323232;
|
|
z-index: -1;
|
|
transform-origin: 50% 0%;
|
|
visibility: hidden;
|
|
}
|