-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathng-tooltip.css
69 lines (61 loc) · 1.21 KB
/
ng-tooltip.css
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
.smart-tooltip-wrapper {
position: fixed;
min-height: 30px;
min-width: 70px;
color: #000;
z-index: 1050;
opacity: 0;
}
.smart-tooltip-wrapper.animate {
transition: opacity 500ms ease;
}
.smart-tooltip-wrapper.open {
opacity: 1;
}
.smart-tooltip-wrapper .arrow {
width: 10px;
height: 10px;
position: absolute;
z-index: -1;
-ms-transform: rotate(45deg);
/* IE 9 */
-webkit-transform: rotate(45deg);
/* Chrome, Safari, Opera */
transform: rotate(45deg);
background-color: #fff;
}
.smart-tooltip-wrapper .arrow.up {
top: -6px;
left: 10px;
border-top: 1px solid;
border-left: 1px solid;
}
.smart-tooltip-wrapper .arrow.down {
bottom: -6px;
left: 10px;
border-bottom: 1px solid;
border-right: 1px solid;
}
.smart-tooltip-wrapper .arrow.right {
top: 10px;
right: -6px;
border-top: 1px solid;
border-right: 1px solid;
}
.smart-tooltip-wrapper .arrow.left {
top: 10px;
left: -6px;
border-bottom: 1px solid;
border-left: 1px solid;
}
/* not nested in .smart-tooltip-wrapper for easy override */
.tooltip-content {
margin: 0;
min-height: initial;
position: absolute;
padding: 5px;
z-index: -1;
background-color: #fff;
border: 1px solid;
border-radius: 4px;
}