Files
dashboards/apps/business/src/components/WebsiteGroupItemCard.module.css
T
Alireza HassaniandCursor 66004a0fba Add FA/EN locale, home activity charts, and theme-aware polish.
Ship shared LocaleProvider, business/customer i18n, branding defaultLocale, curated home tiles with dual 30-day charts, and chart/page aura tokens; refresh PROJECT_CONTEXT.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-01 09:35:27 +03:30

80 lines
1.5 KiB
CSS

.card {
display: flex;
flex-direction: column;
justify-content: space-between;
min-height: 104px;
background: var(--glass-bg);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid var(--glass-border);
border-radius: var(--radius);
box-shadow: var(--glass-shadow);
transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
transform: translateY(-3px);
box-shadow: 0 12px 32px rgba(31, 38, 135, 0.1);
}
.text {
padding: 12px 12px 8px;
min-width: 0;
}
.nameEn {
font-size: 14px;
font-weight: 600;
color: var(--text-primary);
line-height: 1.35;
}
.nameFa {
margin-top: 4px;
font-family: var(--font-ui);
font-size: 13px;
font-weight: 500;
color: var(--text-secondary);
text-align: left;
line-height: 1.4;
direction: rtl;
}
.subtitle {
margin-top: 6px;
font-size: 12px;
color: var(--text-muted);
line-height: 1.4;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.controls {
display: flex;
justify-content: flex-end;
padding: 0 8px 8px;
}
.controls button {
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;
}
.controls button:hover {
background: rgba(var(--primary-rgb) / 0.1);
color: var(--primary);
}
.controls .danger:hover {
background: rgba(239, 68, 68, 0.1);
color: #ef4444;
}