38929-vm/assets/css/custom.css
2026-03-03 10:35:21 +00:00

141 lines
2.9 KiB
CSS

:root {
--bs-primary: #3b82f6;
--bs-primary-rgb: 59, 130, 246;
--bs-success: #10b981;
--bs-warning: #f59e0b;
--bs-danger: #ef4444;
}
body {
background-color: #f3f4f6;
}
.card {
border-radius: 1.25rem;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
border: none;
}
.btn-primary {
background-color: var(--bs-primary);
border-color: var(--bs-primary);
border-radius: 0.75rem;
}
.btn-primary:hover {
background-color: #2563eb;
border-color: #2563eb;
}
.sidebar {
background: #111827 !important;
}
.sidebar .nav-link {
font-weight: 500;
transition: all 0.2s;
}
.sidebar .nav-link:hover {
background: rgba(255, 255, 255, 0.05);
}
.sidebar .nav-link.active {
background: var(--bs-primary) !important;
}
.badge {
font-weight: 600;
padding: 0.5em 1em;
}
/* Soft Badges */
.badge-soft-success {
background-color: rgba(16, 185, 129, 0.15) !important;
color: #10b981 !important;
}
.badge-soft-danger {
background-color: rgba(239, 68, 68, 0.15) !important;
color: #ef4444 !important;
}
.badge-soft-warning {
background-color: rgba(245, 158, 11, 0.15) !important;
color: #f59e0b !important;
}
.badge-soft-primary {
background-color: rgba(59, 130, 246, 0.15) !important;
color: #3b82f6 !important;
}
.badge-soft-info {
background-color: rgba(6, 182, 212, 0.15) !important;
color: #06b6d4 !important;
}
.badge-soft-secondary {
background-color: rgba(107, 114, 128, 0.15) !important;
color: #6b7280 !important;
}
.table thead th {
background-color: #f9fafb;
text-transform: uppercase;
font-size: 0.75rem;
letter-spacing: 0.05em;
color: #6b7280;
border-bottom-width: 1px;
}
.form-control, .form-select {
border-radius: 0.75rem;
padding: 0.625rem 1rem;
border: 1px solid #d1d5db;
background-color: #fff;
}
.form-control:focus, .form-select:focus {
border-color: var(--bs-primary);
box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}
/* RTL Support for Cairo Font */
[dir="rtl"] {
font-family: 'Cairo', sans-serif !important;
}
.cursor-pointer {
cursor: pointer;
}
.item-card:hover {
transform: scale(1.02);
}
/* Print Styles */
@media print {
.sidebar, .navbar, .no-print, .btn, .card form, header, .breadcrumb, footer {
display: none !important;
}
body {
background-color: white !important;
margin: 0;
padding: 0;
}
.main-content {
margin-left: 0 !important;
margin-right: 0 !important;
width: 100% !important;
padding: 0 !important;
}
.card {
box-shadow: none !important;
border: 1px solid #eee !important;
margin-bottom: 20px !important;
page-break-inside: avoid;
}
.container-fluid {
padding: 0 !important;
}
canvas {
max-width: 100% !important;
height: auto !important;
}
}