sistem_rekomendasi/public/css/fitur-admin.css

155 lines
3.2 KiB
CSS

.table-container-modern {
border: 1px solid #e2e8f0;
border-radius: 12px;
overflow: hidden;
background-color: #ffffff;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.table-modern {
width: 100%;
border-collapse: collapse;
margin-bottom: 0 !important;
}
.table-modern thead th {
background-color: #f8fafc;
color: #64748b;
font-size: 11px;
text-transform: uppercase;
letter-spacing: 1px;
font-weight: 700;
padding: 15px 20px;
border-bottom: 2px solid #e2e8f0;
border-right: 1px solid #e2e8f0; /* Garis antar kolom */
}
.table-modern thead th:last-child {
border-right: none;
}
.table-modern tbody td {
padding: 15px 20px;
border-bottom: 1px solid #f1f5f9;
vertical-align: middle;
border-right: 1px solid #f1f5f9; /* Garis antar kolom */
}
.table-modern tbody td:last-child {
border-right: none;
}
/* 2. Opsi Tombol Aksi (Edit & Hapus) */
.opsi-wrapper {
display: flex;
gap: 8px;
justify-content: center;
align-items: center;
}
.btn-action {
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 6px;
border: none;
color: #ffffff;
transition: transform 0.2s, opacity 0.2s;
}
.btn-action:hover {
transform: scale(1.1);
opacity: 0.9;
}
.btn-edit { background-color: #4f46e5; }
.btn-delete { background-color: #ef4444; }
/* 3. Pagination (Menyatu di bawah tabel) */
.pagination-container {
padding: 15px 20px;
display: flex;
justify-content: space-between;
align-items: center;
background-color: #ffffff;
border-top: 1px solid #e2e8f0;
}
.page-link-custom {
padding: 6px 14px;
border: 1px solid #e2e8f0;
background-color: #ffffff;
border-radius: 6px;
color: #64748b;
font-size: 13px;
cursor: pointer;
transition: all 0.2s;
}
.page-link-custom.active {
background-color: #007bff;
color: #ffffff;
border-color: #007bff;
}
.page-link-custom:disabled {
background-color: #f8fafc;
cursor: not-allowed;
opacity: 0.5;
}
/* 4. Form Styling (Satu Baris Satu Input) */
.form-group-custom {
margin-bottom: 1.5rem;
}
.form-group-custom label {
font-size: 13px;
font-weight: 700;
color: #475569;
margin-bottom: 8px;
display: block;
}
.input-custom {
border-radius: 10px !important;
border: 1px solid #e2e8f0 !important;
padding: 12px 15px !important;
font-size: 14px;
width: 100%;
}
.input-custom:focus {
border-color: var(--primary-green) !important;
box-shadow: 0 0 0 3px rgba(45, 122, 71, 0.1) !important;
outline: none;
}
/* Badge Rumpun Jurusan */
.badge-saintek {
background-color: #e0f2fe; /* Warna Biru Muda */
color: #0369a1; /* Warna Biru Tua */
border: 1px solid #bae6fd;
}
.badge-soshum {
background-color: #fef3c7; /* Warna Kuning Muda */
color: #92400e; /* Warna Cokelat/Oren */
border: 1px solid #fde68a;
}
/* Base style untuk badge jika belum ada */
.badge {
display: inline-block;
padding: 0.35em 0.65em;
font-size: 0.75em;
font-weight: 700;
line-height: 1;
text-align: center;
white-space: nowrap;
vertical-align: baseline;
border-radius: 50rem;
}