224 lines
4.0 KiB
CSS
224 lines
4.0 KiB
CSS
/* style.css */
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: 'Arial', sans-serif;
|
|
}
|
|
|
|
#navbar {
|
|
background-color: #333;
|
|
overflow: hidden;
|
|
text-align: center;
|
|
}
|
|
|
|
#navbar h1 {
|
|
color: white;
|
|
padding: 14px 16px;
|
|
margin: 0;
|
|
font-size: 24px;
|
|
}
|
|
|
|
#navbar a {
|
|
display: inline-block;
|
|
color: white;
|
|
text-align: center;
|
|
padding: 14px 16px;
|
|
text-decoration: none;
|
|
font-size: 18px;
|
|
}
|
|
|
|
#navbar a:hover {
|
|
background-color: #555;
|
|
}
|
|
|
|
#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;
|
|
}
|
|
|
|
/* 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 */
|
|
.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;
|
|
}
|
|
|