37794-vm/staticfiles/css/custom_v2.css

232 lines
5.8 KiB
CSS

/* masarX Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@600;700&display=swap');
:root {
--primary-dark: #1A1A1D;
--accent-orange: #FF922B;
--soft-cloud: #F8F9FA;
--slate-blue: #4D96FF;
--glass-bg: rgba(255, 255, 255, 0.1);
}
body {
font-family: 'Inter', sans-serif;
background-color: var(--soft-cloud);
color: var(--primary-dark);
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Outfit', sans-serif;
font-weight: 700;
}
/* --- Masar Date Filter Row (Dynamic Wrapper) --- */
.masar-date-filter-row {
display: flex !important;
flex-direction: row !important;
align-items: center !important;
justify-content: space-between !important;
flex-wrap: nowrap !important; /* Ensure they stay on one line */
gap: 2px !important;
width: 100% !important;
box-sizing: border-box !important;
/* overflow: hidden; Removed to allow dropdown list to show */
}
/* Hide any stray shortcuts that might have survived JS cleanup */
.masar-date-filter-row .datetimeshortcuts {
display: none !important;
}
.masar-date-filter-row select {
width: 32% !important;
min-width: 0 !important;
font-size: 11px !important;
padding: 0 2px !important;
height: 28px !important;
line-height: 1 !important;
box-sizing: border-box !important;
margin: 0 !important;
}
.masar-date-filter-row input {
width: 33% !important;
min-width: 0 !important;
font-size: 11px !important;
padding: 0 2px !important;
height: 28px !important;
margin: 0 !important;
box-sizing: border-box !important;
}
/* Specific fix for date inputs to ensure they look clean */
.masar-date-filter-row input[type="date"] {
-webkit-appearance: none; /* Remove some browser defaults */
appearance: none;
line-height: 28px;
}
.masar-date-filter-row input[type="date"]::-webkit-inner-spin-button,
.masar-date-filter-row input[type="date"]::-webkit-calendar-picker-indicator {
/* Make the calendar icon smaller and fit */
width: 12px;
height: 12px;
margin: 0;
padding: 0;
opacity: 0.6;
}
/* --- Other Admin Tweaks --- */
.hero-section {
background: linear-gradient(135deg, var(--primary-dark) 0%, #2D2D30 100%);
padding: 100px 0;
color: white;
position: relative;
overflow: hidden;
}
.glass-card {
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 20px;
padding: 30px;
}
.btn-masarx-primary {
background-color: var(--accent-orange);
color: white;
border: none;
padding: 12px 30px;
border-radius: 12px;
font-weight: 600;
transition: all 0.3s ease;
}
.btn-masarx-primary:hover {
background-color: #E87E1B;
transform: translateY(-2px);
color: white;
}
/* Chat Widget */
#masar-chat-widget {
position: fixed;
bottom: 90px;
right: 20px;
width: 350px;
height: 500px;
z-index: 9999;
display: flex;
flex-direction: column;
}
#masar-chat-toggle {
position: fixed;
bottom: 20px;
right: 20px;
width: 60px;
height: 60px;
border-radius: 50%;
z-index: 9999;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
background-color: var(--accent-orange);
color: white;
border: none;
transition: transform 0.2s;
}
/* RTL Support for Chat */
[dir="rtl"] #masar-chat-widget {
right: auto;
left: 20px;
}
[dir="rtl"] #masar-chat-toggle {
right: auto;
left: 20px;
}
/* --- Admin Panel RTL Sidebar Override (Agresive) --- */
@media (min-width: 992px) {
[dir="rtl"] .main-sidebar {
left: auto !important;
right: 0 !important;
border-right: none !important;
border-left: 1px solid rgba(0,0,0,0.1) !important;
}
[dir="rtl"] .content-wrapper,
[dir="rtl"] .main-header,
[dir="rtl"] .main-footer {
margin-left: 0 !important;
margin-right: 250px !important;
transition: margin-right .3s ease-in-out !important;
}
[dir="rtl"].sidebar-collapse .main-sidebar {
margin-left: 0 !important;
margin-right: 0 !important;
width: 4.6rem !important;
}
[dir="rtl"].sidebar-collapse .content-wrapper,
[dir="rtl"].sidebar-collapse .main-header,
[dir="rtl"].sidebar-collapse .main-footer {
margin-left: 0 !important;
margin-right: 4.6rem !important;
}
[dir="rtl"] .brand-link {
float: right !important;
width: 100% !important;
text-align: right !important;
}
[dir="rtl"] .brand-image {
float: right !important;
margin-right: 0.8rem !important;
margin-left: 0.5rem !important;
}
[dir="rtl"] .navbar-nav {
flex-direction: row;
}
[dir="rtl"] .navbar-nav .nav-item {
float: right;
}
[dir="rtl"] .ml-auto {
margin-left: 0 !important;
margin-right: auto !important;
}
[dir="rtl"] .mr-auto {
margin-right: 0 !important;
margin-left: auto !important;
}
}
[dir="rtl"] .nav-sidebar .nav-item > .nav-link {
display: flex !important;
flex-direction: row !important;
align-items: center !important;
}
[dir="rtl"] .nav-sidebar .nav-icon {
margin-left: 0.5rem !important;
margin-right: 0 !important;
}
[dir="rtl"] .nav-sidebar .nav-link p {
display: inline-block !important;
margin-right: 0 !important;
text-align: right !important;
width: 100% !important;
}
[dir="rtl"] .nav-sidebar .nav-icon.fa-angle-left {
transform: rotate(180deg);
margin-left: 0 !important;
margin-right: auto !important;
}
[dir="rtl"] .float-right {
float: left !important;
}
[dir="rtl"] .float-left {
float: right !important;
}
[dir="rtl"] .text-right {
text-align: left !important;
}
[dir="rtl"] .text-left {
text-align: right !important;
}