summaryrefslogtreecommitdiffstats
path: root/debian/missing-sources/wyrm/sass/wyrm_addons/elements/_tooltip.sass
blob: 11e4b9416b59eb448b3e04a41cb2b655063c91ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// Tooltips
// --------

.wy-tooltip
  position: absolute
  z-index: $z_index_tooltip
  display: block
  visibility: visible
  padding: 5px
  font-size: 11px
  opacity: 0
  +transition(opacity 2.0s ease-in)
  &.on
    opacity: .8
  &.top
    margin-top: -2px
  &.right
    margin-left: 2px
  &.bottom
    margin-top: 2px
  &.left
    margin-left: -2px
  &.top .wy-tooltip-arrow
    +arrow-top
  &.left .wy-tooltip-arrow
    +arrow-left
  &.bottom .wy-tooltip-arrow
    +arrow-bot
  &.right .wy-tooltip-arrow
    +arrow-right

.wy-tooltip-inner
  max-width: 200px
  padding: $base-font-size / 2
  color: $white
  text-align: center
  text-decoration: none
  background-color: $black
  border-radius: 4px

.wy-tooltip-arrow
  position: absolute
  width: 0
  height: 0