diff --git a/src/components/SortDropdown.vue b/src/components/SortDropdown.vue index eb35ac6..8761a71 100644 --- a/src/components/SortDropdown.vue +++ b/src/components/SortDropdown.vue @@ -97,3 +97,116 @@ onBeforeUnmount(() => { + + diff --git a/src/components/browser-data/BookmarksList.vue b/src/components/browser-data/BookmarksList.vue index 0cea5e0..1705813 100644 --- a/src/components/browser-data/BookmarksList.vue +++ b/src/components/browser-data/BookmarksList.vue @@ -67,3 +67,74 @@ const emit = defineEmits<{ + + diff --git a/src/components/browser-data/BrowserDataView.vue b/src/components/browser-data/BrowserDataView.vue index bfccd8a..91d0290 100644 --- a/src/components/browser-data/BrowserDataView.vue +++ b/src/components/browser-data/BrowserDataView.vue @@ -103,3 +103,46 @@ const emit = defineEmits<{ /> + + diff --git a/src/components/browser-data/ExtensionsList.vue b/src/components/browser-data/ExtensionsList.vue index 2e40267..823612d 100644 --- a/src/components/browser-data/ExtensionsList.vue +++ b/src/components/browser-data/ExtensionsList.vue @@ -81,3 +81,98 @@ const emit = defineEmits<{ + + diff --git a/src/components/browser-data/ProfilesList.vue b/src/components/browser-data/ProfilesList.vue index ec9e171..55fac73 100644 --- a/src/components/browser-data/ProfilesList.vue +++ b/src/components/browser-data/ProfilesList.vue @@ -69,3 +69,80 @@ const emit = defineEmits<{ + + diff --git a/src/components/config/ConfigurationView.vue b/src/components/config/ConfigurationView.vue index 1af34cf..c9d2603 100644 --- a/src/components/config/ConfigurationView.vue +++ b/src/components/config/ConfigurationView.vue @@ -168,3 +168,175 @@ const iconOptions = computed(() => + + diff --git a/src/components/sidebar/AppSidebar.vue b/src/components/sidebar/AppSidebar.vue index b74634c..1d1e814 100644 --- a/src/components/sidebar/AppSidebar.vue +++ b/src/components/sidebar/AppSidebar.vue @@ -72,3 +72,217 @@ const emit = defineEmits<{ + + diff --git a/src/styles/app.css b/src/styles/app.css index d94392f..92725fa 100644 --- a/src/styles/app.css +++ b/src/styles/app.css @@ -13,259 +13,6 @@ -webkit-backdrop-filter: blur(20px); } -.sidebar { - display: flex; - flex-direction: column; - gap: 10px; - padding: 16px 14px; - min-height: 0; - border: 1px solid var(--panel-border); - border-radius: 22px; - background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.7)); - box-shadow: var(--shadow); -} - -.sidebar-toolbar h1, -.state-panel h2, -.profile-topline h4, -.extension-topline h4, -.bookmark-topline h4 { - margin: 0; - font-weight: 600; - letter-spacing: -0.03em; -} - -.sidebar-toolbar { - display: flex; - align-items: center; - justify-content: space-between; - gap: 12px; - padding: 2px 2px 8px; -} - -.sidebar-title-group { - min-width: 0; -} - -.sidebar-toolbar h1 { - font-size: 1.34rem; - line-height: 1.04; - letter-spacing: -0.04em; -} - -.state-panel p, -.meta-line, -.profile-email, -.bookmark-url, -.browser-nav-body span, -.sidebar-empty p { - margin: 0; - color: var(--muted); -} - -.refresh-button { - flex-shrink: 0; - margin-top: 2px; - padding: 9px 13px; - border-radius: 12px; - background: linear-gradient(135deg, #10213f 0%, #213f75 100%); - color: #fff; - cursor: pointer; - font-size: 0.86rem; - font-weight: 600; - transition: - transform 160ms ease, - box-shadow 160ms ease; - box-shadow: 0 12px 24px rgba(20, 44, 82, 0.18); -} - -.refresh-button:hover { - transform: translateY(-1px); -} - -.refresh-icon-button { - display: inline-flex; - align-items: center; - justify-content: center; - width: 36px; - height: 36px; - border: 1px solid rgba(148, 163, 184, 0.24); - border-radius: 12px; - background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.92)); - box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7); - cursor: pointer; - transition: - transform 160ms ease, - border-color 160ms ease, - box-shadow 160ms ease; -} - -.refresh-icon-button:hover { - transform: translateY(-1px); - border-color: rgba(100, 116, 139, 0.36); -} - -.refresh-icon { - width: 13px; - height: 13px; - border: 1.8px solid #334155; - border-right-color: transparent; - border-radius: 50%; - position: relative; -} - -.refresh-icon::after { - content: ""; - position: absolute; - top: -2px; - right: -3px; - width: 6px; - height: 6px; - border-top: 1.8px solid #334155; - border-right: 1.8px solid #334155; - transform: rotate(18deg); -} - -.sr-only { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - clip: rect(0, 0, 0, 0); - white-space: nowrap; - border: 0; -} - -.browser-nav { - display: flex; - flex-direction: column; - gap: 6px; - min-height: 0; - overflow: auto; - padding: 2px 2px 0 0; -} - -.browser-nav-item { - display: flex; - align-items: center; - gap: 12px; - width: 100%; - padding: 9px 10px; - border-radius: 14px; - text-align: left; - cursor: pointer; - background: rgba(255, 255, 255, 0.54); - border: 1px solid transparent; - transition: - transform 160ms ease, - border-color 160ms ease, - background 160ms ease; -} - -.browser-nav-item:hover { - transform: translateY(-1px); - border-color: var(--panel-border); -} - -.browser-nav-item.active { - background: var(--accent-soft); - border-color: rgba(47, 111, 237, 0.18); -} - -.browser-nav-item.chrome.active { - background: rgba(37, 99, 235, 0.12); -} - -.browser-nav-item.edge.active { - background: rgba(8, 145, 178, 0.12); -} - -.browser-nav-item.brave.active { - 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, -.profile-avatar, -.extension-icon { - display: grid; - place-items: center; - flex-shrink: 0; - overflow: hidden; -} - -.browser-nav-icon { - width: 34px; - height: 34px; - border-radius: 0; - color: #fff; - font-weight: 700; - font-size: 0.78rem; - letter-spacing: 0.08em; - background: transparent; - overflow: visible; -} - -.browser-nav-icon img, -.config-icon img { - display: block; - width: auto; - height: auto; - object-fit: contain; -} - -.browser-nav-icon img { - max-width: 30px; - max-height: 30px; -} - -.config-icon img { - max-width: 26px; - max-height: 26px; -} - -.config-nav-icon { - background: transparent; -} - -.sidebar-utility-nav { - margin-top: auto; -} - -.browser-nav-body { - min-width: 0; -} - -.browser-nav-body strong { - display: block; - color: var(--text); - font-size: 0.94rem; - line-height: 1.25; -} - -.browser-nav-body span { - display: block; - margin-top: 2px; - font-size: 0.8rem; - line-height: 1.4; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; -} - -.sidebar-empty { - padding: 14px; - border-radius: 14px; - background: rgba(255, 255, 255, 0.58); - border: 1px dashed rgba(148, 163, 184, 0.35); -} - .content-panel { display: flex; flex-direction: column; @@ -275,7 +22,6 @@ overflow: hidden; } -.section-tabs, .content-section, .state-panel { border: 1px solid var(--panel-border); @@ -298,164 +44,6 @@ font-size: 0.86rem; } -.config-form-card, -.config-card { - border-radius: 18px; - padding: 12px; - border: 1px solid rgba(148, 163, 184, 0.18); - background: var(--panel-strong); -} - -.config-form-header h3, -.config-title-row h4 { - margin: 0; - font-size: 0.94rem; -} - -.config-form-header.collapsible { - display: flex; - align-items: center; - justify-content: space-between; - gap: 12px; -} - -.config-form-header p, -.config-meta-row p { - margin: 6px 0 0; - color: var(--muted); - font-size: 0.82rem; -} - -.config-form-fields, -.config-form-side { - display: grid; - gap: 10px; -} - -.config-form-fields.compact { - margin-top: 12px; -} - -.config-inline-row { - display: grid; - grid-template-columns: minmax(0, 1fr) 240px; - gap: 12px; - align-items: end; -} - -.config-form-collapsed-note { - margin-top: 12px; - padding: 10px 12px; - border-radius: 12px; - background: rgba(248, 250, 252, 0.78); - border: 1px solid rgba(148, 163, 184, 0.12); - color: var(--muted); - font-size: 0.82rem; -} - -.config-form-side { - align-content: start; - padding: 10px 12px; - border-radius: 16px; - background: linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(241, 245, 249, 0.8)); - border: 1px solid rgba(148, 163, 184, 0.14); -} - -.icon-option-grid { - display: grid; - grid-template-columns: repeat(3, minmax(0, 1fr)); - gap: 8px; -} - -.icon-option-button { - display: grid; - grid-template-columns: 24px minmax(0, 1fr); - align-items: center; - column-gap: 8px; - min-height: 0; - padding: 8px 10px; - border: 1px solid rgba(148, 163, 184, 0.2); - border-radius: 12px; - background: rgba(255, 255, 255, 0.9); - color: var(--text); - cursor: pointer; - transition: - border-color 160ms ease, - background 160ms ease, - box-shadow 160ms ease; -} - -.icon-option-button img { - width: 22px; - height: 22px; - object-fit: contain; -} - -.icon-option-button span { - font-size: 0.75rem; - font-weight: 600; - text-align: left; - line-height: 1.2; -} - -.icon-option-button.active { - border-color: rgba(47, 111, 237, 0.3); - background: rgba(232, 240, 255, 0.8); - box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.1); -} - -.field-group { - display: grid; - gap: 6px; -} - -.path-input-row { - display: grid; - grid-template-columns: minmax(0, 1fr) auto; - gap: 10px; -} - -.config-toggle-button { - white-space: nowrap; -} - -.field-group span, -.config-label { - color: var(--muted); - font-size: 0.8rem; - font-weight: 600; -} - -.field-group input { - width: 100%; - padding: 9px 11px; - border: 1px solid rgba(148, 163, 184, 0.24); - border-radius: 12px; - background: rgba(255, 255, 255, 0.94); - color: var(--text); - outline: none; -} - -.field-group input:focus { - border-color: rgba(47, 111, 237, 0.42); - box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.12); -} - -.field-group .sort-dropdown { - width: 100%; -} - -.field-group .sort-dropdown-trigger { - width: 100%; - min-width: 0; -} - -.config-form-actions { - display: flex; - justify-content: flex-end; - margin-top: 2px; -} - .primary-button, .secondary-button, .danger-button { @@ -490,212 +78,18 @@ opacity: 0.72; } -.config-card-header, -.config-title-row { - display: flex; - align-items: center; - justify-content: space-between; - gap: 10px; -} - -.config-card-lead { - display: flex; - align-items: center; - gap: 10px; - min-width: 0; - flex: 1; -} - -.config-icon { - width: 30px; - height: 30px; - border-radius: 0; - font-size: 0.74rem; - overflow: visible; -} - -.config-meta { - display: grid; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 12px; - margin-top: 10px; -} - -.config-meta-row { - display: grid; - gap: 3px; - padding: 10px 12px; - border-radius: 12px; - background: rgba(248, 250, 252, 0.78); - border: 1px solid rgba(148, 163, 184, 0.12); -} - -.config-meta-row p { - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; -} - .sort-bar { display: flex; justify-content: flex-end; margin-bottom: 12px; } -.sort-dropdown { - display: inline-flex; - align-items: center; - gap: 8px; - position: relative; -} - -.sort-dropdown-label { - color: var(--muted); - font-size: 0.84rem; -} - -.sort-dropdown-trigger { - display: inline-flex; - align-items: center; - justify-content: space-between; - gap: 14px; - min-width: 152px; - padding: 7px 10px; - border: 1px solid rgba(148, 163, 184, 0.26); - border-radius: 10px; - background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.92)); - color: var(--text); - box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7); - cursor: pointer; - transition: - border-color 160ms ease, - box-shadow 160ms ease, - background 160ms ease; -} - -.sort-dropdown-trigger-label, -.sort-dropdown-option-content { - display: inline-flex; - align-items: center; - gap: 8px; - min-width: 0; -} - -.sort-dropdown-option-icon { - width: 18px; - height: 18px; - flex-shrink: 0; - object-fit: contain; -} - -.sort-dropdown-trigger:hover { - border-color: rgba(100, 116, 139, 0.36); -} - -.sort-dropdown-trigger.open { - border-color: rgba(47, 111, 237, 0.42); - box-shadow: - 0 0 0 3px rgba(47, 111, 237, 0.12), - inset 0 1px 0 rgba(255, 255, 255, 0.8); -} - -.sort-dropdown-caret { - width: 10px; - height: 10px; - flex-shrink: 0; - border-right: 1.8px solid #64748b; - border-bottom: 1.8px solid #64748b; - transform: rotate(45deg) translateY(-1px); - transition: transform 160ms ease; -} - -.sort-dropdown-trigger.open .sort-dropdown-caret { - transform: rotate(-135deg) translate(-2px, -2px); -} - -.sort-dropdown-menu { - position: absolute; - top: calc(100% + 8px); - right: 0; - z-index: 30; - min-width: 100%; - padding: 6px; - border: 1px solid rgba(148, 163, 184, 0.22); - border-radius: 14px; - background: rgba(255, 255, 255, 0.98); - box-shadow: - 0 20px 40px rgba(15, 23, 42, 0.14), - inset 0 1px 0 rgba(255, 255, 255, 0.75); - backdrop-filter: blur(16px); - -webkit-backdrop-filter: blur(16px); -} - -.sort-dropdown-option { - display: block; - width: 100%; - padding: 10px 12px; - border-radius: 10px; - text-align: left; - color: var(--text); - background: transparent; - cursor: pointer; - transition: - background 140ms ease, - color 140ms ease; -} - -.sort-dropdown-option:hover { - background: rgba(241, 245, 249, 0.92); -} - -.sort-dropdown-option.active { - color: #fff; - background: linear-gradient(135deg, #213f75, #325ca8); -} - -.section-tabs { - display: flex; - gap: 10px; - margin-top: 0; - padding: 8px; - flex-shrink: 0; -} - .content-scroll-area { min-height: 0; overflow: auto; padding-right: 2px; } -.section-tab { - display: inline-flex; - align-items: center; - justify-content: space-between; - gap: 12px; - min-width: 0; - flex: 1; - padding: 10px 12px; - border-radius: 15px; - color: var(--muted); - background: rgba(255, 255, 255, 0.58); - cursor: pointer; - transition: - background 160ms ease, - color 160ms ease, - transform 160ms ease, - box-shadow 160ms ease; -} - -.section-tab:hover { - transform: translateY(-1px); -} - -.section-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); -} - .count-pill, .badge { display: inline-flex; @@ -729,106 +123,6 @@ gap: 10px; } -.profile-card, -.extension-card, -.bookmark-card, -.empty-card { - border-radius: 18px; - padding: 14px; - border: 1px solid rgba(148, 163, 184, 0.18); - background: var(--panel-strong); -} - -.profile-card, -.extension-card, -.bookmark-card { - display: flex; - gap: 12px; -} - -.profile-avatar { - width: 52px; - height: 52px; - border-radius: 15px; - background: linear-gradient(135deg, #dbeafe, #eff6ff); - color: #1d4ed8; - font-size: 1.1rem; - font-weight: 700; -} - -.profile-avatar img, -.extension-icon img { - width: 100%; - height: 100%; - object-fit: cover; -} - -.profile-body, -.extension-body, -.bookmark-body { - min-width: 0; - flex: 1; -} - -.profile-topline, -.extension-topline, -.bookmark-topline { - display: flex; - align-items: flex-start; - justify-content: space-between; - gap: 12px; -} - -.profile-topline h4, -.extension-topline h4, -.bookmark-topline h4 { - font-size: 0.96rem; - line-height: 1.35; -} - -.profile-actions { - display: inline-flex; - align-items: center; - gap: 8px; -} - -.profile-email, -.meta-line, -.bookmark-url { - margin-top: 6px; - font-size: 0.87rem; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} - -.extension-icon { - width: 46px; - height: 46px; - border-radius: 14px; - background: linear-gradient(135deg, #e2e8f0, #f8fafc); - color: #475569; - font-weight: 700; -} - -.source-disclosure { - margin-top: 10px; -} - -.disclosure-button { - display: flex; - align-items: center; - justify-content: space-between; - gap: 10px; - width: fit-content; - min-width: 120px; - padding: 7px 10px; - border-radius: 12px; - background: rgba(241, 245, 249, 0.9); - color: var(--badge-text); - cursor: pointer; -} - .card-action-button { padding: 6px 10px; border-radius: 10px; @@ -859,13 +153,6 @@ box-shadow: inset 0 2px 4px rgba(148, 163, 184, 0.18); } -.disclosure-panel { - display: flex; - flex-wrap: wrap; - gap: 8px; - margin-top: 8px; -} - .state-panel, .empty-card { display: grid; @@ -892,26 +179,18 @@ scrollbar-width: thin; scrollbar-color: rgba(100, 116, 139, 0.42) transparent; } - -.browser-nav::-webkit-scrollbar, .content-scroll-area::-webkit-scrollbar { width: 10px; } - -.browser-nav::-webkit-scrollbar-track, .content-scroll-area::-webkit-scrollbar-track { background: transparent; } - -.browser-nav::-webkit-scrollbar-thumb, .content-scroll-area::-webkit-scrollbar-thumb { border: 3px solid transparent; border-radius: 999px; background: linear-gradient(180deg, rgba(148, 163, 184, 0.72), rgba(100, 116, 139, 0.58)); background-clip: padding-box; } - -.browser-nav::-webkit-scrollbar-thumb:hover, .content-scroll-area::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, rgba(100, 116, 139, 0.82), rgba(71, 85, 105, 0.72)); background-clip: padding-box; @@ -935,43 +214,13 @@ overflow: visible; } - .browser-nav, .content-scroll-area { overflow: visible; } } @media (max-width: 720px) { - .config-inline-row { - grid-template-columns: 1fr; - } - .sort-bar { justify-content: stretch; } - - .sort-dropdown { - width: 100%; - } - - .sort-dropdown-trigger { - min-width: 0; - width: 100%; - } - - .profile-card, - .extension-card, - .bookmark-card { - flex-direction: column; - } - - .config-meta { - grid-template-columns: 1fr; - } - - .profile-avatar, - .extension-icon { - width: 50px; - height: 50px; - } }