mirror of
https://github.com/thecyberlearn/quantum-ai-v2.git
synced 2026-08-18 15:13:00 +00:00
- Consolidate CSS architecture with unified design token system - Extract 879+ lines of inline CSS to external files for better caching - Create modular CSS files: marketplace.css, agent-detail.css - Establish comprehensive button system with proper hover states - Fix "Explore Other Agents" button hover with black background/white text - Remove CSS duplication across agent-base.css (242 lines saved) - Add \!important declarations to resolve CSS conflicts across files 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
252 lines
5.0 KiB
CSS
252 lines
5.0 KiB
CSS
/* Agent Detail Page Styles - Extracted from inline CSS */
|
|
|
|
/* Enhanced Form Sections */
|
|
.section-container {
|
|
margin-bottom: var(--space-xl);
|
|
padding: var(--space-lg);
|
|
background: var(--surface-variant);
|
|
border-radius: var(--radius-md);
|
|
border: 1px solid var(--outline-variant);
|
|
}
|
|
|
|
.section-subtitle {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: var(--on-surface);
|
|
margin: 0 0 var(--space-lg) 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-sm);
|
|
}
|
|
|
|
.section-subtitle::before {
|
|
content: '';
|
|
width: 3px;
|
|
height: 16px;
|
|
background: var(--primary);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
/* Enhanced Results Display */
|
|
.results-content {
|
|
background: var(--surface-variant);
|
|
border-radius: var(--radius-md);
|
|
padding: var(--space-xl);
|
|
margin-bottom: var(--space-lg);
|
|
line-height: 1.7;
|
|
color: var(--on-surface);
|
|
font-size: 15px;
|
|
}
|
|
|
|
/* Results Typography */
|
|
.results-content h1,
|
|
.results-content h2,
|
|
.results-content h3 {
|
|
color: var(--primary);
|
|
font-weight: 700;
|
|
margin: var(--space-xl) 0 var(--space-md) 0;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.results-content h1 {
|
|
font-size: 24px;
|
|
border-bottom: 3px solid var(--primary);
|
|
padding-bottom: var(--space-sm);
|
|
margin-bottom: var(--space-lg);
|
|
}
|
|
|
|
.results-content h2 {
|
|
font-size: 20px;
|
|
margin-top: var(--space-xl);
|
|
position: relative;
|
|
padding-left: var(--space-md);
|
|
}
|
|
|
|
.results-content h2::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 4px;
|
|
background: var(--primary);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.results-content h3 {
|
|
font-size: 18px;
|
|
color: var(--on-surface);
|
|
font-weight: 600;
|
|
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
|
|
padding: var(--space-md) var(--space-lg);
|
|
border-radius: var(--space-sm);
|
|
border-left: 4px solid var(--primary);
|
|
margin: var(--space-lg) 0 var(--space-md) 0;
|
|
}
|
|
|
|
.results-content strong {
|
|
color: var(--primary);
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Toast Notifications */
|
|
.toast {
|
|
position: fixed;
|
|
top: 20px;
|
|
right: 20px;
|
|
background: var(--surface);
|
|
border: 1px solid var(--outline);
|
|
border-radius: var(--radius-md);
|
|
padding: var(--space-md) var(--space-lg);
|
|
box-shadow: var(--shadow-lg);
|
|
z-index: var(--z-toast);
|
|
max-width: 400px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
transform: translateX(100%);
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.toast.show {
|
|
transform: translateX(0);
|
|
}
|
|
|
|
.toast.success {
|
|
border-color: var(--success);
|
|
background: #f0fdf4;
|
|
color: #16a34a;
|
|
}
|
|
|
|
.toast.error {
|
|
border-color: var(--error);
|
|
background: #fef2f2;
|
|
color: #dc2626;
|
|
}
|
|
|
|
.toast.info {
|
|
border-color: var(--primary);
|
|
background: #f0f9ff;
|
|
color: #0369a1;
|
|
}
|
|
|
|
/* File Upload Styles */
|
|
.file-upload-container {
|
|
position: relative;
|
|
}
|
|
|
|
.form-file-input {
|
|
display: none;
|
|
}
|
|
|
|
.file-upload-label {
|
|
display: block;
|
|
padding: var(--space-lg);
|
|
border: 2px dashed var(--outline-variant);
|
|
border-radius: var(--radius-md);
|
|
text-align: center;
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
background: var(--surface-variant);
|
|
color: var(--on-surface-variant);
|
|
}
|
|
|
|
.file-upload-label:hover {
|
|
border-color: var(--primary);
|
|
background: rgba(0, 0, 0, 0.02);
|
|
}
|
|
|
|
.file-upload-label.dragover {
|
|
border-color: var(--primary);
|
|
background: rgba(0, 0, 0, 0.05);
|
|
transform: scale(1.02);
|
|
}
|
|
|
|
.file-upload-icon {
|
|
font-size: 2rem;
|
|
display: block;
|
|
margin-bottom: var(--space-sm);
|
|
}
|
|
|
|
.file-upload-text {
|
|
display: block;
|
|
font-weight: 500;
|
|
margin-bottom: var(--space-xs);
|
|
color: var(--on-surface);
|
|
}
|
|
|
|
.file-upload-info {
|
|
font-size: 12px;
|
|
color: var(--on-surface-variant);
|
|
}
|
|
|
|
.file-selected {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: var(--space-md);
|
|
background: var(--surface);
|
|
border: 1px solid var(--success);
|
|
border-radius: var(--space-sm);
|
|
margin-top: var(--space-sm);
|
|
}
|
|
|
|
.file-name {
|
|
font-size: 14px;
|
|
color: var(--on-surface);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.file-remove {
|
|
background: var(--error);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 50%;
|
|
width: 24px;
|
|
height: 24px;
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.file-remove:hover {
|
|
background: #dc2626;
|
|
}
|
|
|
|
/* Responsive Design */
|
|
@media (max-width: 768px) {
|
|
.toast {
|
|
left: 20px;
|
|
right: 20px;
|
|
max-width: none;
|
|
transform: translateY(-100%);
|
|
}
|
|
|
|
.toast.show {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.results-content {
|
|
padding: var(--space-md);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.results-content h1 {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.results-content h2 {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.results-content h3 {
|
|
font-size: 16px;
|
|
padding: var(--space-sm) var(--space-md);
|
|
}
|
|
|
|
.section-container {
|
|
padding: var(--space-md);
|
|
}
|
|
} |