forked from ReactTooltip/react-tooltip
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.module.css
More file actions
58 lines (47 loc) · 1.01 KB
/
styles.module.css
File metadata and controls
58 lines (47 loc) · 1.01 KB
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
.tooltip {
padding: 8px 16px;
border-radius: 3px;
font-size: 90%;
width: max-content;
}
.arrow {
width: var(--rt-arrow-size);
height: var(--rt-arrow-size);
}
[class*='react-tooltip__place-top'] > .arrow {
transform: rotate(45deg);
}
[class*='react-tooltip__place-right'] > .arrow {
transform: rotate(135deg);
}
[class*='react-tooltip__place-bottom'] > .arrow {
transform: rotate(225deg);
}
[class*='react-tooltip__place-left'] > .arrow {
transform: rotate(315deg);
}
/** Types variant **/
.dark {
background: var(--rt-color-dark);
color: var(--rt-color-white);
}
.light {
background-color: var(--rt-color-white);
color: var(--rt-color-dark);
}
.success {
background-color: var(--rt-color-success);
color: var(--rt-color-white);
}
.warning {
background-color: var(--rt-color-warning);
color: var(--rt-color-white);
}
.error {
background-color: var(--rt-color-error);
color: var(--rt-color-white);
}
.info {
background-color: var(--rt-color-info);
color: var(--rt-color-white);
}