Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions src/web-ui/src/app/components/NavPanel/NavPanel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2011,10 +2011,6 @@ $_section-header-height: 24px;
@include btn-primary.btn-primary-surface-default;
transform: scale(1);
transform-origin: center;
transition: background $motion-fast $easing-standard,
color $motion-fast $easing-standard,
box-shadow $motion-fast $easing-standard,
transform 0.4s $easing-bounce;

.bitfun-nav-panel__top-action-btn:hover & {
@include btn-primary.btn-primary-surface-hover;
Expand All @@ -2024,9 +2020,5 @@ $_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;
}
}
15 changes: 9 additions & 6 deletions src/web-ui/src/app/components/NavPanel/NavSearchDialog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@
}

// ── Trigger button (NavPanel brand-header) ───────────────────────────────────
// Opens the search dialog — compact surface (not a text field): bg distinguishes from nav strip.
// Opens the search dialog — capsule + scene surface (matches .bitfun-scene-viewport / dialog search).

.bitfun-nav-panel__search-trigger {
display: flex;
Expand All @@ -265,9 +265,9 @@
min-height: 32px;
padding: 0 $size-gap-2;
border: none;
border-radius: $size-radius-base;
background: var(--element-bg-soft);
box-shadow: none;
border-radius: $size-radius-full;
background: var(--color-bg-scene);
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--border-subtle) 65%, transparent);
cursor: text;
color: var(--color-text-primary);
font-size: var(--font-size-sm);
Expand All @@ -276,15 +276,18 @@
box-sizing: border-box;
transition:
background $motion-fast $easing-standard,
box-shadow $motion-fast $easing-standard,
color $motion-fast $easing-standard;

&:hover {
background: var(--element-bg-medium);
background: color-mix(in srgb, var(--color-bg-scene) 88%, var(--element-bg-medium));
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--border-medium) 55%, transparent);
color: var(--color-text-primary);
}

&:active {
background: var(--element-bg-strong);
background: color-mix(in srgb, var(--color-bg-scene) 82%, var(--element-bg-medium));
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--border-medium) 68%, transparent);
}

&:focus-visible {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
background: transparent;
color: var(--color-text-primary);
font-size: var(--font-size-sm);
font-weight: 500;
font-weight: 400;
cursor: pointer;
width: 100%;
text-align: left;
Expand Down
Loading