so://phie

outline

A web-based drawing app
git clone git://soophie.de/outline

blob: c6f95bfbf4ed68f4c56a09c06e7fba02d1f40dac (607 bytes)[doc][blame][raw]

1.tooltip {

2 position: relative;

3 display: flex;

4 justify-content: center;

5 align-items: center;

6

7 &:hover {

8

9 &::before {

10 opacity: 0.95;

11 transition-delay: 0.6s;

12 }

13

14 &::after {

15 opacity: 0.95;

16 transition-delay: 0.6s;

17 }

18 }

19

20 &::after {

21 display: flex;

22 opacity: 0;

23 content: attr(data-title);

24 justify-content: center;

25 align-items: center;

26 position: absolute;

27 background: @brand-black;

28 color: white;

29 min-height: 24px;

30 padding: 0 12px;

31 border-radius: 999px;

32 font-size: 12px;

33 top: auto;

34 bottom: -64%;

35 white-space: nowrap;

36 z-index: 9999;

37 pointer-events: none;

38 }

39}