-
Notifications
You must be signed in to change notification settings - Fork 65
/
tippy.css
114 lines (94 loc) · 2.23 KB
/
tippy.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
.tippy-box[data-animation=fade][data-state=hidden] {
opacity: 0
}
[data-tippy-root] {
max-width: calc(100vw - 10px)
}
.tippy-box {
position: relative;
background-color: #444;
color: #fff;
border-radius: 4px;
font-size: 14px;
font-family: 'Inter var';
font-weight: 400;
line-height: 1.4;
white-space: normal;
outline: 0;
transition-property: transform, visibility, opacity
}
.tippy-box[data-placement^=top]>.tippy-arrow {
bottom: 0
}
.tippy-box[data-placement^=top]>.tippy-arrow:before {
bottom: -7px;
left: 0;
border-width: 8px 8px 0;
border-top-color: initial;
transform-origin: center top
}
.tippy-box[data-placement^=bottom]>.tippy-arrow {
top: 0
}
.tippy-box[data-placement^=bottom]>.tippy-arrow:before {
top: -7px;
left: 0;
border-width: 0 8px 8px;
border-bottom-color: initial;
transform-origin: center bottom
}
.tippy-box[data-placement^=left]>.tippy-arrow {
right: 0
}
.tippy-box[data-placement^=left]>.tippy-arrow:before {
border-width: 8px 0 8px 8px;
border-left-color: initial;
right: -7px;
transform-origin: center left
}
.tippy-box[data-placement^=right]>.tippy-arrow {
left: 0
}
.tippy-box[data-placement^=right]>.tippy-arrow:before {
left: -7px;
border-width: 8px 8px 8px 0;
border-right-color: initial;
transform-origin: center right
}
.tippy-box[data-inertia][data-state=visible] {
transition-timing-function: cubic-bezier(.54, 1.5, .38, 1.11)
}
.tippy-arrow {
width: 16px;
height: 16px;
color: #444
}
.tippy-arrow:before {
content: "";
position: absolute;
border-color: transparent;
border-style: solid
}
.tippy-content {
position: relative;
padding: 5px 9px;
z-index: 1
}
.tippy-box[data-theme~='error'] {
background-color: #BF360C;
}
.tippy-box[data-theme~='error'][data-placement^='top']>.tippy-arrow::before {
border-top-color: #BF360C;
}
.tippy-box[data-theme~='error'][data-placement^='bottom']>.tippy-arrow::before {
border-bottom-color: #BF360C;
}
.tippy-box[data-theme~='error'][data-placement^='left']>.tippy-arrow::before {
border-left-color: #BF360C;
}
.tippy-box[data-theme~='error'][data-placement^='right']>.tippy-arrow::before {
border-right-color: #BF360C;
}
.tippy-box[data-theme~='monospace'] {
font-family: 'Commit Mono';
}