ldapmanager/test/css/adduser.css

232 lines
6.5 KiB
CSS
Raw Normal View History

2024-10-24 21:31:16 +00:00
* {
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;
2024-10-25 11:13:15 +00:00
text-align: left;
display: block;
2024-10-24 21:31:16 +00:00
}
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;
2024-10-28 11:08:40 +00:00
--value: 50;
2024-10-24 21:31:16 +00:00
}
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],
2024-10-25 11:13:15 +00:00
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],
2024-10-24 21:31:16 +00:00
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,
2024-10-25 11:13:15 +00:00
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,
2024-10-24 21:31:16 +00:00
body .form-container form .form-group select:focus {
border-color: #007b8a;
outline: none;
}
2024-10-28 11:08:40 +00:00
body .form-container form .form-group.checkbox-set label {
2024-10-24 21:31:16 +00:00
display: block;
color: #4e4e4e;
font-size: 16px;
2024-10-25 11:13:15 +00:00
margin-bottom: 5px;
2024-10-24 21:31:16 +00:00
}
2024-10-28 11:08:40 +00:00
body .form-container form .form-group.checkbox-set .checkboxes {
2024-10-24 21:31:16 +00:00
display: flex;
gap: 10px;
}
2024-10-28 11:08:40 +00:00
body .form-container form .form-group.checkbox-set .checkboxes input[type=checkbox] {
2024-10-25 11:13:15 +00:00
display: none;
}
2024-10-28 11:08:40 +00:00
body .form-container form .form-group.checkbox-set .checkboxes label.checkbox {
2024-10-25 11:13:15 +00:00
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;
}
2024-10-28 11:08:40 +00:00
body .form-container form .form-group.checkbox-set .checkboxes label.checkbox:hover, body .form-container form .form-group.checkbox-set .checkboxes label.checkbox:focus {
2024-10-25 11:13:15 +00:00
background-color: rgba(232, 232, 232, 0.9);
border-color: #007b8a;
}
2024-10-28 11:08:40 +00:00
body .form-container form .form-group.checkbox-set .checkboxes input[type=checkbox]:checked + label.checkbox {
2024-10-25 11:13:15 +00:00
background-color: #009299;
color: #ffffff;
border-color: rgba(0, 170, 179, 0.8);
}
2024-10-28 11:08:40 +00:00
body .form-container form .form-group.dropdown-menu {
2024-10-24 21:31:16 +00:00
flex: 1 1 calc(50% - 20px);
min-width: 250px;
}
2024-10-28 11:08:40 +00:00
body .form-container form .form-group.radio-input .radio-group {
2024-10-25 11:13:15 +00:00
display: flex;
gap: 10px;
}
2024-10-28 11:08:40 +00:00
body .form-container form .form-group.radio-input .radio-group input[type=radio] {
2024-10-25 11:13:15 +00:00
display: none;
}
2024-10-28 11:08:40 +00:00
body .form-container form .form-group.radio-input .radio-group label.radio {
width: 100%;
height: 100%;
border-radius: 6px;
2024-10-25 11:13:15 +00:00
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;
}
2024-10-28 11:08:40 +00:00
body .form-container form .form-group.radio-input .radio-group label.radio:hover, body .form-container form .form-group.radio-input .radio-group label.radio:focus {
2024-10-25 11:13:15 +00:00
background-color: rgba(232, 232, 232, 0.9);
border-color: #007b8a;
}
2024-10-28 11:08:40 +00:00
body .form-container form .form-group.radio-input .radio-group input[type=radio]:checked + label.radio {
2024-10-25 11:13:15 +00:00
background-color: #009299;
color: #ffffff;
border-color: rgba(0, 170, 179, 0.8);
}
2024-10-28 11:08:40 +00:00
body .form-container form .form-group input[type=range] {
2024-10-25 11:13:15 +00:00
-webkit-appearance: none;
appearance: none;
2024-10-28 11:08:40 +00:00
width: 100%;
height: 45px;
2024-10-25 11:13:15 +00:00
border-radius: 6px;
2024-10-28 15:10:15 +00:00
background: linear-gradient(to right, #009299 0%, #009299 var(--value), rgba(245, 245, 245, 0.9) 0%);
2024-10-25 11:13:15 +00:00
border: 1px solid rgba(220, 220, 220, 0.8);
cursor: pointer;
padding: 0;
box-sizing: border-box;
}
2024-10-28 11:08:40 +00:00
body .form-container form .form-group input[type=range]::-webkit-slider-runnable-track {
2024-10-25 11:13:15 +00:00
width: 100%;
height: 100%;
border-radius: 6px;
}
2024-10-28 11:08:40 +00:00
body .form-container form .form-group input[type=range]::-moz-range-track {
2024-10-25 11:13:15 +00:00
width: 100%;
height: 100%;
border-radius: 6px;
}
2024-10-28 11:08:40 +00:00
body .form-container form .form-group input[type=range]::-webkit-slider-thumb {
2024-10-25 11:13:15 +00:00
-webkit-appearance: none;
2024-10-28 15:10:15 +00:00
display: none;
2024-10-25 11:13:15 +00:00
appearance: none;
2024-10-28 15:10:15 +00:00
width: 0;
2024-10-25 11:13:15 +00:00
height: 45px;
2024-10-28 11:08:40 +00:00
border: none;
2024-10-25 16:04:03 +00:00
border-radius: 6px;
2024-10-28 15:10:15 +00:00
background-color: #009299;
2024-10-25 11:13:15 +00:00
cursor: pointer;
margin: 0;
padding: 0;
}
2024-10-28 11:08:40 +00:00
body .form-container form .form-group input[type=range]::-moz-range-thumb {
2024-10-28 15:10:15 +00:00
display: none;
appearance: none;
width: 0;
2024-10-25 16:04:03 +00:00
height: 45px;
border: none;
border-radius: 6px;
2024-10-28 15:10:15 +00:00
background-color: #009299;
2024-10-25 11:13:15 +00:00
cursor: pointer;
margin: 0;
padding: 0;
}
2024-10-28 11:08:40 +00:00
body .form-container form .form-group input[type=range]:focus {
2024-10-25 11:13:15 +00:00
outline: none;
border-color: #007b8a;
}
2024-10-28 11:08:40 +00:00
body .form-container form .form-group.submit-buttons {
2024-10-24 21:31:16 +00:00
flex: 1 1 100%;
display: flex;
2024-10-25 16:04:03 +00:00
justify-content: space-between;
2024-10-24 21:31:16 +00:00
margin-top: 20px;
}
2024-10-28 11:08:40 +00:00
body .form-container form .form-group.submit-buttons button {
2024-10-25 16:04:03 +00:00
width: 48%;
2024-10-24 21:31:16 +00:00
text-align: center;
padding: 12px;
2024-10-25 16:04:03 +00:00
border-radius: 6px;
}
2024-10-28 11:08:40 +00:00
body .form-container form .form-group.submit-buttons button.clear-button {
2024-10-25 16:04:03 +00:00
background-color: #c4c4c4;
color: #ffffff;
}
2024-10-28 11:08:40 +00:00
body .form-container form .form-group.submit-buttons button.clear-button:hover {
2024-10-25 16:04:03 +00:00
background-color: #8f9091;
}
2024-10-28 11:08:40 +00:00
body .form-container form .form-group.submit-buttons button.submit {
2024-10-24 21:31:16 +00:00
background-color: #007b8a;
color: #ffffff;
border: none;
}
2024-10-28 11:08:40 +00:00
body .form-container form .form-group.submit-buttons button.submit:hover {
2024-10-24 21:31:16 +00:00
background-color: #006b7a;
}
2024-10-28 11:08:40 +00:00
body .form-container form .form-group.submit-buttons button:active {
2024-10-24 21:31:16 +00:00
transform: translateY(2px);
}