Rename before community plugin submission (plugin IDs are permanent). Updates plugin ID, display name, package name, all class names, CSS prefix (cc- → pf-), default folders (_claude → _context), built-in target ID, and all documentation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
270 lines
4.8 KiB
CSS
270 lines
4.8 KiB
CSS
/* Settings search */
|
|
.pf-settings-search-input {
|
|
width: 100%;
|
|
padding: 8px 12px;
|
|
margin-bottom: 8px;
|
|
border: 1px solid var(--background-modifier-border);
|
|
border-radius: 4px;
|
|
background: var(--background-primary);
|
|
color: var(--text-normal);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.pf-settings-search-input:focus {
|
|
border-color: var(--interactive-accent);
|
|
outline: none;
|
|
}
|
|
|
|
.pf-settings-search-input::placeholder {
|
|
color: var(--text-faint);
|
|
}
|
|
|
|
.pf-settings-search-heading {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
margin: 16px 0 8px 0;
|
|
padding-bottom: 4px;
|
|
border-bottom: 1px solid var(--background-modifier-border);
|
|
}
|
|
|
|
.pf-settings-search-group:first-child .pf-settings-search-heading {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.pf-settings-no-results {
|
|
color: var(--text-muted);
|
|
font-style: italic;
|
|
text-align: center;
|
|
padding: 20px 0;
|
|
}
|
|
|
|
.pf-dynamic-desc {
|
|
color: var(--text-faint);
|
|
}
|
|
|
|
/* Tab navigation for settings */
|
|
.pf-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;
|
|
}
|
|
|
|
.pf-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;
|
|
}
|
|
|
|
.pf-settings-tab:hover {
|
|
color: var(--text-normal);
|
|
}
|
|
|
|
.pf-settings-tab.is-active {
|
|
color: var(--text-normal);
|
|
border-bottom-color: var(--interactive-accent);
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Collapsible sections */
|
|
.pf-section {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.pf-section-header {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 8px 4px;
|
|
cursor: pointer;
|
|
border-radius: 4px;
|
|
user-select: none;
|
|
}
|
|
|
|
.pf-section-header:hover {
|
|
background: var(--background-modifier-hover);
|
|
}
|
|
|
|
.pf-section-title {
|
|
flex: 1;
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.pf-section-chevron {
|
|
font-size: 16px;
|
|
transition: transform 0.2s ease;
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
.pf-section.is-collapsed .pf-section-chevron {
|
|
transform: rotate(0deg);
|
|
}
|
|
|
|
.pf-section-content {
|
|
max-height: 2000px;
|
|
overflow: hidden;
|
|
transition: max-height 0.25s ease, opacity 0.2s ease;
|
|
opacity: 1;
|
|
padding-top: 4px;
|
|
}
|
|
|
|
.pf-section.is-collapsed .pf-section-content {
|
|
max-height: 0;
|
|
opacity: 0;
|
|
padding-top: 0;
|
|
}
|
|
|
|
/* Generator modal */
|
|
.pf-gen-modal {
|
|
width: 70vw;
|
|
max-width: 900px;
|
|
}
|
|
|
|
.pf-gen-modal .modal-content {
|
|
max-height: 80vh;
|
|
overflow-y: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.pf-gen-layout {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 20px;
|
|
flex: 1;
|
|
min-height: 0;
|
|
}
|
|
|
|
.pf-gen-zone {
|
|
overflow-y: auto;
|
|
max-height: 60vh;
|
|
padding-right: 8px;
|
|
}
|
|
|
|
.pf-gen-selection {
|
|
border-right: 1px solid var(--background-modifier-border);
|
|
padding-right: 20px;
|
|
}
|
|
|
|
.pf-gen-zone h3 {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.pf-gen-footer {
|
|
border-top: 1px solid var(--background-modifier-border);
|
|
padding-top: 12px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.pf-gen-stat {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
padding: 6px 10px;
|
|
background: var(--background-secondary);
|
|
border-radius: 4px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
/* Generator status bar */
|
|
.pf-gen-statusbar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 6px 12px;
|
|
margin-bottom: 12px;
|
|
background: var(--background-secondary);
|
|
border: 1px solid var(--background-modifier-border);
|
|
border-radius: 4px;
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.pf-statusbar-item {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.pf-statusbar-sep {
|
|
color: var(--text-faint);
|
|
user-select: none;
|
|
}
|
|
|
|
.pf-statusbar-clickable {
|
|
cursor: pointer;
|
|
border-radius: 3px;
|
|
padding: 1px 4px;
|
|
transition: background 0.15s ease, color 0.15s ease;
|
|
}
|
|
|
|
.pf-statusbar-clickable:hover {
|
|
background: var(--background-modifier-hover);
|
|
color: var(--text-normal);
|
|
}
|
|
|
|
.pf-statusbar-tokens.is-warning {
|
|
color: var(--text-warning, #e0a526);
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Generator preview pane */
|
|
.pf-preview-section {
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.pf-preview-body {
|
|
border: 1px solid var(--background-modifier-border);
|
|
background: var(--background-secondary);
|
|
border-radius: 4px;
|
|
max-height: 300px;
|
|
overflow-y: auto;
|
|
padding: 10px;
|
|
}
|
|
|
|
.pf-preview-code {
|
|
font-family: var(--font-monospace);
|
|
font-size: 11px;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
background: transparent;
|
|
margin: 0;
|
|
}
|
|
|
|
.pf-preview-line-info {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
font-style: italic;
|
|
text-align: right;
|
|
margin-top: 6px;
|
|
}
|
|
|
|
/* Stack on narrow viewports */
|
|
@media (max-width: 768px) {
|
|
.pf-gen-modal {
|
|
width: 90vw;
|
|
}
|
|
.pf-gen-layout {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.pf-gen-selection {
|
|
border-right: none;
|
|
border-bottom: 1px solid var(--background-modifier-border);
|
|
padding-right: 0;
|
|
padding-bottom: 16px;
|
|
max-height: none;
|
|
}
|
|
.pf-gen-zone {
|
|
max-height: none;
|
|
}
|
|
}
|