Reverted layer promotion for tooltips
This commit is contained in:
parent
bf0b64afd3
commit
541b441fd9
@ -1,6 +1,6 @@
|
|||||||
const tip-opacity = 0.97
|
const tip-opacity = 0.97
|
||||||
const tip-transform-hidden = rotate(0.02deg) translateX(-50%) translateY(-80%)
|
const tip-transform-hidden = translateX(-50%) translateY(-80%)
|
||||||
const tip-transform-visible = rotate(0.02deg) translateX(-50%) translateY(-100%)
|
const tip-transform-visible = translateX(-50%) translateY(-100%)
|
||||||
|
|
||||||
mixin tip-before
|
mixin tip-before
|
||||||
content attr(aria-label)
|
content attr(aria-label)
|
||||||
@ -10,7 +10,6 @@ mixin tip-before
|
|||||||
z-index 100000
|
z-index 100000
|
||||||
pointer-events none
|
pointer-events none
|
||||||
opacity 0
|
opacity 0
|
||||||
will-change opacity
|
|
||||||
transform tip-transform-hidden
|
transform tip-transform-hidden
|
||||||
font-size 0.92rem
|
font-size 0.92rem
|
||||||
color text-color
|
color text-color
|
||||||
@ -31,7 +30,6 @@ mixin tip-after
|
|||||||
z-index 100001
|
z-index 100001
|
||||||
pointer-events none
|
pointer-events none
|
||||||
opacity 0
|
opacity 0
|
||||||
will-change opacity
|
|
||||||
width 0
|
width 0
|
||||||
height 0
|
height 0
|
||||||
border-style solid
|
border-style solid
|
||||||
|
Loading…
Reference in New Issue
Block a user