| Server IP : 173.209.174.21 / Your IP : 216.73.216.89 Web Server : Apache/2.4.58 (Ubuntu) System : Linux wcfs-server 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64 User : nodor ( 1000) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/wcsd/School-alert/css/ |
Upload File : |
/* Basic Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, sans-serif;
}
body {
background-color: #f4f4f9;
color: #333;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
}
/* Navigation Bar */
nav {
background-color: #0044cc;
color: white;
padding: 10px 20px;
}
nav ul {
list-style: none;
display: flex;
justify-content: flex-end;
}
nav ul li {
margin-left: 20px;
}
nav ul li a {
color: white;
text-decoration: none;
font-weight: bold;
}
nav ul li a:hover {
text-decoration: underline;
}
/* Dashboard Columns - Center the columns and make them wider */
.dashboard-columns {
display: flex;
justify-content: space-evenly; /* Distribute space evenly between the columns */
align-items: flex-start; /* Align items at the top of the container */
margin: 0 auto; /* Center the columns horizontally */
width: 100%; /* Ensure the container spans full width */
max-width: 1200px; /* Set max width to prevent the columns from becoming too wide on large screens */
padding: 20px; /* Add padding for better spacing */
box-sizing: border-box; /* Include padding in the width calculation */
}
/* Column styles */
.column {
flex: 1; /* Allow the columns to grow and take equal space */
padding: 20px; /* Add padding inside columns for better spacing */
box-sizing: border-box;
min-width: 350px; /* Increase the minimum width of each column */
max-width: 400px; /* Increase the width of each column */
border-radius: 8px;
}
/* Active Alerts Column */
.active-alerts {
background-color: #e0f0ff; /* Light blue background for active alerts */
border: 1px solid #cce0ff;
}
.active-alerts h3 {
color: #0044cc;
}
/* Old Alerts Column */
.old-alerts {
background-color: #f4f4f9; /* Light gray background for old events */
border: 1px solid #ccc;
}
.old-alerts h3 {
color: #666;
}
/* Alert Box */
.alert {
padding: 15px;
border-radius: 5px;
margin-bottom: 15px;
background-color: #ffffff;
border: 1px solid #cce0ff;
}
.alert h4 {
color: #0044cc;
font-size: 1.1em;
margin-bottom: 5px;
}
.alert p {
margin-bottom: 5px;
}
.alert button {
background-color: #0044cc;
color: white;
border: none;
padding: 8px 12px;
border-radius: 3px;
cursor: pointer;
}
.alert button:hover {
background-color: #0033a0;
}
/* Styling for Old Alerts */
.old-alert {
background-color: #f0f0f0;
color: #666;
}
/* Footer */
footer {
text-align: center;
margin-top: 30px;
padding: 10px;
color: #666;
font-size: 0.9em;
}
/* Blinking effect for new alerts */
@keyframes blink {
0% { background-color: #ffcccc; } /* Light red */
50% { background-color: #ff6666; } /* Darker red */
100% { background-color: #ffcccc; } /* Light red */
}
.blinking-alert {
animation: blink 1s infinite; /* 1-second blink animation that repeats infinitely */
border: 2px solid #cc0000;
}
/* Center the form container and apply padding */
.form-container {
max-width: 400px;
margin: 0 auto;
padding: 20px;
}
.form-container h2 {
text-align: center;
margin-bottom: 20px;
}
/* Style each form element with full width and spacing */
.form-container form label,
.form-container form select,
.form-container form input,
.form-container form textarea,
.form-container form button {
display: block;
width: 100%;
margin-bottom: 15px;
}
/* Style for the larger submit button */
.submit-button {
padding: 12px 20px;
font-size: 18px;
background-color: #007bff;
color: #fff;
border: none;
cursor: pointer;
text-align: center;
border-radius: 4px;
}
.submit-button:hover {
background-color: #0056b3;
}
/* Styling for Profile Page Sections */
h2, h3 {
margin-bottom: 10px;
}
form {
margin-bottom: 20px;
}
form label,
form input,
form textarea,
form button {
display: block;
width: 100%;
margin-bottom: 10px;
}
ul {
margin-bottom: 20px;
}
ul li {
margin-bottom: 15px;
}
/* Button Styling for Profile Page */
button {
padding: 8px 16px;
font-size: 16px;
background-color: #007bff;
color: #fff;
border: none;
cursor: pointer;
text-align: center;
border-radius: 4px;
}
button:hover {
background-color: #0056b3;
}
.success-message {
color: green;
font-size: 1.2em;
font-weight: bold;
margin-bottom: 20px;
}
/* Dashboard Columns - Center the columns and make them wider, then shift to the left */
.dashboard-columns {
display: flex;
justify-content: center; /* Center the columns horizontally */
gap: 30px; /* Adjust the gap between the columns */
margin-top: 20px;
margin-left: 0; /* Ensure columns are centered without shifting to the left */
}
/* Make adjustments for smaller screens */
@media (max-width: 1024px) {
.dashboard-columns {
flex-direction: column; /* Stack columns vertically on medium screens */
}
.column {
width: 100%; /* Each column takes full width on smaller screens */
margin: 10px 0; /* Add vertical margin */
}
}
@media (max-width: 768px) {
.dashboard-columns {
flex-direction: column; /* Stack columns vertically on smaller screens */
}
.column {
width: 100%;
margin: 5px 0; /* Reduce space on very small screens */
}
}
#alert-container {
margin-top: 20px;
}
.alert {
background-color: #f9f9f9;
padding: 10px;
margin: 10px 0;
border: 1px solid #ccc;
border-radius: 5px;
}
.alert h4 {
font-size: 1.2em;
margin: 0 0 5px 0;
}
.alert p {
font-size: 1em;
margin: 0 0 5px 0;
}
.alert small {
font-size: 0.9em;
color: #888;
}
/* Scope the container styles specifically to the update school order page */
.update-page-container {
width: 80%;
max-width: 800px;
margin: 30px auto;
padding: 20px;
border: 1px solid #ddd;
border-radius: 8px;
background-color: #f9f9f9;
}
/* Additional specific styles for the sortable items */
.update-page-container .sortable-item {
background-color: #fff;
padding: 12px;
margin: 8px 0;
border: 1px solid #ddd;
border-radius: 5px;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 1.2rem;
cursor: move;
transition: background-color 0.3s ease;
}
.update-page-container .sortable-item:hover {
background-color: #f4f4f4;
}
.update-page-container .school-name {
font-weight: bold;
flex-grow: 1;
margin-right: 10px;
}
.update-page-container .move-up, .update-page-container .move-down {
background-color: #007bff;
color: white;
border: none;
padding: 5px 8px;
font-size: 1rem;
cursor: pointer;
border-radius: 5px;
width: 30px;
height: 30px;
text-align: center;
}
.update-page-container .move-up:hover, .update-page-container .move-down:hover {
background-color: #0056b3;
}
.update-page-container .btn-submit {
display: block;
width: 100%;
padding: 12px;
font-size: 1.2rem;
background-color: #007bff;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.update-page-container .btn-submit:hover {
background-color: #0056b3;
}
/* Page Title */
.page-title {
font-size: 2rem;
text-align: center;
margin-bottom: 20px;
color: #333;
}
/* Success Message */
.success-message {
background-color: #e6ffed;
color: #2f7d4e;
padding: 10px;
margin-bottom: 20px;
border: 1px solid #2f7d4e;
border-radius: 5px;
font-weight: bold;
}
/* Sortable Box */
.sortable-box {
margin-bottom: 20px;
display: flex;
flex-direction: column;
}
/* Sortable Items */
.sortable-item {
background-color: #fff;
padding: 12px;
margin: 8px 0;
border: 1px solid #ddd;
border-radius: 5px;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 1.2rem;
cursor: move;
transition: background-color 0.3s ease;
}
.sortable-item:hover {
background-color: #f4f4f4;
}
.school-name {
font-weight: bold;
flex-grow: 1;
margin-right: 10px; /* Add space for the buttons */
}
/* Move Up and Move Down Buttons */
.move-up, .move-down {
background-color: #007bff;
color: white;
border: none;
padding: 5px 8px;
font-size: 1rem;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s ease;
width: 30px; /* Control button width */
height: 30px; /* Control button height */
text-align: center;
}
.move-up:hover, .move-down:hover {
background-color: #0056b3;
}
/* Submit Button */
.btn-submit {
display: block;
width: 100%;
padding: 12px;
font-size: 1.2rem;
background-color: #007bff;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.btn-submit:hover {
background-color: #0056b3;
}
/* General styles for old alerts */
.old-alert {
padding: 15px;
margin: 10px 0;
border-radius: 5px;
color: white;
font-weight: bold;
transition: background-color 0.3s ease;
}
//* Blinking animation */
//@keyframes blink {
// 0% { background-color: #ffcccc; } /* Light red */
// 50% { background-color: #ff6666; } /* Darker red */
// 100% { background-color: #ffcccc; } /* Light red */
//}
//
//* School-specific colors for old alerts */
//.school-1-alert {
// background-color: #ff9999; /* Light Red */
// animation: blink 1s infinite; /* Blinking red effect */
//}
//
//.school-2-alert {
// background-color: #ffcc99; /* Light Orange */
// animation: blink 1s infinite; /* Blinking red effect */
//}
//
//.school-3-alert {
// background-color: #99cc99; /* Light Green */
// animation: blink 1s infinite; /* Blinking red effect */
//
//.school-4-alert {
// background-color: #ff9999; /* Light Red */
// animation: blink 1s infinite; /* Blinking red effect */
//}
//
//.school-5-alert {
// background-color: #ffcc99; /* Light Orange */
// animation: blink 1s infinite; /* Blinking red effect */
//}
//
//.school-6-alert {
// background-color: #99cc99; /* Light Green */
// animation: blink 1s infinite; /* Blinking red effect */
//
//.school-7-alert {
// background-color: #ff9999; /* Light Red */
// animation: blink 1s infinite; /* Blinking red effect */
//}
//
//.school-8-alert {
// background-color: #ffcc99; /* Light Orange */
// animation: blink 1s infinite; /* Blinking red effect */
//}
//
//.school-9-alert {
// background-color: #99cc99; /* Light Green */
// animation: blink 1s infinite; /* Blinking red effect */
//
//
//}
/* Optional styling for better visibility */
.old-alert h4 {
margin: 0;
font-size: 1.2rem;
}
.old-alert p {
margin: 0;
font-size: 1rem;
}