update user company UI CSS
This commit is contained in:
+195
-4
@@ -1,4 +1,3 @@
|
||||
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
|
||||
:root {
|
||||
--brand: #ee7800;
|
||||
--brand-dark: #c85d00;
|
||||
@@ -23,7 +22,7 @@ body.app-v2 {
|
||||
margin: 0;
|
||||
background: var(--canvas);
|
||||
color: var(--ink);
|
||||
font-family: Inter, "Segoe UI", sans-serif;
|
||||
font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
||||
font-size: 12px;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
@@ -840,8 +839,8 @@ body.app-v2 {
|
||||
}
|
||||
}
|
||||
.nav-badge.nav-badge-warning {
|
||||
background: #f2b705;
|
||||
color: #302400;
|
||||
background: #ee7800;
|
||||
color: #fff;
|
||||
font-weight: 700;
|
||||
}
|
||||
.nav-badge.nav-badge-danger {
|
||||
@@ -899,3 +898,195 @@ body.app-v2 {
|
||||
border-radius: 8px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* ================================================================
|
||||
UI FOUNDATION 2026
|
||||
Standar tipografi dan warna lintas modul. Selector dibuat eksplisit
|
||||
supaya view lama tetap mengikuti sistem visual yang sama.
|
||||
================================================================ */
|
||||
:root {
|
||||
--ui-font: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
||||
--ui-font-size: 13px;
|
||||
--ui-table-font-size: 11px;
|
||||
--ui-heading-1: 20px;
|
||||
--ui-heading-2: 18px;
|
||||
--ui-heading-3: 17px;
|
||||
--ui-heading-4: 16px;
|
||||
--ui-heading-5: 14px;
|
||||
--ui-heading-6: 13px;
|
||||
--warning: #ee7800;
|
||||
--warning-dark: #c85d00;
|
||||
--warning-soft: #fff2e5;
|
||||
--warning-border: #ffc68f;
|
||||
--bs-warning: #ee7800;
|
||||
--bs-warning-rgb: 238, 120, 0;
|
||||
}
|
||||
|
||||
html body.app-v2,
|
||||
html body.app-v2 button,
|
||||
html body.app-v2 input,
|
||||
html body.app-v2 select,
|
||||
html body.app-v2 textarea,
|
||||
html body.app-v2 .select2-container,
|
||||
html body.app-v2 .swal2-container {
|
||||
font-family: var(--ui-font) !important;
|
||||
}
|
||||
|
||||
html body.app-v2 {
|
||||
font-size: var(--ui-font-size) !important;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
html body.app-v2 .app-content h1 { font-size: var(--ui-heading-1) !important; }
|
||||
html body.app-v2 .app-content h2 { font-size: var(--ui-heading-2) !important; }
|
||||
html body.app-v2 .app-content h3 { font-size: var(--ui-heading-3) !important; }
|
||||
html body.app-v2 .app-content h4 { font-size: var(--ui-heading-4) !important; }
|
||||
html body.app-v2 .app-content h5 { font-size: var(--ui-heading-5) !important; }
|
||||
html body.app-v2 .app-content h6 { font-size: var(--ui-heading-6) !important; }
|
||||
|
||||
html body.app-v2 .app-content h1,
|
||||
html body.app-v2 .app-content h2,
|
||||
html body.app-v2 .app-content h3,
|
||||
html body.app-v2 .app-content h4,
|
||||
html body.app-v2 .app-content h5,
|
||||
html body.app-v2 .app-content h6 {
|
||||
color: #1d2939;
|
||||
font-weight: 700;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
html body.app-v2 .app-topbar h1 {
|
||||
font-size: 16px !important;
|
||||
letter-spacing: -0.01em;
|
||||
}
|
||||
|
||||
html body.app-v2 .card-header,
|
||||
html body.app-v2 .modal-title {
|
||||
font-size: 14px !important;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
html body.app-v2 .form-label,
|
||||
html body.app-v2 label {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
html body.app-v2 .form-control,
|
||||
html body.app-v2 .form-select,
|
||||
html body.app-v2 .select2-selection__rendered {
|
||||
font-size: 12.5px !important;
|
||||
}
|
||||
|
||||
html body.app-v2 table,
|
||||
html body.app-v2 table.table,
|
||||
html body.app-v2 table.dataTable,
|
||||
html body.app-v2 table.modern-table,
|
||||
html body.app-v2 table.inventory-table,
|
||||
html body.app-v2 table.tech-table {
|
||||
font-size: var(--ui-table-font-size) !important;
|
||||
}
|
||||
|
||||
html body.app-v2 table th,
|
||||
html body.app-v2 table td,
|
||||
html body.app-v2 .table th,
|
||||
html body.app-v2 .table td,
|
||||
html body.app-v2 table.dataTable th,
|
||||
html body.app-v2 table.dataTable td {
|
||||
font-size: var(--ui-table-font-size) !important;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
html body.app-v2 table .btn,
|
||||
html body.app-v2 table .badge,
|
||||
html body.app-v2 table small {
|
||||
font-size: var(--ui-table-font-size) !important;
|
||||
}
|
||||
|
||||
html body.app-v2 .btn-warning,
|
||||
html body.app-v2 .bg-warning,
|
||||
html body.app-v2 .text-bg-warning,
|
||||
html body.app-v2 .badge.bg-warning,
|
||||
html body.app-v2 .nav-badge-warning {
|
||||
border-color: var(--warning) !important;
|
||||
background: var(--warning) !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
html body.app-v2 .btn-warning:hover,
|
||||
html body.app-v2 .btn-warning:focus,
|
||||
html body.app-v2 .btn-warning:active {
|
||||
border-color: var(--warning-dark) !important;
|
||||
background: var(--warning-dark) !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
html body.app-v2 .btn-outline-warning {
|
||||
border-color: var(--warning) !important;
|
||||
color: var(--warning-dark) !important;
|
||||
background: #fff !important;
|
||||
}
|
||||
|
||||
html body.app-v2 .btn-outline-warning:hover,
|
||||
html body.app-v2 .btn-outline-warning:focus {
|
||||
border-color: var(--warning) !important;
|
||||
background: var(--warning) !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
html body.app-v2 .alert-warning,
|
||||
html body.app-v2 .bg-warning-subtle,
|
||||
html body.app-v2 .tech-warning,
|
||||
html body.app-v2 .ai-warning,
|
||||
html body.app-v2 .status-warning,
|
||||
html body.app-v2 .status-pending,
|
||||
html body.app-v2 .status-submitted,
|
||||
html body.app-v2 .status-reserved {
|
||||
border-color: var(--warning-border) !important;
|
||||
background: var(--warning-soft) !important;
|
||||
color: #8a4500 !important;
|
||||
}
|
||||
|
||||
html body.app-v2 .step-badge.warning {
|
||||
background: var(--warning) !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
html body.app-v2 .text-warning {
|
||||
color: var(--warning-dark) !important;
|
||||
}
|
||||
|
||||
html body.app-v2 .border-warning {
|
||||
border-color: var(--warning-border) !important;
|
||||
}
|
||||
|
||||
html body.app-v2 .swal2-icon.swal2-warning {
|
||||
border-color: var(--warning) !important;
|
||||
color: var(--warning) !important;
|
||||
}
|
||||
|
||||
html body.app-v2 .swal2-confirm {
|
||||
background: var(--brand) !important;
|
||||
}
|
||||
|
||||
/* Aksen modul lama memakai satu warna brand yang sama. */
|
||||
html body.app-v2 .tech-shell {
|
||||
--tech-orange: var(--brand) !important;
|
||||
}
|
||||
|
||||
html body.app-v2 .sales-section-nav a.active {
|
||||
background: var(--brand) !important;
|
||||
}
|
||||
|
||||
html body.app-v2 .line-type-switch input:checked + span {
|
||||
border-color: var(--brand) !important;
|
||||
}
|
||||
|
||||
html body.app-v2 .company-settings-hero {
|
||||
background: linear-gradient(125deg, #172b4d, #24456f 62%, var(--brand)) !important;
|
||||
}
|
||||
|
||||
@media (max-width: 767.98px) {
|
||||
html body.app-v2 { font-size: var(--ui-font-size) !important; }
|
||||
html body.app-v2 .app-content h1 { font-size: 19px !important; }
|
||||
html body.app-v2 .app-content h2 { font-size: 17px !important; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user