Split settings into 5 tabs (General, Sources, Templates, Output, History) with a sticky tab bar. Persists the last active tab in plugin settings so it reopens where the user left off. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
33 lines
682 B
CSS
33 lines
682 B
CSS
/* Tab navigation for settings */
|
|
.cc-settings-tabs {
|
|
display: flex;
|
|
gap: 0;
|
|
border-bottom: 1px solid var(--background-modifier-border);
|
|
margin-bottom: 16px;
|
|
position: sticky;
|
|
top: 0;
|
|
background: var(--background-primary);
|
|
z-index: 1;
|
|
padding-top: 4px;
|
|
}
|
|
|
|
.cc-settings-tab {
|
|
padding: 8px 16px;
|
|
border: none;
|
|
background: none;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
border-bottom: 2px solid transparent;
|
|
transition: color 0.15s ease, border-color 0.15s ease;
|
|
}
|
|
|
|
.cc-settings-tab:hover {
|
|
color: var(--text-normal);
|
|
}
|
|
|
|
.cc-settings-tab.is-active {
|
|
color: var(--text-normal);
|
|
border-bottom-color: var(--interactive-accent);
|
|
font-weight: 600;
|
|
}
|