Files
dashboards/apps/business/src/components/WebsiteStaticImageGallery.module.css
T
Alireza HassaniandCursor e9400c2281 Add business dashboard dark mode from Super Admin theme setting.
Login and in-app surfaces follow tenant themeMode, matching customer dark tokens, with themed switches and tighter card/table chrome.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 13:40:40 +03:30

186 lines
3.0 KiB
CSS

.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;
display: flex;
scroll-snap-align: start;
min-width: 0;
}
.cellCompact {
align-self: stretch;
}
.cell > span {
display: flex;
width: 100%;
min-height: 0;
}
.cellCompact > span {
height: 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: var(--card-media-bg);
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;
}
.controls {
display: flex;
align-items: center;
flex-shrink: 0;
}
.controlGroup {
display: flex;
align-items: center;
gap: 2px;
}
.controlDivider {
width: 1px;
height: 16px;
margin-inline: 8px;
background: rgba(148, 163, 184, 0.35);
flex-shrink: 0;
}
.hintIcon {
cursor: default;
}
.captionTip {
display: grid;
grid-template-columns: auto auto;
column-gap: 12px;
row-gap: 8px;
justify-content: start;
align-items: baseline;
}
.captionRow {
display: contents;
}
.captionKey {
font-size: 11px;
font-weight: 400;
color: var(--text-muted);
white-space: nowrap;
}
.captionValue {
font-size: 13px;
font-weight: 500;
color: var(--text-primary);
text-align: start;
}
.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);
}
.addCardCompact {
height: 100%;
min-height: 0;
}
.addIcon {
width: 44px;
height: 44px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
background: rgba(var(--primary-rgb) / 0.1);
}
.addIconCompact {
width: 32px;
height: 32px;
}