From 269f0759a64927c2ea06a9d7de92ecfd0be7df5b Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 13 七月 2020 10:00:04 +0800 Subject: [PATCH] 2020-07-13 --- src/mob/components/login/mob-login-1/index.scss | 27 ++++++++++++--------------- 1 files changed, 12 insertions(+), 15 deletions(-) diff --git a/src/mob/login/index.scss b/src/mob/components/login/mob-login-1/index.scss similarity index 90% rename from src/mob/login/index.scss rename to src/mob/components/login/mob-login-1/index.scss index 89b6cdd..1648d5e 100644 --- a/src/mob/login/index.scss +++ b/src/mob/components/login/mob-login-1/index.scss @@ -1,13 +1,17 @@ -.mob-login { +.mob-login-1 { position: relative; width: 100%; - height: 100%; - overflow: hidden; - // background-image: linear-gradient(#378DBE, #46C29E, #48A9D6); + min-height: 100%; + overflow-x: hidden; background-repeat: no-repeat; background-size: cover; background-position: center center; + .mob-login-body { + min-height: calc((80 / 100) * 615px); + border-top: 1px solid transparent; + margin-bottom: 20px; + } .logo { position: relative; @@ -19,6 +23,7 @@ text-align: center; line-height: 1.5; border: 1px dotted transparent; + margin-top: calc((17 / 100) * 615px); img { max-width: 100%; } @@ -52,10 +57,6 @@ } .plat-name:not(.editing):hover { border-color: #535353; - } - - .plat-name + .mk-login-item.am-list-item, .logo + .mk-login-item.am-list-item { - margin-top: 30px; } .mk-login-item.am-list-item { @@ -145,13 +146,12 @@ } } } - >.am-button { + .am-button { position: relative; z-index: 1; width: 245px; max-width: 270px; margin: 0 auto; - border-radius: 30px; border: 1px dotted transparent; overflow: visible; letter-spacing: 0px; @@ -164,17 +164,14 @@ font-weight: inherit; } } - >.am-button:hover { + .am-button:hover { color: #fff; border-color: #535353; } .company-msg { - position: absolute; width: 88%; min-height: 10px; - bottom: 20px; - bottom: 20px; - left: 6%; + margin-left: 6%; font-size: 12px; color: #fafafa; text-align: center; -- Gitblit v1.8.0