feat(contact-card): hover lift + soft accent glow (match mp-card)
This commit is contained in:
1 parent
15c7bbc741
commit
32fecdb3e4
1 file changed
+5
-1
+5
-1
@@ -4459,7 +4459,7 @@ html[data-radius="strong"] .skill-task-card__solution {
|
||||
text-decoration: none;
|
||||
overflow: hidden;
|
||||
isolation: isolate;
|
||||
transition: border-color 0.22s ease;
|
||||
transition: border-color 0.22s ease, transform 0.28s ease, box-shadow 0.28s ease;
|
||||
}
|
||||
|
||||
/* Бренд канала = цвет из соответствующей иконки (см. SVG в assets/shared/icons/) */
|
||||
@@ -4502,6 +4502,10 @@ html[data-radius="strong"] .skill-task-card__solution {
|
||||
.contact-card:hover,
|
||||
.contact-card:focus-visible {
|
||||
border-color: color-mix(in srgb, var(--contact-brand) 58%, var(--line));
|
||||
transform: translateY(-5px);
|
||||
z-index: 2;
|
||||
box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--accent) 28%, transparent),
|
||||
0 2px 6px -3px color-mix(in srgb, var(--accent) 14%, transparent);
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
|
||||
Reference in new issue
Block a user