@jjdenhertog/ai-driven-development
Version:
AI-driven development workflow with learning capabilities for Claude
161 lines (138 loc) • 2.7 kB
CSS
.panel {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
padding: 1rem;
}
.header {
margin-bottom: 2rem;
text-align: center;
}
.header h2 {
font-size: 1.5rem;
font-weight: 600;
color: var(--text-primary);
margin-bottom: 0.5rem;
}
.subtitle {
font-size: 0.875rem;
color: var(--text-secondary);
}
.content {
width: 360px;
display: flex;
flex-direction: column;
gap: 2rem;
}
.section {
padding-bottom: 1.5rem;
border-bottom: 1px solid var(--border-color);
}
.section:last-child {
border-bottom: none;
}
.section h3 {
font-size: 1rem;
font-weight: 500;
color: var(--text-primary);
margin-bottom: 1rem;
}
.formGroup {
display: flex;
align-items: center;
gap: 1rem;
}
.switchGroup {
display: flex;
align-items: center;
gap: 0.75rem;
flex: 1;
}
.switchGroup label:last-child {
cursor: pointer;
user-select: none;
}
/* Switch Toggle Styles (reused from SettingsForm) */
.switch {
position: relative;
display: inline-block;
width: 48px;
height: 26px;
}
.switch input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: var(--bg-tertiary);
border: 1px solid var(--border-color);
transition: all 0.3s ease;
border-radius: 26px;
}
.slider:before {
position: absolute;
content: "";
height: 18px;
width: 18px;
left: 3px;
bottom: 3px;
background-color: white;
transition: all 0.3s ease;
border-radius: 50%;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.switch input:checked + .slider {
background-color: var(--accent-color);
border-color: var(--accent-color);
}
.switch input:focus + .slider {
box-shadow: 0 0 0 2px var(--accent-muted);
}
.switch input:checked + .slider:before {
transform: translateX(22px);
}
.switch:hover .slider {
background-color: var(--bg-secondary);
}
.switch input:checked:hover + .slider {
background-color: var(--accent-color);
opacity: 0.9;
}
/* Select dropdown */
.select {
flex: 1;
padding: 0.5rem 0.75rem;
background: var(--bg-tertiary);
border: 1px solid var(--border-color);
border-radius: 0.375rem;
color: var(--text-primary);
font-size: 0.875rem;
transition: all 0.2s;
cursor: pointer;
}
.select:focus {
outline: none;
border-color: var(--accent-color);
background: var(--bg-secondary);
}
.select:hover {
background: var(--bg-secondary);
}
.error {
margin-top: 1rem;
padding: 0.75rem 1rem;
background: rgba(239, 68, 68, 0.1);
border: 1px solid rgba(239, 68, 68, 0.3);
border-radius: 0.5rem;
color: var(--error-color);
font-size: 0.875rem;
}