Debian Codegraph @

debian/missing-sources/wyrm/sass/wyrm_addons/elements/_tooltip.sass

raw
1 // Tooltips
2 // --------
3
4 .wy-tooltip
5 position: absolute
6 z-index: $z_index_tooltip
7 display: block
8 visibility: visible
9 padding: 5px
10 font-size: 11px
11 opacity: 0
12 +transition(opacity 2.0s ease-in)
13 &.on
14 opacity: .8
15 &.top
16 margin-top: -2px
17 &.right
18 margin-left: 2px
19 &.bottom
20 margin-top: 2px
21 &.left
22 margin-left: -2px
23 &.top .wy-tooltip-arrow
24 +arrow-top
25 &.left .wy-tooltip-arrow
26 +arrow-left
27 &.bottom .wy-tooltip-arrow
28 +arrow-bot
29 &.right .wy-tooltip-arrow
30 +arrow-right
31
32 .wy-tooltip-inner
33 max-width: 200px
34 padding: $base-font-size / 2
35 color: $white
36 text-align: center
37 text-decoration: none
38 background-color: $black
39 border-radius: 4px
40
41 .wy-tooltip-arrow
42 position: absolute
43 width: 0
44 height: 0
45
46
47