@bevel-software/platform-core-frontend 0.3.2 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/core/__tests__/ShellRoutes.test.tsx +95 -95
- package/src/lib/utils.ts +138 -138
- package/src/modules/admin/__tests__/UserAccountsPage.test.tsx +156 -156
- package/src/modules/admin/components/UserAccountsPage.tsx +353 -353
- package/src/modules/layout/components/MaintenanceOverlay.tsx +104 -104
- package/src/modules/library/__tests__/DetailDialog.test.tsx +200 -200
- package/src/modules/library/__tests__/loadout.test.tsx +72 -72
- package/src/modules/library/__tests__/status.test.ts +117 -117
- package/src/modules/library/components/ChangeRequestDock.tsx +47 -47
- package/src/modules/library/components/CompareView.tsx +357 -357
- package/src/modules/library/components/DetailDialog.tsx +566 -566
- package/src/modules/library/components/GearIcon.tsx +12 -12
- package/src/modules/library/components/LibraryCard.tsx +132 -132
- package/src/modules/library/components/LibraryPage.tsx +254 -254
- package/src/modules/library/components/LoadoutSidebar.tsx +156 -156
- package/src/modules/library/components/StatusGem.tsx +21 -21
- package/src/modules/library/components/SuggestChange.tsx +171 -171
- package/src/modules/library/components/particles.ts +50 -50
- package/src/modules/library/library.css +320 -320
- package/src/modules/library/state/loadout.tsx +129 -129
- package/src/modules/library/utils/status.ts +116 -116
- package/src/modules/secrets-vault/components/SecretsPage.tsx +276 -276
- package/src/modules/secrets-vault/components/__tests__/SecretsPage.test.tsx +51 -51
- package/src/modules/toolbar/components/AppSwitcher.tsx +108 -108
- package/src/modules/toolbar/components/ExternalAgentAccessPage.tsx +548 -548
- package/src/modules/workspace/components/FileExplorer.tsx +1068 -1068
- package/src/modules/workspace/components/FileViewer.tsx +906 -906
- package/src/modules/workspace/utils/fileTree.ts +179 -179
- package/src/shared/components/PageShell.tsx +51 -51
|
@@ -1,320 +1,320 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Library module — game-feel visual layer (approved mock: mocks/mock-a2-game-library.html).
|
|
3
|
-
* Deliberately teal-accented (#0d9488), NOT brand purple: the user moved this
|
|
4
|
-
* view off the brand color on purpose. Everything here is scoped under `lib-`
|
|
5
|
-
* class names; layout is Tailwind in the components, this file holds only the
|
|
6
|
-
* pieces Tailwind can't express well: keyframes, glossy status gems, particle
|
|
7
|
-
* flight, gear chrome, 3D card tilt + glare, slot/dock animations, diff marks.
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
/* ── status gems ── */
|
|
11
|
-
.lib-gem {
|
|
12
|
-
width: 20px;
|
|
13
|
-
height: 20px;
|
|
14
|
-
border-radius: 50%;
|
|
15
|
-
display: inline-flex;
|
|
16
|
-
align-items: center;
|
|
17
|
-
justify-content: center;
|
|
18
|
-
font-size: 10px;
|
|
19
|
-
font-weight: 800;
|
|
20
|
-
flex-shrink: 0;
|
|
21
|
-
box-shadow:
|
|
22
|
-
0 2px 8px rgba(22, 35, 58, 0.18),
|
|
23
|
-
inset 0 2px 3px rgba(255, 255, 255, 0.6),
|
|
24
|
-
inset 0 -3px 4px rgba(0, 0, 0, 0.18);
|
|
25
|
-
}
|
|
26
|
-
.lib-gem-ok {
|
|
27
|
-
background: radial-gradient(circle at 35% 30%, #a7ffd9, #10b981 60%, #0a8f60);
|
|
28
|
-
color: #05402a;
|
|
29
|
-
}
|
|
30
|
-
.lib-gem-warn {
|
|
31
|
-
background: radial-gradient(circle at 35% 30%, #ffe3b0, #f59e0b 60%, #cc7a00);
|
|
32
|
-
color: #5a3400;
|
|
33
|
-
}
|
|
34
|
-
.lib-gem-err {
|
|
35
|
-
background: radial-gradient(circle at 35% 30%, #ffc3ca, #ef4444 60%, #c22738);
|
|
36
|
-
color: #4d0810;
|
|
37
|
-
}
|
|
38
|
-
.lib-gem-off {
|
|
39
|
-
background: radial-gradient(circle at 35% 30%, #f1f5f9, #c4cfdc 60%, #8fa0b3);
|
|
40
|
-
color: #42536b;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/* ── cards: 3D tilt + glare + hover CTA ── */
|
|
44
|
-
.lib-grid {
|
|
45
|
-
perspective: 1200px;
|
|
46
|
-
}
|
|
47
|
-
.lib-card {
|
|
48
|
-
position: relative;
|
|
49
|
-
border-radius: 16px;
|
|
50
|
-
overflow: hidden;
|
|
51
|
-
cursor: pointer;
|
|
52
|
-
user-select: none;
|
|
53
|
-
background: #ffffff;
|
|
54
|
-
border: 1px solid #e2e8f0;
|
|
55
|
-
transform-style: preserve-3d;
|
|
56
|
-
will-change: transform;
|
|
57
|
-
transition:
|
|
58
|
-
transform 0.18s ease-out,
|
|
59
|
-
box-shadow 0.25s,
|
|
60
|
-
border-color 0.25s,
|
|
61
|
-
background 0.25s;
|
|
62
|
-
box-shadow: 0 2px 10px rgba(22, 35, 58, 0.06);
|
|
63
|
-
}
|
|
64
|
-
.lib-card:hover {
|
|
65
|
-
border-color: #7fd0c4;
|
|
66
|
-
box-shadow:
|
|
67
|
-
0 22px 40px rgba(22, 35, 58, 0.16),
|
|
68
|
-
0 0 0 1px rgba(13, 148, 136, 0.08);
|
|
69
|
-
z-index: 2;
|
|
70
|
-
}
|
|
71
|
-
.lib-card-glare {
|
|
72
|
-
position: absolute;
|
|
73
|
-
inset: 0;
|
|
74
|
-
border-radius: 16px;
|
|
75
|
-
pointer-events: none;
|
|
76
|
-
opacity: 0;
|
|
77
|
-
transition: opacity 0.2s;
|
|
78
|
-
background: radial-gradient(
|
|
79
|
-
320px circle at var(--lib-mx, 50%) var(--lib-my, 50%),
|
|
80
|
-
rgba(255, 255, 255, 0.65),
|
|
81
|
-
transparent 55%
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
.lib-card:hover .lib-card-glare {
|
|
85
|
-
opacity: 1;
|
|
86
|
-
}
|
|
87
|
-
/* green accent strip — skill cards only */
|
|
88
|
-
.lib-card-skill::before {
|
|
89
|
-
content: '';
|
|
90
|
-
position: absolute;
|
|
91
|
-
left: 14px;
|
|
92
|
-
right: 14px;
|
|
93
|
-
top: 0;
|
|
94
|
-
height: 2.5px;
|
|
95
|
-
border-radius: 99px;
|
|
96
|
-
background: linear-gradient(90deg, transparent, #10b981, transparent);
|
|
97
|
-
opacity: 0.9;
|
|
98
|
-
z-index: 1;
|
|
99
|
-
}
|
|
100
|
-
.lib-card-tool {
|
|
101
|
-
background: linear-gradient(165deg, #fbfcfe, #f3f6fa);
|
|
102
|
-
}
|
|
103
|
-
/* picked (in the loadout): teal-tinted */
|
|
104
|
-
.lib-card-picked,
|
|
105
|
-
.lib-card-tool.lib-card-picked {
|
|
106
|
-
background: linear-gradient(165deg, #e9f8f5, #d4f0ea);
|
|
107
|
-
border-color: #4cbcab;
|
|
108
|
-
box-shadow: 0 4px 18px rgba(13, 148, 136, 0.22);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.lib-hover-cta {
|
|
112
|
-
position: absolute;
|
|
113
|
-
left: 0;
|
|
114
|
-
right: 0;
|
|
115
|
-
bottom: 0;
|
|
116
|
-
padding: 12px 0 14px;
|
|
117
|
-
display: flex;
|
|
118
|
-
justify-content: center;
|
|
119
|
-
background: linear-gradient(transparent, rgba(255, 255, 255, 0.92) 55%);
|
|
120
|
-
opacity: 0;
|
|
121
|
-
transform: translateY(8px);
|
|
122
|
-
transition:
|
|
123
|
-
opacity 0.18s,
|
|
124
|
-
transform 0.18s;
|
|
125
|
-
pointer-events: none;
|
|
126
|
-
z-index: 2;
|
|
127
|
-
}
|
|
128
|
-
.lib-card:hover .lib-hover-cta {
|
|
129
|
-
opacity: 1;
|
|
130
|
-
transform: none;
|
|
131
|
-
}
|
|
132
|
-
.lib-card-picked .lib-hover-cta {
|
|
133
|
-
background: linear-gradient(transparent, rgba(222, 243, 238, 0.94) 55%);
|
|
134
|
-
}
|
|
135
|
-
.lib-hc-add {
|
|
136
|
-
font-size: 12px;
|
|
137
|
-
font-weight: 700;
|
|
138
|
-
border-radius: 99px;
|
|
139
|
-
padding: 5px 16px;
|
|
140
|
-
color: #0a8f60;
|
|
141
|
-
background: #e0f8ee;
|
|
142
|
-
box-shadow: inset 0 0 0 1px #a9e8cd;
|
|
143
|
-
}
|
|
144
|
-
.lib-hc-remove {
|
|
145
|
-
font-size: 12px;
|
|
146
|
-
font-weight: 700;
|
|
147
|
-
border-radius: 99px;
|
|
148
|
-
padding: 5px 16px;
|
|
149
|
-
color: #c53030;
|
|
150
|
-
background: #fdecec;
|
|
151
|
-
box-shadow: inset 0 0 0 1px #f3c4c4;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
/* ── gear chrome on integration cards ── */
|
|
155
|
-
.lib-gears {
|
|
156
|
-
position: absolute;
|
|
157
|
-
inset: 0;
|
|
158
|
-
pointer-events: none;
|
|
159
|
-
color: #5b6b81;
|
|
160
|
-
opacity: 0.09;
|
|
161
|
-
transition: opacity 0.2s;
|
|
162
|
-
}
|
|
163
|
-
.lib-gears svg {
|
|
164
|
-
position: absolute;
|
|
165
|
-
width: 52px;
|
|
166
|
-
height: 52px;
|
|
167
|
-
animation: lib-spin 16s linear infinite;
|
|
168
|
-
animation-play-state: paused;
|
|
169
|
-
}
|
|
170
|
-
.lib-gears svg:nth-child(1) {
|
|
171
|
-
top: -20px;
|
|
172
|
-
left: -20px;
|
|
173
|
-
}
|
|
174
|
-
.lib-gears svg:nth-child(2) {
|
|
175
|
-
top: -20px;
|
|
176
|
-
right: -20px;
|
|
177
|
-
animation-direction: reverse;
|
|
178
|
-
}
|
|
179
|
-
.lib-gears svg:nth-child(3) {
|
|
180
|
-
bottom: -20px;
|
|
181
|
-
left: -20px;
|
|
182
|
-
animation-direction: reverse;
|
|
183
|
-
}
|
|
184
|
-
.lib-gears svg:nth-child(4) {
|
|
185
|
-
bottom: -20px;
|
|
186
|
-
right: -20px;
|
|
187
|
-
}
|
|
188
|
-
.lib-gears svg:nth-child(5) {
|
|
189
|
-
top: 50%;
|
|
190
|
-
left: 50%;
|
|
191
|
-
margin: -26px 0 0 -26px;
|
|
192
|
-
animation-duration: 30s;
|
|
193
|
-
}
|
|
194
|
-
.lib-card-tool:hover .lib-gears svg {
|
|
195
|
-
animation-play-state: running;
|
|
196
|
-
}
|
|
197
|
-
.lib-card-tool:hover .lib-gears {
|
|
198
|
-
opacity: 0.14;
|
|
199
|
-
}
|
|
200
|
-
@keyframes lib-spin {
|
|
201
|
-
to {
|
|
202
|
-
transform: rotate(360deg);
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
/* ── loadout slots ── */
|
|
207
|
-
.lib-slot {
|
|
208
|
-
animation: lib-slot-in 0.28s cubic-bezier(0.2, 1.4, 0.4, 1) both;
|
|
209
|
-
}
|
|
210
|
-
@keyframes lib-slot-in {
|
|
211
|
-
from {
|
|
212
|
-
opacity: 0;
|
|
213
|
-
transform: translateX(-22px) scale(0.95);
|
|
214
|
-
}
|
|
215
|
-
to {
|
|
216
|
-
opacity: 1;
|
|
217
|
-
transform: none;
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
.lib-slot-leaving {
|
|
221
|
-
transition: all 0.18s ease-in;
|
|
222
|
-
opacity: 0;
|
|
223
|
-
transform: translateX(-18px) scale(0.95);
|
|
224
|
-
}
|
|
225
|
-
@keyframes lib-arrive {
|
|
226
|
-
0% {
|
|
227
|
-
box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
|
|
228
|
-
}
|
|
229
|
-
60% {
|
|
230
|
-
box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
|
|
231
|
-
}
|
|
232
|
-
100% {
|
|
233
|
-
box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
.lib-slot-arrive {
|
|
237
|
-
animation:
|
|
238
|
-
lib-slot-in 0.28s cubic-bezier(0.2, 1.4, 0.4, 1) both,
|
|
239
|
-
lib-arrive 0.5s ease-out 0.3s;
|
|
240
|
-
}
|
|
241
|
-
/* hover swaps the gem for the remove button */
|
|
242
|
-
.lib-slot .lib-slot-gem {
|
|
243
|
-
transition: opacity 0.15s;
|
|
244
|
-
}
|
|
245
|
-
.lib-slot:hover .lib-slot-gem {
|
|
246
|
-
opacity: 0;
|
|
247
|
-
}
|
|
248
|
-
.lib-slot .lib-slot-kick {
|
|
249
|
-
opacity: 0;
|
|
250
|
-
transition: all 0.15s;
|
|
251
|
-
}
|
|
252
|
-
.lib-slot:hover .lib-slot-kick {
|
|
253
|
-
opacity: 1;
|
|
254
|
-
}
|
|
255
|
-
.lib-count-pulse {
|
|
256
|
-
animation: lib-count-pulse 0.2s ease-out;
|
|
257
|
-
}
|
|
258
|
-
@keyframes lib-count-pulse {
|
|
259
|
-
50% {
|
|
260
|
-
transform: scale(1.35);
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
/* ── particle flight (card → loadout row) ── */
|
|
265
|
-
.lib-particle {
|
|
266
|
-
position: fixed;
|
|
267
|
-
top: 0;
|
|
268
|
-
left: 0;
|
|
269
|
-
width: 6px;
|
|
270
|
-
height: 6px;
|
|
271
|
-
border-radius: 50%;
|
|
272
|
-
pointer-events: none;
|
|
273
|
-
z-index: 70;
|
|
274
|
-
background: radial-gradient(circle at 35% 30%, #b8ffe8, #10b981);
|
|
275
|
-
box-shadow: 0 0 8px rgba(16, 185, 129, 0.85);
|
|
276
|
-
}
|
|
277
|
-
.lib-particle-tool {
|
|
278
|
-
background: radial-gradient(circle at 35% 30%, #b5f2ea, #0d9488);
|
|
279
|
-
box-shadow: 0 0 8px rgba(13, 148, 136, 0.85);
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
/* ── change-request dock (owners) ── */
|
|
283
|
-
.lib-cr-dock {
|
|
284
|
-
animation: lib-cr-in 0.25s cubic-bezier(0.2, 1.2, 0.35, 1);
|
|
285
|
-
}
|
|
286
|
-
@keyframes lib-cr-in {
|
|
287
|
-
from {
|
|
288
|
-
opacity: 0;
|
|
289
|
-
transform: translateY(-50%) translateX(16px);
|
|
290
|
-
}
|
|
291
|
-
to {
|
|
292
|
-
opacity: 1;
|
|
293
|
-
transform: translateY(-50%);
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
/* ── diff marks (compare + inline suggestions) ── */
|
|
298
|
-
.lib-line-removed {
|
|
299
|
-
background: #fdecec;
|
|
300
|
-
color: #b91c1c;
|
|
301
|
-
}
|
|
302
|
-
.lib-line-added {
|
|
303
|
-
background: #e0f8ee;
|
|
304
|
-
color: #067a52;
|
|
305
|
-
}
|
|
306
|
-
.lib-sug del {
|
|
307
|
-
color: #b91c1c;
|
|
308
|
-
background: #fdecec;
|
|
309
|
-
text-decoration: line-through;
|
|
310
|
-
padding: 0 3px;
|
|
311
|
-
border-radius: 3px;
|
|
312
|
-
}
|
|
313
|
-
.lib-sug ins {
|
|
314
|
-
color: #067a52;
|
|
315
|
-
background: #e0f8ee;
|
|
316
|
-
text-decoration: none;
|
|
317
|
-
padding: 0 3px;
|
|
318
|
-
border-radius: 3px;
|
|
319
|
-
font-weight: 600;
|
|
320
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Library module — game-feel visual layer (approved mock: mocks/mock-a2-game-library.html).
|
|
3
|
+
* Deliberately teal-accented (#0d9488), NOT brand purple: the user moved this
|
|
4
|
+
* view off the brand color on purpose. Everything here is scoped under `lib-`
|
|
5
|
+
* class names; layout is Tailwind in the components, this file holds only the
|
|
6
|
+
* pieces Tailwind can't express well: keyframes, glossy status gems, particle
|
|
7
|
+
* flight, gear chrome, 3D card tilt + glare, slot/dock animations, diff marks.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/* ── status gems ── */
|
|
11
|
+
.lib-gem {
|
|
12
|
+
width: 20px;
|
|
13
|
+
height: 20px;
|
|
14
|
+
border-radius: 50%;
|
|
15
|
+
display: inline-flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
font-size: 10px;
|
|
19
|
+
font-weight: 800;
|
|
20
|
+
flex-shrink: 0;
|
|
21
|
+
box-shadow:
|
|
22
|
+
0 2px 8px rgba(22, 35, 58, 0.18),
|
|
23
|
+
inset 0 2px 3px rgba(255, 255, 255, 0.6),
|
|
24
|
+
inset 0 -3px 4px rgba(0, 0, 0, 0.18);
|
|
25
|
+
}
|
|
26
|
+
.lib-gem-ok {
|
|
27
|
+
background: radial-gradient(circle at 35% 30%, #a7ffd9, #10b981 60%, #0a8f60);
|
|
28
|
+
color: #05402a;
|
|
29
|
+
}
|
|
30
|
+
.lib-gem-warn {
|
|
31
|
+
background: radial-gradient(circle at 35% 30%, #ffe3b0, #f59e0b 60%, #cc7a00);
|
|
32
|
+
color: #5a3400;
|
|
33
|
+
}
|
|
34
|
+
.lib-gem-err {
|
|
35
|
+
background: radial-gradient(circle at 35% 30%, #ffc3ca, #ef4444 60%, #c22738);
|
|
36
|
+
color: #4d0810;
|
|
37
|
+
}
|
|
38
|
+
.lib-gem-off {
|
|
39
|
+
background: radial-gradient(circle at 35% 30%, #f1f5f9, #c4cfdc 60%, #8fa0b3);
|
|
40
|
+
color: #42536b;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/* ── cards: 3D tilt + glare + hover CTA ── */
|
|
44
|
+
.lib-grid {
|
|
45
|
+
perspective: 1200px;
|
|
46
|
+
}
|
|
47
|
+
.lib-card {
|
|
48
|
+
position: relative;
|
|
49
|
+
border-radius: 16px;
|
|
50
|
+
overflow: hidden;
|
|
51
|
+
cursor: pointer;
|
|
52
|
+
user-select: none;
|
|
53
|
+
background: #ffffff;
|
|
54
|
+
border: 1px solid #e2e8f0;
|
|
55
|
+
transform-style: preserve-3d;
|
|
56
|
+
will-change: transform;
|
|
57
|
+
transition:
|
|
58
|
+
transform 0.18s ease-out,
|
|
59
|
+
box-shadow 0.25s,
|
|
60
|
+
border-color 0.25s,
|
|
61
|
+
background 0.25s;
|
|
62
|
+
box-shadow: 0 2px 10px rgba(22, 35, 58, 0.06);
|
|
63
|
+
}
|
|
64
|
+
.lib-card:hover {
|
|
65
|
+
border-color: #7fd0c4;
|
|
66
|
+
box-shadow:
|
|
67
|
+
0 22px 40px rgba(22, 35, 58, 0.16),
|
|
68
|
+
0 0 0 1px rgba(13, 148, 136, 0.08);
|
|
69
|
+
z-index: 2;
|
|
70
|
+
}
|
|
71
|
+
.lib-card-glare {
|
|
72
|
+
position: absolute;
|
|
73
|
+
inset: 0;
|
|
74
|
+
border-radius: 16px;
|
|
75
|
+
pointer-events: none;
|
|
76
|
+
opacity: 0;
|
|
77
|
+
transition: opacity 0.2s;
|
|
78
|
+
background: radial-gradient(
|
|
79
|
+
320px circle at var(--lib-mx, 50%) var(--lib-my, 50%),
|
|
80
|
+
rgba(255, 255, 255, 0.65),
|
|
81
|
+
transparent 55%
|
|
82
|
+
);
|
|
83
|
+
}
|
|
84
|
+
.lib-card:hover .lib-card-glare {
|
|
85
|
+
opacity: 1;
|
|
86
|
+
}
|
|
87
|
+
/* green accent strip — skill cards only */
|
|
88
|
+
.lib-card-skill::before {
|
|
89
|
+
content: '';
|
|
90
|
+
position: absolute;
|
|
91
|
+
left: 14px;
|
|
92
|
+
right: 14px;
|
|
93
|
+
top: 0;
|
|
94
|
+
height: 2.5px;
|
|
95
|
+
border-radius: 99px;
|
|
96
|
+
background: linear-gradient(90deg, transparent, #10b981, transparent);
|
|
97
|
+
opacity: 0.9;
|
|
98
|
+
z-index: 1;
|
|
99
|
+
}
|
|
100
|
+
.lib-card-tool {
|
|
101
|
+
background: linear-gradient(165deg, #fbfcfe, #f3f6fa);
|
|
102
|
+
}
|
|
103
|
+
/* picked (in the loadout): teal-tinted */
|
|
104
|
+
.lib-card-picked,
|
|
105
|
+
.lib-card-tool.lib-card-picked {
|
|
106
|
+
background: linear-gradient(165deg, #e9f8f5, #d4f0ea);
|
|
107
|
+
border-color: #4cbcab;
|
|
108
|
+
box-shadow: 0 4px 18px rgba(13, 148, 136, 0.22);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.lib-hover-cta {
|
|
112
|
+
position: absolute;
|
|
113
|
+
left: 0;
|
|
114
|
+
right: 0;
|
|
115
|
+
bottom: 0;
|
|
116
|
+
padding: 12px 0 14px;
|
|
117
|
+
display: flex;
|
|
118
|
+
justify-content: center;
|
|
119
|
+
background: linear-gradient(transparent, rgba(255, 255, 255, 0.92) 55%);
|
|
120
|
+
opacity: 0;
|
|
121
|
+
transform: translateY(8px);
|
|
122
|
+
transition:
|
|
123
|
+
opacity 0.18s,
|
|
124
|
+
transform 0.18s;
|
|
125
|
+
pointer-events: none;
|
|
126
|
+
z-index: 2;
|
|
127
|
+
}
|
|
128
|
+
.lib-card:hover .lib-hover-cta {
|
|
129
|
+
opacity: 1;
|
|
130
|
+
transform: none;
|
|
131
|
+
}
|
|
132
|
+
.lib-card-picked .lib-hover-cta {
|
|
133
|
+
background: linear-gradient(transparent, rgba(222, 243, 238, 0.94) 55%);
|
|
134
|
+
}
|
|
135
|
+
.lib-hc-add {
|
|
136
|
+
font-size: 12px;
|
|
137
|
+
font-weight: 700;
|
|
138
|
+
border-radius: 99px;
|
|
139
|
+
padding: 5px 16px;
|
|
140
|
+
color: #0a8f60;
|
|
141
|
+
background: #e0f8ee;
|
|
142
|
+
box-shadow: inset 0 0 0 1px #a9e8cd;
|
|
143
|
+
}
|
|
144
|
+
.lib-hc-remove {
|
|
145
|
+
font-size: 12px;
|
|
146
|
+
font-weight: 700;
|
|
147
|
+
border-radius: 99px;
|
|
148
|
+
padding: 5px 16px;
|
|
149
|
+
color: #c53030;
|
|
150
|
+
background: #fdecec;
|
|
151
|
+
box-shadow: inset 0 0 0 1px #f3c4c4;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/* ── gear chrome on integration cards ── */
|
|
155
|
+
.lib-gears {
|
|
156
|
+
position: absolute;
|
|
157
|
+
inset: 0;
|
|
158
|
+
pointer-events: none;
|
|
159
|
+
color: #5b6b81;
|
|
160
|
+
opacity: 0.09;
|
|
161
|
+
transition: opacity 0.2s;
|
|
162
|
+
}
|
|
163
|
+
.lib-gears svg {
|
|
164
|
+
position: absolute;
|
|
165
|
+
width: 52px;
|
|
166
|
+
height: 52px;
|
|
167
|
+
animation: lib-spin 16s linear infinite;
|
|
168
|
+
animation-play-state: paused;
|
|
169
|
+
}
|
|
170
|
+
.lib-gears svg:nth-child(1) {
|
|
171
|
+
top: -20px;
|
|
172
|
+
left: -20px;
|
|
173
|
+
}
|
|
174
|
+
.lib-gears svg:nth-child(2) {
|
|
175
|
+
top: -20px;
|
|
176
|
+
right: -20px;
|
|
177
|
+
animation-direction: reverse;
|
|
178
|
+
}
|
|
179
|
+
.lib-gears svg:nth-child(3) {
|
|
180
|
+
bottom: -20px;
|
|
181
|
+
left: -20px;
|
|
182
|
+
animation-direction: reverse;
|
|
183
|
+
}
|
|
184
|
+
.lib-gears svg:nth-child(4) {
|
|
185
|
+
bottom: -20px;
|
|
186
|
+
right: -20px;
|
|
187
|
+
}
|
|
188
|
+
.lib-gears svg:nth-child(5) {
|
|
189
|
+
top: 50%;
|
|
190
|
+
left: 50%;
|
|
191
|
+
margin: -26px 0 0 -26px;
|
|
192
|
+
animation-duration: 30s;
|
|
193
|
+
}
|
|
194
|
+
.lib-card-tool:hover .lib-gears svg {
|
|
195
|
+
animation-play-state: running;
|
|
196
|
+
}
|
|
197
|
+
.lib-card-tool:hover .lib-gears {
|
|
198
|
+
opacity: 0.14;
|
|
199
|
+
}
|
|
200
|
+
@keyframes lib-spin {
|
|
201
|
+
to {
|
|
202
|
+
transform: rotate(360deg);
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/* ── loadout slots ── */
|
|
207
|
+
.lib-slot {
|
|
208
|
+
animation: lib-slot-in 0.28s cubic-bezier(0.2, 1.4, 0.4, 1) both;
|
|
209
|
+
}
|
|
210
|
+
@keyframes lib-slot-in {
|
|
211
|
+
from {
|
|
212
|
+
opacity: 0;
|
|
213
|
+
transform: translateX(-22px) scale(0.95);
|
|
214
|
+
}
|
|
215
|
+
to {
|
|
216
|
+
opacity: 1;
|
|
217
|
+
transform: none;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
.lib-slot-leaving {
|
|
221
|
+
transition: all 0.18s ease-in;
|
|
222
|
+
opacity: 0;
|
|
223
|
+
transform: translateX(-18px) scale(0.95);
|
|
224
|
+
}
|
|
225
|
+
@keyframes lib-arrive {
|
|
226
|
+
0% {
|
|
227
|
+
box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
|
|
228
|
+
}
|
|
229
|
+
60% {
|
|
230
|
+
box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
|
|
231
|
+
}
|
|
232
|
+
100% {
|
|
233
|
+
box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
.lib-slot-arrive {
|
|
237
|
+
animation:
|
|
238
|
+
lib-slot-in 0.28s cubic-bezier(0.2, 1.4, 0.4, 1) both,
|
|
239
|
+
lib-arrive 0.5s ease-out 0.3s;
|
|
240
|
+
}
|
|
241
|
+
/* hover swaps the gem for the remove button */
|
|
242
|
+
.lib-slot .lib-slot-gem {
|
|
243
|
+
transition: opacity 0.15s;
|
|
244
|
+
}
|
|
245
|
+
.lib-slot:hover .lib-slot-gem {
|
|
246
|
+
opacity: 0;
|
|
247
|
+
}
|
|
248
|
+
.lib-slot .lib-slot-kick {
|
|
249
|
+
opacity: 0;
|
|
250
|
+
transition: all 0.15s;
|
|
251
|
+
}
|
|
252
|
+
.lib-slot:hover .lib-slot-kick {
|
|
253
|
+
opacity: 1;
|
|
254
|
+
}
|
|
255
|
+
.lib-count-pulse {
|
|
256
|
+
animation: lib-count-pulse 0.2s ease-out;
|
|
257
|
+
}
|
|
258
|
+
@keyframes lib-count-pulse {
|
|
259
|
+
50% {
|
|
260
|
+
transform: scale(1.35);
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
/* ── particle flight (card → loadout row) ── */
|
|
265
|
+
.lib-particle {
|
|
266
|
+
position: fixed;
|
|
267
|
+
top: 0;
|
|
268
|
+
left: 0;
|
|
269
|
+
width: 6px;
|
|
270
|
+
height: 6px;
|
|
271
|
+
border-radius: 50%;
|
|
272
|
+
pointer-events: none;
|
|
273
|
+
z-index: 70;
|
|
274
|
+
background: radial-gradient(circle at 35% 30%, #b8ffe8, #10b981);
|
|
275
|
+
box-shadow: 0 0 8px rgba(16, 185, 129, 0.85);
|
|
276
|
+
}
|
|
277
|
+
.lib-particle-tool {
|
|
278
|
+
background: radial-gradient(circle at 35% 30%, #b5f2ea, #0d9488);
|
|
279
|
+
box-shadow: 0 0 8px rgba(13, 148, 136, 0.85);
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
/* ── change-request dock (owners) ── */
|
|
283
|
+
.lib-cr-dock {
|
|
284
|
+
animation: lib-cr-in 0.25s cubic-bezier(0.2, 1.2, 0.35, 1);
|
|
285
|
+
}
|
|
286
|
+
@keyframes lib-cr-in {
|
|
287
|
+
from {
|
|
288
|
+
opacity: 0;
|
|
289
|
+
transform: translateY(-50%) translateX(16px);
|
|
290
|
+
}
|
|
291
|
+
to {
|
|
292
|
+
opacity: 1;
|
|
293
|
+
transform: translateY(-50%);
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
/* ── diff marks (compare + inline suggestions) ── */
|
|
298
|
+
.lib-line-removed {
|
|
299
|
+
background: #fdecec;
|
|
300
|
+
color: #b91c1c;
|
|
301
|
+
}
|
|
302
|
+
.lib-line-added {
|
|
303
|
+
background: #e0f8ee;
|
|
304
|
+
color: #067a52;
|
|
305
|
+
}
|
|
306
|
+
.lib-sug del {
|
|
307
|
+
color: #b91c1c;
|
|
308
|
+
background: #fdecec;
|
|
309
|
+
text-decoration: line-through;
|
|
310
|
+
padding: 0 3px;
|
|
311
|
+
border-radius: 3px;
|
|
312
|
+
}
|
|
313
|
+
.lib-sug ins {
|
|
314
|
+
color: #067a52;
|
|
315
|
+
background: #e0f8ee;
|
|
316
|
+
text-decoration: none;
|
|
317
|
+
padding: 0 3px;
|
|
318
|
+
border-radius: 3px;
|
|
319
|
+
font-weight: 600;
|
|
320
|
+
}
|