Perbaikan minor

This commit is contained in:
pand03
2026-03-09 14:57:04 +07:00
parent e061a59bd7
commit 13b736ccd2
9 changed files with 799 additions and 23 deletions

View File

@@ -1,3 +1,113 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
/* BUTTON */
.btn-primary-modern {
background: linear-gradient(135deg,#00a8a8,#007a7a);
border: none;
padding: 10px 18px;
color: white;
border-radius: 8px;
font-weight: 600;
cursor: pointer;
transition: 0.2s;
}
.btn-primary-modern:hover {
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.btn-secondary {
background: #e5e7eb;
border: none;
padding: 10px 16px;
border-radius: 8px;
}
/* MODAL BACKGROUND */
.modal-modern {
display: none;
position: fixed;
z-index: 999;
inset: 0;
background: rgba(0,0,0,0.4);
backdrop-filter: blur(3px);
justify-content: center;
align-items: center;
}
/* CARD */
.modal-card {
background: white;
width: 420px;
border-radius: 14px;
padding: 25px;
box-shadow: 0 20px 40px rgba(0,0,0,0.15);
animation: modalFade 0.25s ease;
}
/* HEADER */
.modal-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
}
.modal-header h3 {
margin: 0;
}
/* CLOSE */
.close-btn {
font-size: 22px;
cursor: pointer;
}
/* FORM */
.form-group {
margin-bottom: 16px;
}
.form-group label {
display: block;
font-size: 13px;
margin-bottom: 5px;
color: #555;
}
.form-group input,
.form-group select,
.form-group textarea {
width: 100%;
border: 1px solid #ddd;
padding: 10px;
border-radius: 8px;
transition: 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
outline: none;
border-color: #00a8a8;
box-shadow: 0 0 0 2px rgba(0,168,168,0.2);
}
/* FOOTER */
.modal-footer {
display: flex;
justify-content: flex-end;
gap: 10px;
margin-top: 20px;
}
/* ANIMATION */
@keyframes modalFade {
from {
transform: translateY(-10px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}