fix(web): kategori ağacını eski yapısına döndür + toggle tree ikonunu anında tepki verir yap

- category-tree: kılavuz çizgileri + grid-rows aç/kapa animasyonu geri alındı,
  orijinal smooth yapı (paddingLeft girinti) restore edildi
- TreeViewIcon: 80ms gecikmeli/2px küçük hareket yerine gövdeden gecikmesiz
  scaleX büyüme (tree-grow keyframe, origin-left); grid/list ile aynı anında tepki

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-26 01:09:40 +03:00
parent 89da489532
commit 3fe1201516
3 changed files with 52 additions and 36 deletions

View File

@@ -168,6 +168,18 @@
}
}
@keyframes tree-grow {
0% {
transform: scaleX(0.35);
}
70% {
transform: scaleX(1.05);
}
100% {
transform: scaleX(1);
}
}
@keyframes icon-pop {
0% {
opacity: 0;
@@ -221,6 +233,10 @@
.animate-icon-pop {
animation: icon-pop 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-tree-grow {
animation: tree-grow 0.24s cubic-bezier(0.16, 1, 0.3, 1);
transform-origin: left center;
}
.carousel-track:hover .animate-scroll-left {
animation-play-state: paused;
}