Merge pull request #2 from yunohost-themes/dev

Dev
This commit is contained in:
stilobique
2020-10-31 15:40:08 +01:00
committed by GitHub
+11 -9
View File
@@ -133,39 +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);
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 {
float: left;
width: 52px; width: 52px;
height: 52px; }
}
.icon-user { .icon-user {
background-image: url("pictures/picto.jpg"); background-image: url("pictures/picto.jpg");
} }