diff --git a/src/assets/style/main.css b/src/assets/style/main.css index 480681e..ad6b03c 100644 --- a/src/assets/style/main.css +++ b/src/assets/style/main.css @@ -113,6 +113,8 @@ textarea { border-color: rgba(113, 153, 168, 0.68); box-shadow: 0 20px 44px rgba(4, 10, 14, 0.46); } +.fcb-secondary-card { transition: all 300ms ease !important; box-shadow: -8px -8px 20px rgba(255,255,255,.8), 8px 8px 20px rgba(163,177,198,.5) !important; } +.fcb-secondary-card:hover { transform: translateY(-2px); background: #f0f4f8 !important; box-shadow: -10px -10px 25px rgba(255,255,255,.9), 10px 10px 25px rgba(163,177,198,.6) !important; } .data-table-2026 thead th { background: rgba(236, 244, 246, 0.76); @@ -466,6 +468,20 @@ html, body, #app { background: var(--fcb-bg); color: var(--fcb-text); } border-color: transparent !important; box-shadow: -10px -10px 25px rgba(255,255,255,.9), 10px 10px 25px rgba(163,177,198,.6) !important; } + +/* Keep every dashboard card on the same 300ms pastel hover curve. */ +.theme-2026-card-hover { + transition: all 300ms ease !important; +} +.theme-2026-card-hover:hover { + background: #f0f4f8 !important; + border-color: transparent !important; + box-shadow: -10px -10px 25px rgba(255,255,255,.9), 10px 10px 25px rgba(163,177,198,.6) !important; +} +.dark .theme-2026-card-hover:hover { + background: #2f414a !important; + box-shadow: -10px -10px 25px rgba(69,88,99,.45), 10px 10px 25px rgba(10,18,23,.55) !important; +} input:not([type=file]), select, textarea { background: var(--fcb-surface) !important; color: var(--fcb-text) !important; border-color: #d5e1e5 !important; box-shadow: var(--fcb-shadow-in); } button, a { border-radius: 14px; } button:not(:disabled), a { cursor: pointer; } diff --git a/src/components/common/FileRecordList.vue b/src/components/common/FileRecordList.vue index 58decce..db17e6c 100644 --- a/src/components/common/FileRecordList.vue +++ b/src/components/common/FileRecordList.vue @@ -7,7 +7,7 @@
diff --git a/src/components/common/SentRecordList.vue b/src/components/common/SentRecordList.vue index a7c15f6..585ffc4 100644 --- a/src/components/common/SentRecordList.vue +++ b/src/components/common/SentRecordList.vue @@ -7,7 +7,7 @@
diff --git a/src/views/manage/FileManageView.vue b/src/views/manage/FileManageView.vue index 01e64ad..2714944 100644 --- a/src/views/manage/FileManageView.vue +++ b/src/views/manage/FileManageView.vue @@ -1879,19 +1879,24 @@ const animateLifecycleHeight = async () => { await nextTick() const viewport = lifecycleViewportRef.value if (!viewport || reducedMotionQuery.matches) return + lifecycleHeightAnimation?.cancel() + lifecycleHeightAnimation = null + viewport.style.height = '' + await nextTick() const currentHeight = viewport.getBoundingClientRect().height viewport.style.height = `${currentHeight}px` await nextTick() const targetHeight = viewport.scrollHeight - lifecycleHeightAnimation?.cancel() lifecycleHeightAnimation = viewport.animate( [{ height: `${currentHeight}px` }, { height: `${targetHeight}px` }], { duration: 420, easing: 'cubic-bezier(0.22, 1, 0.36, 1)', fill: 'forwards' } ) - lifecycleHeightAnimation.addEventListener('finish', () => { + const cleanup = () => { viewport.style.height = '' lifecycleHeightAnimation = null - }, { once: true }) + } + lifecycleHeightAnimation.addEventListener('finish', cleanup, { once: true }) + lifecycleHeightAnimation.addEventListener('cancel', cleanup, { once: true }) } const LIFECYCLE_ENTER_MS = 160