m19921414377's picture
Upload folder using huggingface_hub
6db48b4 verified
/* Stats Overview */
.stats-overview {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
margin-bottom: 32px;
}
.stat-box {
background: white;
padding: 24px;
border-radius: 16px;
display: flex;
align-items: center;
gap: 20px;
box-shadow: var(--shadow-sm);
}
.stat-icon-circle {
width: 56px;
height: 56px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
}
.stat-icon-circle.blue { background: #E6F7FF; color: #1890FF; }
.stat-icon-circle.green { background: #F6FFED; color: #52C41A; }
.stat-icon-circle.orange { background: #FFF7E6; color: #FA8C16; }
.stat-content h4 {
font-size: 14px;
color: var(--text-sub);
font-weight: 500;
margin-bottom: 4px;
}
.stat-content .number {
font-size: 28px;
font-weight: 700;
color: var(--text-main);
}
/* Toolbar */
.toolbar-wrapper {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 24px;
border-bottom: 1px solid var(--border-color);
padding-bottom: 0;
}
.search-mini {
position: relative;
width: 240px;
margin-bottom: 10px;
}
.search-mini input {
width: 100%;
padding: 8px 12px 8px 36px;
border-radius: 100px;
border: 1px solid var(--border-color);
font-size: 14px;
background: white;
transition: all 0.2s;
}
.search-mini input:focus {
border-color: var(--primary);
outline: none;
box-shadow: 0 0 0 3px var(--primary-light);
}
.search-mini .icon {
position: absolute;
left: 12px;
top: 50%;
transform: translateY(-50%);
color: #ccc;
}
/* Gallery Grid */
.gallery-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
gap: 24px;
margin-bottom: 40px;
}
.gallery-card {
background: white;
border-radius: 12px;
overflow: hidden;
border: 1px solid rgba(0,0,0,0.04);
transition: all 0.2s;
position: relative;
}
.gallery-card:hover {
transform: translateY(-4px);
box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}
.card-cover {
aspect-ratio: 3/4;
background: #f7f7f7;
position: relative;
overflow: hidden;
cursor: pointer;
}
.card-cover img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.4s;
}
.gallery-card:hover .card-cover img {
transform: scale(1.05);
}
.cover-placeholder {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
font-size: 48px;
color: #e0e0e0;
font-weight: 800;
background: #FAFAFA;
}
/* Overlay */
.card-overlay {
position: absolute;
inset: 0;
background: rgba(0,0,0,0.4);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 12px;
opacity: 0;
transition: all 0.2s;
backdrop-filter: blur(2px);
}
.gallery-card:hover .card-overlay {
opacity: 1;
}
.overlay-btn {
padding: 8px 24px;
border-radius: 100px;
border: 1px solid rgba(255,255,255,0.8);
background: rgba(255,255,255,0.2);
color: white;
font-size: 14px;
cursor: pointer;
transition: all 0.2s;
}
.overlay-btn:hover {
background: white;
color: var(--text-main);
}
.overlay-btn.primary {
background: var(--primary);
border-color: var(--primary);
}
.overlay-btn.primary:hover {
background: var(--primary-hover);
color: white;
}
/* Status Badge */
.status-badge {
position: absolute;
top: 12px;
left: 12px;
padding: 4px 10px;
border-radius: 4px;
font-size: 11px;
font-weight: 600;
background: rgba(0,0,0,0.6);
color: white;
backdrop-filter: blur(4px);
}
.status-badge.completed { background: rgba(82, 196, 26, 0.9); }
.status-badge.draft { background: rgba(0, 0, 0, 0.5); }
.status-badge.generating { background: rgba(24, 144, 255, 0.9); }
/* Footer */
.card-footer {
padding: 16px;
}
.card-title {
font-size: 15px;
font-weight: 600;
margin-bottom: 8px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: var(--text-main);
}
.card-meta {
display: flex;
align-items: center;
font-size: 12px;
color: var(--text-sub);
}
.dot { margin: 0 6px; }
.more-actions-wrapper {
margin-left: auto;
}
.more-btn {
background: none;
border: none;
color: var(--text-placeholder);
cursor: pointer;
padding: 4px;
border-radius: 4px;
}
.more-btn:hover {
background: #fee;
color: #ff4d4f;
}
/* Pagination */
.pagination-wrapper {
display: flex;
justify-content: center;
align-items: center;
gap: 16px;
margin-top: 40px;
}
.page-btn {
padding: 8px 16px;
border: 1px solid var(--border-color);
background: white;
border-radius: 6px;
cursor: pointer;
}
.page-btn:disabled { opacity: 0.5; cursor: not-allowed; }
/* Empty State */
.empty-state-large {
text-align: center;
padding: 80px 0;
color: var(--text-sub);
}
.empty-img { font-size: 64px; margin-bottom: 24px; opacity: 0.5; }
/* Modal Gallery Grid (History specific) */
.modal-gallery-grid {
flex: 1;
overflow-y: auto;
padding: 20px;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 20px;
}
.modal-img-item img {
width: 100%;
border-radius: 8px;
}