-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontent.css
More file actions
83 lines (76 loc) · 1.65 KB
/
Copy pathcontent.css
File metadata and controls
83 lines (76 loc) · 1.65 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
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
/* HighlightVault — Content Script Styles */
/* Tooltip */
.hv-tooltip {
position: absolute;
z-index: 2147483647;
display: flex;
align-items: center;
gap: 8px;
padding: 8px 12px;
background: #FFFFFF;
border-radius: 10px;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.08);
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
animation: hv-fadein 150ms ease-out;
pointer-events: auto;
width: 180px;
justify-content: center;
}
@keyframes hv-fadein {
from {
opacity: 0;
transform: scale(0.95);
}
to {
opacity: 1;
transform: scale(1.0);
}
}
.hv-color-dot {
width: 20px;
height: 20px;
border-radius: 50%;
border: 2px solid transparent;
cursor: pointer;
transition: transform 120ms ease, border-color 120ms ease;
flex-shrink: 0;
}
.hv-color-dot:hover {
transform: scale(1.2);
border-color: #7C3AED;
}
/* Highlight marks */
mark[data-highlight-id] {
border-radius: 2px;
padding: 0;
cursor: pointer;
position: relative;
}
/* Delete button on highlight */
.hv-delete-btn {
position: absolute;
top: -10px;
right: -10px;
z-index: 2147483646;
width: 20px;
height: 20px;
border-radius: 50%;
background: #FFFFFF;
color: #1A1A1A;
border: 1px solid #E5E7EB;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
font-size: 12px;
line-height: 18px;
text-align: center;
cursor: pointer;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
animation: hv-fadein 150ms ease-out;
display: flex;
align-items: center;
justify-content: center;
}
.hv-delete-btn:hover {
background: #FEE2E2;
border-color: #EF4444;
color: #EF4444;
}