diff --git a/css/login.css b/css/login.css index bdcc2db..1ed82c7 100644 --- a/css/login.css +++ b/css/login.css @@ -86,7 +86,7 @@ body { } .create-shop-card { - min-width: 20rem; + min-width: 25rem; max-width: 60rem; height: auto; width: 100%; @@ -252,4 +252,77 @@ input[type="file"] { opacity: 1; translate: 0 0; } +} + +.form-group { + position: relative; + margin-bottom: 30px; +} +.form-control-custom:focus + .form-label, +.form-control-custom:not(:placeholder-shown) + .form-label { +top: -26px; +left: 5px; +font-size: 16px; +color: var(--primary-color); +background-color: rgba(255, 255, 255, 0); +padding: 0 5px; +} +.form-label { +position: absolute; +top: 8px; +left: 10px; +transition: 0.2s ease all; +pointer-events: none; +color: #999; +} + + +form label { + font-weight: bold; +} + +.input-group { + display: flex; + align-items: stretch; +} + +.btn-check-account { + height: 100%; + width: 50px; + display: flex; + align-items: center; + padding: 0.375rem 0.75rem; + margin-left: 10px; + white-space: nowrap; +} + +#imagePreview { + max-width: 100%; + max-height: 200px; + margin-top: 10px; + display: none; +} + +.input-group .form-control { + border-right: none; +} + +.btn-toggle-password { + background-color: #f0f0f0; + border: 1px solid #ced4da; + border-left: none; + color: #495057; + padding: 0.375rem 0.75rem; +} + +.btn-toggle-password:hover, +.btn-toggle-password:focus { + background-color: #e9ecef; + color: #495057; +} + +.input-group:focus-within .form-control, +.input-group:focus-within .btn-toggle-password { + border-color: #80bdff; + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25); } \ No newline at end of file diff --git a/css/style_Joe.css b/css/style_Joe.css index ec09a32..0c3ad57 100644 --- a/css/style_Joe.css +++ b/css/style_Joe.css @@ -352,29 +352,6 @@ h6 { border-color: #007bff; */ } -.form-group { - position: relative; - margin-bottom: 20px; -} -.form-control-custom:focus + .form-label, -.form-control-custom:not(:placeholder-shown) + .form-label { - top: -26px; - left: 5px; - font-size: 16px; - color: var(--primary-color); - background-color: rgba(255, 255, 255, 0); - padding: 0 5px; -} -.form-label { - position: absolute; - top: 8px; - left: 10px; - transition: 0.2s ease all; - pointer-events: none; - color: #999; -} - - .btn-custom { background-color: var(--primary-color); border-color: var(--primary-color); diff --git a/page/create-shop.php b/page/create-shop.php index d5d61ac..9e5efa9 100644 --- a/page/create-shop.php +++ b/page/create-shop.php @@ -35,58 +35,9 @@ - + @@ -107,64 +58,61 @@