Add a static images manager and polish dashboard layout and fonts.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-08-16 23:56:17 +03:30
co-authored by Cursor
parent e79211e3cd
commit b9024ad77a
57 changed files with 2025 additions and 122 deletions
@@ -0,0 +1,131 @@
.track {
display: flex;
align-items: flex-start;
gap: 10px;
overflow-x: auto;
scroll-snap-type: x proximity;
padding: 4px 2px 12px;
scrollbar-width: thin;
scrollbar-color: rgba(148, 163, 184, 0.45) transparent;
}
.track::-webkit-scrollbar {
height: 6px;
}
.track::-webkit-scrollbar-thumb {
background: rgba(148, 163, 184, 0.45);
border-radius: 50px;
}
.cell {
flex: 0 0 auto;
scroll-snap-align: start;
min-width: 0;
}
.cell > span {
display: block;
width: 100%;
}
.cell > span > button {
width: 100%;
}
.card {
display: flex;
flex-direction: column;
width: 100%;
border-radius: var(--radius);
overflow: hidden;
border: 1px solid var(--glass-border);
background: var(--glass-bg);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
box-shadow: var(--glass-shadow);
}
.imageButton {
display: block;
width: 100%;
padding: 0;
overflow: hidden;
background: #fff;
cursor: pointer;
}
.image {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.footer {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 8px 10px;
min-height: 40px;
}
.title {
flex: 1;
min-width: 0;
font-size: 13px;
font-weight: 500;
color: var(--text-primary);
line-height: 1.35;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.removeBtn {
flex-shrink: 0;
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 8px;
color: var(--text-secondary);
transition: background 0.2s, color 0.2s;
}
.removeBtn:hover {
background: rgba(239, 68, 68, 0.1);
color: #ef4444;
}
.addCard {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
background: var(--glass-bg);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px dashed rgba(var(--primary-rgb) / 0.35);
border-radius: var(--radius);
color: var(--primary);
transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.addCard:hover {
background: rgba(var(--primary-rgb) / 0.08);
border-color: rgba(var(--primary-rgb) / 0.55);
transform: translateY(-2px);
}
.addIcon {
width: 44px;
height: 44px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
background: rgba(var(--primary-rgb) / 0.1);
}