1329 lines
40 KiB
CSS
1329 lines
40 KiB
CSS
@import "tailwindcss";
|
|
|
|
@source "../views/**/*.blade.php";
|
|
@source "../**/*.blade.php";
|
|
@source "../../resources/**/*.blade.php";
|
|
@source "../../storage/framework/views/*.php";
|
|
|
|
@theme {
|
|
--font-sans: 'Plus Jakarta Sans', 'Inter', ui-sans-serif, system-ui, sans-serif;
|
|
--color-untan-blue: #2563eb;
|
|
--color-untan-dark: #1d4ed8;
|
|
--color-untan-navy: #0f172a;
|
|
--color-untan-light: #eff6ff;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
PURE TAILWIND DESIGN SYSTEM FOR VERIFIKATOR UNTAN
|
|
Modern, Clean, High-Legibility (Ramah Pengguna Usia Tua & Gesit untuk Muda)
|
|
========================================================================== */
|
|
|
|
:root {
|
|
--untan-primary: #2563eb;
|
|
--untan-primary-hover: #1d4ed8;
|
|
--untan-primary-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
|
|
--untan-bg-page: #f8fafc;
|
|
--untan-border: #e2e8f0;
|
|
--untan-text-main: #0f172a;
|
|
--untan-text-muted: #475569;
|
|
--untan-radius-sm: 8px;
|
|
--untan-radius-md: 12px;
|
|
--untan-radius-lg: 16px;
|
|
--untan-shadow-card: 0 1px 3px 0 rgba(15, 23, 42, 0.05), 0 1px 2px -1px rgba(15, 23, 42, 0.05);
|
|
--untan-shadow-hover: 0 6px 16px -2px rgba(15, 23, 42, 0.08);
|
|
|
|
/* Hyper Theme Neutralizer */
|
|
--ct-body-color: #0f172a;
|
|
--ct-body-color-rgb: 15, 23, 42;
|
|
--ct-text-muted: #475569;
|
|
--ct-page-title-color: #0f172a;
|
|
--ct-table-color: #0f172a;
|
|
}
|
|
|
|
/* Base Body Typography */
|
|
body {
|
|
font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
|
|
background-color: #f8fafc !important;
|
|
color: #0f172a !important;
|
|
font-size: 0.925rem;
|
|
line-height: 1.55;
|
|
-webkit-font-smoothing: antialiased;
|
|
text-rendering: optimizeLegibility;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
SIDEBAR STYLING (PURE TAILWIND ARCHITECTURE)
|
|
========================================================================== */
|
|
.custom-sidebar-scroll::-webkit-scrollbar {
|
|
width: 4px;
|
|
}
|
|
.custom-sidebar-scroll::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
.custom-sidebar-scroll::-webkit-scrollbar-thumb {
|
|
background: #cbd5e1;
|
|
border-radius: 4px;
|
|
}
|
|
.custom-sidebar-scroll::-webkit-scrollbar-thumb:hover {
|
|
background: #94a3b8;
|
|
}
|
|
|
|
/* Side Nav Section Header */
|
|
.side-nav-title {
|
|
font-size: 10.5px !important;
|
|
font-weight: 700 !important;
|
|
color: #94a3b8 !important;
|
|
text-transform: uppercase !important;
|
|
letter-spacing: 0.08em !important;
|
|
padding: 12px 10px 4px 10px !important;
|
|
display: block !important;
|
|
list-style: none !important;
|
|
}
|
|
|
|
/* Side Nav Items */
|
|
.side-nav {
|
|
list-style: none !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.side-nav-item {
|
|
list-style: none !important;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.side-nav-link {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: 9px !important;
|
|
padding: 8px 12px !important;
|
|
border-radius: 9px !important;
|
|
font-size: 13.5px !important;
|
|
font-weight: 500 !important;
|
|
color: #334155 !important;
|
|
text-decoration: none !important;
|
|
transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease !important;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.side-nav-link i {
|
|
font-size: 18px !important;
|
|
color: #64748b !important;
|
|
transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease !important;
|
|
width: 22px;
|
|
text-align: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.side-nav .menu-arrow,
|
|
.side-nav-link .menu-arrow {
|
|
position: absolute !important;
|
|
right: 14px !important;
|
|
top: 50% !important;
|
|
transform: translateY(-50%) !important;
|
|
margin-left: 0 !important;
|
|
font-size: 13px !important;
|
|
color: #94a3b8 !important;
|
|
transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease, right 0.2s ease !important;
|
|
}
|
|
|
|
.side-nav-link[aria-expanded="true"] .menu-arrow,
|
|
.side-nav-item > a[aria-expanded="true"] > span.menu-arrow,
|
|
.side-nav-item.menuitem-active > a:not(.collapsed) > span.menu-arrow {
|
|
transform: translateY(-50%) rotate(90deg) !important;
|
|
color: #2563eb !important;
|
|
}
|
|
|
|
.side-nav-link:hover {
|
|
background: linear-gradient(90deg, #f0f7ff 0%, #f8fafc 100%) !important;
|
|
color: #2563eb !important;
|
|
transform: translateX(4px) !important;
|
|
}
|
|
|
|
.side-nav-link:hover i {
|
|
color: #2563eb !important;
|
|
transform: scale(1.18) rotate(-3deg) !important;
|
|
}
|
|
|
|
.side-nav-link:hover .menu-arrow {
|
|
transform: translateY(-50%) translateX(2px) !important;
|
|
color: #2563eb !important;
|
|
}
|
|
|
|
.side-nav-link[aria-expanded="true"]:hover .menu-arrow {
|
|
transform: translateY(-50%) rotate(90deg) scale(1.1) !important;
|
|
}
|
|
|
|
/* Menu Single (TIDAK punya submenu) saat Aktif */
|
|
.side-nav-item:not(:has(.side-nav-second-level)).menuitem-active > .side-nav-link,
|
|
.side-nav-item:not(:has(.side-nav-second-level)).active > .side-nav-link,
|
|
.menuitem-active:not(:has(.side-nav-second-level)) > .side-nav-link {
|
|
background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
|
|
color: #ffffff !important;
|
|
font-weight: 600 !important;
|
|
border-radius: 9px !important;
|
|
box-shadow: 0 4px 12px -2px rgba(37, 99, 235, 0.35) !important;
|
|
border: none !important;
|
|
transform: none !important;
|
|
}
|
|
|
|
.side-nav-item:not(:has(.side-nav-second-level)).menuitem-active > .side-nav-link *,
|
|
.side-nav-item:not(:has(.side-nav-second-level)).active > .side-nav-link *,
|
|
.menuitem-active:not(:has(.side-nav-second-level)) > .side-nav-link * {
|
|
color: #ffffff !important;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
HYPER TEMPLATE CONDENSED MODE NEUTRALIZER
|
|
Mencegah skrip lama Hyper menyembunyikan teks menu saat layar di-resize
|
|
========================================================================== */
|
|
body[data-leftbar-compact-mode="condensed"] .side-nav .side-nav-item .side-nav-link span,
|
|
body[data-leftbar-compact-mode="condensed"] .side-nav .side-nav-title,
|
|
body[data-leftbar-compact-mode="condensed"] .side-nav .menu-arrow,
|
|
.side-nav .side-nav-item .side-nav-link span,
|
|
.side-nav .side-nav-title {
|
|
display: inline-block !important;
|
|
}
|
|
|
|
body[data-leftbar-compact-mode="condensed"] .side-nav .side-nav-title,
|
|
.side-nav .side-nav-title {
|
|
display: block !important;
|
|
}
|
|
|
|
body[data-leftbar-compact-mode="condensed"] .side-nav .side-nav-item .side-nav-link {
|
|
min-height: auto !important;
|
|
padding: 8px 12px !important;
|
|
white-space: normal !important;
|
|
}
|
|
|
|
body[data-leftbar-compact-mode="condensed"] .side-nav .side-nav-item .side-nav-link i {
|
|
font-size: 18px !important;
|
|
margin-right: 0 !important;
|
|
margin-left: 0 !important;
|
|
}
|
|
|
|
body[data-leftbar-compact-mode="condensed"] .side-nav .side-nav-item:hover .side-nav-link {
|
|
width: auto !important;
|
|
position: relative !important;
|
|
}
|
|
|
|
body[data-leftbar-compact-mode="condensed"] #main-sidebar {
|
|
width: 16rem !important;
|
|
}
|
|
|
|
body[data-leftbar-compact-mode="condensed"] #main-content-wrapper {
|
|
margin-left: 0 !important;
|
|
}
|
|
|
|
/* Submenu Navigation Tree */
|
|
.side-nav-second-level {
|
|
list-style: none !important;
|
|
padding: 5px 6px !important;
|
|
margin: 4px 0 6px 0 !important;
|
|
background-color: #f8fafc !important;
|
|
border-radius: 10px !important;
|
|
border: 1px solid #e2e8f0 !important;
|
|
}
|
|
|
|
.side-nav-second-level li {
|
|
list-style: none !important;
|
|
margin: 2px 0 !important;
|
|
background: transparent !important;
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.side-nav-second-level li a {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: 8px !important;
|
|
padding: 7px 10px 7px 12px !important;
|
|
font-size: 13px !important;
|
|
font-weight: 500 !important;
|
|
color: #334155 !important;
|
|
border-radius: 7px !important;
|
|
text-decoration: none !important;
|
|
transition: all 0.15s ease-in-out !important;
|
|
}
|
|
|
|
.side-nav-second-level li a i {
|
|
color: #64748b !important;
|
|
font-size: 16px !important;
|
|
width: 18px !important;
|
|
text-align: center !important;
|
|
flex-shrink: 0 !important;
|
|
margin-right: 2px !important;
|
|
}
|
|
|
|
/* Submenu Item yang TIDAK AKTIF saat di-hover */
|
|
.side-nav-second-level li:not(.active):not(.menuitem-active):not(.badge-primary-lighten) > a:hover {
|
|
background-color: #eff6ff !important;
|
|
color: #2563eb !important;
|
|
}
|
|
|
|
.side-nav-second-level li:not(.active):not(.menuitem-active):not(.badge-primary-lighten) > a:hover * {
|
|
color: #2563eb !important;
|
|
}
|
|
|
|
/* Submenu Item yang Sedang Aktif (Solid Announcement Blue #2563eb & Teks Putih Kontras Tinggi) */
|
|
.side-nav-second-level li.active > a,
|
|
.side-nav-second-level li.menuitem-active > a,
|
|
.side-nav-second-level li.badge-primary-lighten > a,
|
|
.side-nav-second-level .active.badge-primary-lighten a,
|
|
.side-nav-second-level li a.active {
|
|
background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
|
|
color: #ffffff !important;
|
|
font-weight: 600 !important;
|
|
box-shadow: 0 3px 8px rgba(37, 99, 235, 0.32) !important;
|
|
}
|
|
|
|
.side-nav-second-level li.active > a *,
|
|
.side-nav-second-level li.menuitem-active > a *,
|
|
.side-nav-second-level li.badge-primary-lighten > a *,
|
|
.side-nav-second-level .active.badge-primary-lighten a *,
|
|
.side-nav-second-level li a.active * {
|
|
color: #ffffff !important;
|
|
}
|
|
|
|
/* Submenu Item Aktif saat di-hover (Tetap Biru Solid Elegan & Teks Putih Terbaca Sempurna) */
|
|
.side-nav-second-level li.active > a:hover,
|
|
.side-nav-second-level li.menuitem-active > a:hover,
|
|
.side-nav-second-level li.badge-primary-lighten > a:hover,
|
|
.side-nav-second-level .active.badge-primary-lighten a:hover,
|
|
.side-nav-second-level li a.active:hover {
|
|
background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
|
|
color: #ffffff !important;
|
|
box-shadow: 0 4px 12px rgba(37, 99, 235, 0.42) !important;
|
|
}
|
|
|
|
.side-nav-second-level li.active > a:hover *,
|
|
.side-nav-second-level li.menuitem-active > a:hover *,
|
|
.side-nav-second-level li.badge-primary-lighten > a:hover *,
|
|
.side-nav-second-level .active.badge-primary-lighten a:hover *,
|
|
.side-nav-second-level li a.active:hover * {
|
|
color: #ffffff !important;
|
|
}
|
|
|
|
/* Parent Menu Item saat Aktif (Baik saat DIBUKA maupun DITUTUP/COLLAPSED) */
|
|
.side-nav-item:has(.side-nav-second-level).menuitem-active > .side-nav-link,
|
|
.side-nav-item:has(.side-nav-second-level).active > .side-nav-link,
|
|
.side-nav-item.si-sk.menuitem-active > .side-nav-link,
|
|
.side-nav-item.si-tri-dharma.menuitem-active > .side-nav-link,
|
|
.side-nav-item.si-laporan-kegiatan.menuitem-active > .side-nav-link,
|
|
.side-nav-item.si-skp.menuitem-active > .side-nav-link,
|
|
.side-nav-item.si-pleno-penunjang.menuitem-active > .side-nav-link,
|
|
.side-nav-item.si-remunerasi.menuitem-active > .side-nav-link,
|
|
.side-nav-item.si-rekapitulasi.menuitem-active > .side-nav-link,
|
|
.side-nav-item.si-limit.menuitem-active > .side-nav-link,
|
|
.side-nav-item.si-rubrik.menuitem-active > .side-nav-link,
|
|
.side-nav-link.badge-primary-lighten,
|
|
.side-nav-link[aria-expanded="true"] {
|
|
background-color: #eff6ff !important;
|
|
color: #2563eb !important;
|
|
font-weight: 700 !important;
|
|
border: 1px solid #bfdbfe !important;
|
|
}
|
|
|
|
.side-nav-item:has(.side-nav-second-level).menuitem-active > .side-nav-link *,
|
|
.side-nav-item:has(.side-nav-second-level).active > .side-nav-link *,
|
|
.side-nav-item.si-sk.menuitem-active > .side-nav-link *,
|
|
.side-nav-item.si-tri-dharma.menuitem-active > .side-nav-link *,
|
|
.side-nav-item.si-laporan-kegiatan.menuitem-active > .side-nav-link *,
|
|
.side-nav-item.si-skp.menuitem-active > .side-nav-link *,
|
|
.side-nav-item.si-pleno-penunjang.menuitem-active > .side-nav-link *,
|
|
.side-nav-item.si-remunerasi.menuitem-active > .side-nav-link *,
|
|
.side-nav-item.si-rekapitulasi.menuitem-active > .side-nav-link *,
|
|
.side-nav-item.si-limit.menuitem-active > .side-nav-link *,
|
|
.side-nav-item.si-rubrik.menuitem-active > .side-nav-link *,
|
|
.side-nav-link.badge-primary-lighten *,
|
|
.side-nav-link[aria-expanded="true"] * {
|
|
color: #2563eb !important;
|
|
}
|
|
|
|
.side-nav-link .menu-arrow {
|
|
color: #94a3b8 !important;
|
|
}
|
|
|
|
.side-nav-item.menuitem-active > .side-nav-link .menu-arrow,
|
|
.side-nav-link.badge-primary-lighten .menu-arrow,
|
|
.side-nav-link[aria-expanded="true"] .menu-arrow {
|
|
color: #2563eb !important;
|
|
}
|
|
|
|
/* Team Marquee Animation di Sidebar */
|
|
.team-name-container {
|
|
width: 100%;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.team-name-text {
|
|
display: inline-block;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.team-name-text.marquee {
|
|
animation: marquee-team 5s ease-in-out 1s infinite alternate;
|
|
}
|
|
|
|
@keyframes marquee-team {
|
|
0% { transform: translateX(0); }
|
|
100% { transform: translateX(var(--marquee-distance, 0)); }
|
|
}
|
|
|
|
/* ==========================================================================
|
|
TOPBAR MARQUEE ANNOUNCEMENT
|
|
========================================================================== */
|
|
.topbar-marquee-container {
|
|
overflow: hidden;
|
|
position: relative;
|
|
width: 100%;
|
|
mask-image: linear-gradient(to right, transparent 0%, black 14px, black calc(100% - 14px), transparent 100%);
|
|
-webkit-mask-image: linear-gradient(to right, transparent 0%, black 14px, black calc(100% - 14px), transparent 100%);
|
|
}
|
|
|
|
.topbar-marquee-text {
|
|
display: inline-block;
|
|
white-space: nowrap;
|
|
padding-left: 100%;
|
|
animation: marquee-scroll 28s linear infinite;
|
|
will-change: transform;
|
|
}
|
|
|
|
.topbar-marquee-container:hover .topbar-marquee-text,
|
|
.topbar-marquee-text:hover {
|
|
animation-play-state: paused;
|
|
}
|
|
|
|
@keyframes marquee-scroll {
|
|
0% {
|
|
transform: translate3d(0, 0, 0);
|
|
}
|
|
100% {
|
|
transform: translate3d(-100%, 0, 0);
|
|
}
|
|
}
|
|
|
|
/* ==========================================================================
|
|
CARDS, TABLES, SELECT2 & FORM CONTROLS (HIGH LEGIBILITY)
|
|
========================================================================== */
|
|
/* Cards */
|
|
.card {
|
|
background-color: #ffffff !important;
|
|
border-radius: 12px !important;
|
|
border: 1px solid #e2e8f0 !important;
|
|
box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.05), 0 1px 2px -1px rgba(15, 23, 42, 0.05) !important;
|
|
margin-bottom: 14px !important;
|
|
}
|
|
|
|
.card:hover {
|
|
box-shadow: 0 3px 10px -2px rgba(15, 23, 42, 0.07) !important;
|
|
}
|
|
|
|
.card-header:not([class*="bg-"]) {
|
|
background-color: #ffffff !important;
|
|
border-bottom: 1px solid #f1f5f9 !important;
|
|
}
|
|
|
|
.card-header {
|
|
padding: 10px 16px !important;
|
|
font-weight: 700 !important;
|
|
}
|
|
|
|
.card-body {
|
|
padding: 14px 18px !important;
|
|
}
|
|
|
|
/* Accordion & Collapse Legibility & High Visibility */
|
|
.accordion-item {
|
|
background-color: #ffffff !important;
|
|
border: 1px solid #e2e8f0 !important;
|
|
margin-bottom: 8px !important;
|
|
border-radius: 10px !important;
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
.accordion-collapse.collapse.show {
|
|
display: block !important;
|
|
visibility: visible !important;
|
|
opacity: 1 !important;
|
|
height: auto !important;
|
|
}
|
|
|
|
.accordion-collapse.collapsing {
|
|
display: block !important;
|
|
visibility: visible !important;
|
|
}
|
|
|
|
.accordion-collapse.collapse:not(.show) {
|
|
display: none !important;
|
|
}
|
|
|
|
.accordion-body {
|
|
background-color: #ffffff !important;
|
|
color: #0f172a !important;
|
|
display: block !important;
|
|
visibility: visible !important;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
/* Select2 Modernization */
|
|
.select2-container .select2-selection--single {
|
|
height: 42px !important;
|
|
border: 1px solid #cbd5e1 !important;
|
|
border-radius: 8px !important;
|
|
background-color: #ffffff !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
position: relative !important;
|
|
transition: all 0.2s ease !important;
|
|
}
|
|
|
|
.select2-container--default .select2-selection--single .select2-selection__rendered {
|
|
line-height: 40px !important;
|
|
padding-left: 12px !important;
|
|
padding-right: 50px !important;
|
|
color: #1e293b !important;
|
|
font-size: 13.5px !important;
|
|
font-weight: 500 !important;
|
|
width: 100% !important;
|
|
overflow: hidden !important;
|
|
text-overflow: ellipsis !important;
|
|
white-space: nowrap !important;
|
|
}
|
|
|
|
.select2-container--default .select2-selection--single .select2-selection__clear {
|
|
position: absolute !important;
|
|
right: 28px !important;
|
|
top: 50% !important;
|
|
transform: translateY(-50%) !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
width: 18px !important;
|
|
height: 18px !important;
|
|
line-height: 16px !important;
|
|
text-align: center !important;
|
|
font-size: 15px !important;
|
|
font-weight: 700 !important;
|
|
color: #94a3b8 !important;
|
|
z-index: 10 !important;
|
|
cursor: pointer !important;
|
|
pointer-events: auto !important;
|
|
border-radius: 50% !important;
|
|
transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
|
|
display: inline-flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
}
|
|
|
|
.select2-container--default .select2-selection--single .select2-selection__clear:hover {
|
|
color: #ef4444 !important;
|
|
background-color: #fee2e2 !important;
|
|
transform: translateY(-50%) scale(1.15) !important;
|
|
}
|
|
|
|
.select2-container--default .select2-selection--single .select2-selection__arrow {
|
|
height: 100% !important;
|
|
width: 20px !important;
|
|
right: 8px !important;
|
|
top: 0 !important;
|
|
position: absolute !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
}
|
|
|
|
.select2-container--default.select2-container--open .select2-selection--single,
|
|
.select2-container--default .select2-selection--single:focus {
|
|
border-color: #2563eb !important;
|
|
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
|
|
outline: none !important;
|
|
}
|
|
|
|
.select2-dropdown {
|
|
border: 1px solid #cbd5e1 !important;
|
|
border-radius: 10px !important;
|
|
box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1) !important;
|
|
overflow: hidden !important;
|
|
z-index: 99999 !important;
|
|
animation: selectDropdownIn 0.18s cubic-bezier(0.16, 1, 0.3, 1) both !important;
|
|
}
|
|
|
|
@keyframes selectDropdownIn {
|
|
0% {
|
|
opacity: 0;
|
|
transform: translateY(-4px) scale(0.99);
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
transform: translateY(0) scale(1);
|
|
}
|
|
}
|
|
|
|
.select2-results__option {
|
|
padding: 8px 12px !important;
|
|
font-size: 13.5px !important;
|
|
transition: background-color 0.15s ease, color 0.15s ease !important;
|
|
}
|
|
|
|
.select2-container--default .select2-results__option--highlighted[aria-selected] {
|
|
background-color: #2563eb !important;
|
|
color: #ffffff !important;
|
|
}
|
|
|
|
/* DataTables Styling */
|
|
.dataTables_wrapper .dataTables_filter {
|
|
margin-bottom: 14px !important;
|
|
}
|
|
|
|
.dataTables_wrapper .dataTables_filter label {
|
|
font-weight: 500 !important;
|
|
color: #475569 !important;
|
|
font-size: 13.5px !important;
|
|
display: inline-flex !important;
|
|
align-items: center !important;
|
|
gap: 8px !important;
|
|
}
|
|
|
|
.dataTables_wrapper .dataTables_filter input {
|
|
border: 1px solid #cbd5e1 !important;
|
|
border-radius: 8px !important;
|
|
padding: 6px 14px !important;
|
|
font-size: 13.5px !important;
|
|
outline: none !important;
|
|
min-width: 200px !important;
|
|
background: #ffffff !important;
|
|
transition: all 0.2s ease !important;
|
|
}
|
|
|
|
.dataTables_wrapper .dataTables_filter input:focus {
|
|
border-color: #2563eb !important;
|
|
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
|
|
}
|
|
|
|
.dataTables_wrapper .dataTables_length {
|
|
margin-bottom: 14px !important;
|
|
}
|
|
|
|
.dataTables_wrapper .dataTables_length label {
|
|
font-weight: 500 !important;
|
|
color: #475569 !important;
|
|
font-size: 13.5px !important;
|
|
}
|
|
|
|
.dataTables_wrapper .dataTables_length select {
|
|
border: 1px solid #cbd5e1 !important;
|
|
border-radius: 6px !important;
|
|
padding: 4px 8px !important;
|
|
font-size: 13.5px !important;
|
|
outline: none !important;
|
|
margin: 0 6px !important;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
RESPONSIVE MOBILE DATATABLES CONTROLS (2 COLUMNS: LENGTH & SEARCH)
|
|
========================================================================== */
|
|
@media (max-width: 767.98px) {
|
|
.dataTables_wrapper > .row:first-child,
|
|
.dataTables_wrapper > div.row:first-of-type,
|
|
div.dataTables_wrapper div.row:first-child {
|
|
display: flex !important;
|
|
flex-direction: row !important;
|
|
flex-wrap: nowrap !important;
|
|
align-items: center !important;
|
|
justify-content: space-between !important;
|
|
gap: 8px !important;
|
|
margin-left: 0 !important;
|
|
margin-right: 0 !important;
|
|
margin-bottom: 12px !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
/* Kolom Kiri: Show entries / Length dropdown */
|
|
.dataTables_wrapper > .row:first-child > div:first-child,
|
|
.dataTables_wrapper > div.row:first-of-type > div:first-child,
|
|
.dataTables_wrapper > .row:first-child > div:has(.dataTables_length),
|
|
div.dataTables_wrapper div.dataTables_length {
|
|
width: auto !important;
|
|
max-width: none !important;
|
|
flex: 0 0 auto !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
text-align: left !important;
|
|
}
|
|
|
|
/* Kolom Kanan: Search / Filter input */
|
|
.dataTables_wrapper > .row:first-child > div:last-child,
|
|
.dataTables_wrapper > div.row:first-of-type > div:last-child,
|
|
.dataTables_wrapper > .row:first-child > div:has(.dataTables_filter),
|
|
div.dataTables_wrapper div.dataTables_filter {
|
|
width: auto !important;
|
|
max-width: none !important;
|
|
flex: 1 1 auto !important;
|
|
min-width: 0 !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
text-align: right !important;
|
|
}
|
|
|
|
/* Hilangkan teks 'Show' & 'entries' pada label, tampilkan hanya select dropdown box */
|
|
div.dataTables_wrapper div.dataTables_length label {
|
|
font-size: 0 !important;
|
|
color: transparent !important;
|
|
line-height: 0 !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
display: inline-flex !important;
|
|
align-items: center !important;
|
|
}
|
|
|
|
div.dataTables_wrapper div.dataTables_length select {
|
|
font-size: 13.5px !important;
|
|
line-height: 1.4 !important;
|
|
font-weight: 500 !important;
|
|
color: #1e293b !important;
|
|
margin: 0 !important;
|
|
padding: 6px 30px 6px 12px !important;
|
|
border: 1px solid #cbd5e1 !important;
|
|
border-radius: 8px !important;
|
|
background-color: #ffffff !important;
|
|
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
|
|
background-repeat: no-repeat !important;
|
|
background-position: right 10px center !important;
|
|
background-size: 12px 10px !important;
|
|
appearance: none !important;
|
|
-webkit-appearance: none !important;
|
|
-moz-appearance: none !important;
|
|
height: 38px !important;
|
|
min-width: 68px !important;
|
|
cursor: pointer !important;
|
|
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
|
|
}
|
|
|
|
div.dataTables_wrapper div.dataTables_length select:focus {
|
|
border-color: #2563eb !important;
|
|
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
|
|
outline: none !important;
|
|
}
|
|
|
|
/* Hilangkan teks 'Search:' pada label, input melebar memenuhi kolom dengan icon search */
|
|
div.dataTables_wrapper div.dataTables_filter label {
|
|
font-size: 0 !important;
|
|
color: transparent !important;
|
|
line-height: 0 !important;
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
width: 100% !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
position: relative !important;
|
|
}
|
|
|
|
div.dataTables_wrapper div.dataTables_filter input {
|
|
font-size: 13.5px !important;
|
|
line-height: 1.4 !important;
|
|
color: #1e293b !important;
|
|
margin: 0 !important;
|
|
padding: 6px 12px 6px 36px !important;
|
|
border: 1px solid #cbd5e1 !important;
|
|
border-radius: 8px !important;
|
|
background-color: #ffffff !important;
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z' /%3E%3C/svg%3E") !important;
|
|
background-repeat: no-repeat !important;
|
|
background-position: 11px center !important;
|
|
background-size: 16px 16px !important;
|
|
width: 100% !important;
|
|
min-width: 0 !important;
|
|
height: 38px !important;
|
|
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
|
|
transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
|
|
}
|
|
|
|
div.dataTables_wrapper div.dataTables_filter input:focus {
|
|
border-color: #2563eb !important;
|
|
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
|
|
outline: none !important;
|
|
}
|
|
}
|
|
|
|
/* Styled Table Headers (High Contrast Announcement Blue #2563eb) */
|
|
.dt-styled td,
|
|
.dt-styled th,
|
|
table.dataTable td,
|
|
table.dataTable th,
|
|
.table td,
|
|
.table th {
|
|
border-color: #ced4da !important;
|
|
vertical-align: middle !important;
|
|
padding: 12px 14px !important;
|
|
}
|
|
|
|
.dt-styled thead th,
|
|
table.dataTable thead th,
|
|
.table thead th {
|
|
background: #2563eb !important;
|
|
background-color: #2563eb !important;
|
|
color: #ffffff !important;
|
|
font-weight: 700 !important;
|
|
font-size: 13.5px !important;
|
|
letter-spacing: 0.02em;
|
|
border-color: #2563eb !important;
|
|
padding: 12px 14px !important;
|
|
}
|
|
|
|
.dt-styled tbody tr:hover > * {
|
|
background-color: rgba(37, 99, 235, 0.05) !important;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
MODERN ROUNDED PAGINATION (FOR ALL TABLES & DATATABLES)
|
|
========================================================================== */
|
|
.dataTables_paginate ul.pagination,
|
|
.dataTables_wrapper .pagination,
|
|
.pagination {
|
|
display: inline-flex !important;
|
|
align-items: center !important;
|
|
gap: 5px !important;
|
|
margin: 6px 0 !important;
|
|
padding: 0 !important;
|
|
flex-wrap: wrap !important;
|
|
}
|
|
|
|
.dataTables_paginate ul.pagination .page-item,
|
|
.dataTables_wrapper .pagination .page-item,
|
|
.pagination .page-item {
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.dataTables_paginate ul.pagination .page-link,
|
|
.dataTables_wrapper .pagination .page-link,
|
|
.pagination .page-link {
|
|
border-radius: 8px !important; /* Radius elegan, modern dan proporsional */
|
|
margin: 0 !important;
|
|
border: 1px solid #e2e8f0 !important;
|
|
background-color: #ffffff !important;
|
|
color: #475569 !important;
|
|
font-weight: 600 !important;
|
|
font-size: 13px !important;
|
|
min-width: 34px !important;
|
|
height: 34px !important;
|
|
padding: 0 10px !important;
|
|
display: inline-flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
|
|
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
|
|
cursor: pointer !important;
|
|
}
|
|
|
|
.dataTables_paginate ul.pagination .page-link:hover,
|
|
.dataTables_wrapper .pagination .page-link:hover,
|
|
.pagination .page-link:hover {
|
|
background-color: #f1f5f9 !important;
|
|
border-color: #cbd5e1 !important;
|
|
color: #2563eb !important;
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08) !important;
|
|
}
|
|
|
|
.dataTables_paginate ul.pagination .page-item.active .page-link,
|
|
.dataTables_wrapper .pagination .page-item.active .page-link,
|
|
.pagination .page-item.active .page-link {
|
|
background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
|
|
border-color: #2563eb !important;
|
|
color: #ffffff !important;
|
|
font-weight: 700 !important;
|
|
box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.dataTables_paginate ul.pagination .page-item.disabled .page-link,
|
|
.dataTables_wrapper .pagination .page-item.disabled .page-link,
|
|
.pagination .page-item.disabled .page-link {
|
|
background-color: #f8fafc !important;
|
|
border-color: #e2e8f0 !important;
|
|
color: #94a3b8 !important;
|
|
opacity: 0.65 !important;
|
|
cursor: not-allowed !important;
|
|
transform: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.dataTables_wrapper .dataTables_info {
|
|
color: #475569 !important;
|
|
font-size: 13px !important;
|
|
font-weight: 500 !important;
|
|
padding-top: 8px !important;
|
|
}
|
|
|
|
.dt-styled tbody tr.row-selected > * {
|
|
background-color: rgba(2, 99, 224, 0.12) !important;
|
|
}
|
|
|
|
/* Badges & Buttons */
|
|
.badge {
|
|
padding: 5px 9px !important;
|
|
font-weight: 600 !important;
|
|
border-radius: 50rem !important;
|
|
letter-spacing: 0.02em;
|
|
--ct-bg-opacity: 0.6 !important;
|
|
color: #000 !important;
|
|
}
|
|
|
|
.btn {
|
|
border-radius: 8px !important;
|
|
font-weight: 600 !important;
|
|
padding: 8px 16px !important;
|
|
transition: all 0.2s ease !important;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: linear-gradient(135deg, #0263e0 0%, #0050b8 100%) !important;
|
|
border-color: #0050b8 !important;
|
|
box-shadow: 0 2px 4px rgba(2, 99, 224, 0.2) !important;
|
|
}
|
|
|
|
.btn-primary:hover,
|
|
.btn-primary:focus {
|
|
background: linear-gradient(135deg, #0050b8 0%, #003d8f 100%) !important;
|
|
border-color: #003d8f !important;
|
|
box-shadow: 0 4px 10px rgba(2, 99, 224, 0.3) !important;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
/* Modals */
|
|
.modal-content {
|
|
border-radius: 16px !important;
|
|
border: 1px solid #e2e8f0 !important;
|
|
box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25) !important;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.modal-header {
|
|
padding: 16px 20px !important;
|
|
}
|
|
|
|
.modal-body {
|
|
padding: 20px !important;
|
|
}
|
|
|
|
.modal-footer {
|
|
padding: 14px 20px !important;
|
|
background: #f8fafc;
|
|
border-top: 1px solid #e2e8f0 !important;
|
|
}
|
|
|
|
/* Neutralize legacy Hyper topbar styles */
|
|
.nav-user,
|
|
.account-user-avatar {
|
|
min-height: unset !important;
|
|
padding: 0 !important;
|
|
background: transparent !important;
|
|
border: none !important;
|
|
position: static !important;
|
|
}
|
|
|
|
#user-menu-btn {
|
|
text-decoration: none !important;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
GLOBAL APP & ALL MENUS ENTRANCE ANIMATIONS
|
|
========================================================================== */
|
|
@keyframes pageFadeInUp {
|
|
0% {
|
|
opacity: 0;
|
|
transform: translateY(12px);
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
transform: none;
|
|
}
|
|
}
|
|
|
|
@keyframes pageFadeIn {
|
|
0% {
|
|
opacity: 0;
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
/* Page Header & Breadcrumb Entrance */
|
|
.page-title-anim {
|
|
animation: pageFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
|
|
}
|
|
|
|
.page-title-anim h1,
|
|
.page-title-anim .page-title,
|
|
.app-main-content .page-title-anim h1 {
|
|
font-size: 1.25rem !important; /* 20px - ukuran proporsional, kompak dan rapi */
|
|
font-weight: 700 !important;
|
|
letter-spacing: -0.02em !important;
|
|
line-height: 1.35 !important;
|
|
margin: 0 !important;
|
|
color: #0f172a !important;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.page-title-anim h1,
|
|
.page-title-anim .page-title,
|
|
.app-main-content .page-title-anim h1 {
|
|
font-size: 1.125rem !important; /* 18px */
|
|
}
|
|
}
|
|
|
|
/* Main Content Body Entrance for ALL Pages */
|
|
.page-content-anim {
|
|
animation: pageFadeInUp 0.38s cubic-bezier(0.16, 1, 0.3, 1) both;
|
|
}
|
|
|
|
/* Cards across all menus with smooth entrance & hover */
|
|
main .card,
|
|
main .bg-white.rounded-xl,
|
|
main .bg-white.rounded-2xl {
|
|
animation: pageFadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
|
|
transition: box-shadow 0.25s ease, border-color 0.2s ease, transform 0.25s ease !important;
|
|
}
|
|
|
|
main .card:hover {
|
|
box-shadow: 0 6px 20px -3px rgba(15, 23, 42, 0.07), 0 3px 8px -3px rgba(15, 23, 42, 0.04) !important;
|
|
}
|
|
|
|
/* Stagger animation for multiple cards in views */
|
|
main .row > div:nth-child(1) .card,
|
|
main .card:nth-of-type(1) {
|
|
animation-delay: 0.04s;
|
|
}
|
|
|
|
main .row > div:nth-child(2) .card,
|
|
main .card:nth-of-type(2) {
|
|
animation-delay: 0.08s;
|
|
}
|
|
|
|
main .row > div:nth-child(3) .card,
|
|
main .card:nth-of-type(3) {
|
|
animation-delay: 0.12s;
|
|
}
|
|
|
|
main .row > div:nth-child(4) .card,
|
|
main .card:nth-of-type(4) {
|
|
animation-delay: 0.16s;
|
|
}
|
|
|
|
/* ==========================================================================
|
|
INTERACTIVE TABS, PILLS & CONTROLS (ALL MENUS)
|
|
========================================================================== */
|
|
@keyframes tabPaneFadeInUp {
|
|
0% {
|
|
opacity: 0;
|
|
transform: translateY(12px);
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
transform: none;
|
|
}
|
|
}
|
|
|
|
@keyframes tabNavActivePulse {
|
|
0% {
|
|
transform: scale(0.96);
|
|
}
|
|
60% {
|
|
transform: scale(1.02);
|
|
}
|
|
100% {
|
|
transform: none;
|
|
}
|
|
}
|
|
|
|
.nav-pills,
|
|
.nav-tabs {
|
|
gap: 4px;
|
|
}
|
|
|
|
.bg-nav-pills {
|
|
background-color: #f1f5f9 !important;
|
|
padding: 4px !important;
|
|
border-radius: 14px !important;
|
|
border: 1px solid #e2e8f0 !important;
|
|
}
|
|
|
|
.bg-nav-pills .nav-link {
|
|
border-radius: 10px !important;
|
|
padding: 7px 16px !important;
|
|
}
|
|
|
|
.nav-pills .nav-link,
|
|
.nav-tabs .nav-link {
|
|
transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
|
|
font-weight: 600 !important;
|
|
position: relative;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.nav-pills .nav-link:active,
|
|
.nav-tabs .nav-link:active {
|
|
transform: scale(0.97) !important;
|
|
}
|
|
|
|
.nav-pills .nav-link:hover:not(.active),
|
|
.nav-tabs .nav-link:hover:not(.active) {
|
|
background-color: #f1f5f9 !important;
|
|
color: #2563eb !important;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.nav-pills .nav-link.active,
|
|
.nav-tabs .nav-link.active {
|
|
background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
|
|
color: #ffffff !important;
|
|
box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
|
|
animation: tabNavActivePulse 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
|
|
}
|
|
|
|
/* Animasi Masuk Tab Content Saat Tab Diklik (Untuk Seluruh Menu) */
|
|
.tab-content > .tab-pane.active,
|
|
.tab-content > .tab-pane.tab-animating,
|
|
.tab-pane.active,
|
|
.tab-pane.tab-animating {
|
|
animation: tabPaneFadeInUp 0.32s cubic-bezier(0.16, 1, 0.3, 1) both !important;
|
|
}
|
|
|
|
/* Fallback transisi fade bawaan Bootstrap */
|
|
.tab-pane.fade {
|
|
transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out !important;
|
|
}
|
|
|
|
.tab-pane.fade.show {
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
/* Buttons Micro-interactions across all menus */
|
|
.btn {
|
|
transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
|
|
}
|
|
|
|
.btn:hover {
|
|
transform: translateY(-1.5px);
|
|
}
|
|
|
|
.btn:active {
|
|
transform: translateY(0.5px) scale(0.99);
|
|
}
|
|
|
|
.btn-outline-success:hover,
|
|
.btn-success:hover {
|
|
box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25) !important;
|
|
}
|
|
|
|
.btn-primary:hover,
|
|
.btn-outline-primary:hover {
|
|
box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25) !important;
|
|
}
|
|
|
|
.btn-danger:hover,
|
|
.btn-outline-danger:hover {
|
|
box-shadow: 0 4px 14px rgba(239, 68, 68, 0.25) !important;
|
|
}
|
|
|
|
/* DataTables and Table Micro-interactions */
|
|
.table tbody tr {
|
|
transition: background-color 0.16s ease !important;
|
|
}
|
|
|
|
.table tbody tr:hover td {
|
|
background-color: rgba(241, 245, 249, 0.65) !important;
|
|
}
|
|
|
|
.dataTables_wrapper .dataTables_filter input {
|
|
transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease !important;
|
|
}
|
|
|
|
.dataTables_wrapper .dataTables_filter input:focus {
|
|
border-color: #2563eb !important;
|
|
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
|
|
}
|
|
|
|
.dataTables_wrapper .dataTables_paginate .paginate_button {
|
|
transition: all 0.2s ease !important;
|
|
border-radius: 6px !important;
|
|
}
|
|
|
|
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
/* DataTables: hanya tabel yang scroll horizontal (dibungkus .dt-scroll-x oleh JS di layout),
|
|
kontrol atas (Show/Search) dan bawah (info/pagination) tidak ikut bergeser */
|
|
.dt-scroll-x {
|
|
width: 100%;
|
|
overflow-x: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
.table-responsive:has(> .dataTables_wrapper) {
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
/* Badge Micro-animation */
|
|
.badge {
|
|
transition: transform 0.18s ease, box-shadow 0.18s ease !important;
|
|
}
|
|
|
|
.badge:hover {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
/* ==========================================================================
|
|
DASHBOARD SPECIFIC STAT CARDS & STEP CARDS
|
|
========================================================================== */
|
|
.dash-anim-in {
|
|
animation: pageFadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
|
|
}
|
|
|
|
.dash-delay-1 { animation-delay: 0.04s; }
|
|
.dash-delay-2 { animation-delay: 0.08s; }
|
|
.dash-delay-3 { animation-delay: 0.12s; }
|
|
.dash-delay-4 { animation-delay: 0.16s; }
|
|
.dash-delay-5 { animation-delay: 0.20s; }
|
|
.dash-delay-6 { animation-delay: 0.26s; }
|
|
|
|
.dash-stat-card {
|
|
transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, border-color 0.2s ease;
|
|
}
|
|
|
|
.dash-stat-card:hover {
|
|
transform: translateY(-4px);
|
|
box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
|
|
}
|
|
|
|
.dash-stat-card .dash-stat-icon {
|
|
transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
}
|
|
|
|
.dash-stat-card:hover .dash-stat-icon {
|
|
transform: scale(1.15) rotate(4deg);
|
|
}
|
|
|
|
.dash-step-card {
|
|
transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease, box-shadow 0.25s ease;
|
|
}
|
|
|
|
.dash-step-card:hover {
|
|
transform: translateY(-3px);
|
|
border-color: #93c5fd !important;
|
|
box-shadow: 0 8px 20px -4px rgba(2, 99, 224, 0.08);
|
|
}
|
|
|
|
.dash-step-card .dash-step-number {
|
|
transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
}
|
|
|
|
.dash-step-card:hover .dash-step-number {
|
|
transform: scale(1.18);
|
|
}
|
|
|
|
/* Floating Action Bar Backdrop (Bottom Dim Gradient) */
|
|
#floatingActionBarBackdrop {
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 110px;
|
|
background: linear-gradient(to top, rgba(15, 23, 42, 0.42) 0%, rgba(15, 23, 42, 0.2) 55%, rgba(15, 23, 42, 0) 100%);
|
|
pointer-events: none;
|
|
z-index: 1040;
|
|
}
|
|
|
|
/* Floating Action Bar (White Capsule) */
|
|
#floatingActionBar {
|
|
bottom: 28px !important;
|
|
background: #ffffff !important;
|
|
border: 1px solid #cbd5e1 !important;
|
|
border-radius: 50px !important;
|
|
box-shadow: 0 12px 32px -4px rgba(15, 23, 42, 0.28), 0 4px 12px rgba(15, 23, 42, 0.12) !important;
|
|
}
|
|
|
|
/* Fade in/out halus (dikontrol class .is-visible lewat JS di halaman detail SK) */
|
|
#floatingActionBar,
|
|
#floatingActionBarBackdrop {
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transition: opacity 0.4s ease, visibility 0s linear 0.4s;
|
|
}
|
|
|
|
#floatingActionBar {
|
|
transform: translate(-50%, 12px) !important;
|
|
transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.4s;
|
|
}
|
|
|
|
#floatingActionBar.is-visible,
|
|
#floatingActionBarBackdrop.is-visible {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
transition-delay: 0s;
|
|
}
|
|
|
|
#floatingActionBar.is-visible {
|
|
transform: translate(-50%, 0) !important;
|
|
}
|
|
|
|
/* Mobile: capsule diletakkan di atas tombol WhatsApp Helpdesk (tinggi tombol 52px) dengan gap 16px */
|
|
@media (max-width: 767.98px) {
|
|
#floatingActionBar {
|
|
bottom: 96px !important;
|
|
}
|
|
#floatingActionBarBackdrop {
|
|
height: 170px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 576px) {
|
|
#floatingActionBar {
|
|
bottom: 88px !important;
|
|
}
|
|
}
|
|
|
|
/* ===== Smooth Responsive Sidebar Drawer ===== */
|
|
#main-sidebar {
|
|
will-change: transform, translate;
|
|
transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1), translate 0.7s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.7s ease !important;
|
|
}
|
|
|
|
#main-content-wrapper {
|
|
transition: padding-left 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
|
|
}
|
|
|
|
@media (max-width: 1023px) {
|
|
#main-sidebar {
|
|
transform: translateX(-100%) !important;
|
|
translate: none !important;
|
|
}
|
|
|
|
#main-sidebar.mobile-open,
|
|
#main-sidebar:not(.-translate-x-full) {
|
|
transform: translateX(0) !important;
|
|
translate: none !important;
|
|
box-shadow: 0 10px 40px -10px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(15, 23, 42, 0.05) !important;
|
|
}
|
|
}
|
|
|
|
#sidebar-backdrop {
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
pointer-events: none;
|
|
transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.7s ease, backdrop-filter 0.7s ease !important;
|
|
will-change: opacity, backdrop-filter;
|
|
}
|
|
|
|
#sidebar-backdrop.active {
|
|
opacity: 1 !important;
|
|
visibility: visible !important;
|
|
pointer-events: auto !important;
|
|
}
|
|
|