-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcontent.css
More file actions
128 lines (111 loc) · 2.37 KB
/
Copy pathcontent.css
File metadata and controls
128 lines (111 loc) · 2.37 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
:root {
--color-primary: #0a0a0a;
--color-accent: #ff6b00;
--font-mono: 'JetBrains Mono', monospace;
}
.tag-marker-highlight {
border-radius: 0;
padding: 1px 3px;
cursor: pointer;
transition: all 0.15s ease;
position: relative;
border: 1px solid transparent;
}
.tag-marker-highlight:hover {
opacity: 0.85;
border-color: var(--color-primary);
box-shadow: 2px 2px 0 var(--color-primary);
transform: translate(-1px, -1px);
}
.tag-marker-highlighting {
animation: markerPulse 0.5s ease-in-out 3;
}
@keyframes markerPulse {
0%, 100% {
transform: scale(1);
}
50% {
transform: scale(1.03);
}
}
/* Tooltip */
.tag-marker-tooltip {
position: absolute;
z-index: 2147483647;
background: #f5f5f5;
border: 2px solid #0a0a0a;
box-shadow: 4px 4px 0 rgba(10, 10, 10, 0.2);
font-family: var(--font-mono);
animation: tooltipFadeIn 0.15s ease;
max-width: 280px;
}
.tag-marker-tooltip.tag-marker-context-menu {
box-shadow: 4px 4px 0 rgba(10, 10, 10, 0.3);
}
@keyframes tooltipFadeIn {
from {
opacity: 0;
transform: translateY(-2px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.tag-marker-tooltip-content {
padding: 10px;
}
.tag-marker-tooltip-title {
font-size: 11px;
font-weight: 700;
color: #0a0a0a;
margin-bottom: 8px;
padding-bottom: 6px;
border-bottom: 2px solid #0a0a0a;
letter-spacing: 0.05em;
text-transform: uppercase;
}
.tag-marker-tooltip-tags {
display: flex;
flex-direction: column;
gap: 6px;
max-height: 200px;
overflow-y: auto;
}
.tag-marker-tag-btn {
padding: 8px 12px;
border: 2px solid #2a2a2a;
background: #f5f5f5;
border-radius: 0;
font-family: var(--font-mono);
font-size: 12px;
font-weight: 600;
cursor: pointer;
transition: all 0.1s ease;
text-align: left;
letter-spacing: 0.02em;
text-transform: uppercase;
}
.tag-marker-tag-btn:hover {
transform: translate(-1px, -1px);
box-shadow: 2px 2px 0 #0a0a0a;
border-color: #0a0a0a;
}
.tag-marker-tag-btn:active {
transform: translate(0, 0);
box-shadow: none;
}
/* Scrollbar for tooltip */
.tag-marker-tooltip-tags::-webkit-scrollbar {
width: 6px;
}
.tag-marker-tooltip-tags::-webkit-scrollbar-track {
background: #f5f5f5;
}
.tag-marker-tooltip-tags::-webkit-scrollbar-thumb {
background: #2a2a2a;
border-radius: 0;
}
.tag-marker-tooltip-tags::-webkit-scrollbar-thumb:hover {
background: #0a0a0a;
}