ldapmanager/test/css/adduser.css
2024-10-25 21:34:03 +05:30

233 lines
6.4 KiB
CSS

* {
all: unset;
margin: 0;
padding: 0;
box-sizing: border-box;
}
title {
display: none;
}
body {
font-family: "Arial", sans-serif;
background: linear-gradient(135deg, #283e4a, #1c2e38);
display: flex;
justify-content: center;
align-items: center;
height: 100%;
padding: 20px;
}
body .form-container {
background-color: rgba(255, 255, 255, 0.92);
padding: 40px;
border-radius: 12px;
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.25);
width: 100%;
max-width: 800px;
text-align: left;
margin: auto;
}
body .form-container h2 {
color: #4e4e4e;
font-size: 28px;
margin-bottom: 20px;
text-align: left;
display: block;
}
body .form-container form {
display: flex;
flex-wrap: wrap;
gap: 20px;
margin-bottom: 20px;
}
body .form-container form .form-group {
flex: 1 1 calc(50% - 20px);
min-width: 250px;
}
body .form-container form .form-group label {
display: block;
color: #4e4e4e;
font-size: 16px;
margin-bottom: 5px;
}
body .form-container form .form-group input[type=text],
body .form-container form .form-group input[type=password],
body .form-container form .form-group input[type=email],
body .form-container form .form-group input[type=date],
body .form-container form .form-group input[type=number],
body .form-container form .form-group input[type=datetime-local],
body .form-container form .form-group input[type=tel],
body .form-container form .form-group select {
width: 100%;
padding: 12px;
border: 1px solid rgba(220, 220, 220, 0.8);
border-radius: 6px;
background-color: rgba(245, 245, 245, 0.9);
font-size: 16px;
transition: border-color 0.3s, background-color 0.3s;
}
body .form-container form .form-group input[type=text]:focus,
body .form-container form .form-group input[type=password]:focus,
body .form-container form .form-group input[type=email]:focus,
body .form-container form .form-group input[type=date]:focus,
body .form-container form .form-group input[type=number]:focus,
body .form-container form .form-group input[type=datetime-local]:focus,
body .form-container form .form-group input[type=tel]:focus,
body .form-container form .form-group select:focus {
border-color: #007b8a;
outline: none;
}
body .form-container form .admin-access label {
display: block;
color: #4e4e4e;
font-size: 16px;
margin-bottom: 5px;
}
body .form-container form .admin-access .checkbox-group {
display: flex;
gap: 10px;
}
body .form-container form .admin-access .checkbox-group input[type=checkbox] {
display: none;
}
body .form-container form .admin-access .checkbox-group label.checkbox {
cursor: pointer;
padding: 12px;
border: 1px solid rgba(220, 220, 220, 0.8);
border-radius: 6px;
background-color: rgba(245, 245, 245, 0.9);
font-size: 16px;
text-align: center;
width: 100%;
transition: background-color 0.3s, color 0.3s, border-color 0.3s;
user-select: none;
}
body .form-container form .admin-access .checkbox-group label.checkbox:hover, body .form-container form .admin-access .checkbox-group label.checkbox:focus {
background-color: rgba(232, 232, 232, 0.9);
border-color: #007b8a;
}
body .form-container form .admin-access .checkbox-group input[type=checkbox]:checked + label.checkbox {
background-color: #009299;
color: #ffffff;
border-color: rgba(0, 170, 179, 0.8);
}
body .form-container form .role-dropdown {
flex: 1 1 calc(50% - 20px);
min-width: 250px;
padding: 0;
}
body .form-container form .radio-group {
display: flex;
gap: 10px;
}
body .form-container form .radio-group input[type=radio] {
display: none;
}
body .form-container form .radio-group label.radio {
cursor: pointer;
padding: 12px;
border: 1px solid rgba(220, 220, 220, 0.8);
border-radius: 6px;
background-color: rgba(245, 245, 245, 0.9);
font-size: 16px;
text-align: center;
width: 100%;
transition: background-color 0.3s, color 0.3s, border-color 0.3s;
user-select: none;
}
body .form-container form .radio-group label.radio:hover, body .form-container form .radio-group label.radio:focus {
background-color: rgba(232, 232, 232, 0.9);
border-color: #007b8a;
}
body .form-container form .radio-group input[type=radio]:checked + label.radio {
background-color: #009299;
color: #ffffff;
border-color: rgba(0, 170, 179, 0.8);
}
body .form-container form input[type=range] {
--value: 0;
width: 100%;
height: 45px;
-webkit-appearance: none;
appearance: none;
border-radius: 6px;
background-color: rgba(245, 245, 245, 0.9);
border: 1px solid rgba(220, 220, 220, 0.8);
cursor: pointer;
padding: 0;
box-sizing: border-box;
}
body .form-container form input[type=range]::-webkit-slider-runnable-track {
width: 100%;
height: 100%;
border-radius: 6px;
background: linear-gradient(to right, #007b8a 0%, #007b8a var(--value), rgba(245, 245, 245, 0.9) var(--value));
}
body .form-container form input[type=range]::-moz-range-track {
width: 100%;
height: 100%;
border-radius: 6px;
background: linear-gradient(to right, #007b8a 0%, #007b8a var(--value), rgba(245, 245, 245, 0.9) var(--value));
}
body .form-container form input[type=range]::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 0;
height: 45px;
border-radius: 6px;
background-color: #007b8a;
cursor: pointer;
margin: 0;
padding: 0;
}
body .form-container form input[type=range]::-moz-range-thumb {
width: 0;
height: 45px;
border: none;
border-radius: 6px;
background-color: #007b8a;
cursor: pointer;
margin: 0;
padding: 0;
}
body .form-container form input[type=range]:focus {
outline: none;
border-color: #007b8a;
}
body .form-container form .submit-button {
flex: 1 1 100%;
display: flex;
justify-content: space-between;
margin-top: 20px;
}
body .form-container form .submit-button button {
width: 48%;
text-align: center;
padding: 12px;
border-radius: 6px;
}
body .form-container form .submit-button button.clear-button {
background-color: #c4c4c4;
color: #ffffff;
}
body .form-container form .submit-button button.clear-button:hover {
background-color: #8f9091;
}
body .form-container form .submit-button button.clear-button:active {
transform: translateY(2px);
}
body .form-container form .submit-button button:not(.clear-button) {
background-color: #007b8a;
color: #ffffff;
border: none;
}
body .form-container form .submit-button button:not(.clear-button):hover {
background-color: #006b7a;
}
body .form-container form .submit-button button:not(.clear-button):active {
transform: translateY(2px);
}
/*# sourceMappingURL=adduser.css.map */