From d9f6538aa5e81f2488fd11dfd180d394125e706e Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sun, 25 Mar 2018 13:58:59 +0200 Subject: [PATCH] [scss.layout] fixed background-size image for login/register --- webpack/scss/layout.scss | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/webpack/scss/layout.scss b/webpack/scss/layout.scss index 416514b..ceba450 100644 --- a/webpack/scss/layout.scss +++ b/webpack/scss/layout.scss @@ -50,7 +50,7 @@ body > #WRAPPER.login{ align-items: center; background: url('https://discordapp.com/assets/fa7ba7a4c3d8665d3343fee590382bb9.jpg') center center no-repeat; - background-size: 100% auto; + background-size: cover; & > .login-box{ display: flex; @@ -78,7 +78,7 @@ body > #WRAPPER.login{ height: 100%; background: url('https://discordapp.com/assets/fa7ba7a4c3d8665d3343fee590382bb9.jpg') center center no-repeat; - background-size: 100% auto; + background-size: cover; background-attachment: fixed; -webkit-filter: blur(.3em); @@ -139,7 +139,24 @@ body > #WRAPPER.login{ margin-top: 1.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{ color: #5e5e5e;