AutoFiller_QR_Campamento/assets/css/admin.css

213 lines
3.5 KiB
CSS

.admin-body {
background: #eef1f8;
}
.admin-wrapper {
display: flex;
min-height: 100vh;
}
.admin-sidebar {
width: 260px;
background: var(--camp-blue);
color: #fff;
display: flex;
flex-direction: column;
position: fixed;
top: 0;
left: 0;
bottom: 0;
z-index: 1040;
transition: transform 0.25s ease;
}
.sidebar-brand {
display: flex;
align-items: center;
gap: 12px;
padding: 20px 18px;
border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.sidebar-logo {
width: 44px;
height: 44px;
object-fit: contain;
background: #fff;
border-radius: 8px;
padding: 4px;
}
.sidebar-logo-icon {
font-size: 40px;
color: #fff;
}
.sidebar-title {
font-weight: 700;
font-size: 0.95rem;
line-height: 1.2;
}
.sidebar-subtitle {
font-size: 0.75rem;
opacity: 0.75;
}
.sidebar-nav {
flex: 1;
padding: 12px 10px;
overflow-y: auto;
}
.sidebar-link {
display: flex;
align-items: center;
gap: 10px;
padding: 10px 14px;
color: rgba(255, 255, 255, 0.85);
text-decoration: none;
border-radius: 8px;
margin-bottom: 4px;
font-size: 0.925rem;
transition: background 0.15s;
}
.sidebar-link .material-symbols-outlined {
font-size: 22px;
}
.sidebar-link:hover {
background: rgba(255, 255, 255, 0.1);
color: #fff;
}
.sidebar-link.active {
background: rgba(255, 255, 255, 0.18);
color: #fff;
font-weight: 600;
}
.sidebar-footer {
padding: 12px 10px 16px;
border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.admin-main {
flex: 1;
margin-left: 260px;
display: flex;
flex-direction: column;
min-height: 100vh;
}
.admin-topbar {
background: #fff;
border-bottom: 1px solid #e3e8f0;
padding: 14px 24px;
display: flex;
align-items: center;
gap: 12px;
position: sticky;
top: 0;
z-index: 1020;
}
.topbar-title {
font-size: 1.25rem;
font-weight: 600;
margin: 0;
flex: 1;
}
.sidebar-toggle {
color: var(--camp-blue);
padding: 0;
}
.admin-content {
padding: 24px;
flex: 1;
}
.admin-footer {
padding: 12px 24px;
font-size: 0.8rem;
border-top: 1px solid #e3e8f0;
background: #fff;
}
.stat-icon {
width: 48px;
height: 48px;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
background: rgba(19, 42, 124, 0.1);
color: var(--camp-blue);
}
.stat-icon .material-symbols-outlined {
font-size: 26px;
}
.qr-preview-box {
background: #fff;
border-radius: 12px;
padding: 20px;
text-align: center;
border: 1px solid #e3e8f0;
}
.qr-preview-box img {
max-width: 280px;
width: 100%;
height: auto;
}
.qr-table .badge-codigo {
font-size: 0.8rem;
}
.qr-row-pending {
background: rgba(255, 193, 7, 0.06);
}
.bg-success-subtle {
background-color: rgba(25, 135, 84, 0.12) !important;
}
.bg-warning-subtle {
background-color: rgba(255, 193, 7, 0.15) !important;
}
#qrPreviewModal .qr-preview-box img {
max-width: 100%;
}
.quick-link-card {
transition: transform 0.15s, box-shadow 0.15s;
cursor: pointer;
text-decoration: none;
color: inherit;
display: block;
}
.quick-link-card:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(19, 42, 124, 0.12);
color: inherit;
}
@media (max-width: 991.98px) {
.admin-sidebar {
transform: translateX(-100%);
}
.admin-sidebar.show {
transform: translateX(0);
}
.admin-main {
margin-left: 0;
}
}