Make a new setup to align default form
This commit is contained in:
+11
-11
@@ -133,41 +133,41 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.login-form .form-group {
|
.login-form .form-group {
|
||||||
display: grid;
|
display: inline-block;
|
||||||
grid-template-columns: 52px 90%;
|
|
||||||
height: 52px;
|
height: 52px;
|
||||||
margin: 8px 0;
|
margin: 8px 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
position: inherit; /* Fix Ynh Portal */
|
position: relative; /* Fix Ynh Portal */
|
||||||
background: none; /* 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 {
|
.login-form label::before {
|
||||||
width: 0;
|
width: 0;
|
||||||
height: 0;
|
height: 0;
|
||||||
}
|
}
|
||||||
.icon-user::before, .icon-lock::before {
|
.icon-user::before, .icon-lock::before { content: none; }
|
||||||
content: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.login-form .form-text {
|
.login-form .form-text {
|
||||||
height: 52px;
|
width: calc(100% - 52px);
|
||||||
width: 95%;
|
|
||||||
padding: 0 5%;
|
padding: 0 5%;
|
||||||
border: 0;
|
border: 0;
|
||||||
font-family: 'NotoSansBold', serif;
|
font-family: 'NotoSansBold', serif;
|
||||||
background-color: #5d5446;
|
background-color: #5d5446;
|
||||||
color: #c2a593;
|
color: #c2a593;
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
.login-form .form-text::placeholder {
|
.login-form .form-text::placeholder {
|
||||||
color: #c2a593;
|
color: #c2a593;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-user, .icon-lock {
|
.icon-user, .icon-lock {
|
||||||
position: relative;
|
float: left;
|
||||||
width: 52px;
|
width: 52px;
|
||||||
height: 52px;
|
}
|
||||||
}
|
|
||||||
.icon-user {
|
.icon-user {
|
||||||
background-image: url("pictures/picto.jpg");
|
background-image: url("pictures/picto.jpg");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user