mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 23:00:30 +00:00
34 lines
658 B
Plaintext
34 lines
658 B
Plaintext
@import '../constants/dimensions';
|
|
|
|
.tooltip {
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
|
|
.tooltip__bubble {
|
|
position: fixed;
|
|
left: -999999px;
|
|
opacity: 0;
|
|
background: var(--color-bg);
|
|
border: 1px solid var(--hl-sm);
|
|
box-shadow: 0 0 1em rgba(0, 0, 0, 0.1);
|
|
color: var(--color-font);
|
|
padding: @padding-xs @padding-md;
|
|
border-radius: @radius-sm;
|
|
font-size: @font-size-sm;
|
|
max-width: 18rem;
|
|
text-align: center;
|
|
z-index: 10;
|
|
white-space: normal !important;
|
|
|
|
&.tooltip__bubble--visible {
|
|
opacity: 1;
|
|
z-index: 99999;
|
|
transition: opacity 200ms;
|
|
|
|
// Back to normal
|
|
height: auto;
|
|
line-height: normal;
|
|
}
|
|
}
|