File: /home/ic3/public_html/wp-content/plugins/school-management/assets/style/school-management.css
.entity-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
margin-top: 20px;
}
.entity-item {
border: 1px solid #ddd;
border-radius: 8px;
padding: 15px;
text-align: center;
background: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
transition: transform 0.2s, box-shadow 0.2s;
cursor: pointer;
text-decoration: none;
color: inherit;
}
.entity-item:hover {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
text-decoration: none;
color: inherit;
}
.entity-item img {
width: 100%;
max-width: 150px;
height: 120px;
object-fit: cover;
border-radius: 4px;
margin-bottom: 10px;
}
.entity-item h4 {
margin: 0;
font-size: 16px;
color: #333;
}
.entity-item .no-image {
width: 100%;
height: 120px;
background: #f0f0f0;
border: 2px dashed #ccc;
border-radius: 4px;
display: flex;
align-items: center;
justify-content: center;
color: #999;
margin-bottom: 10px;
}
@media (max-width: 768px) {
.entity-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 480px) {
.entity-grid {
grid-template-columns: 1fr;
}
}
#select-school,
#select-class {
margin-bottom: 20px;
}
#select-school label,
#select-class label {
display: block;
margin-bottom: 5px;
font-weight: bold;
}
#school-dropdown,
#class-dropdown {
width: 100%;
max-width: 600px;
padding: 8px;
border: 1px solid #ccc;
border-radius: 4px;
}
/* Custom Modal Styling */
.modal-content {
border-radius: 12px;
border: none;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
opacity: 1;
}
.modal-header {
background: linear-gradient(45deg, #c0eaff, #1c7ba8);
color: white;
border-radius: 12px 12px 0 0;
border-bottom: none;
padding: 20px 25px;
}
.modal-header .modal-title {
font-weight: 600;
font-size: 18px;
}
.modal-header .close {
color: white;
opacity: 0.8;
font-size: 28px;
font-weight: 300;
}
.modal-header .close:hover {
opacity: 1;
color: white;
}
.modal-body {
padding: 25px;
}
.modal-body .form-group label {
font-weight: 600;
color: #333;
margin-bottom: 8px;
}
.modal-body .form-control {
border: 2px solid #e0e0e0;
border-radius: 8px;
padding: 12px 15px;
font-size: 14px;
transition: all 0.3s ease;
}
.modal-body .form-control:focus {
border-color: #007cba;
box-shadow: 0 0 0 0.2rem rgba(0, 124, 186, 0.25);
outline: none;
}
.modal-footer {
padding: 20px 25px;
border-top: 1px solid #e9ecef;
}
.modal-footer .btn {
padding: 10px 25px;
border-radius: 6px;
font-weight: 500;
transition: all 0.3s ease;
}
.modal-footer .btn-primary {
background: linear-gradient(45deg, #007cba, #0073aa);
border: none;
}
.modal-footer .btn-primary:hover {
background: linear-gradient(45deg, #005a87, #005177);
transform: translateY(-1px);
}
.modal-footer .btn-secondary {
background: #6c757d;
border: none;
}
.modal-footer .btn-secondary:hover {
background: #545b62;
transform: translateY(-1px);
}
.text-danger {
font-size: 13px;
font-weight: 500;
}
/* Modal Animation */
.modal.fade .modal-dialog {
transform: scale(0.8);
transition: transform 0.3s ease-out;
}
.modal.show .modal-dialog {
transform: scale(1);
}
/* Password toggle button styling */
.input-group-append .btn {
border-left: none;
background: #f8f9fa;
border-color: #e0e0e0;
color: #6c757d;
transition: all 0.3s ease;
}
.input-group-append .btn:hover {
background: #e9ecef;
color: #495057;
}
.input-group-append .btn:focus {
box-shadow: none;
border-color: #007cba;
}
.input-group .form-control:focus {
border-right: 1px solid #007cba;
}
.input-group .form-control {
border-right: none;
}
/* Ensure input group is properly styled */
.input-group {
position: relative;
display: flex;
flex-wrap: wrap;
align-items: stretch;
width: 100%;
}
/* Pagination Styles */
#pagination-container {
margin-top: 30px;
}
.pagination {
display: flex;
list-style: none;
margin: 0;
padding: 0;
gap: 5px;
}
.page-item {
display: block;
}
.page-link {
position: relative;
display: block;
padding: 8px 12px;
margin-left: -1px;
line-height: 1.25;
color: #007cba;
text-decoration: none;
background-color: #fff;
border: 1px solid #dee2e6;
border-radius: 4px;
transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.page-link:hover {
z-index: 2;
color: #0056b3;
text-decoration: none;
background-color: #e9ecef;
border-color: #dee2e6;
}
.page-item.active .page-link {
z-index: 3;
color: #fff;
background-color: #007cba;
border-color: #007cba;
}
.page-item.disabled .page-link {
color: #6c757d;
pointer-events: none;
cursor: auto;
background-color: #fff;
border-color: #dee2e6;
}
.justify-content-center {
justify-content: center;
}
/* Responsive Modal */
@media (max-width: 576px) {
.modal-dialog {
margin: 1rem;
}
.modal-header {
padding: 15px 20px;
}
.modal-body {
padding: 20px;
}
.modal-footer {
padding: 15px 20px;
}
/* Responsive pagination */
.page-link {
padding: 6px 10px;
font-size: 14px;
}
}
/* Student Status Section */
.student-status {
display: none;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
padding: 10px;
background-color: #f8f9fa;
border-radius: 5px;
}
.student-logout-btn {
margin-left: 10px;
}
/* Center labels and selects */
.center-label {
text-align: center;
display: block;
margin-bottom: 5px;
font-weight: bold;
}
.center-select {
margin: auto;
display: block;
width: 100%;
max-width: 600px;
padding: 8px;
border: 1px solid #ccc;
border-radius: 4px;
}
/* Select Class */
.select-class {
display: none;
}
/* Entity Container */
.entity-container {
display: none;
}
.pagination-container {
display: none;
margin-top: 20px;
}