MIF_E31232103/public/assets/css/admin-rental-notifications.css

463 lines
8.2 KiB
CSS

.notifications-page {
color: #1f2937;
}
.notifications-breadcrumb {
display: flex;
align-items: center;
gap: 8px;
font-size: 0.85rem;
color: #6b7280;
margin-bottom: 12px;
}
.notifications-breadcrumb strong {
color: #1f2937;
font-weight: 600;
}
.notifications-alert {
display: flex;
align-items: flex-start;
gap: 10px;
padding: 12px 14px;
border-radius: 12px;
margin-bottom: 10px;
border: 1px solid #e5e7eb;
}
.notifications-alert i {
margin-top: 2px;
}
.notifications-alert strong {
display: block;
font-size: 0.88rem;
margin-bottom: 2px;
}
.notifications-alert p {
margin: 0;
font-size: 0.88rem;
}
.notifications-alert.is-success {
background: #f0fdf4;
border-color: #bbf7d0;
color: #166534;
}
.notifications-alert.is-error {
background: #fef2f2;
border-color: #fecaca;
color: #991b1b;
}
.notifications-alert.is-warning {
background: #fff7ed;
border-color: #fed7aa;
color: #9a3412;
}
.notifications-alert.is-info {
background: #eff6ff;
border-color: #bfdbfe;
color: #1e3a8a;
}
.notifications-header-card,
.notifications-toolbar-card,
.notifications-list-card,
.notifications-empty-state {
background: #ffffff;
border: 1px solid #e5e7eb;
border-radius: 14px;
}
.notifications-header-card {
padding: 18px 20px;
margin-bottom: 14px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.notifications-header-card h2 {
margin: 0;
font-family: "Montserrat", sans-serif;
font-weight: 700;
color: #1f2937;
}
.notifications-header-card p {
margin: 8px 0 0;
color: #6b7280;
}
.notifications-btn-primary {
min-height: 42px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
border-radius: 10px;
padding: 0 14px;
font-weight: 600;
border: 1px solid transparent;
background: #6c8cf5;
color: #ffffff;
cursor: pointer;
}
.notifications-btn-primary:hover {
background: #5a79e6;
}
.notifications-btn-primary:disabled {
background: #cbd5e1;
cursor: not-allowed;
}
.notifications-stats-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 10px;
margin-bottom: 14px;
}
.notifications-stat-card {
padding: 14px;
display: flex;
align-items: center;
gap: 10px;
background: #ffffff;
border: 1px solid #e5e7eb;
border-radius: 14px;
}
.notifications-stat-icon {
width: 38px;
height: 38px;
border-radius: 10px;
background: #eef4ff;
color: #6c8cf5;
display: flex;
align-items: center;
justify-content: center;
font-size: 1rem;
}
.notifications-stat-card p {
margin: 0;
color: #6b7280;
font-size: 0.84rem;
}
.notifications-stat-card h3 {
margin: 4px 0 0;
font-family: "Montserrat", sans-serif;
color: #1f2937;
font-size: 1.02rem;
}
.notifications-toolbar-card {
padding: 14px;
margin-bottom: 14px;
background: #eef4ff;
}
.notifications-toolbar-form {
display: grid;
grid-template-columns: 2fr 1fr 1fr auto auto;
gap: 10px;
align-items: center;
}
.notifications-input-group {
display: flex;
align-items: center;
gap: 8px;
min-height: 42px;
border: 1px solid #e5e7eb;
border-radius: 10px;
background: #ffffff;
padding: 0 12px;
}
.notifications-input-group i {
color: #6b7280;
}
.notifications-input-group input,
.notifications-input-group select {
width: 100%;
border: 0;
outline: 0;
background: transparent;
font-family: "Poppins", sans-serif;
color: #1f2937;
}
.notifications-filter-btn,
.notifications-reset-btn {
min-height: 42px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
border-radius: 10px;
padding: 0 14px;
font-weight: 600;
text-decoration: none;
border: 1px solid transparent;
cursor: pointer;
}
.notifications-filter-btn {
background: #6c8cf5;
color: #ffffff;
}
.notifications-filter-btn:hover {
background: #5a79e6;
}
.notifications-reset-btn {
background: #ffffff;
color: #1f2937;
border-color: #d1d5db;
}
.notifications-reset-btn:hover {
background: #f9fafb;
}
.notifications-list-card {
padding: 10px;
}
.notifications-list {
display: flex;
flex-direction: column;
gap: 10px;
}
.notification-item {
border: 1px solid #e5e7eb;
border-radius: 12px;
padding: 14px;
display: grid;
grid-template-columns: auto 1fr auto;
gap: 12px;
align-items: flex-start;
background: #ffffff;
}
.notification-item.is-unread {
border-color: #a8c5ff;
background: #f5f8ff;
}
.notification-item.is-read {
border-color: #e5e7eb;
}
.notification-icon {
width: 38px;
height: 38px;
border-radius: 10px;
background: #eef4ff;
color: #6c8cf5;
display: flex;
align-items: center;
justify-content: center;
font-size: 1rem;
flex-shrink: 0;
}
.notification-main h3 {
margin: 0;
font-family: "Montserrat", sans-serif;
font-size: 1rem;
color: #1f2937;
}
.notification-topline {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 10px;
}
.notification-message {
margin: 8px 0 0;
color: #4b5563;
line-height: 1.45;
}
.notification-meta {
margin-top: 10px;
display: flex;
align-items: center;
gap: 12px;
color: #6b7280;
font-size: 0.82rem;
}
.notification-meta span {
display: inline-flex;
align-items: center;
gap: 5px;
}
.notification-badges {
display: flex;
align-items: center;
gap: 6px;
flex-wrap: wrap;
}
.notification-badge-status,
.notification-badge-type {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 4px 9px;
border-radius: 999px;
font-size: 0.74rem;
font-weight: 600;
}
.notification-badge-status.is-unread {
background: #dbeafe;
color: #1e3a8a;
}
.notification-badge-status.is-read {
background: #f3f4f6;
color: #4b5563;
}
.notification-badge-type.is-booking {
background: #ede9fe;
color: #5b21b6;
}
.notification-badge-type.is-payment {
background: #dcfce7;
color: #166534;
}
.notification-badge-type.is-review {
background: #ffedd5;
color: #9a3412;
}
.notification-badge-type.is-promo {
background: #fef3c7;
color: #92400e;
}
.notification-badge-type.is-system {
background: #f3f4f6;
color: #4b5563;
}
.notification-badge-type.is-warning {
background: #ffedd5;
color: #9a3412;
}
.notification-badge-type.is-error {
background: #fee2e2;
color: #991b1b;
}
.notification-badge-type.is-success {
background: #dcfce7;
color: #166534;
}
.notification-actions {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
justify-content: flex-end;
}
.notification-action-btn {
border: 1px solid #dbe1eb;
background: #ffffff;
color: #1f2937;
border-radius: 8px;
padding: 7px 10px;
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 0.8rem;
font-weight: 600;
text-decoration: none;
cursor: pointer;
font-family: "Poppins", sans-serif;
}
.notification-action-btn.is-view:hover {
background: #eef4ff;
border-color: #a8c5ff;
color: #6c8cf5;
}
.notification-action-btn.is-read:hover {
background: #f0fdf4;
border-color: #86efac;
color: #166534;
}
.notification-action-btn.is-disabled {
background: #f8fafc;
color: #9ca3af;
cursor: not-allowed;
}
.notifications-filter-empty {
text-align: center;
color: #6b7280;
padding: 20px;
border: 1px dashed #d1d5db;
border-radius: 10px;
}
.notifications-filter-empty i {
font-size: 1.2rem;
margin-bottom: 8px;
display: block;
}
.notifications-pagination-wrapper {
margin-top: 18px;
}
.notifications-empty-state {
text-align: center;
padding: 40px 20px;
}
.notifications-empty-icon {
font-size: 3.2rem;
color: #cbd5e1;
margin-bottom: 12px;
}
.notifications-empty-state h3 {
margin: 0;
font-family: "Montserrat", sans-serif;
color: #1f2937;
}
.notifications-empty-state p {
margin: 8px 0 0;
color: #6b7280;
}