1093 lines
22 KiB
CSS
1093 lines
22 KiB
CSS
:root {
|
|
--brand: #ee7800;
|
|
--brand-dark: #c85d00;
|
|
--brand-soft: #fff2e5;
|
|
--ink: #20242c;
|
|
--muted: #717784;
|
|
--line: #e7e9ee;
|
|
--canvas: #f5f6f8;
|
|
--surface: #fff;
|
|
--sidebar: #17191e;
|
|
--sidebar-soft: #24272e;
|
|
--radius: 12px;
|
|
--shadow: 0 5px 18px rgba(25, 29, 38, 0.07);
|
|
--sidebar-width: 258px;
|
|
--topbar-height: 72px;
|
|
--tap: 44px;
|
|
}
|
|
html {
|
|
background: var(--canvas);
|
|
}
|
|
body.app-v2 {
|
|
margin: 0;
|
|
background: var(--canvas);
|
|
color: var(--ink);
|
|
font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
font-size: 12px;
|
|
overflow-x: hidden;
|
|
}
|
|
.app-v2 * {
|
|
box-sizing: border-box;
|
|
}
|
|
.app-shell {
|
|
min-height: 100vh;
|
|
}
|
|
.app-sidebar {
|
|
position: fixed;
|
|
inset: 0 auto 0 0;
|
|
width: var(--sidebar-width);
|
|
z-index: 1030;
|
|
background: var(--sidebar);
|
|
color: #fff;
|
|
flex-direction: column;
|
|
border-right: 1px solid #ffffff0d;
|
|
}
|
|
.sidebar-brand,
|
|
.drawer-brand {
|
|
height: 76px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 0 18px;
|
|
color: #fff;
|
|
text-decoration: none;
|
|
}
|
|
.brand-mark {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 11px;
|
|
background: linear-gradient(145deg, var(--brand), #ff9d3f);
|
|
display: grid;
|
|
place-items: center;
|
|
box-shadow: 0 6px 16px #ee78004d;
|
|
flex: none;
|
|
}
|
|
.brand-mark img {
|
|
width: 27px;
|
|
height: 27px;
|
|
object-fit: contain;
|
|
}
|
|
.sidebar-brand strong,
|
|
.drawer-brand strong {
|
|
display: block;
|
|
font-size: 15px;
|
|
letter-spacing: 0.1px;
|
|
}
|
|
.sidebar-brand small,
|
|
.drawer-brand small {
|
|
display: block;
|
|
color: #a7abb3;
|
|
font-size: 10px;
|
|
letter-spacing: 1.1px;
|
|
text-transform: uppercase;
|
|
margin-top: 2px;
|
|
}
|
|
.sidebar-search {
|
|
height: 42px;
|
|
margin: 5px 14px 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
padding: 0 12px;
|
|
background: #ffffff0a;
|
|
border: 1px solid #ffffff12;
|
|
border-radius: 10px;
|
|
color: #8d929c;
|
|
}
|
|
.sidebar-search input {
|
|
width: 100%;
|
|
height: 38px;
|
|
min-height: 0 !important;
|
|
border: 0;
|
|
outline: 0;
|
|
background: transparent;
|
|
color: #eee;
|
|
font-size: 12px;
|
|
}
|
|
.sidebar-search input::placeholder {
|
|
color: #777c86;
|
|
}
|
|
.sidebar-nav {
|
|
padding: 0 10px 16px;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
flex: 1;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: #3a3e47 transparent;
|
|
}
|
|
.app-menu-item {
|
|
margin: 2px 0;
|
|
}
|
|
.nav-group {
|
|
border: 0;
|
|
}
|
|
.nav-group > summary {
|
|
list-style: none;
|
|
cursor: pointer;
|
|
}
|
|
.nav-group > summary::-webkit-details-marker {
|
|
display: none;
|
|
}
|
|
.nav-entry {
|
|
width: 100%;
|
|
min-height: 43px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 7px 10px;
|
|
border-radius: 9px;
|
|
color: #b9bdc5 !important;
|
|
text-decoration: none !important;
|
|
font-weight: 500;
|
|
font-size: 12.5px;
|
|
transition:
|
|
background 0.16s,
|
|
color 0.16s;
|
|
}
|
|
.nav-entry:hover {
|
|
background: #ffffff0b;
|
|
color: #fff !important;
|
|
transform: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
.nav-entry.active,
|
|
.nav-group.is-active > summary {
|
|
background: linear-gradient(90deg, #ee780025, #ee78000a);
|
|
color: #fff !important;
|
|
}
|
|
.nav-entry.active {
|
|
box-shadow: inset 3px 0 var(--brand);
|
|
}
|
|
.nav-entry-icon {
|
|
width: 27px;
|
|
height: 27px;
|
|
border-radius: 7px;
|
|
display: grid;
|
|
place-items: center;
|
|
color: #9297a1;
|
|
font-size: 14px;
|
|
flex: none;
|
|
}
|
|
.nav-entry.active .nav-entry-icon,
|
|
.nav-group.is-active > summary .nav-entry-icon {
|
|
color: #ff9d3f;
|
|
}
|
|
.nav-entry-label {
|
|
flex: 1;
|
|
}
|
|
.nav-badge {
|
|
min-width: 20px;
|
|
height: 20px;
|
|
padding: 0 6px;
|
|
border-radius: 10px;
|
|
background: #d9363e;
|
|
color: #fff;
|
|
display: grid;
|
|
place-items: center;
|
|
font-size: 10px;
|
|
}
|
|
.nav-chevron {
|
|
font-size: 10px;
|
|
color: #70757e;
|
|
transition: transform 0.18s;
|
|
}
|
|
.nav-group[open] > summary .nav-chevron {
|
|
transform: rotate(180deg);
|
|
}
|
|
.nav-children {
|
|
margin: 2px 0 6px 23px;
|
|
padding: 2px 0 2px 18px;
|
|
border-left: 1px solid #343841;
|
|
}
|
|
.nav-child {
|
|
min-height: 34px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
padding: 5px 9px;
|
|
color: #9499a3 !important;
|
|
text-decoration: none !important;
|
|
border-radius: 7px;
|
|
font-size: 11.5px;
|
|
}
|
|
.nav-child > span {
|
|
width: 4px;
|
|
height: 4px;
|
|
background: #555a64;
|
|
border-radius: 50%;
|
|
flex: none;
|
|
}
|
|
.nav-child:hover,
|
|
.nav-child.active {
|
|
background: #ffffff08;
|
|
color: #fff !important;
|
|
}
|
|
.nav-child.active > span {
|
|
background: var(--brand);
|
|
box-shadow: 0 0 0 3px #ee780025;
|
|
}
|
|
.sidebar-user {
|
|
margin: 10px 12px 14px;
|
|
padding: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
background: var(--sidebar-soft);
|
|
border: 1px solid #ffffff0a;
|
|
border-radius: 11px;
|
|
}
|
|
.user-avatar {
|
|
width: 34px;
|
|
height: 34px;
|
|
display: grid;
|
|
place-items: center;
|
|
border-radius: 9px;
|
|
background: var(--brand);
|
|
font-weight: 700;
|
|
}
|
|
.user-copy {
|
|
min-width: 0;
|
|
flex: 1;
|
|
}
|
|
.user-copy strong,
|
|
.user-copy small {
|
|
display: block;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.user-copy strong {
|
|
font-size: 11.5px;
|
|
}
|
|
.user-copy small {
|
|
font-size: 10px;
|
|
color: #8d929b;
|
|
}
|
|
.sidebar-user > a {
|
|
width: 30px;
|
|
height: 30px;
|
|
display: grid;
|
|
place-items: center;
|
|
color: #8d929b;
|
|
border-radius: 7px;
|
|
}
|
|
.sidebar-user > a:hover {
|
|
color: #fff;
|
|
background: #ffffff0c;
|
|
}
|
|
.app-workspace {
|
|
min-height: 100vh;
|
|
margin-left: var(--sidebar-width);
|
|
}
|
|
.app-topbar {
|
|
height: var(--topbar-height);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1020;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 24px;
|
|
background: #fffffff2;
|
|
backdrop-filter: blur(12px);
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
.topbar-leading,
|
|
.topbar-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
.topbar-kicker {
|
|
display: block;
|
|
color: var(--muted);
|
|
font-size: 9px;
|
|
letter-spacing: 1.1px;
|
|
text-transform: uppercase;
|
|
margin-bottom: 2px;
|
|
}
|
|
.app-topbar h1 {
|
|
font-size: 18px;
|
|
line-height: 1.2;
|
|
margin: 0;
|
|
font-weight: 700;
|
|
}
|
|
.icon-button {
|
|
width: 40px;
|
|
height: 40px;
|
|
min-height: 40px !important;
|
|
display: grid;
|
|
place-items: center;
|
|
border: 1px solid var(--line);
|
|
border-radius: 10px;
|
|
background: #fff;
|
|
color: #535965;
|
|
text-decoration: none;
|
|
font-size: 16px;
|
|
}
|
|
.icon-button:hover {
|
|
background: var(--brand-soft);
|
|
border-color: #ffd2a8;
|
|
color: var(--brand-dark);
|
|
}
|
|
.quick-button {
|
|
background: var(--brand);
|
|
border-color: var(--brand);
|
|
color: #fff;
|
|
}
|
|
.quick-button:hover {
|
|
background: var(--brand-dark);
|
|
color: #fff;
|
|
}
|
|
.app-content {
|
|
min-height: calc(100vh - var(--topbar-height));
|
|
padding: 0 24px 30px;
|
|
}
|
|
.app-breadcrumb {
|
|
padding: 13px 1px;
|
|
background: transparent !important;
|
|
border: 0 !important;
|
|
position: static !important;
|
|
}
|
|
.app-breadcrumb .breadcrumb {
|
|
font-size: 11px;
|
|
color: var(--muted);
|
|
}
|
|
.app-breadcrumb a {
|
|
color: var(--brand-dark);
|
|
text-decoration: none;
|
|
}
|
|
.app-v2 .container,
|
|
.app-v2 .container-fluid {
|
|
max-width: none;
|
|
}
|
|
.app-content > .container,
|
|
.app-content > .container-fluid {
|
|
padding-left: 0 !important;
|
|
padding-right: 0 !important;
|
|
margin-top: 0 !important;
|
|
}
|
|
.app-v2 .card,
|
|
.app-v2 .modern-card,
|
|
.app-v2 .table-card {
|
|
border: 1px solid var(--line) !important;
|
|
border-radius: var(--radius) !important;
|
|
background: var(--surface);
|
|
box-shadow: var(--shadow) !important;
|
|
overflow: hidden;
|
|
}
|
|
.app-v2 .card-header {
|
|
padding: 13px 16px;
|
|
background: #fff !important;
|
|
border-bottom: 1px solid var(--line) !important;
|
|
color: var(--ink) !important;
|
|
font-weight: 600;
|
|
}
|
|
.app-v2 .card-body {
|
|
padding: 16px;
|
|
}
|
|
.app-v2 .summary-card {
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius);
|
|
box-shadow: var(--shadow);
|
|
background: #fff;
|
|
}
|
|
.app-v2 .summary-card:hover {
|
|
transform: none;
|
|
border-color: #ffc58c;
|
|
}
|
|
.app-v2 .table-responsive,
|
|
.app-v2 .table-responsive-premium {
|
|
border: 1px solid var(--line);
|
|
border-radius: 10px;
|
|
background: #fff;
|
|
overflow: auto;
|
|
}
|
|
.app-v2 table,
|
|
.app-v2 .table,
|
|
.app-v2 .modern-table {
|
|
margin: 0;
|
|
border-collapse: collapse !important;
|
|
border-spacing: 0 !important;
|
|
}
|
|
.app-v2 .table > :not(caption) > * > *,
|
|
.app-v2 table.modern-table td {
|
|
padding: 11px 12px;
|
|
border-bottom: 1px solid #eceef2 !important;
|
|
vertical-align: middle;
|
|
}
|
|
.app-v2 .table thead th,
|
|
.app-v2 table.modern-table thead th {
|
|
padding: 10px 12px;
|
|
background: #f7f8fa !important;
|
|
color: #5b616d !important;
|
|
border: 0 !important;
|
|
border-bottom: 1px solid var(--line) !important;
|
|
border-radius: 0 !important;
|
|
font-size: 10px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.55px;
|
|
white-space: nowrap;
|
|
}
|
|
.app-v2 .table tbody tr,
|
|
.app-v2 table.modern-table tbody tr {
|
|
background: #fff !important;
|
|
box-shadow: none !important;
|
|
transform: none !important;
|
|
}
|
|
.app-v2 .table tbody tr:hover,
|
|
.app-v2 table.modern-table tbody tr:hover {
|
|
background: #fffaf5 !important;
|
|
transform: none !important;
|
|
}
|
|
.app-v2 .form-label {
|
|
margin-bottom: 6px;
|
|
font-size: 11.5px;
|
|
font-weight: 600;
|
|
color: #4a505b;
|
|
}
|
|
.app-v2 .form-control,
|
|
.app-v2 .form-select {
|
|
min-height: 42px;
|
|
border: 1px solid #dfe2e7;
|
|
border-radius: 9px;
|
|
background-color: #fff;
|
|
font-size: 13px;
|
|
}
|
|
.app-v2 .form-control:focus,
|
|
.app-v2 .form-select:focus {
|
|
border-color: #f4a154;
|
|
box-shadow: 0 0 0 3px #ee780018;
|
|
}
|
|
.app-v2 .btn {
|
|
min-height: 38px;
|
|
border-radius: 8px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
box-shadow: none !important;
|
|
transform: none !important;
|
|
}
|
|
.app-v2 .btn-primary,
|
|
.app-v2 .btn-warning,
|
|
.app-v2 .btn-add,
|
|
.app-v2 .btn-eximport {
|
|
background: var(--brand) !important;
|
|
border-color: var(--brand) !important;
|
|
color: #fff !important;
|
|
}
|
|
.app-v2 .btn-primary:hover,
|
|
.app-v2 .btn-warning:hover,
|
|
.app-v2 .btn-add:hover,
|
|
.app-v2 .btn-eximport:hover {
|
|
background: var(--brand-dark) !important;
|
|
}
|
|
.app-v2 .modal-content {
|
|
border: 0;
|
|
border-radius: 14px;
|
|
box-shadow: 0 24px 70px #15171c40;
|
|
}
|
|
.app-v2 .modal-header {
|
|
padding: 15px 18px;
|
|
border-color: var(--line);
|
|
}
|
|
.app-v2 .modal-body {
|
|
padding: 18px;
|
|
}
|
|
.app-v2 .modal-footer {
|
|
border-color: var(--line);
|
|
}
|
|
.command-search {
|
|
position: relative;
|
|
}
|
|
.command-search i {
|
|
position: absolute;
|
|
left: 14px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: #888;
|
|
z-index: 2;
|
|
}
|
|
.command-search input {
|
|
padding-left: 40px;
|
|
}
|
|
.quick-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 10px;
|
|
}
|
|
.quick-action {
|
|
min-height: 88px;
|
|
padding: 12px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 11px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 7px;
|
|
text-decoration: none;
|
|
color: var(--ink);
|
|
background: #fff;
|
|
}
|
|
.quick-action:hover {
|
|
border-color: #ffc58c;
|
|
background: var(--brand-soft);
|
|
color: var(--brand-dark);
|
|
}
|
|
.quick-action i {
|
|
font-size: 20px;
|
|
color: var(--brand);
|
|
}
|
|
.search-menu-results a {
|
|
border-color: var(--line) !important;
|
|
color: var(--ink);
|
|
border-radius: 7px;
|
|
}
|
|
.search-menu-results a:hover {
|
|
background: var(--brand-soft);
|
|
}
|
|
.global-loading {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 2050;
|
|
display: grid;
|
|
place-items: center;
|
|
background: #17191e35;
|
|
backdrop-filter: blur(2px);
|
|
}
|
|
.global-loading[hidden] {
|
|
display: none;
|
|
}
|
|
.loading-card {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 14px 18px;
|
|
background: #fff;
|
|
border-radius: 12px;
|
|
box-shadow: 0 15px 45px #1114;
|
|
font-weight: 600;
|
|
}
|
|
.loading-card .spinner-border {
|
|
width: 20px;
|
|
height: 20px;
|
|
color: var(--brand);
|
|
}
|
|
.dataTables_wrapper {
|
|
padding: 4px;
|
|
}
|
|
.dataTables_wrapper .row {
|
|
margin: 0 0 10px;
|
|
align-items: center;
|
|
}
|
|
.dataTables_wrapper .dataTables_filter input {
|
|
min-height: 36px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
margin-left: 7px;
|
|
}
|
|
.dataTables_wrapper .dataTables_length select {
|
|
min-height: 34px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 7px;
|
|
}
|
|
.page-item.active .page-link {
|
|
background: var(--brand);
|
|
border-color: var(--brand);
|
|
}
|
|
.page-link {
|
|
color: var(--brand-dark);
|
|
}
|
|
.select2-container .select2-selection--single {
|
|
height: 42px !important;
|
|
border-color: #dfe2e7 !important;
|
|
border-radius: 9px !important;
|
|
}
|
|
.select2-container .select2-selection--single .select2-selection__rendered {
|
|
line-height: 40px !important;
|
|
}
|
|
.select2-container .select2-selection--single .select2-selection__arrow {
|
|
height: 40px !important;
|
|
}
|
|
.ajax-error-toast {
|
|
position: fixed;
|
|
right: 18px;
|
|
bottom: 18px;
|
|
z-index: 3000;
|
|
max-width: 420px;
|
|
padding: 12px 15px;
|
|
background: #9f2630;
|
|
color: #fff;
|
|
border-radius: 10px;
|
|
box-shadow: 0 16px 35px #1114;
|
|
}
|
|
.mobile-action-bar {
|
|
display: none !important;
|
|
}
|
|
@media (max-width: 991.98px) {
|
|
:root {
|
|
--topbar-height: 64px;
|
|
}
|
|
.app-workspace {
|
|
margin-left: 0;
|
|
}
|
|
.app-topbar {
|
|
height: 64px;
|
|
padding: 0 14px;
|
|
}
|
|
.topbar-kicker {
|
|
display: none;
|
|
}
|
|
.app-topbar h1 {
|
|
font-size: 16px;
|
|
}
|
|
.app-content {
|
|
padding: 0 14px 82px;
|
|
}
|
|
.app-mobile-drawer {
|
|
width: min(88vw, 340px) !important;
|
|
background: var(--sidebar) !important;
|
|
color: #fff;
|
|
border: 0 !important;
|
|
border-radius: 0 !important;
|
|
padding: 0 !important;
|
|
}
|
|
.app-mobile-drawer .offcanvas-header {
|
|
height: 72px;
|
|
padding: 0 15px;
|
|
border-bottom: 1px solid #ffffff10;
|
|
}
|
|
.app-mobile-drawer .drawer-brand {
|
|
height: auto;
|
|
padding: 0;
|
|
}
|
|
.app-mobile-drawer .btn-close {
|
|
filter: invert(1);
|
|
opacity: 0.8;
|
|
}
|
|
.app-mobile-drawer .offcanvas-body {
|
|
padding: 8px 6px 20px;
|
|
}
|
|
.mobile-action-bar {
|
|
position: fixed;
|
|
left: 10px;
|
|
right: 10px;
|
|
bottom: 9px;
|
|
height: 60px;
|
|
z-index: 1040;
|
|
display: grid !important;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
padding: 5px;
|
|
background: #fff;
|
|
border: 1px solid var(--line);
|
|
border-radius: 15px;
|
|
box-shadow: 0 10px 35px #20242c25;
|
|
}
|
|
.mobile-action-bar a,
|
|
.mobile-action-bar button {
|
|
min-height: 48px;
|
|
border: 0;
|
|
border-radius: 10px;
|
|
background: transparent;
|
|
color: #696f79;
|
|
text-decoration: none;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 1px;
|
|
font-size: 9px;
|
|
}
|
|
.mobile-action-bar i {
|
|
font-size: 17px;
|
|
color: var(--brand);
|
|
}
|
|
.mobile-action-bar a:hover,
|
|
.mobile-action-bar button:hover {
|
|
background: var(--brand-soft);
|
|
}
|
|
.app-v2 .modal-dialog {
|
|
margin: 8px;
|
|
}
|
|
.app-v2 .modal-content {
|
|
border-radius: 13px;
|
|
}
|
|
.ajax-error-toast {
|
|
left: 12px;
|
|
right: 12px;
|
|
bottom: 78px;
|
|
max-width: none;
|
|
}
|
|
}
|
|
@media (max-width: 767.98px) {
|
|
body.app-v2 {
|
|
font-size: 13px;
|
|
}
|
|
.app-content {
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
}
|
|
.app-breadcrumb {
|
|
padding: 10px 1px;
|
|
}
|
|
.app-breadcrumb .breadcrumb {
|
|
flex-wrap: nowrap;
|
|
overflow: auto;
|
|
white-space: nowrap;
|
|
}
|
|
.app-v2 .card-body {
|
|
padding: 12px;
|
|
}
|
|
.app-v2 .card-header {
|
|
padding: 11px 12px;
|
|
}
|
|
.app-v2 .row {
|
|
--bs-gutter-x: 12px;
|
|
}
|
|
.app-v2 .table-responsive {
|
|
border: 0;
|
|
border-radius: 0;
|
|
}
|
|
.app-v2 .responsive-detail-table:not(.dataTable) thead {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
}
|
|
.app-v2 .responsive-detail-table:not(.dataTable) tbody,
|
|
.app-v2 .responsive-detail-table:not(.dataTable) tr,
|
|
.app-v2 .responsive-detail-table:not(.dataTable) td {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
.app-v2 .responsive-detail-table:not(.dataTable) tr {
|
|
margin: 8px 0;
|
|
border: 1px solid var(--line);
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
}
|
|
.app-v2 .responsive-detail-table:not(.dataTable) td {
|
|
display: flex !important;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
text-align: right !important;
|
|
}
|
|
.app-v2 .responsive-detail-table:not(.dataTable) td:before {
|
|
content: attr(data-label);
|
|
font-weight: 600;
|
|
text-align: left;
|
|
color: #5b616d;
|
|
}
|
|
.dataTables_wrapper .dataTables_filter,
|
|
.dataTables_wrapper .dataTables_filter input {
|
|
width: 100%;
|
|
margin: 3px 0;
|
|
}
|
|
.quick-grid {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
}
|
|
@media (min-width: 992px) {
|
|
.app-v2 .modal-dialog {
|
|
max-width: min(720px, calc(100vw - 40px));
|
|
}
|
|
.app-v2 .modal-dialog.modal-lg {
|
|
max-width: min(980px, calc(100vw - 50px));
|
|
}
|
|
.app-v2 .modal-dialog.modal-xl {
|
|
max-width: min(1200px, calc(100vw - 50px));
|
|
}
|
|
}
|
|
@media print {
|
|
.app-sidebar,
|
|
.app-topbar,
|
|
.app-breadcrumb,
|
|
.mobile-action-bar,
|
|
.btn,
|
|
form {
|
|
display: none !important;
|
|
}
|
|
.app-workspace {
|
|
margin: 0;
|
|
}
|
|
.app-content {
|
|
padding: 0;
|
|
}
|
|
.app-v2 .card {
|
|
border: 0 !important;
|
|
box-shadow: none !important;
|
|
}
|
|
}
|
|
|
|
/* Standar global modal: dialog selalu berada di tengah viewport. */
|
|
.app-v2 .modal-dialog.modal-dialog-centered {
|
|
min-height: calc(100% - 2rem);
|
|
}
|
|
.app-v2 .modal-dialog.modal-dialog-centered .modal-content {
|
|
width: 100%;
|
|
}
|
|
.app-v2 .approval-focus {
|
|
outline: 3px solid rgba(238, 120, 0, 0.42);
|
|
outline-offset: -2px;
|
|
background: #fff7ee !important;
|
|
animation: approval-focus-pulse 1.2s ease-in-out 2;
|
|
}
|
|
@keyframes approval-focus-pulse {
|
|
50% {
|
|
box-shadow: 0 0 0 7px rgba(238, 120, 0, 0.12);
|
|
}
|
|
}
|
|
.nav-badge.nav-badge-warning {
|
|
background: #ee7800;
|
|
color: #fff;
|
|
font-weight: 700;
|
|
}
|
|
.nav-badge.nav-badge-danger {
|
|
background: #d9363e;
|
|
color: #fff;
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* Alias komponen lama yang masih dipakai view, dengan visual template baru. */
|
|
.app-v2 .btn-action {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 5px;
|
|
margin: 2px;
|
|
padding: 6px 10px;
|
|
border: 1px solid transparent;
|
|
border-radius: 8px;
|
|
text-decoration: none;
|
|
}
|
|
.app-v2 .btn-edit {
|
|
background: #fff7e8;
|
|
color: #9a5b00;
|
|
border-color: #f2c66d;
|
|
}
|
|
.app-v2 .btn-edit:hover {
|
|
background: #ffedc8;
|
|
color: #704100;
|
|
}
|
|
.app-v2 .btn-delete {
|
|
background: #fff0f1;
|
|
color: #b4232f;
|
|
border-color: #efadb2;
|
|
}
|
|
.app-v2 .btn-delete:hover {
|
|
background: #ffe0e3;
|
|
color: #8d1721;
|
|
}
|
|
.app-v2 .btn-detail {
|
|
background: #edf6ff;
|
|
color: #1769b0;
|
|
border-color: #a9d2f5;
|
|
}
|
|
.app-v2 .btn-detail:hover {
|
|
background: #dceeff;
|
|
color: #105487;
|
|
}
|
|
.app-v2 .btn-add,
|
|
.app-v2 .btn-eximport {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
padding: 7px 13px;
|
|
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; }
|
|
}
|