542 lines
9.1 KiB
CSS
542 lines
9.1 KiB
CSS
.audit-page {
|
|
color: #1f2937;
|
|
}
|
|
|
|
.audit-breadcrumb {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 0.85rem;
|
|
color: #6b7280;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.audit-breadcrumb strong {
|
|
color: #1f2937;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.audit-header-card,
|
|
.audit-filter-card,
|
|
.audit-stat-card,
|
|
.audit-actions-row,
|
|
.audit-table-card,
|
|
.audit-empty-state,
|
|
.audit-inline-alert {
|
|
background: #ffffff;
|
|
border: 1px solid #e5e7eb;
|
|
border-radius: 14px;
|
|
}
|
|
|
|
.audit-header-card {
|
|
padding: 18px 20px;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.audit-header-card h2 {
|
|
margin: 0;
|
|
font-family: "Montserrat", sans-serif;
|
|
font-size: 1.42rem;
|
|
}
|
|
|
|
.audit-header-card p {
|
|
margin: 8px 0 0;
|
|
color: #6b7280;
|
|
}
|
|
|
|
.audit-inline-alert {
|
|
margin-bottom: 14px;
|
|
padding: 12px 14px;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
}
|
|
|
|
.audit-inline-alert ul {
|
|
margin: 6px 0 0;
|
|
padding-left: 18px;
|
|
}
|
|
|
|
.audit-inline-alert.is-error {
|
|
background: #fef2f2;
|
|
border-color: #fecaca;
|
|
color: #991b1b;
|
|
}
|
|
|
|
.audit-inline-alert.is-success {
|
|
background: #ecfdf3;
|
|
border-color: #bbf7d0;
|
|
color: #166534;
|
|
}
|
|
|
|
.audit-inline-alert.is-warning {
|
|
background: #fff7ed;
|
|
border-color: #fed7aa;
|
|
color: #9a3412;
|
|
}
|
|
|
|
.audit-inline-alert.is-info {
|
|
background: #eef4ff;
|
|
border-color: #c7dcff;
|
|
color: #1e40af;
|
|
}
|
|
|
|
.audit-filter-card {
|
|
padding: 14px;
|
|
margin-bottom: 14px;
|
|
background: #eef4ff;
|
|
}
|
|
|
|
.audit-filter-form {
|
|
display: grid;
|
|
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
gap: 10px;
|
|
align-items: end;
|
|
}
|
|
|
|
.audit-filter-group {
|
|
display: grid;
|
|
gap: 6px;
|
|
}
|
|
|
|
.audit-filter-group label {
|
|
font-size: 0.8rem;
|
|
color: #6b7280;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.audit-filter-group input,
|
|
.audit-filter-group select {
|
|
min-height: 40px;
|
|
border: 1px solid #d1d5db;
|
|
border-radius: 10px;
|
|
padding: 0 12px;
|
|
background: #ffffff;
|
|
font-family: "Poppins", sans-serif;
|
|
color: #1f2937;
|
|
}
|
|
|
|
.audit-filter-actions {
|
|
grid-column: span 5;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.audit-btn-primary,
|
|
.audit-btn-secondary {
|
|
min-height: 42px;
|
|
border-radius: 10px;
|
|
border: 1px solid transparent;
|
|
padding: 0 14px;
|
|
font-weight: 600;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.audit-btn-primary {
|
|
background: #6c8cf5;
|
|
color: #ffffff;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.audit-btn-primary:hover {
|
|
background: #5a79e6;
|
|
}
|
|
|
|
.audit-btn-secondary {
|
|
background: #ffffff;
|
|
border-color: #d1d5db;
|
|
color: #1f2937;
|
|
}
|
|
|
|
.audit-btn-secondary:hover {
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.audit-stat-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 10px;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.audit-stat-card {
|
|
padding: 14px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.audit-stat-icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 10px;
|
|
background: #eef4ff;
|
|
color: #6c8cf5;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.audit-stat-card p {
|
|
margin: 0;
|
|
color: #6b7280;
|
|
font-size: 0.84rem;
|
|
}
|
|
|
|
.audit-stat-card h3 {
|
|
margin: 4px 0 0;
|
|
font-family: "Montserrat", sans-serif;
|
|
font-size: 1.02rem;
|
|
}
|
|
|
|
.audit-stat-card small {
|
|
color: #6b7280;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.audit-actions-row {
|
|
margin-bottom: 14px;
|
|
padding: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.audit-mini-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
text-decoration: none;
|
|
color: #1f2937;
|
|
border: 1px solid #dbe1eb;
|
|
border-radius: 10px;
|
|
padding: 8px 10px;
|
|
background: #f8fafc;
|
|
font-weight: 600;
|
|
font-size: 0.86rem;
|
|
}
|
|
|
|
.audit-mini-link:hover {
|
|
border-color: #a8c5ff;
|
|
background: #eef4ff;
|
|
color: #2c4ab8;
|
|
}
|
|
|
|
.audit-table-card {
|
|
padding: 14px;
|
|
}
|
|
|
|
.audit-table-head h3 {
|
|
margin: 0;
|
|
font-family: "Montserrat", sans-serif;
|
|
}
|
|
|
|
.audit-table-head p {
|
|
margin: 6px 0 0;
|
|
color: #6b7280;
|
|
font-size: 0.86rem;
|
|
}
|
|
|
|
.audit-table-wrap {
|
|
overflow-x: auto;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.audit-table {
|
|
width: 100%;
|
|
min-width: 1400px;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.audit-table th {
|
|
text-align: left;
|
|
font-size: 0.75rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
color: #6b7280;
|
|
background: #f8fafc;
|
|
border-bottom: 1px solid #e5e7eb;
|
|
padding: 11px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.audit-table td {
|
|
border-bottom: 1px solid #eef2f7;
|
|
padding: 11px;
|
|
font-size: 0.9rem;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.audit-table tbody tr:nth-child(even) td {
|
|
background: #fcfdff;
|
|
}
|
|
|
|
.audit-table tbody tr:hover td {
|
|
background: #f4f8ff;
|
|
}
|
|
|
|
.audit-table th.is-center,
|
|
.audit-table td.is-center {
|
|
text-align: center;
|
|
}
|
|
|
|
.audit-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 92px;
|
|
border-radius: 999px;
|
|
padding: 4px 9px;
|
|
font-size: 0.74rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.audit-badge.is-success {
|
|
background: #dcfce7;
|
|
color: #166534;
|
|
}
|
|
|
|
.audit-badge.is-info {
|
|
background: #dbeafe;
|
|
color: #1d4ed8;
|
|
}
|
|
|
|
.audit-badge.is-danger {
|
|
background: #fee2e2;
|
|
color: #991b1b;
|
|
}
|
|
|
|
.audit-badge.is-warning {
|
|
background: #fff7ed;
|
|
color: #9a3412;
|
|
}
|
|
|
|
.audit-badge.is-muted {
|
|
background: #f3f4f6;
|
|
color: #4b5563;
|
|
}
|
|
|
|
.audit-badge.is-verify {
|
|
background: #ede9fe;
|
|
color: #5b21b6;
|
|
}
|
|
|
|
.audit-badge.is-booking {
|
|
background: #dbeafe;
|
|
color: #1d4ed8;
|
|
}
|
|
|
|
.audit-badge.is-payment {
|
|
background: #dcfce7;
|
|
color: #166534;
|
|
}
|
|
|
|
.audit-badge.is-vehicle {
|
|
background: #ffedd5;
|
|
color: #9a3412;
|
|
}
|
|
|
|
.audit-badge.is-rental {
|
|
background: #e0e7ff;
|
|
color: #3730a3;
|
|
}
|
|
|
|
.audit-badge.is-promo {
|
|
background: #fae8ff;
|
|
color: #86198f;
|
|
}
|
|
|
|
.audit-badge.is-review {
|
|
background: #fee2e2;
|
|
color: #b91c1c;
|
|
}
|
|
|
|
.audit-badge.is-user {
|
|
background: #e0f2fe;
|
|
color: #075985;
|
|
}
|
|
|
|
.audit-badge.is-system {
|
|
background: #f3f4f6;
|
|
color: #4b5563;
|
|
}
|
|
|
|
.audit-action-btn {
|
|
border: 1px solid #dbe1eb;
|
|
border-radius: 8px;
|
|
background: #ffffff;
|
|
color: #1f2937;
|
|
text-decoration: none;
|
|
padding: 7px 9px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.audit-action-btn:hover {
|
|
background: #eef4ff;
|
|
border-color: #a8c5ff;
|
|
color: #2c4ab8;
|
|
}
|
|
|
|
.audit-action-btn.is-disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.audit-pagination-wrap {
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.audit-pagination-wrap nav {
|
|
display: block;
|
|
}
|
|
|
|
.audit-pagination-wrap nav > div:first-child {
|
|
display: none;
|
|
}
|
|
|
|
.audit-pagination-wrap .pagination {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.audit-pagination-wrap .pagination li {
|
|
list-style: none;
|
|
margin: 0;
|
|
}
|
|
|
|
.audit-pagination-wrap .pagination a,
|
|
.audit-pagination-wrap .pagination span {
|
|
min-height: 40px;
|
|
min-width: 40px;
|
|
padding: 0 12px;
|
|
border: 1px solid #dbe1eb;
|
|
border-radius: 10px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
text-decoration: none;
|
|
background: #ffffff;
|
|
color: #1f2937;
|
|
font-size: 0.85rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
.audit-pagination-wrap .pagination a:hover {
|
|
background: #eef4ff;
|
|
border-color: #a8c5ff;
|
|
color: #2c4ab8;
|
|
}
|
|
|
|
.audit-pagination-wrap .pagination .active span {
|
|
background: #6c8cf5;
|
|
border-color: #6c8cf5;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.audit-pagination-wrap .pagination .disabled span {
|
|
color: #9ca3af;
|
|
background: #f9fafb;
|
|
}
|
|
|
|
.audit-empty-state {
|
|
text-align: center;
|
|
padding: 36px 20px;
|
|
border: 1px dashed #d1d5db;
|
|
border-radius: 10px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.audit-empty-state i {
|
|
font-size: 1.3rem;
|
|
color: #9ca3af;
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.audit-empty-state h4 {
|
|
margin: 0;
|
|
font-family: "Montserrat", sans-serif;
|
|
}
|
|
|
|
.audit-empty-state p {
|
|
margin: 7px 0 0;
|
|
color: #6b7280;
|
|
}
|
|
|
|
.line-clamp-2 {
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
@media (max-width: 1200px) {
|
|
.audit-filter-form {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.audit-filter-actions {
|
|
grid-column: span 2;
|
|
}
|
|
|
|
.audit-stat-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.audit-header-card,
|
|
.audit-filter-card,
|
|
.audit-stat-card,
|
|
.audit-actions-row,
|
|
.audit-table-card {
|
|
padding: 12px;
|
|
}
|
|
|
|
.audit-header-card h2 {
|
|
font-size: 1.22rem;
|
|
}
|
|
|
|
.audit-filter-form,
|
|
.audit-stat-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.audit-filter-actions,
|
|
.audit-actions-row {
|
|
grid-column: auto;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.audit-btn-primary,
|
|
.audit-btn-secondary,
|
|
.audit-mini-link,
|
|
.audit-action-btn {
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
|
|
.audit-table {
|
|
min-width: 1100px;
|
|
}
|
|
|
|
.audit-pagination-wrap .pagination {
|
|
justify-content: center;
|
|
}
|
|
}
|