fix: chat X rotates clockwise, robot wiggles; PDF rotation now animated
This commit is contained in:
@@ -37,10 +37,17 @@
|
||||
background: var(--accent-green, #27ae60);
|
||||
}
|
||||
|
||||
.chat-toggle-btn:hover iconify-icon {
|
||||
/* Open state (robot): wiggle */
|
||||
.chat-toggle-btn:hover .chat-icon-open {
|
||||
animation: iconWiggle 0.5s ease;
|
||||
}
|
||||
|
||||
/* Closed state (X): rotate clockwise */
|
||||
.chat-toggle-btn:hover .chat-icon-close {
|
||||
transform: rotate(90deg);
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
/* Icon swap: show mascot by default, close when active */
|
||||
.chat-toggle-btn .chat-icon-close {
|
||||
display: none;
|
||||
|
||||
@@ -142,7 +142,11 @@
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
/* Rotate 45°: PDF */
|
||||
/* Rotate 45° animated: PDF */
|
||||
.download-btn iconify-icon {
|
||||
transition: transform 0.3s ease;
|
||||
}
|
||||
|
||||
.download-btn:hover iconify-icon {
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user