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

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