-
-
Notifications
You must be signed in to change notification settings - Fork 533
/
Copy pathstyles.js
72 lines (61 loc) · 1.12 KB
/
styles.js
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
export default `
.rt-tooltip {
visibility: hidden;
width: max-content;
position: absolute;
top: 0;
left: 0;
padding: 8px 16px;
border-radius: 3px;
font-size: 90%;
pointer-events: none;
opacity: 0;
transition: opacity 0.3s ease-out;
will-change: opacity, visibility;
}
.rt-fixed {
position: fixed;
}
.rt-arrow {
position: absolute;
background: inherit;
width: 8px;
height: 8px;
transform: rotate(45deg);
}
.rt-noArrow {
display: none;
}
.rt-clickable {
pointer-events: auto;
}
.rt-show {
visibility: visible;
opacity: var(--rt-opacity);
}
/** Types variant **/
.rt-dark {
background: var(--rt-color-dark);
color: var(--rt-color-white);
}
.rt-light {
background-color: var(--rt-color-white);
color: var(--rt-color-dark);
}
.rt-success {
background-color: var(--rt-color-success);
color: var(--rt-color-white);
}
.rt-warning {
background-color: var(--rt-color-warning);
color: var(--rt-color-white);
}
.rt-error {
background-color: var(--rt-color-error);
color: var(--rt-color-white);
}
.rt-info {
background-color: var(--rt-color-info);
color: var(--rt-color-white);
}
`