diff --git a/.gitignore b/.gitignore index 49b5f2d..542c145 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .venv/ test/scripts/csswatch.sh +test/css/adduser.css.map diff --git a/test/css/adduser.css b/test/css/adduser.css index 14cecf0..7dd9291 100644 --- a/test/css/adduser.css +++ b/test/css/adduser.css @@ -146,6 +146,7 @@ body .form-container form .radio-group input[type=radio]:checked + label.radio { border-color: rgba(0, 170, 179, 0.8); } body .form-container form input[type=range] { + --value: 0; width: 100%; height: 45px; -webkit-appearance: none; @@ -172,21 +173,20 @@ body .form-container form input[type=range]::-moz-range-track { body .form-container form input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; - width: 45px; + width: 0; height: 45px; - border-radius: 50%; + border-radius: 6px; background-color: #007b8a; - border: 2px solid rgba(220, 220, 220, 0.8); cursor: pointer; margin: 0; padding: 0; } body .form-container form input[type=range]::-moz-range-thumb { - width: 24px; - height: 24px; - border-radius: 50%; + width: 0; + height: 45px; + border: none; + border-radius: 6px; background-color: #007b8a; - border: 2px solid rgba(220, 220, 220, 0.8); cursor: pointer; margin: 0; padding: 0; @@ -198,27 +198,34 @@ body .form-container form input[type=range]:focus { body .form-container form .submit-button { flex: 1 1 100%; display: flex; - justify-content: center; + justify-content: space-between; margin-top: 20px; } body .form-container form .submit-button button { - width: 40%; + 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; - border-radius: 6px; - font-size: 18px; - font-weight: bold; - cursor: pointer; - transition: background-color 0.3s, transform 0.3s; - box-shadow: 0 4px 10px rgba(0, 123, 138, 0.3); } -body .form-container form .submit-button button:hover { +body .form-container form .submit-button button:not(.clear-button):hover { background-color: #006b7a; } -body .form-container form .submit-button button:active { +body .form-container form .submit-button button:not(.clear-button):active { transform: translateY(2px); } diff --git a/test/css/adduser.css.map b/test/css/adduser.css.map index 023662e..8b16e68 100644 --- a/test/css/adduser.css.map +++ b/test/css/adduser.css.map @@ -1 +1 @@ -{"version":3,"sourceRoot":"","sources":["../scss/_common.scss","../scss/adduser.scss","../scss/_colors.scss"],"names":[],"mappings":"AAAA;EACI;EACA;EACA;EACA;;;AAIJ;EACI;;;ACLJ;EACI;EACA,YCcwB;EDbxB;EACA;EACA;EACA;EACA;;AAGA;EACI,kBCOmB;EDNnB;EACA;EACA;EACA;EACA;EACA;EACA;;AAGA;EACI,OCFgB;EDGhB;EACA;EACA;EACA;;AAIJ;EACI;EACA;EACA;EACA;;AAGA;EACI;EACA;;AAGA;EACI;EACA,OCxBQ;EDyBR;EACA;;AAIJ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EAQI;EACA;EACA;EACA;EACA,kBCzCQ;ED0CR;EACA;;AAEA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EACI,cC5CY;ED6CZ;;AAMR;EACI;EACA,OCxDQ;EDyDR;EACA;;AAGJ;EACI;EACA;;AAGA;EACI;;AAIJ;EACI;EACA;EACA;EACA;EACA,kBC3EI;ED4EJ;EACA;EACA;EACA;EACA;;AAGA;EAEI,kBC7EY;ED8EZ,cCxEmB;;AD6E3B;EACI,kBCnFiB;EDoFjB,OCjFsB;EDkFtB,cC/EwB;;ADqFpC;EACI;EACA;EACA;;AAGJ;EACI;EACA;;AAGA;EACI;;AAIJ;EACI;EACA;EACA;EACA;EACA,kBCzHQ;ED0HR;EACA;EACA;EACA;EACA;;AAGA;EAEI,kBClHa;EDmHb,cC7GoB;;ADkH5B;EACI,kBCxHkB;EDyHlB,OCtHuB;EDuHvB,cCpHyB;;ADyHjC;EACI;EACA;EACA;EACA;EACA;EACA,kBCvJY;EDwJZ;EACA;EACA;EACA;;AAGA;EACI;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;EACA;;AAIJ;EACI;EACA;EACA;EACA;EACA;EACA,kBChLI;EDiLJ;EACA;EAEA;EACA;;AAGJ;EACI;EACA;EACA;EACA,kBC5LI;ED6LJ;EACA;EACA;EACA;;AAGJ;EACI;EACA,cCtMgB;;AD2MxB;EACI;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA,kBCpNI;EDqNJ,OCnNS;EDoNT;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI,kBC9NM;;ADiOV;EACI","file":"adduser.css"} \ No newline at end of file +{"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/html/adduser.html b/test/html/adduser.html index 87f6374..c9d7f18 100644 --- a/test/html/adduser.html +++ b/test/html/adduser.html @@ -3,7 +3,7 @@
- +