845 lines
25 KiB
PHP
845 lines
25 KiB
PHP
<style>
|
|
.crm-page { margin-top: 4px; }
|
|
.crm-page,
|
|
.crm-page *,
|
|
.crm-page *::before,
|
|
.crm-page *::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* ── Navigation ── */
|
|
.crm-nav-wrap {
|
|
margin: 0 15px 20px;
|
|
border-radius: 16px;
|
|
background: linear-gradient(135deg, #1a1f36 0%, #2d3561 55%, #3d4f8a 100%);
|
|
box-shadow: 0 12px 40px rgba(26, 31, 54, 0.22);
|
|
overflow: visible;
|
|
position: relative;
|
|
z-index: 1020;
|
|
}
|
|
.crm-nav-wrap .navbar-collapse {
|
|
overflow: visible;
|
|
}
|
|
.crm-nav-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
color: #fff !important;
|
|
font-size: 17px;
|
|
font-weight: 700;
|
|
padding: 16px 20px !important;
|
|
letter-spacing: 0.3px;
|
|
}
|
|
.crm-nav-brand i {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 10px;
|
|
background: rgba(255,255,255,0.15);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 16px;
|
|
}
|
|
.crm-nav-wrap .navbar-nav > li > a {
|
|
color: rgba(255,255,255,0.82) !important;
|
|
font-weight: 500;
|
|
padding: 14px 16px !important;
|
|
border-radius: 8px;
|
|
margin: 4px 2px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
.crm-nav-wrap .navbar-nav > li > a:hover,
|
|
.crm-nav-wrap .navbar-nav > li > a:focus {
|
|
color: #fff !important;
|
|
background: rgba(255,255,255,0.12) !important;
|
|
}
|
|
.crm-nav-wrap .navbar-nav > li.active > a,
|
|
.crm-nav-wrap .navbar-nav > li.active > a:hover {
|
|
color: #1a1f36 !important;
|
|
background: #fff !important;
|
|
font-weight: 600;
|
|
box-shadow: 0 4px 14px rgba(0,0,0,0.12);
|
|
}
|
|
.crm-nav-wrap .navbar-toggle { border-color: rgba(255,255,255,0.4); }
|
|
.crm-nav-wrap .navbar-toggle .icon-bar { background: #fff; }
|
|
.crm-nav-wrap .dropdown-menu {
|
|
border: none;
|
|
border-radius: 12px;
|
|
box-shadow: 0 8px 30px rgba(0,0,0,0.15);
|
|
padding: 6px;
|
|
margin-top: 4px;
|
|
z-index: 1030;
|
|
min-width: 210px;
|
|
}
|
|
html[dir="rtl"] .crm-nav-wrap .dropdown-menu {
|
|
right: 0;
|
|
left: auto;
|
|
}
|
|
html[dir="ltr"] .crm-nav-wrap .dropdown-menu {
|
|
left: 0;
|
|
right: auto;
|
|
}
|
|
.crm-nav-wrap .dropdown-menu > li > a {
|
|
border-radius: 8px;
|
|
padding: 8px 14px;
|
|
color: #2d3561;
|
|
font-weight: 500;
|
|
}
|
|
.crm-nav-wrap .dropdown-menu > li > a:hover {
|
|
background: #eef1fb;
|
|
color: #1a1f36;
|
|
}
|
|
.crm-nav-wrap .dropdown-menu > li.active > a,
|
|
.crm-nav-wrap .dropdown-menu > li.active > a:hover {
|
|
background: #eef1fb;
|
|
color: #4f46e5;
|
|
font-weight: 600;
|
|
}
|
|
.crm-nav-wrap .dropdown-menu .dropdown-header {
|
|
padding: 6px 14px 4px;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
color: #94a3b8;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.4px;
|
|
}
|
|
.crm-nav-wrap .dropdown-menu > li > a i {
|
|
width: 18px;
|
|
margin-left: 6px;
|
|
opacity: 0.75;
|
|
}
|
|
.crm-nav-wrap .navbar-nav > li.dropdown > a .caret {
|
|
margin-right: 4px;
|
|
}
|
|
.crm-nav-wrap .navbar-nav > li.dropdown.active > a,
|
|
.crm-nav-wrap .navbar-nav > li.dropdown.active > a:hover,
|
|
.crm-nav-wrap .navbar-nav > li.dropdown.active > a:focus {
|
|
color: #1a1f36 !important;
|
|
background: #fff !important;
|
|
font-weight: 600;
|
|
box-shadow: 0 4px 14px rgba(0,0,0,0.12);
|
|
}
|
|
.crm-nav-wrap .dropdown.open > .dropdown-menu {
|
|
display: block;
|
|
}
|
|
|
|
/* ── Page header ── */
|
|
.crm-page-header {
|
|
margin: 0 15px 20px;
|
|
padding: 22px 26px;
|
|
border-radius: 16px;
|
|
background: #fff;
|
|
border: 1px solid #e8edf5;
|
|
box-shadow: 0 6px 24px rgba(27, 39, 51, 0.05);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
}
|
|
.crm-page-header h1 {
|
|
margin: 0;
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
color: #1a1f36;
|
|
}
|
|
.crm-page-header .crm-subtitle {
|
|
margin: 4px 0 0;
|
|
font-size: 13px;
|
|
color: #7b8a9a;
|
|
font-weight: 400;
|
|
}
|
|
|
|
/* ── Cards ── */
|
|
.crm-card {
|
|
border: 1px solid #e8edf5;
|
|
border-radius: 16px;
|
|
background: #fff;
|
|
box-shadow: 0 6px 24px rgba(27, 39, 51, 0.05);
|
|
overflow: hidden;
|
|
margin-bottom: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
}
|
|
.crm-card-header {
|
|
padding: 16px 20px;
|
|
border-bottom: 1px solid #eef2f7;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
background: #fafbfe;
|
|
}
|
|
.crm-card-title {
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
color: #1a1f36;
|
|
margin: 0;
|
|
}
|
|
.crm-card-body { padding: 18px 20px; flex: 1; min-width: 0; }
|
|
|
|
/* ── Dashboard widget grids ── */
|
|
.crm-widget-grid,
|
|
.crm-report-grid {
|
|
display: grid;
|
|
gap: 20px;
|
|
align-items: stretch;
|
|
margin-bottom: 20px;
|
|
grid-auto-flow: row;
|
|
}
|
|
.crm-widget-grid {
|
|
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
|
}
|
|
.crm-insight-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 20px;
|
|
align-items: start;
|
|
margin-bottom: 20px;
|
|
}
|
|
.crm-insight-stack {
|
|
display: grid;
|
|
gap: 20px;
|
|
align-content: start;
|
|
min-width: 0;
|
|
}
|
|
.crm-insight-main { min-width: 0; }
|
|
.crm-report-grid {
|
|
grid-template-columns: 1fr;
|
|
margin-top: 20px;
|
|
}
|
|
.crm-widget-grid > *,
|
|
.crm-insight-grid > *,
|
|
.crm-report-grid > * {
|
|
min-width: 0;
|
|
}
|
|
.crm-widget-grid .crm-card,
|
|
.crm-insight-grid .crm-card,
|
|
.crm-report-grid .crm-card {
|
|
height: 100%;
|
|
margin-bottom: 0;
|
|
}
|
|
.crm-grid-span-2 { grid-column: span 2; }
|
|
|
|
/* ── Stat cards ── */
|
|
.crm-stat-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
gap: 16px;
|
|
margin-bottom: 20px;
|
|
}
|
|
.crm-stat-card {
|
|
border-radius: 16px;
|
|
padding: 20px;
|
|
color: #fff;
|
|
position: relative;
|
|
overflow: hidden;
|
|
box-shadow: 0 8px 24px rgba(0,0,0,0.12);
|
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
.crm-stat-card:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 14px 32px rgba(0,0,0,0.16);
|
|
}
|
|
.crm-stat-card::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: -20px; right: -20px;
|
|
width: 90px; height: 90px;
|
|
border-radius: 50%;
|
|
background: rgba(255,255,255,0.1);
|
|
}
|
|
.crm-stat-card .crm-stat-icon {
|
|
width: 44px; height: 44px;
|
|
border-radius: 12px;
|
|
background: rgba(255,255,255,0.2);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 18px;
|
|
margin-bottom: 12px;
|
|
}
|
|
.crm-stat-card .crm-stat-label {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
opacity: 0.88;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
display: block;
|
|
margin-bottom: 4px;
|
|
}
|
|
.crm-stat-card .crm-stat-value {
|
|
font-size: 28px;
|
|
font-weight: 800;
|
|
line-height: 1.1;
|
|
}
|
|
.crm-stat-indigo { background: linear-gradient(135deg, #4f46e5, #7c3aed); }
|
|
.crm-stat-teal { background: linear-gradient(135deg, #0d9488, #14b8a6); }
|
|
.crm-stat-amber { background: linear-gradient(135deg, #d97706, #f59e0b); }
|
|
.crm-stat-rose { background: linear-gradient(135deg, #e11d48, #f43f5e); }
|
|
.crm-stat-slate { background: linear-gradient(135deg, #334155, #475569); }
|
|
.crm-stat-sky { background: linear-gradient(135deg, #0284c7, #38bdf8); }
|
|
|
|
/* ── Buttons ── */
|
|
.crm-btn {
|
|
border: none;
|
|
border-radius: 10px;
|
|
padding: 8px 16px;
|
|
font-weight: 600;
|
|
font-size: 13px;
|
|
transition: all 0.2s ease;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
.crm-btn-primary {
|
|
color: #fff;
|
|
background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
|
|
box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
|
|
}
|
|
.crm-btn-primary:hover { opacity: 0.92; color: #fff; transform: translateY(-1px); }
|
|
.crm-btn-ghost {
|
|
background: #eef1fb;
|
|
color: #4a5b8f;
|
|
}
|
|
.crm-btn-ghost:hover { background: #dde4f7; color: #1a1f36; }
|
|
.crm-btn-ghost.active {
|
|
background: linear-gradient(90deg, #4f46e5, #7c3aed);
|
|
color: #fff;
|
|
box-shadow: 0 4px 12px rgba(79,70,229,0.3);
|
|
}
|
|
|
|
/* ── Filters ── */
|
|
.crm-filters {
|
|
margin: 0 15px 20px;
|
|
padding: 18px 22px;
|
|
border-radius: 16px;
|
|
background: #fff;
|
|
border: 1px solid #e8edf5;
|
|
box-shadow: 0 4px 16px rgba(27,39,51,0.04);
|
|
}
|
|
.crm-filters .form-group { margin-bottom: 0; }
|
|
.crm-filters label { font-weight: 600; color: #4a5b6f; font-size: 12px; }
|
|
|
|
/* ── Forms ── */
|
|
.crm-page .form-group { margin-bottom: 15px; }
|
|
.crm-page .form-group label {
|
|
display: block;
|
|
margin-bottom: 7px;
|
|
color: #4a5b6f;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
.crm-page .checkbox label,
|
|
.crm-page .checkbox-inline label,
|
|
.crm-modal-form .checkbox label,
|
|
.crm-modal-form .checkbox-inline label {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
margin-bottom: 0;
|
|
color: #2d3748;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
}
|
|
.crm-page .form-control,
|
|
.crm-page .select2-container--default .select2-selection--single,
|
|
.crm-page .select2-container--default .select2-selection--multiple {
|
|
min-height: 42px;
|
|
border: 1px solid #dbe3ef !important;
|
|
border-radius: 10px !important;
|
|
box-shadow: none !important;
|
|
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
.crm-page .form-control:focus,
|
|
.crm-page .select2-container--default.select2-container--focus .select2-selection--single,
|
|
.crm-page .select2-container--default.select2-container--focus .select2-selection--multiple {
|
|
border-color: #4f46e5 !important;
|
|
box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
|
|
}
|
|
.crm-page .select2-container { width: 100% !important; }
|
|
.crm-page .select2-container--default .select2-selection--single .select2-selection__rendered {
|
|
line-height: 40px;
|
|
padding-left: 26px;
|
|
padding-right: 12px;
|
|
}
|
|
.crm-page .select2-container--default .select2-selection--single .select2-selection__arrow {
|
|
height: 40px;
|
|
}
|
|
.crm-page textarea.form-control { min-height: 92px; resize: vertical; }
|
|
.crm-page .input-group {
|
|
display: flex;
|
|
width: 100%;
|
|
border: 1px solid #dbe3ef;
|
|
border-radius: 10px;
|
|
background: #fff;
|
|
overflow: hidden;
|
|
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
.crm-page .input-group:focus-within {
|
|
border-color: #4f46e5;
|
|
box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
|
|
}
|
|
.crm-page .input-group-addon {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 40px;
|
|
min-width: 40px;
|
|
padding: 0;
|
|
border: 0;
|
|
background: #f8fafc;
|
|
color: #7b8a9a;
|
|
}
|
|
.crm-page .input-group .form-control {
|
|
border: 0 !important;
|
|
border-radius: 0 !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
/* ── Legacy CRM pages using AdminLTE boxes ── */
|
|
.crm-legacy-page .box {
|
|
border: 1px solid #e8edf5;
|
|
border-radius: 16px;
|
|
background: #fff;
|
|
box-shadow: 0 6px 24px rgba(27, 39, 51, 0.05);
|
|
overflow: hidden;
|
|
margin-bottom: 20px;
|
|
}
|
|
.crm-legacy-page .box.box-primary,
|
|
.crm-legacy-page .box.box-solid {
|
|
border-top: 0;
|
|
}
|
|
.crm-legacy-page .box-header {
|
|
padding: 16px 20px;
|
|
border-bottom: 1px solid #eef2f7;
|
|
background: #fafbfe;
|
|
}
|
|
.crm-legacy-page .box-header:before,
|
|
.crm-legacy-page .box-header:after {
|
|
display: none;
|
|
}
|
|
.crm-legacy-page .box-title {
|
|
margin: 0;
|
|
color: #1a1f36;
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
line-height: 1.6;
|
|
}
|
|
.crm-legacy-page .box-tools {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
.crm-legacy-page .box-tools .pull-right {
|
|
float: none !important;
|
|
}
|
|
.crm-legacy-page .box-tools.pull-right,
|
|
.crm-legacy-page .box-header > .box-tools {
|
|
position: static;
|
|
float: none !important;
|
|
}
|
|
.crm-legacy-page .box-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
.crm-legacy-page .box-body {
|
|
padding: 18px 20px;
|
|
}
|
|
.crm-legacy-page .box-footer {
|
|
border-top: 1px solid #eef2f7;
|
|
background: #fafbfe;
|
|
}
|
|
.crm-legacy-page .btn-primary,
|
|
.crm-legacy-page .btn-info {
|
|
border: 0;
|
|
border-radius: 10px;
|
|
background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
|
|
box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
|
|
font-weight: 600;
|
|
}
|
|
.crm-legacy-page .btn-success {
|
|
border: 0;
|
|
border-radius: 10px;
|
|
box-shadow: 0 4px 14px rgba(16, 185, 129, 0.22);
|
|
font-weight: 600;
|
|
}
|
|
.crm-legacy-page .btn-default,
|
|
.crm-legacy-page .btn-flat {
|
|
border-color: #dbe3ef;
|
|
border-radius: 10px;
|
|
background: #fff;
|
|
color: #4a5b6f;
|
|
font-weight: 600;
|
|
}
|
|
.crm-legacy-page .nav-tabs-custom {
|
|
border-radius: 14px;
|
|
box-shadow: none;
|
|
border: 1px solid #e8edf5;
|
|
overflow: hidden;
|
|
}
|
|
.crm-legacy-page .nav-tabs-custom > .nav-tabs {
|
|
border-bottom: 1px solid #eef2f7;
|
|
background: #fafbfe;
|
|
}
|
|
.crm-legacy-page .nav-tabs-custom > .nav-tabs > li > a {
|
|
border-radius: 10px 10px 0 0;
|
|
color: #4a5b6f;
|
|
font-weight: 700;
|
|
}
|
|
.crm-legacy-page .nav-tabs-custom > .nav-tabs > li.active > a,
|
|
.crm-legacy-page .nav-tabs-custom > .nav-tabs > li.active:hover > a {
|
|
border-top-color: #4f46e5;
|
|
color: #1a1f36;
|
|
}
|
|
.crm-legacy-page .tab-content {
|
|
padding: 16px;
|
|
}
|
|
|
|
/* ── Tables inside cards ── */
|
|
.crm-card .table,
|
|
.crm-legacy-page .box .table { margin-bottom: 0; }
|
|
.crm-card .table > thead > tr > th,
|
|
.crm-legacy-page .box .table > thead > tr > th {
|
|
background: #f4f6fb;
|
|
color: #4a5b6f;
|
|
font-weight: 700;
|
|
font-size: 12px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.4px;
|
|
border-bottom: 2px solid #e8edf5 !important;
|
|
padding: 12px 14px;
|
|
}
|
|
.crm-card .table > tbody > tr > td,
|
|
.crm-legacy-page .box .table > tbody > tr > td {
|
|
padding: 11px 14px;
|
|
vertical-align: middle;
|
|
color: #2d3748;
|
|
border-color: #f0f3f8 !important;
|
|
}
|
|
.crm-card .table > tbody > tr:hover,
|
|
.crm-legacy-page .box .table > tbody > tr:hover { background: #f8faff; }
|
|
|
|
.crm-card .dataTables_wrapper,
|
|
.crm-legacy-page .box .dataTables_wrapper {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 10px 12px;
|
|
overflow-x: visible;
|
|
padding-bottom: 4px;
|
|
}
|
|
.crm-card .dataTables_wrapper > .row,
|
|
.crm-legacy-page .box .dataTables_wrapper > .row {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px 12px;
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
}
|
|
.crm-card .dataTables_wrapper > .row > [class*="col-"],
|
|
.crm-legacy-page .box .dataTables_wrapper > .row > [class*="col-"] {
|
|
float: none !important;
|
|
width: 100% !important;
|
|
max-width: 100%;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 10px 12px;
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
}
|
|
.crm-card .dataTables_wrapper .dataTables_length,
|
|
.crm-card .dataTables_wrapper .dataTables_filter,
|
|
.crm-card .dataTables_wrapper .dt-buttons,
|
|
.crm-legacy-page .box .dataTables_wrapper .dataTables_length,
|
|
.crm-legacy-page .box .dataTables_wrapper .dataTables_filter,
|
|
.crm-legacy-page .box .dataTables_wrapper .dt-buttons {
|
|
float: none !important;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
margin: 0;
|
|
vertical-align: top;
|
|
}
|
|
.crm-card .dataTables_wrapper .dataTables_filter,
|
|
.crm-legacy-page .box .dataTables_wrapper .dataTables_filter {
|
|
flex: 1 1 180px;
|
|
justify-content: flex-start;
|
|
margin-right: 0;
|
|
}
|
|
.crm-card .dataTables_wrapper .dataTables_length,
|
|
.crm-legacy-page .box .dataTables_wrapper .dataTables_length {
|
|
flex: 0 0 100%;
|
|
justify-content: flex-end;
|
|
}
|
|
.crm-card .dataTables_wrapper .dataTables_length label,
|
|
.crm-card .dataTables_wrapper .dataTables_filter label,
|
|
.crm-legacy-page .box .dataTables_wrapper .dataTables_length label,
|
|
.crm-legacy-page .box .dataTables_wrapper .dataTables_filter label {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
margin: 0;
|
|
white-space: nowrap;
|
|
}
|
|
.crm-card .dataTables_wrapper .dt-buttons,
|
|
.crm-legacy-page .box .dataTables_wrapper .dt-buttons {
|
|
flex: 1 1 420px;
|
|
}
|
|
.crm-card .dataTables_wrapper .dt-buttons .btn,
|
|
.crm-legacy-page .box .dataTables_wrapper .dt-buttons .btn {
|
|
margin: 0;
|
|
}
|
|
.crm-card .dataTables_wrapper .dataTables_filter input,
|
|
.crm-legacy-page .box .dataTables_wrapper .dataTables_filter input {
|
|
max-width: 180px;
|
|
margin-right: 6px;
|
|
}
|
|
.crm-card .dataTables_wrapper .dataTables_info,
|
|
.crm-card .dataTables_wrapper .dataTables_paginate,
|
|
.crm-legacy-page .box .dataTables_wrapper .dataTables_info,
|
|
.crm-legacy-page .box .dataTables_wrapper .dataTables_paginate {
|
|
float: none !important;
|
|
clear: both;
|
|
text-align: inherit;
|
|
margin-top: 10px;
|
|
}
|
|
.crm-card .dataTables_wrapper .dataTables_scroll,
|
|
.crm-card .dataTables_wrapper > table,
|
|
.crm-legacy-page .box .dataTables_wrapper .dataTables_scroll,
|
|
.crm-legacy-page .box .dataTables_wrapper > table {
|
|
flex: 0 0 100%;
|
|
min-width: 100%;
|
|
}
|
|
.crm-card .dataTables_wrapper .dataTables_info,
|
|
.crm-legacy-page .box .dataTables_wrapper .dataTables_info {
|
|
flex: 1 1 auto;
|
|
}
|
|
.crm-card .dataTables_wrapper .dataTables_paginate,
|
|
.crm-legacy-page .box .dataTables_wrapper .dataTables_paginate {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
/* ── Kanban ── */
|
|
.lead-kanban-board .meta-tasks { min-height: 400px; }
|
|
.crm-kanban-col {
|
|
border-radius: 14px;
|
|
background: #f4f6fb;
|
|
border: 1px solid #e8edf5;
|
|
padding: 12px;
|
|
min-height: 300px;
|
|
}
|
|
|
|
/* ── CRM modals ── */
|
|
.crm-modal-form {
|
|
overflow: hidden;
|
|
border: 0;
|
|
border-radius: 18px;
|
|
box-shadow: 0 20px 48px rgba(26, 31, 54, 0.18);
|
|
}
|
|
.crm-modal-form .modal-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
direction: ltr;
|
|
padding: 15px 22px;
|
|
border-bottom: 1px solid #eef2f7;
|
|
background: #fafbfe;
|
|
}
|
|
.crm-modal-form .modal-header:before,
|
|
.crm-modal-form .modal-header:after {
|
|
display: none;
|
|
}
|
|
.crm-modal-form .modal-title {
|
|
margin: 0;
|
|
color: #1a1f36;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
direction: rtl;
|
|
text-align: right;
|
|
}
|
|
.crm-modal-form .close {
|
|
float: none;
|
|
margin: 0;
|
|
opacity: 0.55;
|
|
}
|
|
.crm-modal-form .modal-body {
|
|
padding: 22px;
|
|
background: #fff;
|
|
}
|
|
.crm-modal-form .modal-body > .row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: flex-start;
|
|
margin-left: -8px;
|
|
margin-right: -8px;
|
|
}
|
|
.crm-modal-form .modal-body > .row > [class*="col-"] {
|
|
padding-left: 8px;
|
|
padding-right: 8px;
|
|
}
|
|
.crm-modal-form .form-group {
|
|
margin-bottom: 14px;
|
|
}
|
|
.crm-modal-form .form-group label,
|
|
.crm-modal-form label {
|
|
color: #4a5b6f;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
.crm-modal-form .form-control,
|
|
.crm-modal-form .select2-container--default .select2-selection--single,
|
|
.crm-modal-form .select2-container--default .select2-selection--multiple {
|
|
min-height: 42px;
|
|
border: 1px solid #dbe3ef !important;
|
|
border-radius: 10px !important;
|
|
box-shadow: none !important;
|
|
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
.crm-modal-form .form-control:focus,
|
|
.crm-modal-form .select2-container--default.select2-container--focus .select2-selection--single,
|
|
.crm-modal-form .select2-container--default.select2-container--focus .select2-selection--multiple {
|
|
border-color: #4f46e5 !important;
|
|
box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
|
|
}
|
|
.crm-modal-form .select2-container { width: 100% !important; }
|
|
.crm-modal-form .select2-container--default .select2-selection--single .select2-selection__rendered {
|
|
line-height: 40px;
|
|
padding-left: 26px;
|
|
padding-right: 12px;
|
|
}
|
|
.crm-modal-form textarea.form-control {
|
|
min-height: 94px;
|
|
resize: vertical;
|
|
}
|
|
.crm-modal-form .input-group {
|
|
display: flex;
|
|
width: 100%;
|
|
border: 1px solid #dbe3ef;
|
|
border-radius: 10px;
|
|
background: #fff;
|
|
overflow: hidden;
|
|
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
.crm-modal-form .input-group:focus-within {
|
|
border-color: #4f46e5;
|
|
box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
|
|
}
|
|
.crm-modal-form .input-group-addon {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 40px;
|
|
min-width: 40px;
|
|
padding: 0;
|
|
border: 0;
|
|
background: #f8fafc;
|
|
color: #7b8a9a;
|
|
}
|
|
.crm-modal-form .input-group .form-control {
|
|
border: 0 !important;
|
|
border-radius: 0 !important;
|
|
box-shadow: none !important;
|
|
}
|
|
.crm-modal-form .help-block {
|
|
margin-top: 6px;
|
|
color: #7b8a9a;
|
|
font-size: 12px;
|
|
}
|
|
.crm-modal-form .checkbox,
|
|
.crm-modal-form .checkbox-inline {
|
|
margin-top: 8px;
|
|
}
|
|
.crm-modal-form .multi-input {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
align-items: flex-end;
|
|
}
|
|
.crm-modal-form .multi-input > label {
|
|
flex: 0 0 100%;
|
|
}
|
|
.crm-modal-form .multi-input br {
|
|
display: none;
|
|
}
|
|
.crm-modal-form .multi-input .form-control {
|
|
float: none !important;
|
|
flex: 1 1 150px;
|
|
}
|
|
.crm-modal-form .modal-footer {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
padding: 14px 22px;
|
|
border-top: 1px solid #eef2f7;
|
|
background: #fafbfe;
|
|
}
|
|
.crm-modal-form .modal-footer:before,
|
|
.crm-modal-form .modal-footer:after {
|
|
display: none;
|
|
}
|
|
.crm-modal-form .btn {
|
|
border-radius: 10px;
|
|
font-weight: 700;
|
|
}
|
|
.crm-modal-form .btn-primary {
|
|
border: 0;
|
|
background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
|
|
box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
|
|
}
|
|
.crm-modal-form .btn-default {
|
|
border-color: #dbe3ef;
|
|
background: #fff;
|
|
color: #4a5b6f;
|
|
}
|
|
|
|
/* ── Misc ── */
|
|
.fw-100 { font-weight: 100; }
|
|
.crm-section-divider {
|
|
border: none;
|
|
border-top: 1px solid #e8edf5;
|
|
margin: 24px 15px;
|
|
}
|
|
.crm-admin-section { padding: 0 15px; }
|
|
|
|
@media (min-width: 768px) {
|
|
.crm-widget-grid {
|
|
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1200px) {
|
|
.crm-insight-grid {
|
|
grid-template-columns: minmax(320px, 1fr) minmax(0, 2fr);
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1401px) {
|
|
.crm-report-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.crm-stat-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
|
|
.crm-widget-grid,
|
|
.crm-insight-grid,
|
|
.crm-report-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.crm-grid-span-2 { grid-column: span 1; }
|
|
.crm-page-header { padding: 16px 18px; }
|
|
.crm-page-header h1 { font-size: 18px; }
|
|
}
|
|
</style>
|