1474 lines
32 KiB
CSS
1474 lines
32 KiB
CSS
/**
|
|
* © 2025-2026 Skoci Admin
|
|
* Designed and Developed by Abimanyu
|
|
* Contact : abimanyuag12@gmail.com
|
|
* All Rights Reserved
|
|
*/
|
|
|
|
:root {
|
|
--bz-bg-gray: #dee5f5;
|
|
--bz-bg-gray-two: #535f76;
|
|
--bz-bg-dark: #3e4b61;
|
|
--bz-bg-dark-secondary: #3e4b61;
|
|
--bz-text-color: #ffd237;
|
|
--bz-bs-gray: #333e53;
|
|
--bz-transparent-blue: #dee9f7;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'webfont';
|
|
src: url("../fonts/roboto/Roboto-Regular.ttf") format('truetype');
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'webfont';
|
|
src: url("../fonts/roboto/Roboto-Medium.ttf") format('truetype');
|
|
font-weight: 500;
|
|
font-style: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'webfont';
|
|
src: url("../fonts/roboto/Roboto-Bold.ttf") format('truetype');
|
|
font-weight: 700;
|
|
font-style: normal;
|
|
}
|
|
|
|
body {
|
|
font-family: 'webfont', sans-serif;
|
|
-webkit-font-smoothing: antialiased;
|
|
background: var(--bz-bg-gray);
|
|
font-weight: 500;
|
|
line-height: 1.5;
|
|
/* min-height: 100vh; */
|
|
height: 100%;
|
|
overflow-x: hidden;
|
|
padding-bottom: 40px;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.bz-spinner {
|
|
width: 48px;
|
|
height: 48px;
|
|
/* border: 5px solid rgba(39, 168, 223, .2); */
|
|
border: 5px solid var(--bz-bg-dark);
|
|
border-left-color: var(--bz-text-color);
|
|
border-radius: 50%;
|
|
animation: spin .8s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
#bz-preloader {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(255, 255, 255, 1);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 90;
|
|
}
|
|
|
|
/* TOPBAR RIGHT */
|
|
.topbar-right {
|
|
position: fixed;
|
|
top: 0;
|
|
width: 250px;
|
|
height: 65px;
|
|
background-color: var(--bz-bg-dark);
|
|
z-index: 30;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 15px;
|
|
margin: 0;
|
|
transition: all .2s ease;
|
|
}
|
|
|
|
.topbar-right img,
|
|
.topbar-main img {
|
|
width: 35px;
|
|
height: 35px;
|
|
}
|
|
|
|
.topbar-right::after {
|
|
content: "";
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 15px;
|
|
right: 15px;
|
|
height: 1px;
|
|
background: rgba(255, 255, 255, .08);
|
|
}
|
|
|
|
.topbar-right.collapsed h5 {
|
|
display: none;
|
|
}
|
|
|
|
body:has(.sidebar-right.collapsed) .topbar-right {
|
|
width: 80px; /* Atau sesuaikan dengan lebar sidebar kecil Anda */
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
transition: all .2s ease;
|
|
}
|
|
|
|
body:has(.sidebar-right.collapsed) .topbar-right h5 {
|
|
display: none;
|
|
}
|
|
|
|
#toggleSidebarRight {
|
|
position: absolute;
|
|
right: -15px;
|
|
/* Mengatur posisi vertikal di tengah */
|
|
top: 50%;
|
|
transform: translateY(-50%); /* Menggeser ke atas setengah tinggi tombol */
|
|
background-color: var(--bz-bg-dark, #343a40);
|
|
color: var(--bs-gray-200);
|
|
border: none;
|
|
padding: 8px 8px;
|
|
border-radius: 0 5px 5px 0;
|
|
cursor: poroboto;
|
|
z-index: 20;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
#toggleSidebarRight i {
|
|
font-size: 1rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
/* body:has(.sidebar-right.collapsed) #toggleSidebarRight {
|
|
display: none;
|
|
} */
|
|
|
|
body:has(.sidebar-right.collapsed) .topbar-right .chevron,
|
|
body:has(.sidebar-right.temp-expanded) .topbar-right .chevron {
|
|
transform: rotate(180deg);
|
|
transition: all .2s ease;
|
|
}
|
|
|
|
/* SIDEBAR RIGHT */
|
|
.sidebar-right {
|
|
position: fixed;
|
|
top: 0;
|
|
margin-top: 65px;
|
|
height: calc(100% - 65px);
|
|
width: 250px;
|
|
background-color: var(--bz-bg-dark-secondary);
|
|
display: flex;
|
|
flex-direction: column;
|
|
transition: all .2s ease;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
z-index: 30;
|
|
padding-bottom: 50px;
|
|
}
|
|
|
|
.sidebar-right .nav-link {
|
|
position: relative;
|
|
color: var(--bs-gray-200);
|
|
margin: .25rem .5rem;
|
|
display: flex;
|
|
gap: .75rem;
|
|
font-size: .875rem;
|
|
}
|
|
|
|
.sidebar-right .nav-link:hover {
|
|
color: var(--bz-text-color);
|
|
}
|
|
|
|
.sidebar-right .nav-link.active {
|
|
background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.09) 100%);
|
|
color: var(--bz-text-color);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.sidebar-right .nav-link.active i {
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Garis Border Left */
|
|
.sidebar-right .nav-link.active::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
/* Gunakan kombinasi top & transform agar benar-benar di tengah vertikal */
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
height: 80%;
|
|
width: 2px;
|
|
background-color: var(--bz-text-color);
|
|
border-radius: 0 4px 4px 0;
|
|
}
|
|
|
|
.sidebar-title {
|
|
padding: .05rem 1.5rem;
|
|
font-size: .8123rem;
|
|
color: var(--bs-gray-200);
|
|
opacity: .6;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: .5px;
|
|
margin-top: 20px;
|
|
position: relative;
|
|
}
|
|
|
|
.sidebar-title::after {
|
|
content: "";
|
|
display: block;
|
|
height: 1px;
|
|
background-color: #fff;
|
|
opacity: .25;
|
|
margin-top: 9px;
|
|
}
|
|
|
|
/* Kondisi Terbuka (Refresh atau Klik):
|
|
Jika trigger punya aria-expanded true ATAU parent-nya punya menu yang lagi SHOW */
|
|
.nav-link[aria-expanded="true"] i.ms-auto,
|
|
.nav-item:has(.collapse.show) .nav-link i.ms-auto {
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
.sidebar-right.collapsed {
|
|
width: 80px;
|
|
}
|
|
|
|
/* 1. Perubahan Layout Nav-Link saat Collapsed */
|
|
.sidebar-right.collapsed .nav-link {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 10px 8px;
|
|
gap: 2px;
|
|
transition: all .2s ease;
|
|
|
|
width: 100% ; /* Paksa link memenuhi lebar sidebar */
|
|
position: relative; /* Wajib agar ::before nempel di sini */
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
}
|
|
|
|
/* 2. Ukuran ikon saat collapsed */
|
|
.sidebar-right.collapsed .nav-link i {
|
|
font-size: 1rem;
|
|
margin-bottom: 1.95px;
|
|
line-height: 1; /* Mengurangi ruang kosong di sekitar ikon */
|
|
display: block;
|
|
}
|
|
|
|
/* 3. Ukuran teks saat collapsed */
|
|
.sidebar-right.collapsed .text-inner {
|
|
font-size: .7125rem;
|
|
display: block;
|
|
text-align: center;
|
|
}
|
|
|
|
.sidebar-right.collapsed .sidebar-title {
|
|
font-size: .6125rem;
|
|
display: block;
|
|
text-align: center;
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
width: 100%;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.sidebar-right.collapsed .sidebar-title span {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
|
|
.sidebar-right.collapsed .nav-item {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.sidebar-right.collapsed .nav-link.active::before,
|
|
.sidebar-right.collapsed i.ms-auto,
|
|
.sidebar-right.collapsed .collapse {
|
|
display: none;
|
|
}
|
|
|
|
/* anchor UL submenu */
|
|
.sidebar-right .collapse > ul.nav,
|
|
.sidebar-right .collapsing > ul.nav,
|
|
.sidebar-right .show > ul.nav {
|
|
position: relative;
|
|
}
|
|
|
|
/* garis vertikal */
|
|
.sidebar-right .collapse > ul.nav::before,
|
|
.sidebar-right .collapsing > ul.nav::before,
|
|
.sidebar-right .show > ul.nav::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 2rem;
|
|
/* top: 1.5rem; */
|
|
top: 0;
|
|
bottom: 1.2rem;
|
|
width: .1rem;
|
|
background-color: var(--bs-gray-600);
|
|
opacity: .6;
|
|
}
|
|
|
|
/* link submenu */
|
|
.sidebar-right .collapse > ul.nav .nav-link,
|
|
.sidebar-right .collapsing > ul.nav .nav-link,
|
|
.sidebar-right .show > ul.nav .nav-link {
|
|
position: relative;
|
|
padding-left: 2.9rem;
|
|
}
|
|
|
|
/* dot */
|
|
.sidebar-right .collapse > ul.nav .nav-link::before,
|
|
.sidebar-right .collapsing > ul.nav .nav-link::before,
|
|
.sidebar-right .show > ul.nav .nav-link::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 1.4rem;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
background-color: var(--bs-gray-500);
|
|
}
|
|
|
|
/* active */
|
|
.sidebar-right .collapse > ul.nav .nav-link.active::before,
|
|
.sidebar-right .collapsing > ul.nav .nav-link.active::before,
|
|
.sidebar-right .show > ul.nav .nav-link.active::before {
|
|
background-color: var(--bz-text-color);
|
|
}
|
|
|
|
/* dot saat hover */
|
|
.sidebar-right .collapse > ul.nav .nav-link:not(.active):hover::before,
|
|
.sidebar-right .collapsing > ul.nav .nav-link:not(.active):hover::before,
|
|
.sidebar-right .show > ul.nav .nav-link:not(.active):hover::before {
|
|
background-color: var(--bz-text-color);
|
|
}
|
|
|
|
.sidebar-right .nav-link .mdi,
|
|
.sidebar-right .nav-link .ti {
|
|
font-size: 20px;
|
|
line-height: 1;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.sidebar-right .nav-link i {
|
|
opacity: .7;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
[class^="icon-"],
|
|
[class*=" icon-"] {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
line-height: 1;
|
|
}
|
|
|
|
[class^="ri-"],
|
|
[class*=" ri-"],
|
|
[class^="cib-"],
|
|
[class*=" cib-"],
|
|
[class^="cil-"],
|
|
[class*=" cil-"] {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.sidebar-right .nav-link {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.topbar-main {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 250px;
|
|
right: 0;
|
|
height: 65px;
|
|
background-color: #fff;
|
|
z-index: 20;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 1.5rem;
|
|
transition: all .2s ease;
|
|
}
|
|
|
|
.topbar-main i {
|
|
font-size: 1.2rem !important;
|
|
color: var(--bs-gray-700);
|
|
}
|
|
|
|
.topbar-main .vr {
|
|
align-self: center;
|
|
height: 20px;
|
|
opacity: .3;
|
|
}
|
|
|
|
.topbar-main .btn-topbar {
|
|
border: none;
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 50%;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.topbar-main .btn-topbar:hover {
|
|
background-color: var(--bz-transparent-blue);
|
|
}
|
|
|
|
.topbar-main .btn-topbar .badge {
|
|
left: 80%;
|
|
width: 18px;
|
|
height: 18px;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.topbar-secondary {
|
|
position: fixed;
|
|
top: 65px;
|
|
left: 240px;
|
|
right: 0;
|
|
height: 40px;
|
|
background: var(--bz-bg-gray-two);
|
|
z-index: 20;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 20px;
|
|
transition: all .2s ease;
|
|
}
|
|
|
|
.topbar-secondary .nav-item {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-right: 25px;
|
|
}
|
|
|
|
.topbar-secondary h5 {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.topbar-secondary .nav-link {
|
|
/* color: #adb5bd; */
|
|
color: var(--bs-gray-200);
|
|
background-color: transparent !important;
|
|
font-size: .875rem;
|
|
padding: 0;
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.topbar-secondary .nav-link:hover {
|
|
color: var(--bz-text-color);
|
|
}
|
|
|
|
/*
|
|
.topbar-secondary .nav-link.active {
|
|
height: 42px;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 16px;
|
|
color: var(--bz-text-color);
|
|
font-weight: 600;
|
|
/* background: rgba(255, 255, 255, .09) !important;
|
|
border-radius: 4px; Memberikan sedikit radius pada background hover-nya
|
|
position: relative; /* Wajib untuk posisi garis di bawah
|
|
border-bottom: none !important; Hapus border bawaan agar tidak double
|
|
} */
|
|
|
|
.topbar-secondary .nav-link.active {
|
|
height: auto; /* hilangkan tinggi paksa */
|
|
padding: 0; /* hilangkan padding tombol */
|
|
display: inline-flex; /* biar tetap rapi sejajar */
|
|
align-items: center;
|
|
|
|
background: transparent !important; /* hapus background */
|
|
border: none !important; /* hapus border */
|
|
border-radius: 0 !important; /* hapus rounded */
|
|
|
|
color: var(--bz-text-color);
|
|
/* font-weight: 300; */
|
|
position: relative;
|
|
}
|
|
|
|
/* Membuat garis indikator bawah yang memiliki radius
|
|
.topbar-secondary .nav-link.active::after {
|
|
content: "";
|
|
position: absolute;
|
|
bottom: 0; Tempelkan di paling bawah
|
|
left: 15%; Membuat garis sedikit lebih pendek dari lebar menu (opsional)
|
|
right: 15%;
|
|
height: 3px; Ketebalan border
|
|
background-color: var(--bz-text-color);
|
|
|
|
Membuat ujung border bawah melengkung
|
|
border-radius: 10px 10px 0 0;
|
|
}*/
|
|
|
|
.topbar-secondary .btn-back {
|
|
color: #fff;
|
|
font-size: 1.2rem;
|
|
text-decoration: none;
|
|
display: flex;
|
|
align-items: center;
|
|
transition: 0.2s;
|
|
}
|
|
|
|
|
|
/* body:has(.sidebar-right.temp-expanded) .topbar-main, */
|
|
body:has(.sidebar-right.collapsed) .topbar-main,
|
|
/* body:has(.sidebar-right.temp-expanded) .topbar-secondary */
|
|
body:has(.sidebar-right.collapsed) .topbar-secondary {
|
|
left: 80px;
|
|
}
|
|
|
|
.main-content {
|
|
margin-left: 265px;
|
|
margin-right: 15px;
|
|
padding-top: 95px;
|
|
transition: all .2s ease;
|
|
}
|
|
|
|
/* body:has(.sidebar-right.temp-expanded) .main-content, */
|
|
body:has(.sidebar-right.collapsed) .main-content {
|
|
margin-left: 95px;
|
|
}
|
|
|
|
/* OFFCANVAS */
|
|
.offcanvas-header {
|
|
background-color: var(--bz-bg-dark);
|
|
color: var(--bs-gray-200);
|
|
height: 66px;
|
|
}
|
|
|
|
.offcanvas-header p {
|
|
color: var(--bs-gray-200);
|
|
font-size: .9;
|
|
}
|
|
|
|
.offcanvas-header .btn-close:focus,
|
|
.offcanvas-header .btn-close:active {
|
|
outline: none !important;
|
|
box-shadow: none !important;
|
|
border: none !important;
|
|
}
|
|
|
|
.offcanvas-body {
|
|
font-size: .875rem;
|
|
letter-spacing: .5px;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.offcanvas-body p {
|
|
color: var(--bs-gray-700);
|
|
font-size: .875rem !important;
|
|
}
|
|
|
|
.offcanvas-body i {
|
|
font-size: .875rem !important;
|
|
}
|
|
|
|
.offcanvas-footer p {
|
|
font-size: .75rem !important;
|
|
}
|
|
|
|
.bg-offcanvas-body {
|
|
background: #f2f7ff !important;
|
|
}
|
|
|
|
.list-group-item {
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.09);
|
|
}
|
|
|
|
@media (max-width: 991.98px) {
|
|
/* Hilangkan btn toogle */
|
|
#toggleSidebarRight,
|
|
.topbar-main .search-form,
|
|
.topbar-main .text-profile,
|
|
.topbar-secondary .btn-back {
|
|
display: none !important;
|
|
}
|
|
|
|
.topbar-secondary h5 {
|
|
font-size: 1rem;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.topbar-right,
|
|
.sidebar-right {
|
|
left: -250px;
|
|
}
|
|
|
|
.topbar-main,
|
|
.topbar-secondary {
|
|
left: 0 !important;
|
|
padding: 0 .5rem;
|
|
}
|
|
|
|
.topbar-main .d-flex img.d-lg-none {
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.topbar-main .d-flex img.image-profile {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.main-content {
|
|
margin-left: 15px;
|
|
}
|
|
|
|
body:has(.sidebar-right.mobile-show) .topbar-right,
|
|
.sidebar-right.mobile-show {
|
|
left: 0;
|
|
}
|
|
|
|
body:has(.sidebar-right.mobile-show)::before {
|
|
content: "";
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
background-color: rgba(0, 0, 0, .3);
|
|
z-index: 25;
|
|
}
|
|
}
|
|
|
|
/* element lainnya */
|
|
.btn-bz-size {
|
|
border-radius: .375rem !important;
|
|
padding: .4rem .75rem;
|
|
font-size: .8123rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.fsmall {
|
|
font-size: .875rem !important;
|
|
line-height: 1.4;
|
|
opacity: .8;
|
|
}
|
|
|
|
.btn-topbar .badge.bg-danger {
|
|
animation: pulse 1.5s infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0% {
|
|
transform: translate(-50%, -50%) scale(1);
|
|
box-shadow: 0 0 0 0 rgba(220, 53, 69, .6);
|
|
}
|
|
70% {
|
|
transform: translate(-50%, -50%) scale(1.05);
|
|
box-shadow: 0 0 0 4px rgba(220, 53, 69, 0);
|
|
}
|
|
100% {
|
|
transform: translate(-50%, -50%) scale(1);
|
|
box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
|
|
}
|
|
}
|
|
|
|
.search-form .search-icon {
|
|
font-size: .8123rem !important;
|
|
opacity: .7;
|
|
line-height: 1;
|
|
}
|
|
|
|
.form-control,
|
|
.form-select,
|
|
.form-select:focus,
|
|
.form-control:focus {
|
|
color: var(--bz-bg-dark-secondary);
|
|
font-size: .9rem;
|
|
}
|
|
|
|
.form-control::placeholder {
|
|
opacity: .8;
|
|
}
|
|
|
|
.form-check-label {
|
|
font-weight: 500;
|
|
}
|
|
|
|
.form-control:focus {
|
|
outline: none;
|
|
box-shadow: none;
|
|
border-color: var(--bs-gray-500);
|
|
background-color: #ffbd5a33;
|
|
}
|
|
|
|
.form-select:focus {
|
|
outline: none;
|
|
box-shadow: none;
|
|
border-color: var(--bs-gray-500);
|
|
}
|
|
|
|
.form-check-input,
|
|
.form-check-input:focus,
|
|
.form-check-input:checked,
|
|
.form-check-input:active {
|
|
box-shadow: none !important;
|
|
outline: none !important;
|
|
}
|
|
|
|
/* Warna saat belum dicentang */
|
|
.form-check-input {
|
|
background-color: #fff !important;
|
|
border-color: #adb5bd !important;
|
|
}
|
|
|
|
/* Warna saat dicentang */
|
|
.form-check-input:checked {
|
|
background-color: var(--bz-bg-dark) !important;
|
|
border-color: var(--bz-primary) !important;
|
|
}
|
|
|
|
/* tambah tanda * otomatis via CSS */
|
|
.form-label:has(+ input[required])::after,
|
|
.form-label:has(+ select[required])::after,
|
|
.form-label:has(+ textarea[required])::after,
|
|
.form-label:has(~ .input-group input[required])::after {
|
|
content: " *";
|
|
color: var(--bs-red);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.form-control-plaintext {
|
|
font-size: .875rem !important;
|
|
opacity: .8;
|
|
}
|
|
|
|
label {
|
|
font-size: .9rem;
|
|
font-weight: 600;
|
|
color: var(--bz-bg-gray-two);
|
|
}
|
|
|
|
.form-text {
|
|
font-size: .8123rem;
|
|
font-weight: 400;
|
|
color: var(--bz-bg-gray-two);
|
|
}
|
|
|
|
/* Alert */
|
|
.bz-alert {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
position: relative;
|
|
padding: 1rem 1rem 1rem 1.25rem;
|
|
border-left: 5px solid;
|
|
border-top: none;
|
|
border-right: none;
|
|
border-bottom: none;
|
|
border-radius: 6px;
|
|
margin-bottom: 1rem;
|
|
color: #000;
|
|
}
|
|
|
|
.bz-alert .alert-icon {
|
|
font-size: 1.4rem;
|
|
margin-right: 0.75rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.bz-alert .alert-content h5 {
|
|
margin: 0 0 0.25rem 0;
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.bz-alert .alert-content p {
|
|
margin: 0;
|
|
font-size: 0.8123rem;
|
|
}
|
|
|
|
.bz-alert .btn-close {
|
|
font-size: 0.75rem;
|
|
position: absolute;
|
|
top: 0.5rem;
|
|
right: 0.5rem;
|
|
}
|
|
|
|
.bz-alert-warning {
|
|
background-color: #fef3c7;
|
|
border-color: #f59e0b;
|
|
color: #78350f;
|
|
}
|
|
|
|
.bz-alert-success {
|
|
background-color: #d1fae5;
|
|
border-color: #10b981;
|
|
color: #065f46;
|
|
}
|
|
|
|
.bz-alert-info {
|
|
background-color: #dbeafe;
|
|
border-color: #3b82f6;
|
|
color: #1e40af;
|
|
}
|
|
|
|
.bz-alert-danger {
|
|
background-color: #fee2e2;
|
|
border-color: #ef4444;
|
|
color: #7f1d1d;
|
|
}
|
|
|
|
.bz-alert-primary {
|
|
background-color: #e0e7ff;
|
|
border-color: #1e40af;
|
|
color: #1e293b;
|
|
}
|
|
|
|
/* DataTables */
|
|
.dataTables_wrapper .pagination {
|
|
--bs-pagination-padding-x: 0.5rem;
|
|
--bs-pagination-padding-y: 0.25rem;
|
|
}
|
|
|
|
.dataTables_wrapper .paginate_button:focus,
|
|
.dataTables_wrapper .paginate_button:active,
|
|
.page-link:focus,
|
|
.page-link:active {
|
|
outline: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
/* DataTables Normal */
|
|
.page-link {
|
|
color: var(--bz-bg-dark);
|
|
background-color: #fff;
|
|
border-color: #dee2e6;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
/* DataTables Hover */
|
|
.page-link:hover {
|
|
color: #fff;
|
|
background-color: var(--bz-bg-dark);
|
|
border-color: var(--bz-bg-dark);
|
|
}
|
|
|
|
/* DataTables Active */
|
|
.page-item.active .page-link {
|
|
background-color: var(--bz-bg-dark);
|
|
border-color: var(--bz-bg-dark);
|
|
color: #fff;
|
|
}
|
|
|
|
/* DataTables Disabled */
|
|
.page-item.disabled .page-link {
|
|
color: #adb5bd;
|
|
background-color: #fff;
|
|
}
|
|
|
|
.pagination-detail {
|
|
font-size: .875rem !important;
|
|
}
|
|
|
|
.dataTables_info {
|
|
font-size: .875rem !important;
|
|
opacity: .6;
|
|
}
|
|
|
|
table.dataTable td,
|
|
table.dataTable th {
|
|
white-space: normal !important;
|
|
word-wrap: break-word;
|
|
vertical-align: top;
|
|
}
|
|
|
|
/* checkbox bootstrap-table */
|
|
.bs-checkbox input[type="checkbox"]:checked {
|
|
accent-color: var(--bz-bg-dark) !important;
|
|
}
|
|
|
|
/* bz button */
|
|
.bz-btn-primary {
|
|
background-color: var(--bz-bg-dark);
|
|
border: 1px solid transparent;
|
|
transition: all 0.2s ease;
|
|
color: #fff;
|
|
padding: 6px 16px;
|
|
border-radius: 6px;
|
|
}
|
|
.bz-btn-primary:focus,
|
|
.bz-btn-primary:active,
|
|
.bz-btn-primary:hover {
|
|
background-color: #475465 !important;
|
|
color: var(--bz-bg-gray) !important;
|
|
}
|
|
|
|
/* Button Outline - Clean Look */
|
|
.bz-btn-outline-primary {
|
|
background-color: var(--bz-transparent-blue, transparent);
|
|
color: var(--bz-bg-dark-secondary);
|
|
border: 1px solid var(--bz-bg-gray);
|
|
transition: all 0.2s ease;
|
|
padding: 6px 16px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.bz-btn-primary:disabled,
|
|
.bz-btn-primary.disabled {
|
|
background-color: var(--bz-bg-gray);
|
|
border: 1px solid var(--bz-bg-gray);
|
|
color: #9aa0a6;
|
|
cursor: not-allowed;
|
|
opacity: 0.65;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.bz-btn-outline-primary:focus,
|
|
.bz-btn-outline-primary:active,
|
|
.bz-btn-outline-primary:hover {
|
|
background-color: var(--bz-bg-gray, #f8f9fa) !important;
|
|
color: var(--bz-bg-dark) !important;
|
|
}
|
|
|
|
/* --- Login --- */
|
|
.split-login-container {
|
|
height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.login-card-container {
|
|
width: 100%;
|
|
max-width: 900px; /* Gunakan PX agar bentuk kotak tetap ideal */
|
|
min-height: 500px;
|
|
display: flex;
|
|
flex-direction: column; /* Penting untuk mobile */
|
|
}
|
|
|
|
.login-logo-section {
|
|
background: linear-gradient(135deg, #2d3c54, #3f4d67);
|
|
color: #fff;
|
|
/* Hapus border-radius spesifik di sini, pindahkan ke card utama */
|
|
}
|
|
|
|
.login-form-section {
|
|
background-color: #fff;
|
|
}
|
|
|
|
/* Pastikan sudut card tetap melengkung meski background berbeda */
|
|
.login-card-container {
|
|
overflow: hidden;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.login-card-container {
|
|
overflow: visible; /* Penting: supaya lingkaran tidak terpotong */
|
|
margin-top: 20px;
|
|
}
|
|
/* Pembungkus Lingkaran */
|
|
.login-brand-wrapper {
|
|
position: relative;
|
|
margin-top: -90px; /* Menarik elemen ke atas card */
|
|
margin-bottom: 15px;
|
|
text-align: center;
|
|
z-index: 10;
|
|
}
|
|
|
|
/* Lingkaran Ikon */
|
|
.login-brand-circle {
|
|
width: 150px;
|
|
height: 150px;
|
|
background: linear-gradient(135deg, #2d3c54, #3f4d67);
|
|
border-radius: 50%;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 12px solid #f4f7f6; /* Warna yang sama dengan bg halaman agar terlihat 'cut-out' */
|
|
}
|
|
|
|
.login-brand-circle img {
|
|
width: 45px;
|
|
height: auto;
|
|
}
|
|
|
|
th,
|
|
td {
|
|
color: var(--bz-bg-dark) !important;
|
|
font-size: .875rem;
|
|
}
|
|
|
|
.nav.tab-style-1 {
|
|
border-block-end: 0;
|
|
padding: .45rem;
|
|
background-color: var(--bs-gray-700);
|
|
border-radius: .2rem;
|
|
margin-block-end: 1rem;
|
|
font-size: .9rem;
|
|
box-shadow: none !important;
|
|
/* Hapus atau ubah border: none !important; */
|
|
border: none !important;
|
|
/* Tambahkan ini */
|
|
border-left: 4px solid var(--bz-bg-gray-two) !important;
|
|
border-right: 4px solid var(--bz-bg-gray-two) !important;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.nav.tab-style-1 .nav-link {
|
|
background-color: transparent;
|
|
color: var(--bs-gray-200);
|
|
border-radius: .2rem;
|
|
margin-right: .3rem;
|
|
box-shadow: none !important;
|
|
border: none !important;
|
|
}
|
|
|
|
.nav.tab-style-1 .nav-link:hover {
|
|
/* background-color: rgba(0, 0, 0, 0.05); */
|
|
background-color: transparent;
|
|
color: var(--bz-text-color);
|
|
}
|
|
|
|
.nav.tab-style-1 .nav-link.active {
|
|
background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.09) 100%);
|
|
color: var(--bz-text-color) !important;
|
|
position: relative;
|
|
box-shadow: none !important;
|
|
border: none !important;
|
|
/* Menghilangkan semua radius */
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
/* Membuat garis custom sebagai pengganti border-left
|
|
.nav.tab-style-1 .nav-link.active::before,
|
|
.bz-dropdown-menu .dropdown-item.active::before {
|
|
content: "\2022";
|
|
position: absolute;
|
|
left: 5px;
|
|
top: 50%;
|
|
transform: translateY(-52%);
|
|
font-family: monospace;
|
|
font-weight: 900;
|
|
font-size: 1rem;
|
|
color: var(--bz-text-color);
|
|
transition: all 0.2s ease;
|
|
} */
|
|
|
|
.card-body h6 {
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
letter-spacing: .02em;
|
|
color: var(--bz-bg-dark);
|
|
margin-bottom: 10px !important;
|
|
}
|
|
|
|
.card-body .border-bottom {
|
|
position: relative;
|
|
border-bottom: 1px solid #dee2e6;
|
|
}
|
|
|
|
.card-body .border-bottom h6::after {
|
|
content: "";
|
|
position: absolute;
|
|
bottom: -1px;
|
|
left: 0;
|
|
width: 10%;
|
|
height: 2px;
|
|
background: linear-gradient(
|
|
to right,
|
|
var(--bz-text-color) 0 20%,
|
|
var(--bz-bg-dark) 20% 100%
|
|
);
|
|
}
|
|
|
|
/* flatpickr */
|
|
.flatpickr-day {
|
|
font-weight: 500 !important;
|
|
}
|
|
|
|
.flatpickr-day.selected {
|
|
border: none !important;
|
|
background-color: var(--bz-text-color) !important;
|
|
color: var(--bz-bg-dark) !important;
|
|
}
|
|
|
|
.flatpickr-months,
|
|
.flatpickr-weekdays {
|
|
background: var(--bz-bg-dark) !important;
|
|
}
|
|
|
|
.flatpickr-current-month {
|
|
color: var(--bs-gray-200) !important;
|
|
}
|
|
|
|
.flatpickr-weekdays span {
|
|
color: var(--bs-gray-200) !important;
|
|
}
|
|
|
|
.flatpickr-prev-month svg,
|
|
.flatpickr-next-month svg {
|
|
fill: #fff !important;
|
|
}
|
|
|
|
.flatpickr-monthDropdown-months {
|
|
background: var(--bz-bg-dark) !important;
|
|
color: #e5e7eb !important;
|
|
font-size: 1rem !important;
|
|
}
|
|
|
|
.flatpickr-current-month .numInputWrapper span.arrowUp::after {
|
|
border-bottom-color: #fff !important;
|
|
}
|
|
.flatpickr-current-month .numInputWrapper span.arrowDown::after {
|
|
border-top-color: #fff !important;
|
|
}
|
|
|
|
.sunday {
|
|
color: var(--bs-red) !important; /* Bootstrap danger red */
|
|
font-weight: 600 !important;
|
|
}
|
|
|
|
.friday {
|
|
color: var(--bs-green) !important; /* Bootstrap success green */
|
|
font-weight: 500 !important;
|
|
}
|
|
|
|
/* Input Qty */
|
|
.quantity-control {
|
|
display: flex;
|
|
align-items: center;
|
|
border: 1.5px solid var(--bs-gray-600);
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.quantity-control {
|
|
border: var(--bs-border-width) solid var(--bs-border-color);
|
|
border-radius: 6px;
|
|
color: var(--bz-bg-dark-secondary);
|
|
font-size: .8123rem;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.quantity-input {
|
|
width: 100%;
|
|
border: none;
|
|
text-align: center;
|
|
}
|
|
|
|
.quantity-input:focus {
|
|
box-shadow: none;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.quantity-control:has(.quantity-input:focus) {
|
|
outline: none;
|
|
border-color: var(--bs-gray-500);
|
|
}
|
|
|
|
.quantity-btn {
|
|
background-color: #fff;
|
|
border: none;
|
|
color: var(--bz-bg-dark);
|
|
font-size: 150%;
|
|
transition: all 0.2s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
/* Select2 */
|
|
.select2-container--bootstrap-5 {
|
|
font-size: .9rem !important;
|
|
z-index: 10;
|
|
}
|
|
|
|
/* Isi dioption */
|
|
.select2-container--bootstrap-5 .select2-results__option {
|
|
font-size: .9rem !important;
|
|
border-bottom: 1px solid var(--bz-bg-gray);
|
|
color: var(--bz-bg-dark-secondary);
|
|
}
|
|
|
|
/* Inputan Select2 search */
|
|
.select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field{
|
|
background-color: rgba(255, 193, 7, 0.15) !important;
|
|
/* border: 1.5px solid var(--bs-gray-600) !important; */
|
|
/* border: var(--bs-border-width) solid var(--bs-border-color); */
|
|
}
|
|
|
|
/* Inputan Select2 search focus */
|
|
.select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field:focus {
|
|
box-shadow: none !important;
|
|
outline: none !important;
|
|
border-color: var(--bs-gray-500) !important;
|
|
color: var(--bz-bg-dark-secondary);
|
|
}
|
|
|
|
/* Element input saat klik/open/focus */
|
|
.select2-container--bootstrap-5.select2-container--focus .select2-selection,
|
|
.select2-container--bootstrap-5.select2-container--open .select2-selection {
|
|
box-shadow: none !important;
|
|
border-color: var(--bs-gray-400) !important;
|
|
}
|
|
|
|
/* Item yang terpilih di option dropdown */
|
|
.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--selected,
|
|
.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[aria-selected=true]:not(.select2-results__option--highlighted) {
|
|
color: var(--bz-bg-dark-secondary) !important;
|
|
background-color: var(--bz-text-color) !important;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Style buat dropdownnya */
|
|
.select2-container--bootstrap-5 .select2-dropdown {
|
|
/* border-color: 1.5px solid var(--bs-gray-600) !important;; */
|
|
border-color: var(--bs-gray-500) !important;
|
|
}
|
|
|
|
.select2-container--bootstrap-5 .select2-selection--single,
|
|
.select2-container--bootstrap-5 .select2-selection--multiple {
|
|
font-size: .9rem !important;
|
|
border-radius: 6px !important;
|
|
min-height: calc(1.43em + .9rem + 2px) !important;
|
|
border-color: var(--bs-gray-400) !important;
|
|
}
|
|
|
|
/* Item terpilih di field */
|
|
.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
|
|
color: var(--bz-bg-dark-secondary) !important;
|
|
}
|
|
|
|
/* Tags terpilih */
|
|
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
|
|
/* border: 1.5px solid var(--bs-gray-600) !important; */
|
|
border: none !important;
|
|
background-color: var(--bz-transparent-blue) !important;
|
|
font-size:0.8123rem !important;
|
|
}
|
|
|
|
/* tbl remove tag */
|
|
.select2-container--bootstrap-5 .select2-selection__choice__remove {
|
|
width:.5rem !important;;
|
|
height:.5rem !important;;
|
|
}
|
|
|
|
|
|
/* Upload file */
|
|
.file-input-wrapper {
|
|
position: relative;
|
|
color: var(--bs-gray-800);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.file-input {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
opacity: 0;
|
|
}
|
|
|
|
.file-input-label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 14px 16px;
|
|
border: 1.5px dashed var(--bs-gray-500);
|
|
border-radius: 6px;
|
|
cursor: poroboto;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.file-input-label:hover {
|
|
border-color: var(--bs-gray-700);
|
|
/* box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); */
|
|
}
|
|
|
|
.file-input-text {
|
|
font-size: 0.95rem;
|
|
margin-top: 2px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.file-input-text div {
|
|
font-weight: 400;
|
|
}
|
|
|
|
.file-preview {
|
|
margin-top: 12px;
|
|
padding: 12px;
|
|
background-color: #fff;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--bs-gray-400);
|
|
}
|
|
|
|
.file-item {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 8px;
|
|
background-color: rgba(255, 193, 7, 0.15);
|
|
border-radius: 6px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.file-item:hover {
|
|
background-color: var(--bs-gray-200);
|
|
}
|
|
|
|
.file-item:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.file-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.file-details {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.file-name {
|
|
font-weight: 500;
|
|
font-size: 0.875rem;
|
|
color: var(--bz-bg-dark);
|
|
}
|
|
|
|
.file-size {
|
|
font-size: 0.75rem;
|
|
color: var(--bs-gray-600);
|
|
}
|
|
|
|
.file-remove {
|
|
color: var(--bs-red);
|
|
background: none;
|
|
border: none;
|
|
cursor: poroboto;
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
transition: background-color 0.2s ease;
|
|
}
|
|
|
|
.file-remove:hover {
|
|
background-color: rgba(239, 68, 68, 0.1);
|
|
}
|
|
|
|
.icon-wrapper {
|
|
width: 40px;
|
|
height: 40px;
|
|
flex-shrink: 0; /* biar tidak gepeng di flex */
|
|
}
|
|
|
|
/* Swal */
|
|
.swal-minimal {
|
|
padding: 1.5rem !important;
|
|
border-radius: 6px !important;
|
|
font-family: var(--bs-body-font-family);
|
|
width: 25%;
|
|
}
|
|
|
|
.swal-minimal .swal2-html-container {
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.swal-minimal .swal2-confirm {
|
|
background-color: var(--bz-bg-dark) !important;
|
|
border-radius: .375rem !important;
|
|
padding: .4rem .75rem;
|
|
font-size: .875rem;
|
|
}
|
|
|
|
.swal-minimal .swal2-confirm:hover {
|
|
background-color: #475465 !important;
|
|
}
|
|
|
|
.swal-minimal .swal2-cancel {
|
|
background-color: var(--bz-transparent-blue, transparent);
|
|
color: var(--bz-bg-dark-secondary);
|
|
border-radius: 6px !important;
|
|
padding: .4rem .75rem;
|
|
font-size: .875rem;
|
|
}
|
|
|
|
.swal-minimal .swal2-cancel:hover {
|
|
background-color: var(--bz-bg-gray, #f8f9fa);
|
|
color: var(--bz-bg-dark);
|
|
}
|
|
|
|
.swal2-styled:focus {
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
/* Modal */
|
|
.modal-content {
|
|
border: none;
|
|
border-radius: 6px;
|
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
|
|
font-size: .9123rem;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.modal-header {
|
|
border-bottom: none;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.modal-title {
|
|
font-weight: 600;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
/* dropdown */
|
|
.bz-dropdown-menu {
|
|
min-width: 200px;
|
|
background-color: var(--bz-bg-gray-two) !important;
|
|
border: none !important;
|
|
padding: 0.5rem; /* Sama dengan p-2 */
|
|
}
|
|
|
|
/* Mengatur jarak antar item agar tidak mepet */
|
|
.bz-dropdown-menu li {
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
.bz-dropdown-menu li:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.bz-dropdown-menu .dropdown-item {
|
|
padding: 0.4rem 1rem;
|
|
color: var(--bs-gray-200);
|
|
transition: all 0.2s ease;
|
|
font-weight: 500;
|
|
font-size: .938rem;
|
|
}
|
|
|
|
.bz-dropdown-menu .dropdown-item:hover {
|
|
background-color: transparent !important;
|
|
/* background-color: rgba(255, 255, 255, 0.1); */
|
|
color: var(--bz-text-color);
|
|
}
|
|
|
|
.bz-dropdown-menu .dropdown-item.active {
|
|
background-color: transparent !important;
|
|
color: var(--bz-text-color);
|
|
}
|
|
|