Project

General

Profile

1
/*! UIkit 2.27.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
2
/* ========================================================================
3
   Component: Tooltip
4
 ========================================================================== */
5
/*
6
 * 1. Hide by default
7
 * 2. Set fixed position
8
 * 3. Set dimensions
9
 * 4. Set style
10
 */
11
.uk-tooltip {
12
  /* 1 */
13
  display: none;
14
  /* 2 */
15
  position: absolute;
16
  z-index: 1030;
17
  /* 3 */
18
  box-sizing: border-box;
19
  max-width: 200px;
20
  padding: 5px 8px;
21
  /* 4 */
22
  background: #333;
23
  color: rgba(255, 255, 255, 0.7);
24
  font-size: 12px;
25
  line-height: 18px;
26
  word-break: break-all;
27
  border-radius: 3px;
28
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
29
}
30
/* Triangle
31
 ========================================================================== */
32
/*
33
 * 1. Dashed is less antialised than solid
34
 */
35
.uk-tooltip:after {
36
  content: "";
37
  display: block;
38
  position: absolute;
39
  width: 0;
40
  height: 0;
41
  /* 1 */
42
  border: 5px dashed #333;
43
}
44
/* Direction modifiers
45
 ========================================================================== */
46
/*
47
 * Top
48
 */
49
.uk-tooltip-top:after,
50
.uk-tooltip-top-left:after,
51
.uk-tooltip-top-right:after {
52
  bottom: -5px;
53
  border-top-style: solid;
54
  border-bottom: none;
55
  border-left-color: transparent;
56
  border-right-color: transparent;
57
  border-top-color: #333;
58
}
59
/*
60
 * Bottom
61
 */
62
.uk-tooltip-bottom:after,
63
.uk-tooltip-bottom-left:after,
64
.uk-tooltip-bottom-right:after {
65
  top: -5px;
66
  border-bottom-style: solid;
67
  border-top: none;
68
  border-left-color: transparent;
69
  border-right-color: transparent;
70
  border-bottom-color: #333;
71
}
72
/*
73
 * Top/Bottom center
74
 */
75
.uk-tooltip-top:after,
76
.uk-tooltip-bottom:after {
77
  left: 50%;
78
  margin-left: -5px;
79
}
80
/*
81
 * Top/Bottom left
82
 */
83
.uk-tooltip-top-left:after,
84
.uk-tooltip-bottom-left:after {
85
  left: 10px;
86
}
87
/*
88
 * Top/Bottom right
89
 */
90
.uk-tooltip-top-right:after,
91
.uk-tooltip-bottom-right:after {
92
  right: 10px;
93
}
94
/*
95
 * Left
96
 */
97
.uk-tooltip-left:after {
98
  right: -5px;
99
  top: 50%;
100
  margin-top: -5px;
101
  border-left-style: solid;
102
  border-right: none;
103
  border-top-color: transparent;
104
  border-bottom-color: transparent;
105
  border-left-color: #333;
106
}
107
/*
108
 * Right
109
 */
110
.uk-tooltip-right:after {
111
  left: -5px;
112
  top: 50%;
113
  margin-top: -5px;
114
  border-right-style: solid;
115
  border-left: none;
116
  border-top-color: transparent;
117
  border-bottom-color: transparent;
118
  border-right-color: #333;
119
}
(115-115/126)