-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
45 lines (42 loc) · 876 Bytes
/
styles.css
File metadata and controls
45 lines (42 loc) · 876 Bytes
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
.cs__anchor {
position: relative;
display: inline-block;
}
.cs__tooltiptext {
font-size: 14px;
font-weight: 400;
visibility: hidden;
width: fit-content;
background-color: #555;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 5px 8px;
position: fixed;
z-index: 2147483647;
opacity: 0;
transition: opacity 0.3s;
outline: none;
display: none;
pointer-events: auto;
transform: translateZ(0);
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.cs__anchor .cs__tooltiptext::before {
content: "";
position: absolute;
top: 100%;
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: #555 transparent transparent transparent;
}
.cs__tooltiptext.visible {
visibility: visible !important;
opacity: 1 !important;
display: block !important;
}
.cs__tooltiptext:hover {
cursor: pointer;
}