diff --git a/test/css/adduser.css b/test/css/adduser.css index 7dd9291..1450b8d 100644 --- a/test/css/adduser.css +++ b/test/css/adduser.css @@ -44,6 +44,7 @@ body .form-container form { body .form-container form .form-group { flex: 1 1 calc(50% - 20px); min-width: 250px; + --value: 50; } body .form-container form .form-group label { display: block; @@ -78,20 +79,20 @@ body .form-container form .form-group select:focus { border-color: #007b8a; outline: none; } -body .form-container form .admin-access label { +body .form-container form .form-group.checkbox-set label { display: block; color: #4e4e4e; font-size: 16px; margin-bottom: 5px; } -body .form-container form .admin-access .checkbox-group { +body .form-container form .form-group.checkbox-set .checkboxes { display: flex; gap: 10px; } -body .form-container form .admin-access .checkbox-group input[type=checkbox] { +body .form-container form .form-group.checkbox-set .checkboxes input[type=checkbox] { display: none; } -body .form-container form .admin-access .checkbox-group label.checkbox { +body .form-container form .form-group.checkbox-set .checkboxes label.checkbox { cursor: pointer; padding: 12px; border: 1px solid rgba(220, 220, 220, 0.8); @@ -103,28 +104,32 @@ body .form-container form .admin-access .checkbox-group label.checkbox { 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 { +body .form-container form .form-group.checkbox-set .checkboxes label.checkbox:hover, body .form-container form .form-group.checkbox-set .checkboxes 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 { +body .form-container form .form-group.checkbox-set .checkboxes 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 { +body .form-container form .form-group.dropdown-menu { flex: 1 1 calc(50% - 20px); min-width: 250px; padding: 0; } -body .form-container form .radio-group { +body .form-container form .form-group.radio-input .radio-group { display: flex; gap: 10px; } -body .form-container form .radio-group input[type=radio] { +body .form-container form .form-group.radio-input .radio-group input[type=radio] { display: none; } -body .form-container form .radio-group label.radio { +body .form-container form .form-group.radio-input .radio-group label.radio { + width: 100%; + height: 100%; + border-radius: 6px; + background: linear-gradient(to right, rgba(245, 245, 245, 0.9) 0%, rgba(245, 245, 245, 0.9) var(--value), rgba(245, 245, 245, 0.9) var(--value)); cursor: pointer; padding: 12px; border: 1px solid rgba(220, 220, 220, 0.8); @@ -136,21 +141,20 @@ body .form-container form .radio-group label.radio { 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 { +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 { background-color: rgba(232, 232, 232, 0.9); border-color: #007b8a; } -body .form-container form .radio-group input[type=radio]:checked + label.radio { +body .form-container form .form-group.radio-input .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; +body .form-container form .form-group input[type=range] { -webkit-appearance: none; appearance: none; + width: 100%; + height: 45px; border-radius: 6px; background-color: rgba(245, 245, 245, 0.9); border: 1px solid rgba(220, 220, 220, 0.8); @@ -158,75 +162,73 @@ body .form-container form input[type=range] { padding: 0; box-sizing: border-box; } -body .form-container form input[type=range]::-webkit-slider-runnable-track { +body .form-container form .form-group 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)); + background-color: linear-gradient(to right, rgba(245, 245, 245, 0.9) 0%, rgba(245, 245, 245, 0.9) var(--value), rgba(245, 245, 245, 0.9) 100%); } -body .form-container form input[type=range]::-moz-range-track { +body .form-container form .form-group 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)); + background-color: linear-gradient(to right, rgba(245, 245, 245, 0.9) 0%, rgba(245, 245, 245, 0.9) var(--value), rgba(245, 245, 245, 0.9) 100%); } -body .form-container form input[type=range]::-webkit-slider-thumb { +body .form-container form .form-group 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; + width: 10px; height: 45px; border: none; border-radius: 6px; - background-color: #007b8a; + background-color: rgba(245, 245, 245, 0.9); cursor: pointer; margin: 0; padding: 0; + background-color: green; } -body .form-container form input[type=range]:focus { +body .form-container form .form-group input[type=range]::-moz-range-thumb { + width: 10px; + height: 45px; + border: none; + border-radius: 6px; + background-color: rgba(245, 245, 245, 0.9); + cursor: pointer; + margin: 0; + padding: 0; + background-color: green; +} +body .form-container form .form-group input[type=range]:focus { outline: none; border-color: #007b8a; } -body .form-container form .submit-button { +body .form-container form .form-group.submit-buttons { flex: 1 1 100%; display: flex; justify-content: space-between; margin-top: 20px; } -body .form-container form .submit-button button { +body .form-container form .form-group.submit-buttons button { width: 48%; text-align: center; padding: 12px; border-radius: 6px; } -body .form-container form .submit-button button.clear-button { +body .form-container form .form-group.submit-buttons button.clear-button { background-color: #c4c4c4; color: #ffffff; } -body .form-container form .submit-button button.clear-button:hover { +body .form-container form .form-group.submit-buttons 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) { +body .form-container form .form-group.submit-buttons button.submit { background-color: #007b8a; color: #ffffff; border: none; } -body .form-container form .submit-button button:not(.clear-button):hover { +body .form-container form .form-group.submit-buttons button.submit:hover { background-color: #006b7a; } -body .form-container form .submit-button button:not(.clear-button):active { +body .form-container form .form-group.submit-buttons button:active { transform: translateY(2px); } - -/*# sourceMappingURL=adduser.css.map */ diff --git a/test/css/adduser.css.map b/test/css/adduser.css.map deleted file mode 100644 index 8b16e68..0000000 --- a/test/css/adduser.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sourceRoot":"","sources":["../scss/_common.scss","../scss/adduser.scss","../scss/_colors.scss"],"names":[],"mappings":"AAAA;EACI;EACA;EACA;EACA;;;AAIJ;EACI;;;ACLJ;EACC;EACA,YCc2B;EDb3B;EACA;EACA;EACA;EACA;;AAGA;EACC,kBCOyB;EDNzB;EACA;EACA;EACA;EACA;EACA;EACA;;AAGA;EACC,OCFyB;EDGzB;EACA;EACA;EACA;;AAID;EACC;EACA;EACA;EACA;;AAGA;EACC;EACA;;AAGA;EACC;EACA,OCxBuB;EDyBvB;EACA;;AAID;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAQC;EACA;EACA;EACA;EACA,kBCxCuB;EDyCvB;EACA;;AAEA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EACC,cC3C8B;ED4C9B;;AAMF;EACC;EACA,OCxDuB;EDyDvB;EACA;;AAGD;EACC;EACA;;AAGA;EACC;;AAID;EACC;EACA;EACA;EACA;EACA,kBC1EsB;ED2EtB;EACA;EACA;EACA;EACA;;AAGA;EAEC,kBCtEiC;EDuEjC,cCjEwC;;ADsE1C;EACC,kBC5EmC;ED6EnC,OC1EwC;ED2ExC,cCxE0C;;AD8E7C;EACC;EACA;EACA;;AAGD;EACC;EACA;;AAGA;EACC;;AAID;EACC;EACA;EACA;EACA;EACA,kBCxHuB;EDyHvB;EACA;EACA;EACA;EACA;;AAGA;EAEC,kBC1G+B;ED2G/B,cCrGsC;;AD0GxC;EACC,kBChHiC;EDiHjC,OC9GsC;ED+GtC,cC5GwC;;ADiH1C;EACC;EACA;EACA;EACA;EACA;EACA;EACA,kBCvJwB;EDwJxB;EACA;EACA;EACA;;AAGA;EACC;EACA;EACA;EACA;;AAGD;EACC;EACA;EACA;EACA;;AAID;EACC;EACA;EACA;EACA;EACA;EACA,kBC/KmB;EDiLnB;EACA;EACA;;AAGD;EACC;EACA;EACA;EACA;EACA,kBC3LmB;ED4LnB;EACA;EACA;;AAGD;EACC;EACA,cCrM+B;;AD0MjC;EACC;EACA;EACA;EACA;;AAEA;EACC;EACA;EACA;EACA;;AAGA;EACC,kBCjNwB;EDkNxB,OChN6B;;ADkN7B;EACC,kBCpN6B;;ADuN9B;EACC;;AAKF;EACC,kBCpOkB;EDqOlB,OCnOuB;EDoOvB;;AAEA;EACC,kBCxOuB;;AD2OxB;EACC","file":"adduser.css"} \ No newline at end of file diff --git a/test/css/login.css b/test/css/login.css index 3c02703..63d1400 100644 --- a/test/css/login.css +++ b/test/css/login.css @@ -101,5 +101,3 @@ body .login-container form button:active { transform: translateY(0); box-shadow: 0 2px 6px rgba(70, 70, 70, 0.2); } - -/*# sourceMappingURL=login.css.map */ diff --git a/test/css/login.css.map b/test/css/login.css.map deleted file mode 100644 index 2ab50db..0000000 --- a/test/css/login.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sourceRoot":"","sources":["../scss/_common.scss","../scss/login.scss","../scss/_colors.scss"],"names":[],"mappings":"AAAA;EACI;EACA;EACA;EACA;;;AAIJ;EACI;;;ACNJ;EAEI;EACA,YCL0B;EDM1B;EACA;EACA;EACA;;AAGA;EACI;EACA;EACA;EACA;EACA;EACA;;AAGA;EACI;EACA;EACA;EACA;EACA;;AAKJ;EACI;EACA,OChCe;EDiCf;;AAIJ;EACI;EACA,OCtCmB;;AD2C3B;EACI,kBC1CgB;ED2ChB;EACA;EACA;EACA;EACA;;AAGA;EACI;EACA;EACA,OCnDa;EDoDb;;AAGJ;EACI;EACA;EACA;;AAGA;AAAA;EAEI;EACA;EACA;EACA;EACA;EACA;EACA,kBCpEc;EDqEd;;AAEA;AAAA;EACI,cCrEkB;;ADuEtB;AAAA;EACI,cCvEkB;EDwElB,kBC3EkB;ED4ElB;;AAIR;EACI;EACA;EACA,kBC/EK;EDgFL,OC5EU;ED6EV;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI,kBCzFO;;AD4FX;EACI;EACA","file":"login.css"} \ No newline at end of file diff --git a/test/html/adduser.html b/test/html/adduser.html index c9d7f18..0324a05 100644 --- a/test/html/adduser.html +++ b/test/html/adduser.html @@ -3,7 +3,7 @@
- +