-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyle.css
55 lines (47 loc) · 884 Bytes
/
style.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
.tooltip {
position: fixed;
top: 0;
right: 0;
background-color: #fff;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
z-index: 9999;
padding: 10px 0;
/* Add the animation */
animation: slideDown 0.5s ease-in;
}
/* Keyframes for the slide down animation */
@keyframes slideDown {
from {
/* Start with the tooltip hidden above the top of the screen */
top: -100%;
}
to {
/* End with the tooltip in its normal position */
top: 0;
}
}
.tooltip-title {
padding-left: 10px;
font-weight: bold;
}
.tooltip-options-list {
max-height: 200px;
overflow-y: scroll;
}
.tooltip-option {
padding: 5px 10px;
cursor: pointer;
}
.tooltip-option:hover {
background-color: #f0f0f0;
}
.tooltip-close-button {
border: none;
background-color: black;
color: white;
font: inherit;
cursor: pointer;
position: absolute;
top: 0;
right: 0;
}