This commit is contained in:
Julian Freeman
2026-04-16 15:12:19 -04:00
parent d727162174
commit ac5bedd73f
2 changed files with 27 additions and 44 deletions

View File

@@ -73,31 +73,25 @@ const {
<p>No supported Chromium browser data was found yet.</p> <p>No supported Chromium browser data was found yet.</p>
</div> </div>
<button
class="browser-nav-item utility sidebar-utility-nav"
:class="{ active: page === 'configuration' }"
type="button"
@click="page = 'configuration'"
>
<div class="browser-nav-icon config-nav-icon">CF</div>
<div class="browser-nav-body">
<strong>Configuration</strong>
<span>Manage custom scan sources and paths</span>
</div>
</button>
<button class="refresh-button sidebar-refresh" type="button" @click="refreshAll"> <button class="refresh-button sidebar-refresh" type="button" @click="refreshAll">
{{ loading || configsLoading ? "Refreshing..." : "Refresh" }} {{ loading || configsLoading ? "Refreshing..." : "Refresh" }}
</button> </button>
</aside> </aside>
<main class="content-panel"> <main class="content-panel">
<section class="page-tabs">
<button
class="page-tab"
:class="{ active: page === 'browserData' }"
type="button"
@click="page = 'browserData'"
>
Browser Data
</button>
<button
class="page-tab"
:class="{ active: page === 'configuration' }"
type="button"
@click="page = 'configuration'"
>
Configuration
</button>
</section>
<template v-if="page === 'configuration'"> <template v-if="page === 'configuration'">
<section class="content-scroll-area"> <section class="content-scroll-area">
<section class="content-section"> <section class="content-section">

View File

@@ -197,6 +197,11 @@ button {
background: rgba(234, 88, 12, 0.12); background: rgba(234, 88, 12, 0.12);
} }
.browser-nav-item.utility.active {
background: rgba(15, 23, 42, 0.08);
border-color: rgba(15, 23, 42, 0.1);
}
.browser-nav-icon, .browser-nav-icon,
.profile-avatar, .profile-avatar,
.extension-icon { .extension-icon {
@@ -241,6 +246,14 @@ button {
background: linear-gradient(135deg, #c2410c, #fb923c); background: linear-gradient(135deg, #c2410c, #fb923c);
} }
.config-nav-icon {
background: linear-gradient(135deg, #334155, #64748b);
}
.sidebar-utility-nav {
margin-top: auto;
}
.browser-nav-body { .browser-nav-body {
min-width: 0; min-width: 0;
} }
@@ -276,30 +289,6 @@ button {
overflow: hidden; overflow: hidden;
} }
.page-tabs {
display: flex;
gap: 10px;
flex-shrink: 0;
}
.page-tab {
padding: 10px 14px;
border-radius: 14px;
background: rgba(255, 255, 255, 0.58);
color: var(--muted);
cursor: pointer;
transition:
background 160ms ease,
color 160ms ease,
box-shadow 160ms ease;
}
.page-tab.active {
color: var(--text);
background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 240, 255, 0.92));
box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}
.section-tabs, .section-tabs,
.content-section, .content-section,
.state-panel { .state-panel {
@@ -805,7 +794,7 @@ button {
} }
.sidebar-refresh { .sidebar-refresh {
margin-top: auto; margin-top: 10px;
align-self: stretch; align-self: stretch;
} }