diff --git a/custom_portal.css b/custom_portal.css index 94feb85..33f38c6 100644 --- a/custom_portal.css +++ b/custom_portal.css @@ -133,41 +133,41 @@ body { } .login-form .form-group { - display: grid; - grid-template-columns: 52px 90%; + display: inline-block; height: 52px; margin: 8px 0; padding: 0; overflow: hidden; - position: inherit; /* Fix Ynh Portal */ + position: relative; /* Fix Ynh Portal */ background: none; /* Fix Ynh Portal */ } +.login-form .form-text, .icon-user, .icon-lock { + display: inline-block !important; + height: 100%; +} .login-form label::before { width: 0; height: 0; } -.icon-user::before, .icon-lock::before { - content: none; -} +.icon-user::before, .icon-lock::before { content: none; } .login-form .form-text { - height: 52px; - width: 95%; + width: calc(100% - 52px); padding: 0 5%; border: 0; font-family: 'NotoSansBold', serif; background-color: #5d5446; color: #c2a593; + position: relative; } .login-form .form-text::placeholder { color: #c2a593; } .icon-user, .icon-lock { - position: relative; + float: left; width: 52px; - height: 52px; -} +} .icon-user { background-image: url("pictures/picto.jpg"); }