diff --git a/src/web-ui/src/app/components/NavPanel/NavPanel.scss b/src/web-ui/src/app/components/NavPanel/NavPanel.scss index 0b366f4c..119d0968 100644 --- a/src/web-ui/src/app/components/NavPanel/NavPanel.scss +++ b/src/web-ui/src/app/components/NavPanel/NavPanel.scss @@ -1807,7 +1807,8 @@ $_section-header-height: 24px; transition: none; } - .bitfun-nav-panel__top-action-btn:hover .bitfun-nav-panel__top-action-icon-circle { + .bitfun-nav-panel__top-action-btn:hover .bitfun-nav-panel__top-action-icon-circle, + .bitfun-nav-panel__top-action-btn:active .bitfun-nav-panel__top-action-icon-circle { transform: scale(1); } @@ -1941,8 +1942,6 @@ $_section-header-height: 24px; color: var(--color-text-primary); } - &:active { transform: translateY(1px); } - &:focus-visible { outline: 1px solid var(--color-accent-500); outline-offset: 1px; @@ -2015,7 +2014,7 @@ $_section-header-height: 24px; transition: background $motion-fast $easing-standard, color $motion-fast $easing-standard, box-shadow $motion-fast $easing-standard, - transform $motion-fast $easing-standard; + transform 0.4s $easing-bounce; .bitfun-nav-panel__top-action-btn:hover & { @include btn-primary.btn-primary-surface-hover; @@ -2024,5 +2023,10 @@ $_section-header-height: 24px; .bitfun-nav-panel__top-action-btn:active & { @include btn-primary.btn-primary-surface-active; + transform: scale(0.86); + transition: background $motion-instant $easing-accelerate, + color $motion-instant $easing-accelerate, + box-shadow $motion-instant $easing-accelerate, + transform 0.09s $easing-accelerate; } } diff --git a/src/web-ui/src/app/components/NavPanel/sections/sessions/SessionsSection.scss b/src/web-ui/src/app/components/NavPanel/sections/sessions/SessionsSection.scss index b4e13257..efc563b7 100644 --- a/src/web-ui/src/app/components/NavPanel/sections/sessions/SessionsSection.scss +++ b/src/web-ui/src/app/components/NavPanel/sections/sessions/SessionsSection.scss @@ -65,7 +65,7 @@ background: transparent; color: var(--color-text-primary); font-size: 13px; - font-weight: 400; + font-weight: 500; cursor: pointer; width: 100%; text-align: left; @@ -79,7 +79,6 @@ &.is-active { color: var(--color-text-primary); - font-weight: 500; background: var(--element-bg-soft); } diff --git a/src/web-ui/src/app/components/NavPanel/sections/workspaces/WorkspaceItem.tsx b/src/web-ui/src/app/components/NavPanel/sections/workspaces/WorkspaceItem.tsx index fd4b9c09..24b292ea 100644 --- a/src/web-ui/src/app/components/NavPanel/sections/workspaces/WorkspaceItem.tsx +++ b/src/web-ui/src/app/components/NavPanel/sections/workspaces/WorkspaceItem.tsx @@ -606,11 +606,11 @@ const WorkspaceItem: React.FC = ({ > {isLinkedWorktree ? (