From bcac0eae576483671adda59a667ddac6cdc06126 Mon Sep 17 00:00:00 2001 From: Anyon Date: Mon, 8 Jul 2019 10:49:27 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E4=BF=AE=E6=94=B9=E5=90=8E?= =?UTF-8?q?=E5=8F=B0=E7=99=BB=E5=BD=95=E9=A1=B5=E9=9D=A2=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/static/theme/css/login.css | 33 +++++++++---------- public/static/theme/css/login.css.map | 2 +- public/static/theme/css/login.less | 46 ++++++++++++--------------- 3 files changed, 37 insertions(+), 44 deletions(-) diff --git a/public/static/theme/css/login.css b/public/static/theme/css/login.css index fc324e4ff..1ad6bff06 100644 --- a/public/static/theme/css/login.css +++ b/public/static/theme/css/login.css @@ -11,16 +11,6 @@ body { .login-container { height: 100%; } -.login-container form input, -.login-container form input:-webkit-autofill, -.login-container form input:-webkit-autofill:active, -.login-container form input:-webkit-autofill:focus, -.login-container form input:-webkit-autofill:hover { - box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.3) inset; - -webkit-text-fill-color: #fff !important; - -webkit-transition-delay: 9999s !important; - -webkit-transition: color 9999s ease-out, background-color 9999s ease-out !important; -} .login-container .header { top: 0; left: 0; @@ -80,22 +70,29 @@ body { position: absolute; padding: 12px 15px 13px 20px; } -.login-container form ul li span { - letter-spacing: 1px; - color: #ff0 !important; -} -.login-container form ul li input { +.login-container form ul li input, +.login-container form ul li input:-webkit-autofill, +.login-container form ul li input:-webkit-autofill:active, +.login-container form ul li input:-webkit-autofill:focus, +.login-container form ul li input:-webkit-autofill:hover { color: #fff; height: 45px; padding: 0 15px; font-size: 14px; - text-indent: 35px; line-height: 1em; + text-indent: 35px; border-radius: 6px; letter-spacing: 1px; background: rgba(0, 0, 0, 0.1); text-shadow: #000 0.1em 0.1em 0.1em; - box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.3) inset; + -webkit-text-fill-color: #fff !important; + -webkit-transition-delay: 9999s !important; + box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.3) inset !important; + -webkit-transition: color 9999s ease-out, background-color 9999s ease-out !important; +} +.login-container form ul li span { + letter-spacing: 1px; + color: #ff0 !important; } .login-container form ul li button { color: #333 !important; @@ -108,8 +105,8 @@ body { .login-container .footer { left: 0; bottom: 0; - width: 100%; color: #fff; + width: 100%; position: absolute; text-align: center; line-height: 30px; diff --git a/public/static/theme/css/login.css.map b/public/static/theme/css/login.css.map index de07c4e55..9351f64b4 100644 --- a/public/static/theme/css/login.css.map +++ b/public/static/theme/css/login.css.map @@ -1 +1 @@ -{"version":3,"sources":["login.less"],"names":[],"mappings":"AAAA,SAAS;AAcT;AAAM;EACJ,YAAA;EACA,cAAA;;AAGF;EACE,gBAAgB,+CAAhB;EACA,sBAAA;;AAGF;EACE,YAAA;;AAGE,gBADF,KAAK;AACA,gBADL,KAAK,MACC;AAAmB,gBADzB,KAAK,MACqB,iBAAiB;AACzC,gBAFF,KAAK,MAEF,iBAAiB;AAAQ,gBAF5B,KAAK,MAEwB,iBAAiB;EAC1C,gDAAA;EACA,6BAAA;EACA,0CAAA;EACA,yEAAA;;AATN,gBAaE;EACE,MAAA;EACA,OAAA;EACA,WAAA;EACA,YAAA;EACA,kBAAA;EACA,mCAAA;;AAnBJ,gBAaE,QAQE;EACE,WAAA;EACA,WAAA;EACA,eAAA;EACA,iBAAA;EACA,iBAAA;EACA,mBAAA;;AAIA,gBAlBJ,QAiBE;AACK,gBAlBP,QAiBE,EACM;AAAQ,gBAlBhB,QAiBE,EACe;EACX,WAAA;EACA,mBAAA;EACA,qBAAA;;AAlCR,gBAaE,QAyBE;EACE,YAAA;;AAvCN,gBAaE,QAyBE,GAGE;EACE,WAAA;EACA,iBAAA;EACA,iBAAA;;AA5CR,gBAiDE;EACE,QAAA;EACA,SAAA;EACA,YAAA;EACA,kBAAA;EACA,kBAAA;EACA,mBAA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,gBAAA;;AAEA,WARF,GAQG;EACC,YAAA;;AADF,WARF,GAQG,UAGC;EACE,eAAA;;AAIJ,WAhBF,GAgBG;EACC,YAAA;;AADF,WAhBF,GAgBG,YAGC;EACE,eAAA;;AAIJ,WAxBF,GAwBG;EACC,WAAA;EACA,YAAA;EACA,4EAAA;;AAHF,WAxBF,GAwBG,cAKC;EACE,kBAAA;;AAMR;EACE,QAAA;EACA,SAAA;EACA,UAAA;EACA,WAAA;EACA,YAAA;EACA,kBAAA;EACA,mBAAA;EACA,uBAAA;EACA,4EAAA","file":"login.css"} \ No newline at end of file +{"version":3,"sources":["login.less"],"names":[],"mappings":"AAAA,SAAS;AAeT;AAAM;EACJ,YAAA;EACA,cAAA;;AAGF;EACE,gBAAgB,+CAAhB;EACA,sBAAA;;AAGF;EACE,YAAA;;AADF,gBAGE;EACE,MAAA;EACA,OAAA;EACA,WAAA;EACA,YAAA;EACA,kBAAA;EACA,mCAAA;;AATJ,gBAGE,QAQE;EACE,WAAA;EACA,WAAA;EACA,eAAA;EACA,iBAAA;EACA,iBAAA;EACA,mBAAA;;AAIA,gBAlBJ,QAiBE;AACK,gBAlBP,QAiBE,EACM;AAAQ,gBAlBhB,QAiBE,EACe;EACX,WAAA;EACA,mBAAA;EACA,qBAAA;;AAxBR,gBAGE,QAyBE;EACE,YAAA;;AA7BN,gBAGE,QAyBE,GAGE;EACE,WAAA;EACA,iBAAA;EACA,iBAAA;;AAlCR,gBAuCE;EACE,QAAA;EACA,SAAA;EACA,YAAA;EACA,kBAAA;EACA,kBAAA;EACA,mBAAA;;AA7CJ,gBAuCE,KAQE;EACE,WAAA;EACA,eAAA;EACA,eAAA;EACA,kBAAA;EACA,gBAAA;EACA,mBAAA;EACA,sCAAA;;AAtDN,gBAuCE,KAkBE,GAAG;EACD,kBAAA;EACA,gBAAA;EACA,mCAAA;;AA5DN,gBAuCE,KAkBE,GAAG,GAKD,EAAC;EACC,WAAA;EACA,eAAA;EACA,kBAAA;EACA,4BAAA;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F,WARF,GAQG,UAGC;EACE,eAAA;;AAIJ,WAhBF,GAgBG;EACC,YAAA;;AADF,WAhBF,GAgBG,YAGC;EACE,eAAA;;AAIJ,WAxBF,GAwBG;EACC,WAAA;EACA,YAAA;EACA,4EAAA;;AAHF,WAxBF,GAwBG,cAKC;EACE,kBAAA;;AAMR;EACE,QAAA;EACA,SAAA;EACA,UAAA;EACA,WAAA;EACA,YAAA;EACA,kBAAA;EACA,mBAAA;EACA,uBAAA;EACA,4EAAA","file":"login.css"} \ No newline at end of file diff --git a/public/static/theme/css/login.less b/public/static/theme/css/login.less index ac77ce59b..16abee47b 100644 --- a/public/static/theme/css/login.less +++ b/public/static/theme/css/login.less @@ -26,16 +26,6 @@ body { .login-container { height: 100%; - form input { - &, &:-webkit-autofill, &:-webkit-autofill:active, - &:-webkit-autofill:focus, &:-webkit-autofill:hover { - box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .3) inset; - -webkit-text-fill-color: #fff !important; - -webkit-transition-delay: 9999s !important; - -webkit-transition: color 9999s ease-out, background-color 9999s ease-out !important; - } - } - .header { top: 0; left: 0; @@ -102,25 +92,31 @@ body { padding: 12px 15px 13px 20px; } + input { + &, &:-webkit-autofill, &:-webkit-autofill:active, + &:-webkit-autofill:focus, &:-webkit-autofill:hover { + color: #fff; + height: 45px; + padding: 0 15px; + font-size: 14px; + line-height: 1em; + text-indent: 35px; + border-radius: 6px; + letter-spacing: 1px; + background: rgba(0, 0, 0, .1); + text-shadow: #000 .1em .1em .1em; + -webkit-text-fill-color: #fff !important; + -webkit-transition-delay: 9999s !important; + box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .3) inset !important; + -webkit-transition: color 9999s ease-out, background-color 9999s ease-out !important; + } + } + span { letter-spacing: 1px; color: #ff0 !important; } - input { - color: #fff; - height: 45px; - padding: 0 15px; - font-size: 14px; - text-indent: 35px; - line-height: 1em; - border-radius: 6px; - letter-spacing: 1px; - background: rgba(0, 0, 0, .1); - text-shadow: #000 .1em .1em .1em; - box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .3) inset; - } - button { color: #333 !important; height: 45px !important; @@ -135,8 +131,8 @@ body { .footer { left: 0; bottom: 0; - width: 100%; color: #fff; + width: 100%; position: absolute; text-align: center; line-height: 30px;