559 lines
13 KiB
CSS
559 lines
13 KiB
CSS
/* style.css */
|
|
|
|
body {
|
|
font-family: 'Open Sans', sans-serif;
|
|
background-color: #f4f4f4;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh; /* Ensure the body takes at least the full height of the viewport */
|
|
}
|
|
|
|
header {
|
|
background-color: #333;
|
|
color: #fff;
|
|
text-align: center;
|
|
padding: 1em;
|
|
|
|
text-align: left; /* Adjust text alignment to the left */
|
|
}
|
|
|
|
nav {
|
|
background-color: #444;
|
|
padding: 0.5em;
|
|
}
|
|
|
|
nav a {
|
|
color: #fff;
|
|
text-decoration: none;
|
|
padding: 0.5em 1em;
|
|
margin: 0 0.5em;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
nav a:hover {
|
|
background-color: #555;
|
|
}
|
|
|
|
main {
|
|
max-width: 800px;
|
|
margin: 20px auto;
|
|
padding: 20px;
|
|
background-image: url('3.jpg');
|
|
background-size: cover;
|
|
background-repeat: no-repeat;
|
|
background-position: center ;
|
|
color: #000;
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
|
border-radius: 5px;
|
|
margin-left: 20px; /* Adjust the margin-left to shift the entire content to the left */
|
|
|
|
}
|
|
|
|
footer {
|
|
text-align: center;
|
|
padding: 1em;
|
|
background-color: #333;
|
|
color: #fff;
|
|
margin-top: auto; /* Push the footer to the bottom */
|
|
}
|
|
|
|
#content {
|
|
padding: 16px;
|
|
text-align: center;
|
|
}
|
|
|
|
table {
|
|
border-collapse: collapse;
|
|
width: 80%;
|
|
margin: 20px auto;
|
|
font-size: 16px;
|
|
}
|
|
|
|
th, td {
|
|
border: 1px solid #dddddd;
|
|
text-align: left;
|
|
padding: 12px;
|
|
}
|
|
|
|
th {
|
|
background-color: #f2f2f2;
|
|
}
|
|
|
|
tr:hover {
|
|
background-color: #f5f5f5;
|
|
}
|
|
|
|
td {
|
|
white-space: nowrap;
|
|
}
|
|
.nice-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.nice-table th, .nice-table td {
|
|
border: 1px solid #ddd;
|
|
padding: 12px;
|
|
text-align: left;
|
|
}
|
|
|
|
.nice-table th {
|
|
background-color: #333;
|
|
color: #fff;
|
|
}
|
|
|
|
.nice-table tbody tr:nth-child(even) {
|
|
background-color: #f9f9f9;
|
|
}
|
|
|
|
.nice-table tbody tr:hover {
|
|
background-color: #ddd;
|
|
}
|
|
|
|
.nice-table td:last-child {
|
|
text-align: left;
|
|
}
|
|
|
|
/* Style for the "No users available" message */
|
|
.nice-table td[colspan="4"] {
|
|
text-align: center;
|
|
font-style: italic;
|
|
color: #888;
|
|
}
|
|
/* Additional styles for Bootstrap form */
|
|
form {
|
|
max-width: 400px;
|
|
margin: auto;
|
|
}
|
|
|
|
.mb-3 {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: #007bff;
|
|
border-color: #007bff;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background-color: #0056b3;
|
|
border-color: #0056b3;
|
|
}
|
|
|
|
/* User Creation Form Styles */
|
|
form#createUserForm {
|
|
margin-left: 20px;
|
|
}
|
|
.user-creation-container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start; /* Add this line to align items at the start of the cross-axis */
|
|
}
|
|
|
|
.form-container {
|
|
width: 70%;
|
|
}
|
|
|
|
.user-creation-container .user-details {
|
|
display: flex;
|
|
flex-wrap: wrap; /* Allow items to wrap to the next line if needed */
|
|
}
|
|
|
|
.user-creation-container .user-details .input-box {
|
|
width: 48%; /* Adjust as needed, leave some space for margins */
|
|
margin-bottom: 10px; /* Add margin between input boxes */
|
|
}
|
|
|
|
.user-creation-container .user-details .input-box select {
|
|
width: calc(100% - 6px); /* Adjust as needed, considering the select border */
|
|
}
|
|
|
|
/* Add this to your existing styles */
|
|
|
|
.user-creation-container {
|
|
display: flex;
|
|
}
|
|
|
|
#additional-text {
|
|
width: 30%; /* Adjust the width as needed */
|
|
margin-left: 800px; /* Push it to the right */
|
|
margin-top: -750px; /* Adjust the negative margin to move it up */
|
|
padding: 10px; /* Add padding for spacing */
|
|
background-color: #f4f4f4; /* Add background color if desired */
|
|
border-radius: 5px; /* Add border-radius for rounded corners */
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Add box shadow for a subtle effect */
|
|
border: 1px solid #ddd; /* Add a 1px solid border with light gray color */
|
|
font-family: 'Open Sans', sans-serif;
|
|
}
|
|
|
|
#additional-text p {
|
|
font-size: 16px; /* Adjust font size as needed */
|
|
line-height: 1.6; /* Adjust line height for better readability */
|
|
}
|
|
|
|
#additional-text .condition {
|
|
margin-bottom: 10px; /* Add space between conditions */
|
|
}
|
|
|
|
#additional-text .condition span {
|
|
font-weight: bold; /* Make condition labels bold */
|
|
}
|
|
|
|
#additional-text .condition.error {
|
|
color: red; /* Change text color for error conditions */
|
|
}
|
|
|
|
#additional-text .condition.success {
|
|
color: green; /* Change text color for success conditions */
|
|
}
|
|
|
|
.user-creation-container .input-box {
|
|
margin-bottom: 20px;
|
|
width: 100%;
|
|
}
|
|
|
|
.user-creation-container .input-box span.details {
|
|
display: block;
|
|
font-weight: 500;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.user-creation-container .user-details .input-box input {
|
|
height: 45px;
|
|
width: 100%;
|
|
outline: none;
|
|
font-size: 16px;
|
|
border-radius: 5px;
|
|
padding-left: 15px;
|
|
border: 1px solid #ccc;
|
|
border-bottom-width: 2px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.user-creation-container .user-details .input-box input:focus,
|
|
.user-creation-container .user-details .input-box input:valid {
|
|
border-color: #9b59b6;
|
|
}
|
|
|
|
.user-creation-container form .gender-details .gender-title {
|
|
font-size: 20px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.user-creation-container form .category {
|
|
display: flex;
|
|
width: 100%;
|
|
margin: 14px 0;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.user-creation-container form .category label {
|
|
display: flex;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.user-creation-container form .category label .dot {
|
|
height: 18px;
|
|
width: 18px;
|
|
border-radius: 50%;
|
|
margin-right: 10px;
|
|
background: #d9d9d9;
|
|
border: 5px solid transparent;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
#dot-1:checked ~ .user-creation-container form .category label .one,
|
|
#dot-2:checked ~ .user-creation-container form .category label .two,
|
|
#dot-3:checked ~ .user-creation-container form .category label .three {
|
|
background: #9b59b6;
|
|
border-color: #d9d9d9;
|
|
}
|
|
|
|
.user-creation-container form input[type="radio"] {
|
|
display: none;
|
|
}
|
|
|
|
.user-creation-container form .button {
|
|
height: 45px;
|
|
margin: 35px 0;
|
|
}
|
|
|
|
.user-creation-container form .button input {
|
|
height: 100%;
|
|
width: 100%;
|
|
border-radius: 5px;
|
|
border: none;
|
|
color: #fff;
|
|
font-size: 18px;
|
|
font-weight: 500;
|
|
letter-spacing: 1px;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
background: linear-gradient(135deg, #71b7e6, #9b59b6);
|
|
}
|
|
|
|
.user-creation-container form .button input:hover {
|
|
background: linear-gradient(-135deg, #71b7e6, #9b59b6);
|
|
}
|
|
|
|
@media (max-width: 584px) {
|
|
.user-creation-container .user-details .input-box {
|
|
margin-bottom: 20px;
|
|
width: 100%;
|
|
}
|
|
.user-creation-container form .category {
|
|
width: 100%;
|
|
}
|
|
.user-creation-container .content form .user-details {
|
|
max-height: 300px;
|
|
overflow-y: scroll;
|
|
}
|
|
.user-creation-container .user-details::-webkit-scrollbar {
|
|
width: 5px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 459px) {
|
|
.user-creation-container .container .content .category {
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
|
|
#createUserForm {
|
|
display: none;
|
|
}
|
|
|
|
#createUserForm .container {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
#createUserForm form {
|
|
max-width: 400px;
|
|
margin: auto;
|
|
}
|
|
|
|
#createUserForm .mb-3 {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
#createUserForm .btn-primary {
|
|
background-color: #007bff;
|
|
border-color: #007bff;
|
|
}
|
|
|
|
#createUserForm .btn-primary:hover {
|
|
background-color: #0056b3;
|
|
border-color: #0056b3;
|
|
}
|
|
|
|
/* Shift the form to the left */
|
|
#createUserForm {
|
|
margin-left: 20px;
|
|
}
|
|
#createUserForm.user-creation-container {
|
|
margin-left: 0; /* Reset the margin-left */
|
|
max-width: 400px; /* Set a maximum width to the form container */
|
|
margin: 20px; /* Add margin for spacing */
|
|
}
|
|
|
|
#createUserForm h3 {
|
|
text-align: left; /* Align the heading to the left */
|
|
margin-bottom: 20px; /* Add spacing below the heading */
|
|
}
|
|
|
|
#createUserForm .content {
|
|
padding: 16px; /* Add padding to the form content */
|
|
text-align: left; /* Align the form content to the left */
|
|
}
|
|
|
|
#createUserForm .user-details {
|
|
width: 100%; /* Make the user-details section full-width */
|
|
}
|
|
|
|
#createUserForm .input-box {
|
|
margin-bottom: 20px;
|
|
width: 100%;
|
|
}
|
|
|
|
#createUserForm .input-box span.details {
|
|
display: block;
|
|
font-weight: 500;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
#createUserForm .user-details .input-box input {
|
|
height: 45px;
|
|
width: 100%;
|
|
outline: none;
|
|
font-size: 16px;
|
|
border-radius: 5px;
|
|
padding-left: 15px;
|
|
border: 1px solid #ccc;
|
|
border-bottom-width: 2px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
#resetPasswordFormContainer {
|
|
margin-left: 20px; /* Adjust the margin-left to shift the form container to the left */
|
|
max-width: 400px; /* Set a maximum width to the form container */
|
|
margin: 20px; /* Add margin for spacing */
|
|
}
|
|
|
|
#resetPasswordFormContainer h3 {
|
|
text-align: left; /* Align the heading to the left */
|
|
margin-bottom: 20px; /* Add spacing below the heading */
|
|
}
|
|
|
|
#resetPasswordFormContainer .content {
|
|
padding: 16px; /* Add padding to the form content */
|
|
text-align: left; /* Align the form content to the left */
|
|
}
|
|
|
|
#resetPasswordFormContainer .user-details {
|
|
width: 100%; /* Make the user-details section full-width */
|
|
}
|
|
|
|
#resetPasswordFormContainer .input-box {
|
|
margin-bottom: 20px;
|
|
width: 100%;
|
|
}
|
|
|
|
#resetPasswordFormContainer .input-box span.details {
|
|
display: block;
|
|
font-weight: 500;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
#resetPasswordFormContainer .user-details .input-box input {
|
|
height: 45px;
|
|
width: 100%;
|
|
outline: none;
|
|
font-size: 16px;
|
|
border-radius: 5px;
|
|
padding-left: 15px;
|
|
border: 1px solid #ccc;
|
|
border-bottom-width: 2px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
#deleteUserContainer {
|
|
margin-left: 20px; /* Adjust the margin-left to shift the container to the left */
|
|
max-width: 400px; /* Set a maximum width to the container */
|
|
margin: 20px; /* Add margin for spacing */
|
|
}
|
|
|
|
#deleteUserContainer h3 {
|
|
text-align: left; /* Align the heading to the left */
|
|
margin-bottom: 20px; /* Add spacing below the heading */
|
|
}
|
|
|
|
#deleteUserContainer .search-container {
|
|
text-align: left; /* Align the search container to the left */
|
|
margin-bottom: 20px; /* Add spacing below the search container */
|
|
}
|
|
|
|
#deleteUserContainer .search-container input {
|
|
width: 80%; /* Adjust the width of the search input */
|
|
padding: 10px; /* Add padding to the search input */
|
|
margin-right: 10px; /* Add spacing to the right of the search input */
|
|
}
|
|
|
|
#deleteUserContainer .search-container button {
|
|
padding: 10px;
|
|
background-color: #007bff; /* Set background color to match other buttons */
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
|
|
/* Hover styles */
|
|
&:hover {
|
|
background-color: #0056b3; /* Change background color on hover */
|
|
}
|
|
}
|
|
#searchResultsContainer {
|
|
display: none;
|
|
text-align: left; /* Align the search results container to the left */
|
|
}
|
|
|
|
#searchResultsContainer h4 {
|
|
margin-bottom: 10px; /* Add spacing below the search results heading */
|
|
}
|
|
|
|
.logs-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.logs-table th, .logs-table td {
|
|
border: 1px solid #ddd;
|
|
padding: 8px;
|
|
text-align: left;
|
|
}
|
|
|
|
.logs-table th {
|
|
background-color: #f2f2f2;
|
|
}
|
|
#additional-text2 {
|
|
width: 30%; /* Adjust the width as needed */
|
|
margin-left: 800px; /* Push it to the right */
|
|
margin-top: -500px; /* Adjust the negative margin to move it up */
|
|
padding: 10px; /* Add padding for spacing */
|
|
background-color: #f4f4f4; /* Add background color if desired */
|
|
border-radius: 5px; /* Add border-radius for rounded corners */
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Add box shadow for a subtle effect */
|
|
border: 1px solid #ddd; /* Add a 1px solid border with light gray color */
|
|
font-family: 'Open Sans', sans-serif;
|
|
}
|
|
|
|
#additional-text2 p {
|
|
font-size: 16px; /* Adjust font size as needed */
|
|
line-height: 1.6; /* Adjust line height for better readability */
|
|
}
|
|
|
|
#additional-text2 .condition {
|
|
margin-bottom: 10px; /* Add space between conditions */
|
|
}
|
|
|
|
#additional-text2 .condition span {
|
|
font-weight: bold; /* Make condition labels bold */
|
|
}
|
|
|
|
#additional-text2 .condition.error {
|
|
color: red; /* Change text color for error conditions */
|
|
}
|
|
|
|
#additional-text2 .condition.success {
|
|
color: green; /* Change text color for success conditions */
|
|
}
|
|
|
|
#additional-text3 {
|
|
width: 30%; /* Adjust the width as needed */
|
|
margin-left: 800px; /* Push it to the right */
|
|
margin-top: -150px; /* Adjust the negative margin to move it up */
|
|
padding: 10px; /* Add padding for spacing */
|
|
background-color: #f4f4f4; /* Add background color if desired */
|
|
border-radius: 5px; /* Add border-radius for rounded corners */
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Add box shadow for a subtle effect */
|
|
border: 1px solid #ddd; /* Add a 1px solid border with light gray color */
|
|
font-family: 'Open Sans', sans-serif;
|
|
}
|
|
|
|
#additional-text3 p {
|
|
font-size: 16px; /* Adjust font size as needed */
|
|
line-height: 1.6; /* Adjust line height for better readability */
|
|
}
|
|
|
|
#additional-text3 .condition {
|
|
margin-bottom: 10px; /* Add space between conditions */
|
|
}
|
|
|
|
#additional-text3 .condition span {
|
|
font-weight: bold; /* Make condition labels bold */
|
|
}
|
|
|
|
|