219 lines
5.7 KiB
PHP
219 lines
5.7 KiB
PHP
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
|
|
<style>
|
|
/* Global Reset and Font */
|
|
:root {
|
|
--citrus-primary: #3b82f6;
|
|
--citrus-sidebar: #1a233a;
|
|
--citrus-sidebar-hover: rgba(255, 255, 255, 0.05);
|
|
--citrus-body: #f4f7fe;
|
|
--citrus-border: #e2e8f0;
|
|
}
|
|
|
|
body,
|
|
#page-container {
|
|
background-color: var(--citrus-body) !important;
|
|
font-family: 'Inter', sans-serif !important;
|
|
}
|
|
|
|
/* --- SIDEBAR TIGHT REFACTOR --- */
|
|
#sidebar {
|
|
background-color: var(--citrus-sidebar) !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.sidebar-content {
|
|
background-color: var(--citrus-sidebar) !important;
|
|
}
|
|
|
|
/* User Area & Logo - Tighter */
|
|
.content-side-user {
|
|
padding: 15px !important;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
|
|
}
|
|
|
|
.sidebar-mini-hidden-b .img-link img {
|
|
width: 100px !important;
|
|
filter: brightness(0) invert(1) !important;
|
|
}
|
|
|
|
/* Search Module Tighter */
|
|
#search-module {
|
|
margin: 8px 12px !important;
|
|
background: rgba(255, 255, 255, 0.03) !important;
|
|
border: 1px solid rgba(255, 255, 255, 0.08) !important;
|
|
border-radius: 6px !important;
|
|
color: #fff !important;
|
|
height: 32px !important;
|
|
width: calc(100% - 24px) !important;
|
|
font-size: 12px !important;
|
|
}
|
|
|
|
/* --- MENU NAVIGATION (TIGHT SPACING) --- */
|
|
.nav-main {
|
|
padding: 5px 8px !important;
|
|
}
|
|
|
|
.nav-main li {
|
|
margin-bottom: 1px !important;
|
|
}
|
|
|
|
.nav-main li a {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
padding: 5px 12px !important;
|
|
/* Reduced from 10px */
|
|
border-radius: 8px !important;
|
|
color: rgba(255, 255, 255, 0.6) !important;
|
|
font-weight: 500 !important;
|
|
font-size: 13px !important;
|
|
transition: none !important;
|
|
}
|
|
|
|
.sub-menu-text {
|
|
position: relative;
|
|
left: 0px;
|
|
}
|
|
|
|
.nav-main li a i {
|
|
position: relative !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
width: 20px !important;
|
|
height: 20px !important;
|
|
margin-right: 10px !important;
|
|
/* Tightened gap */
|
|
font-size: 14px !important;
|
|
color: inherit !important;
|
|
flex-shrink: 0 !important;
|
|
top: 10px;
|
|
left: 0px;
|
|
}
|
|
|
|
.nav-main li a i img {
|
|
width: 16px !important;
|
|
height: 16px !important;
|
|
filter: brightness(0) invert(1) opacity(0.6) !important;
|
|
}
|
|
|
|
.nav-main li a:hover {
|
|
background-color: var(--citrus-sidebar-hover) !important;
|
|
color: #fff !important;
|
|
}
|
|
|
|
.nav-main li a.active,
|
|
.nav-main li.open>a.nav-submenu {
|
|
background-color: var(--citrus-primary) !important;
|
|
color: #fff !important;
|
|
box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2) !important;
|
|
}
|
|
|
|
.nav-main li a.active i img,
|
|
.nav-main li a:hover i img {
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
/* Submenu Spacing - MUCH TIGHTER */
|
|
.nav-main li ul {
|
|
padding-left: 12px !important;
|
|
background: transparent !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.content-header .btn {
|
|
color: #1e1e1e;
|
|
}
|
|
|
|
.nav-main li ul li a {
|
|
padding: 4px 10px !important;
|
|
font-size: 12.5px !important;
|
|
}
|
|
|
|
/* Sidebar Heading Tighter */
|
|
.nav-main-heading {
|
|
padding: 15px 12px 5px !important;
|
|
color: rgba(255, 255, 255, 0.3) !important;
|
|
font-size: 10.5px !important;
|
|
font-weight: 700 !important;
|
|
text-transform: uppercase !important;
|
|
letter-spacing: 0.5px !important;
|
|
}
|
|
|
|
/* --- HEADER TIGHTER --- */
|
|
#page-header {
|
|
background: #fff !important;
|
|
height: 50px !important;
|
|
/* Reduced from 70px */
|
|
border-bottom: 1px solid var(--citrus-border) !important;
|
|
}
|
|
|
|
#page-header.bg-primary,
|
|
#page-header.bg-primary-dark,
|
|
#page-header.bg-dark {
|
|
background: #fff !important;
|
|
}
|
|
|
|
.content-header {
|
|
height: 50px !important;
|
|
padding: 0 15px !important;
|
|
}
|
|
|
|
#page-header .btn-dual-secondary {
|
|
background: transparent !important;
|
|
border: none !important;
|
|
width: 32px !important;
|
|
height: 32px !important;
|
|
border-radius: 6px !important;
|
|
}
|
|
|
|
#page-header .btn-dual-secondary:hover {
|
|
background: #f1f5f9 !important;
|
|
}
|
|
|
|
.mini-header {
|
|
display: none !important;
|
|
}
|
|
|
|
/* --- MAIN CONTAINER TIGHTER --- */
|
|
.main-container {
|
|
padding-top: 0 !important;
|
|
}
|
|
|
|
.content-ajax {
|
|
padding: 15px !important;
|
|
/* Reduced from 25px */
|
|
margin-top: 50px !important;
|
|
/* Match header height */
|
|
}
|
|
|
|
/* Block/Card Styling Tighter */
|
|
.block {
|
|
background: #fff !important;
|
|
border-radius: 12px !important;
|
|
border: 1px solid var(--citrus-border) !important;
|
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
|
|
margin-bottom: 15px !important;
|
|
}
|
|
|
|
.block-header {
|
|
padding: 10px 15px !important;
|
|
border-bottom: 1px solid #f8fafc !important;
|
|
}
|
|
|
|
.block-title {
|
|
font-size: 14px !important;
|
|
font-weight: 600 !important;
|
|
}
|
|
|
|
.block-content {
|
|
padding: 15px !important;
|
|
}
|
|
|
|
/* Override hardcoded styles */
|
|
#page-container.page-header-fixed .main-container {
|
|
padding-top: 0 !important;
|
|
}
|
|
</style> |