Files
dashboards/apps/business/src/components/ConfirmBulkAddStoreItemsModal.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

187 lines
3.8 KiB
CSS

.overlay {
position: fixed;
inset: 0;
background: var(--modal-overlay-bg);
backdrop-filter: blur(var(--modal-overlay-blur));
-webkit-backdrop-filter: blur(var(--modal-overlay-blur));
display: flex;
align-items: center;
justify-content: center;
z-index: 1200;
padding: 20px;
}
.modal {
position: relative;
width: 100%;
max-width: 440px;
padding: 32px 28px 24px;
text-align: start;
background: var(--elevated-surface);
backdrop-filter: blur(24px);
-webkit-backdrop-filter: blur(24px);
border: 1px solid rgba(245, 158, 11, 0.28);
border-radius: var(--radius);
box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
font-family: var(--font-ui);
}
.iconWrap {
width: 56px;
height: 56px;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 16px;
background: rgba(245, 158, 11, 0.14);
color: #d97706;
border-radius: 50%;
}
.title {
font-size: 18px;
font-weight: 600;
color: var(--text-primary);
margin-bottom: 8px;
text-align: center;
font-family: var(--font-ui);
}
.message {
font-size: 14px;
line-height: 1.6;
color: var(--text-secondary);
margin-bottom: 12px;
text-align: center;
font-family: var(--font-ui);
}
.points {
margin: 0 0 18px;
padding-inline-start: 1.25rem;
font-size: 13px;
line-height: 1.65;
color: var(--text-secondary);
font-family: var(--font-ui);
}
.points li + li {
margin-top: 4px;
}
.agree {
display: flex;
align-items: flex-start;
gap: 10px;
margin-bottom: 22px;
padding: 12px 14px;
font-size: 13px;
line-height: 1.45;
color: var(--text-primary);
font-family: var(--font-ui);
background: rgba(148, 163, 184, 0.1);
border: 1px solid rgba(148, 163, 184, 0.22);
border-radius: var(--radius-sm);
cursor: pointer;
text-align: start;
}
.agreeCheck {
width: 16px;
height: 16px;
margin-top: 2px;
flex-shrink: 0;
accent-color: var(--primary);
cursor: pointer;
}
.agreeCheck:disabled {
cursor: not-allowed;
opacity: 0.55;
}
.actions {
display: flex;
gap: 10px;
justify-content: center;
flex-wrap: wrap;
}
.cancelBtn {
padding: 10px 20px;
min-height: var(--field-height);
font-size: 14px;
font-weight: 500;
font-family: var(--font-ui);
color: var(--text-secondary);
border-radius: var(--radius-sm);
transition: background 0.2s;
}
.cancelBtn:hover:not(:disabled) {
background: rgba(148, 163, 184, 0.15);
}
.cancelBtn:disabled {
opacity: 0.55;
cursor: not-allowed;
}
.confirmBtn {
padding: 10px 22px;
min-height: var(--field-height);
font-size: 14px;
font-weight: 600;
font-family: var(--font-ui);
color: white;
background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
border-radius: var(--radius-sm);
box-shadow: 0 4px 12px rgba(var(--primary-rgb) / 0.3);
transition: transform 0.2s, opacity 0.2s;
}
.confirmBtn:hover:not(:disabled) {
transform: translateY(-1px);
}
.confirmBtn:disabled {
opacity: 0.5;
cursor: not-allowed;
transform: none;
}
.closeBtn {
position: absolute;
top: 14px;
inset-inline-end: 14px;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
color: var(--text-muted);
transition: background 0.2s, color 0.2s;
}
.closeBtn:hover:not(:disabled) {
background: rgba(245, 158, 11, 0.12);
color: #d97706;
}
.closeBtn:disabled {
opacity: 0.45;
cursor: not-allowed;
}
.modalIn { animation: modalFadeIn 0.25s ease forwards; }
.modalOut { animation: modalFadeOut 0.22s ease forwards; }
@keyframes modalFadeIn {
from { opacity: 0; transform: translateY(12px) scale(0.98); }
to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes modalFadeOut {
from { opacity: 1; transform: translateY(0) scale(1); }
to { opacity: 0; transform: translateY(8px) scale(0.98); }
}