[scss.layout] fixed background-size image for login/register

This commit is contained in:
xdrm-brackets 2018-03-25 13:58:59 +02:00
parent 5db05aea5c
commit d9f6538aa5
1 changed files with 20 additions and 3 deletions

View File

@ -50,7 +50,7 @@ body > #WRAPPER.login{
align-items: center; align-items: center;
background: url('https://discordapp.com/assets/fa7ba7a4c3d8665d3343fee590382bb9.jpg') center center no-repeat; background: url('https://discordapp.com/assets/fa7ba7a4c3d8665d3343fee590382bb9.jpg') center center no-repeat;
background-size: 100% auto; background-size: cover;
& > .login-box{ & > .login-box{
display: flex; display: flex;
@ -78,7 +78,7 @@ body > #WRAPPER.login{
height: 100%; height: 100%;
background: url('https://discordapp.com/assets/fa7ba7a4c3d8665d3343fee590382bb9.jpg') center center no-repeat; background: url('https://discordapp.com/assets/fa7ba7a4c3d8665d3343fee590382bb9.jpg') center center no-repeat;
background-size: 100% auto; background-size: cover;
background-attachment: fixed; background-attachment: fixed;
-webkit-filter: blur(.3em); -webkit-filter: blur(.3em);
@ -139,7 +139,24 @@ body > #WRAPPER.login{
margin-top: 1.2em; margin-top: 1.2em;
letter-spacing: .2em; letter-spacing: .2em;
&.invalid{ color: #f04747; } & > span{
color: inherit;
text-transform: none;
&:before{ content: ''; }
&:after{ content: ''; }
}
&.err{
color: #f04747;
& > span{
&:before{ content: '('; }
&:after{ content: ')'; }
}
}
&.link{ &.link{
color: #5e5e5e; color: #5e5e5e;