refactor css

This commit is contained in:
Julian Freeman
2026-04-16 17:06:09 -04:00
parent 8dd06fa64d
commit 33f43aac56
8 changed files with 785 additions and 751 deletions

View File

@@ -97,3 +97,116 @@ onBeforeUnmount(() => {
</div>
</div>
</template>
<style scoped>
.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);
}
</style>

View File

@@ -67,3 +67,74 @@ const emit = defineEmits<{
</div>
</section>
</template>
<style scoped>
.bookmark-card {
display: flex;
gap: 12px;
border-radius: 18px;
padding: 14px;
border: 1px solid rgba(148, 163, 184, 0.18);
background: var(--panel-strong);
}
.bookmark-body {
min-width: 0;
flex: 1;
}
.bookmark-topline {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
}
.bookmark-topline h4 {
margin: 0;
font-size: 0.96rem;
line-height: 1.35;
font-weight: 600;
letter-spacing: -0.03em;
}
.bookmark-url {
margin: 6px 0 0;
color: var(--muted);
font-size: 0.87rem;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.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;
}
.disclosure-panel {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 8px;
}
@media (max-width: 720px) {
.bookmark-card {
flex-direction: column;
}
}
</style>

View File

@@ -103,3 +103,46 @@ const emit = defineEmits<{
/>
</div>
</template>
<style scoped>
.section-tabs {
display: flex;
gap: 10px;
margin-top: 0;
padding: 8px;
flex-shrink: 0;
border: 1px solid var(--panel-border);
border-radius: 22px;
background: var(--panel);
box-shadow: var(--shadow);
}
.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);
}
</style>

View File

@@ -81,3 +81,98 @@ const emit = defineEmits<{
</div>
</section>
</template>
<style scoped>
.extension-card {
display: flex;
gap: 12px;
border-radius: 18px;
padding: 14px;
border: 1px solid rgba(148, 163, 184, 0.18);
background: var(--panel-strong);
}
.extension-icon {
display: grid;
place-items: center;
flex-shrink: 0;
width: 46px;
height: 46px;
border-radius: 14px;
background: linear-gradient(135deg, #e2e8f0, #f8fafc);
color: #475569;
font-weight: 700;
overflow: hidden;
}
.extension-icon img {
width: 100%;
height: 100%;
object-fit: cover;
}
.extension-body {
min-width: 0;
flex: 1;
}
.extension-topline {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
}
.extension-topline h4 {
margin: 0;
font-size: 0.96rem;
line-height: 1.35;
font-weight: 600;
letter-spacing: -0.03em;
}
.meta-line {
margin: 6px 0 0;
color: var(--muted);
font-size: 0.87rem;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.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;
}
.disclosure-panel {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 8px;
}
@media (max-width: 720px) {
.extension-card {
flex-direction: column;
}
.extension-icon {
width: 50px;
height: 50px;
}
}
</style>

View File

@@ -69,3 +69,80 @@ const emit = defineEmits<{
</div>
</section>
</template>
<style scoped>
.profile-card {
display: flex;
gap: 12px;
border-radius: 18px;
padding: 14px;
border: 1px solid rgba(148, 163, 184, 0.18);
background: var(--panel-strong);
}
.profile-avatar {
display: grid;
place-items: center;
flex-shrink: 0;
width: 52px;
height: 52px;
border-radius: 15px;
background: linear-gradient(135deg, #dbeafe, #eff6ff);
color: #1d4ed8;
font-size: 1.1rem;
font-weight: 700;
overflow: hidden;
}
.profile-avatar img {
width: 100%;
height: 100%;
object-fit: cover;
}
.profile-body {
min-width: 0;
flex: 1;
}
.profile-topline {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
}
.profile-topline h4 {
margin: 0;
font-size: 0.96rem;
line-height: 1.35;
font-weight: 600;
letter-spacing: -0.03em;
}
.profile-actions {
display: inline-flex;
align-items: center;
gap: 8px;
}
.profile-email {
margin: 6px 0 0;
color: var(--muted);
font-size: 0.87rem;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
@media (max-width: 720px) {
.profile-card {
flex-direction: column;
}
.profile-avatar {
width: 50px;
height: 50px;
}
}
</style>

View File

@@ -168,3 +168,175 @@ const iconOptions = computed(() =>
</section>
</section>
</template>
<style scoped>
.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 {
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;
}
.field-group {
display: grid;
gap: 6px;
}
.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 :deep(.sort-dropdown) {
width: 100%;
}
.field-group :deep(.sort-dropdown-trigger) {
width: 100%;
min-width: 0;
}
.path-input-row {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 10px;
}
.config-toggle-button {
white-space: nowrap;
}
.config-form-actions {
display: flex;
justify-content: flex-end;
margin-top: 2px;
}
.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 {
display: grid;
place-items: center;
flex-shrink: 0;
width: 30px;
height: 30px;
font-size: 0.74rem;
overflow: visible;
}
.config-icon img {
display: block;
width: auto;
height: auto;
max-width: 26px;
max-height: 26px;
object-fit: contain;
}
.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;
}
@media (max-width: 720px) {
.config-inline-row,
.config-meta {
grid-template-columns: 1fr;
}
}
</style>

View File

@@ -72,3 +72,217 @@ const emit = defineEmits<{
</button>
</aside>
</template>
<style scoped>
.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 {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 2px 2px 8px;
}
.sidebar-title-group {
min-width: 0;
}
.sidebar-title-group h1 {
margin: 0;
font-size: 1.34rem;
line-height: 1.04;
font-weight: 600;
letter-spacing: -0.04em;
}
.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;
scrollbar-width: thin;
scrollbar-color: rgba(100, 116, 139, 0.42) transparent;
}
.browser-nav::-webkit-scrollbar {
width: 10px;
}
.browser-nav::-webkit-scrollbar-track {
background: transparent;
}
.browser-nav::-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 {
background: linear-gradient(180deg, rgba(100, 116, 139, 0.82), rgba(71, 85, 105, 0.72));
background-clip: padding-box;
}
.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 {
display: grid;
place-items: center;
flex-shrink: 0;
width: 34px;
height: 34px;
color: #fff;
font-weight: 700;
font-size: 0.78rem;
letter-spacing: 0.08em;
background: transparent;
overflow: visible;
}
.browser-nav-icon img {
display: block;
width: auto;
height: auto;
max-width: 30px;
max-height: 30px;
object-fit: contain;
}
.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;
}
.sidebar-empty {
padding: 14px;
border-radius: 14px;
background: rgba(255, 255, 255, 0.58);
border: 1px dashed rgba(148, 163, 184, 0.35);
}
.sidebar-empty p {
margin: 0;
color: var(--muted);
}
</style>

View File

@@ -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;
}
}