Files
ManagerAccount/public/css/announcements.css
2026-11-04 09:54:17 +07:00

49 lines
3.8 KiB
CSS

.announcement-dialog {
width: min(560px, calc(100vw - 32px));
max-height: calc(100dvh - 40px);
margin: auto;
padding: 0;
overflow-y: auto;
border: 1px solid #e2e8f0;
border-radius: 16px;
background: white;
color: #243248;
box-shadow: 0 24px 80px #0f172a40;
}
.announcement-dialog::backdrop { background: rgb(15 23 42 / 55%); backdrop-filter: blur(3px); }
.announcement-heading { display: flex; align-items: flex-start; gap: 14px; padding: 24px 24px 20px; border-bottom: 1px solid #edf1f7; }
.announcement-symbol { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: #edf1ff; color: #3755c3; font-size: 25px; }
.announcement-heading > div { flex: 1; min-width: 0; }
.announcement-heading p { margin: 2px 0 6px; color: #64748b; font-size: 10px; font-weight: 700; letter-spacing: 0.09em; }
.announcement-heading h2 { font-size: 19px; font-weight: 800; line-height: 1.5; overflow-wrap: anywhere; }
.announcement-heading button { display: flex; padding: 5px; border-radius: 7px; color: #64748b; }
.announcement-heading button:hover { background: #f1f5f9; }
.announcement-body { padding: 20px 24px 24px; }
.announcement-author { margin-bottom: 16px; color: #64748b; font-size: 11px; line-height: 1.8; }
#announcementMessage { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.85; }
.announcement-error { margin-top: 16px; border-radius: 8px; padding: 10px 12px; background: #fff1f2; color: #be123c; font-size: 12px; line-height: 1.6; }
.announcement-footer { padding: 18px 24px 22px; border-top: 1px solid #edf1f7; background: #f8fafc; }
.announcement-footer label { display: flex; align-items: center; gap: 9px; width: fit-content; min-height: 32px; font-size: 13px; font-weight: 600; cursor: pointer; }
.announcement-footer input { width: 16px; height: 16px; border: 1px solid #94a3b8; border-radius: 4px; color: #3755c3; }
.announcement-footer > p { margin: 3px 0 18px; color: #64748b; font-size: 11px; line-height: 1.6; }
.announcement-footer > div { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
.announcement-footer button { min-height: 42px; padding: 10px 18px; border: 1px solid #dbe2ef; border-radius: 8px; font-size: 12px; font-weight: 700; }
.announcement-footer .announcement-primary { border-color: #3755c3; background: #3755c3; color: white; }
.announcement-footer .announcement-secondary { background: white; color: #3755c3; }
.announcement-dialog button:disabled { opacity: 0.6; cursor: wait; }
.announcement-dialog :is(button, input):focus-visible { outline: 2px solid #3755c3; outline-offset: 3px; }
.announcement-management-note { margin-top: 20px; border: 1px solid #dce4f6; border-radius: 10px; padding: 14px 16px; background: #f0f4ff; color: #435577; font-size: 12px; line-height: 1.8; }
.announcement-post-status { margin-top: 8px; color: #64748b; font-size: 11px; font-weight: 600; }
.notification-withdraw-dialog .bom-confirm-icon { color: #dc2626; background: #fef2f2; }
.notification-withdraw-dialog .bom-dialog-footer { justify-content: flex-end; }
.notification-withdraw-summary { margin-bottom: 18px; padding: 16px; border: 1px solid #e2e8f0; border-radius: 8px; background: #f8fafc; overflow-wrap: anywhere; }
.notification-withdraw-summary strong { font-size: 14px; font-weight: 700; }
.notification-withdraw-summary p { margin-top: 6px; color: #64748b; font-size: 11px; line-height: 1.6; }
#notificationComposerModal > div { max-height: calc(100dvh - 32px); overflow-y: auto; }
@media (max-width: 480px) {
.announcement-heading { padding: 18px 16px 16px; gap: 10px; }
.announcement-heading h2 { font-size: 17px; }
.announcement-body, .announcement-footer { padding: 16px; }
.announcement-symbol { width: 36px; height: 36px; font-size: 22px; }
}