first commit

This commit is contained in:
2026-05-22 20:46:29 +08:00
commit b04f87f2b0
121 changed files with 14851 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
.admin-header-box {
background: linear-gradient(45deg, #4e73df, #224abe);
color: white;
padding: 1.5rem !important;
border-radius: 1rem !important;
box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
margin-bottom: 2rem !important;
display: flex;
justify-content: space-between;
align-items: center;
}
.admin-header-box h4 {
font-weight: 700 !important;
margin-bottom: 0 !important;
color: white !important;
}
.admin-header-box p {
margin-bottom: 0 !important;
opacity: 0.75;
font-size: 0.875rem;
}

37
public/css/app.css Normal file
View File

@@ -0,0 +1,37 @@
html,
body {
height: 100%;
}
.sidebar {
width: 250px;
position: sticky;
top: 0;
}
.col-auto-fixed {
width: 250px;
}
.sidebar .nav-link {
color: white;
padding: 0.75rem 1rem;
font-weight: 600;
border-radius: 0;
}
.sidebar .nav-link:hover,
.sidebar .nav-link.active {
background-color: #495057;
color: white;
}
.sidebar .btn-logout {
color: white;
border: 1px solid white;
padding: 0.5rem 1rem;
width: calc(100% - 2rem);
margin: 1rem 1rem 2rem 1rem;
text-align: left;
font-weight: 600;
}

View File

@@ -0,0 +1,33 @@
.dashboard-card {
transition: transform 0.2s;
border: none !important;
box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
}
.dashboard-card:hover {
transform: translateY(-5px);
}
.display-stat {
font-size: 4rem;
font-weight: 700;
}
/* Gradient Utilities for Cards */
.bg-gradient-primary {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}
.bg-gradient-success {
background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%) !important;
}
.bg-gradient-danger {
background: linear-gradient(135deg, #ee0979 0%, #ff6a00 100%) !important;
}
@media (max-width: 768px) {
.display-stat {
font-size: 3rem;
}
}

217
public/css/login.css Normal file
View File

@@ -0,0 +1,217 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Poppins', sans-serif;
height: 100vh;
overflow: hidden;
background: url('/images/mbipPlace.jpeg') center/cover no-repeat;
position: relative;
}
body::before {
content: '';
position: absolute;
inset: 0;
}
.container {
position: relative;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 30px;
}
.login-box {
display: grid;
grid-template-columns: 1fr 1fr;
max-width: 1100px;
width: 100%;
background: rgba(88, 70, 120, 0.4);
backdrop-filter: blur(20px);
border-radius: 40px;
overflow: hidden;
box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}
/* Left - Login Form */
.form-section {
padding: 60px 50px;
display: flex;
flex-direction: column;
justify-content: center;
}
.logo-mbip {
display: block;
margin-left: auto;
margin-right: auto;
width: 120px;
height: auto;
margin-bottom: 40px;
background: white;
padding: 10px;
border-radius: 12px;
}
.form-section h2 {
color: white;
font-size: 2rem;
font-weight: 700;
margin-bottom: 8px;
}
.form-section p {
color: rgba(255, 255, 255, 0.8);
margin-bottom: 35px;
font-size: 0.95rem;
}
.input-group {
margin-bottom: 20px;
}
.input-group label {
display: block;
color: white;
font-size: 0.9rem;
font-weight: 500;
margin-bottom: 10px;
}
.input-group input {
width: 100%;
padding: 16px 20px;
background: rgba(0, 0, 0, 0.3);
border: none;
border-radius: 50px;
color: white;
font-size: 0.95rem;
transition: all 0.3s;
}
.input-group input::placeholder {
color: rgba(255, 255, 255, 0.5);
}
.input-group input:focus {
outline: none;
background: rgba(0, 0, 0, 0.4);
box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}
.btn-signin {
width: 100%;
padding: 16px;
background: linear-gradient(135deg, #fbbf24 0%, #fb923c 100%);
border: none;
border-radius: 50px;
color: #1f2937;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
margin-top: 10px;
}
.btn-signin:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(251, 191, 36, 0.4);
}
/* Right - Content Section */
.content-section {
padding: 60px 50px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
}
.content-title {
color: white;
font-size: 3rem;
font-weight: 700;
text-align: center;
margin-bottom: 15px;
}
.content-desc {
color: rgba(255, 255, 255, 0.8);
font-size: 1rem;
text-align: center;
margin-bottom: 40px;
}
.image-placeholder {
width: 500px;
height: 350px;
background: rgba(255, 255, 255, 0.1);
border-radius: 20px;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
color: rgba(255, 255, 255, 0.5);
}
.image-placeholder img {
width: 100%;
height: 100%;
object-fit: cover;
}
/* Alert */
.alert {
padding: 12px 20px;
border-radius: 50px;
margin-bottom: 20px;
font-size: 0.85rem;
display: flex;
align-items: center;
gap: 8px;
}
.alert-success {
background: rgba(34, 197, 94, 0.2);
color: #86efac;
border: 1px solid rgba(34, 197, 94, 0.3);
}
.alert-danger {
background: rgba(239, 68, 68, 0.2);
color: #fca5a5;
border: 1px solid rgba(239, 68, 68, 0.3);
}
/* Responsive */
@media (max-width: 968px) {
.login-box {
grid-template-columns: 1fr;
max-width: 500px;
}
.content-section {
display: none;
}
}
@media (max-width: 576px) {
.form-section {
padding: 40px 30px;
}
.form-section h2 {
font-size: 1.6rem;
}
.content-title {
font-size: 2rem;
}
}

View File

@@ -0,0 +1,28 @@
.response-survey-item {
transition: all 0.2s ease;
border: 1px solid #e8e8e8;
background: white;
border-radius: 1rem;
}
.response-survey-item:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, .08) !important;
border-color: #d0d0d0;
}
.icon-box-stat {
width: 56px;
height: 56px;
display: flex;
align-items: center;
justify-content: center;
background-color: #f8f9fa;
border-radius: 0.75rem;
}
.response-survey-item h6 {
font-size: 0.9rem;
line-height: 1.3;
font-weight: 600;
}

View File

@@ -0,0 +1,15 @@
.chart-container-box {
height: 300px;
}
.other-answer-item {
background-color: #f8f9fa !important;
color: #6c757d !important;
font-size: 0.875rem !important;
}
.stat-card-number {
font-weight: 700 !important;
color: #333 !important;
margin-bottom: 0 !important;
}

View File

@@ -0,0 +1,21 @@
.survey-table-card {
border: none !important;
box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
border-radius: 1rem !important;
}
.survey-table-card .card-header {
border-radius: 1rem 1rem 0 0 !important;
}
.survey-title-container a {
transition: color 0.2s;
}
.survey-title-container a:hover {
color: #4e73df !important;
}
.copy-btn-success {
color: #1cc88a !important;
}

View File

@@ -0,0 +1,28 @@
.ulasan-hover-effect {
transition: all 0.2s ease-in-out;
}
.ulasan-hover-effect:hover {
transform: translateY(-3px);
background-color: #fdfdfd !important;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05) !important;
}
@media print {
.d-print-none {
display: none !important;
}
.col-6 {
width: 100% !important;
}
.card {
break-inside: avoid;
border: 1px solid #eee !important;
}
body {
background: white !important;
}
}

17
public/css/usersAdmin.css Normal file
View File

@@ -0,0 +1,17 @@
.user-table-card {
border: none !important;
box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
border-radius: 1rem !important;
}
.user-table-card .card-body {
padding: 0 !important;
}
.badge-admin {
background-color: #36b9cc !important;
}
.badge-staff {
background-color: #858796 !important;
}