Files
dashboards/apps/super-admin/src/pages/UsersPage.module.css
T
Alireza HassaniandCursor f622e6d605 Add customer/manager access UI and tighten customers filters.
Business and super-admin can set Customer vs Manager roles (Admin only for super-admin), and the customers page drops clutter while filtering by all/customers/managers.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 21:31:28 +03:30

95 lines
1.7 KiB
CSS

.roleBadge {
display: inline-block;
padding: 3px 8px;
border-radius: 999px;
font-size: 11px;
font-weight: 600;
color: var(--primary);
background: rgba(var(--primary-rgb) / 0.1);
border: 1px solid rgba(var(--primary-rgb) / 0.18);
}
.inactiveRow {
opacity: 0.55;
}
.statusInactive {
color: #b91c1c;
font-size: 11px;
font-weight: 600;
}
.businessBanner {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 16px;
padding: 10px 14px;
border-radius: 12px;
font-size: 13px;
color: var(--text);
background: rgba(var(--primary-rgb) / 0.08);
border: 1px solid rgba(var(--primary-rgb) / 0.16);
}
.businessBannerClear {
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
border: none;
border-radius: 8px;
color: var(--text-muted);
background: transparent;
cursor: pointer;
}
.businessBannerClear:hover {
color: var(--text);
background: rgba(15, 23, 42, 0.06);
}
.roleList {
display: flex;
flex-direction: column;
gap: 8px;
}
.roleOption {
display: flex;
align-items: center;
gap: 10px;
padding: 10px 12px;
border-radius: 10px;
border: 1px solid rgba(15, 23, 42, 0.1);
background: rgba(255, 255, 255, 0.45);
cursor: pointer;
}
.roleOption:has(input:checked) {
border-color: rgba(var(--primary-rgb) / 0.35);
background: rgba(var(--primary-rgb) / 0.08);
}
.roleOptionLabel {
font-size: 13px;
font-weight: 600;
}
.roleHint {
margin-top: 12px;
margin-bottom: 8px;
font-size: 12px;
color: var(--text-muted);
line-height: 1.45;
}
.roleListNested {
margin-top: 4px;
margin-inline-start: 12px;
padding-inline-start: 10px;
border-inline-start: 2px solid rgba(var(--primary-rgb) / 0.2);
}