106 lines
1.8 KiB
CSS
106 lines
1.8 KiB
CSS
/* Model Plaza — 模型广场 */
|
|
|
|
/* Hide provider view initially */
|
|
#plaza_view_provider {
|
|
display: none;
|
|
}
|
|
|
|
.plaza-header {
|
|
padding: 8px 16px 4px 16px;
|
|
}
|
|
|
|
/* View switcher buttons */
|
|
.plaza-view-switcher {
|
|
gap: 8px;
|
|
padding: 8px 0 4px 0;
|
|
}
|
|
|
|
.plaza-view-btn {
|
|
border-radius: 6px !important;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.plaza-view-btn.plaza-view-active {
|
|
border: 2px solid var(--sage-brand, #6366f1) !important;
|
|
}
|
|
|
|
/* Left sidebar */
|
|
.plaza-sidebar {
|
|
border-right: 1px solid var(--sage-border, #e2e8f0);
|
|
padding: 4px;
|
|
}
|
|
|
|
.plaza-nav-btn {
|
|
margin-bottom: 2px;
|
|
text-align: left;
|
|
transition: background-color 0.15s ease;
|
|
}
|
|
|
|
.plaza-nav-btn:hover {
|
|
background-color: var(--sage-hover, rgba(99, 102, 241, 0.08));
|
|
}
|
|
|
|
/* Dark mode overrides for sidebar */
|
|
[data-theme="dark"] .plaza-sidebar {
|
|
border-right: 1px solid #334155;
|
|
background-color: #1E293B;
|
|
}
|
|
|
|
[data-theme="dark"] .plaza-nav-btn {
|
|
background-color: transparent;
|
|
color: #CBD5E1;
|
|
border: none;
|
|
}
|
|
|
|
[data-theme="dark"] .plaza-nav-btn:hover {
|
|
background-color: #334155;
|
|
color: #F1F5F9;
|
|
}
|
|
|
|
/* Card hover effects for model cards */
|
|
.plaza-card {
|
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
|
cursor: pointer;
|
|
border-radius: 8px !important;
|
|
}
|
|
|
|
.plaza-card:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
|
|
}
|
|
|
|
/* Category section headers */
|
|
.plaza-section-title {
|
|
padding: 12px 0 4px 4px;
|
|
position: relative;
|
|
}
|
|
|
|
.plaza-section-title::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 0;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
width: 4px;
|
|
height: 70%;
|
|
border-radius: 2px;
|
|
background: var(--sage-brand, #6366f1);
|
|
}
|
|
|
|
/* Smooth card grid */
|
|
.plaza-grid {
|
|
gap: 12px !important;
|
|
padding: 4px 8px;
|
|
}
|
|
|
|
/* Model icon area */
|
|
.plaza-card .model-icon-row {
|
|
gap: 8px;
|
|
}
|
|
|
|
/* Description text */
|
|
.plaza-card .model-desc {
|
|
line-height: 1.5;
|
|
opacity: 0.85;
|
|
}
|