162 lines
3.4 KiB
CSS
162 lines
3.4 KiB
CSS
/* Container for user creation form */
|
|
.user_container {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center; /* Center vertically */
|
|
padding: 80px;
|
|
margin-top: 10rem; /* Adjust if necessary to account for fixed navbar */
|
|
margin-left: 90px;
|
|
|
|
}
|
|
|
|
/* Additional styling to ensure it stays centered if the container grows */
|
|
.user_container > maincontent {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 80%;
|
|
}
|
|
|
|
.usertable {
|
|
background-color: #ffffffda;
|
|
padding: 20px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
|
|
width: 80%;
|
|
max-width: 1000px; /* Increase maximum width for larger container */
|
|
}
|
|
|
|
/* Main content styling */
|
|
maincontent {
|
|
flex: 1;
|
|
width: 100%;
|
|
}
|
|
|
|
/* Heading style */
|
|
.usertable h3 {
|
|
margin-bottom: 20px;
|
|
font-size: 24px;
|
|
color: #173f89;
|
|
}
|
|
|
|
/* Form styling */
|
|
.form {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 20px; /* Space between form items */
|
|
color: #173f89;
|
|
}
|
|
|
|
/* Column styling for inputs */
|
|
.col-10,
|
|
.col-40 {
|
|
width: 28rem;
|
|
margin-bottom: 20px;
|
|
margin-left: 1rem;
|
|
}
|
|
|
|
.col-10-submit {
|
|
flex: 0 0 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Input and select styling */
|
|
input[type="text"],
|
|
input[type="datetime-local"],
|
|
select {
|
|
width: 100%;
|
|
padding: 10px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
box-sizing: border-box; /* Ensure padding is included in width */
|
|
}
|
|
|
|
input[type="submit"] {
|
|
padding: 10px 20px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
background-color: #25476a;
|
|
color: #fff;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s;
|
|
}
|
|
|
|
input[type="submit"]:hover {
|
|
background-color: #2980b9;
|
|
}
|
|
|
|
/* Label styling */
|
|
label {
|
|
display: block;
|
|
font-weight: bold;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
/* Hidden fields styling */
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
/* Calendar input styling */
|
|
input[type="datetime-local"] {
|
|
width: 100%;
|
|
padding: 10px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Responsive design */
|
|
@media (max-width: 768px) {
|
|
.col-10, .col-40, .col-10-submit {
|
|
flex: 0 0 100%;
|
|
}
|
|
}
|
|
|
|
|
|
/*------------------POP UP STYLING--------------------*/
|
|
|
|
/* Popup styling */
|
|
.popup {
|
|
display: none; /* Hide by default */
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
width: 25rem;
|
|
max-width: 50rem; /* Optional: Limit the maximum width */
|
|
padding: 20px;
|
|
background-color: rgba(10, 85, 125, 0.7); /* Semi-transparent black background */
|
|
color: #ffffff; /* White text */
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
|
|
text-align: center; /* Center text */
|
|
z-index: 1000; /* Ensure the popup is above other elements */
|
|
}
|
|
|
|
/* Popup message styling */
|
|
.popup-user-create-meg {
|
|
margin: 0;
|
|
padding: 10px 0;
|
|
}
|
|
|
|
#popup-message {
|
|
font-size: 18px; /* Adjust font size as needed */
|
|
}
|
|
|
|
/* Additional styling to improve the appearance of the popup */
|
|
.popup-user-create-meg {
|
|
border-radius: 4px;
|
|
padding: 20px;
|
|
}
|
|
|
|
.hidden{
|
|
display: none;
|
|
}
|
|
/* Responsive design for the popup */
|
|
@media (max-width: 768px) {
|
|
.popup {
|
|
width: 90%; /* Adjust width for smaller screens */
|
|
}
|
|
}
|
|
|