Packet-Fence/admin/css/create_password.css
2025-06-28 06:23:17 +05:30

119 lines
2.5 KiB
CSS

/* Container for user creation form */
.user_container {
display: flex;
justify-content: center;
align-items: center; /* Center vertically */
padding: 80px;
margin-top: 100px; /* Adjust if necessary to account for fixed navbar */
margin-left: 80px;
}
/* Additional styling to ensure it stays centered if the container grows */
.user_container > maincontent {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
}
.usertable {
background-color:#ffffffda;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
width: 80%;
max-width: 1000px; /* Increase maximum width for larger container */
display: flex;
flex-direction: column;
align-items: center; /* Center content horizontally */
}
/* Main content styling */
maincontent {
flex: 1;
width: 100%;
}
/* Heading style */
.usertable h3 {
margin-bottom: 20px;
font-size: 24px;
color: #173f89;
text-align: center; /* Center heading text */
}
/* Form styling */
.form {
display: flex;
flex-wrap: wrap;
gap: 20px; /* Space between form items */
justify-content: center; /* Center form items horizontally */
width: 100%;
}
/* Column styling for inputs */
.col-10,
.col-40 {
flex: 0 0 30%; /* Adjust width for 3 items per row */
margin-bottom: 20px;
width: 400px;
}
.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: #1c499c;
color: #fff;
cursor: pointer;
transition: background-color 0.3s;
}
input[type="submit"]:hover {
background-color: #3d62a7;
}
/* 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%;
}
}