@charset "UTF-8"; @import "_config.less"; // +---------------------------------------------------------------------- body, html { height: 100%; display: block; } body, .login-container { vertical-align: middle; background-size: cover; background-repeat: no-repeat; background-position: center center; #defaTransition(1s, background-image); } .login-container { height: 100%; .header { top: 0; left: 0; width: 100%; height: 48px; position: absolute; .title { color: #fff; float: left; font-size: 18px; line-height: 48px; text-indent: 40px; letter-spacing: 1px; span { font-size: 10px; padding-left: 5px; } } a { &, &:focus, &:hover { color: #fff; letter-spacing: 1px; text-decoration: none; } } ul { float: right; li { float: left; line-height: 47px; margin-left: 10px; } } } form { top: 50%; left: 50%; width: 340px; position: absolute; padding: 22px 24px 24px; margin-top: -230px; margin-left: -170px; border: 1px solid rgba(255, 255, 255, .38); border-radius: 8px; background: rgba(255, 255, 255, .9); box-shadow: none; h2 { color: #1f2937; padding: 0 0 18px; font-size: 22px; text-align: center; font-weight: 600; letter-spacing: 1px; } ul li { margin-top: 14px; &.verify { .slider-title { color: #64748b; font-size: 12px; line-height: 1.6em; margin-bottom: 8px; letter-spacing: 0; } .slider-panel { padding: 10px; border: 1px solid #e2e8f0; border-radius: 6px; background: #fff; box-shadow: none; } .slider-stage { height: 150px; overflow: hidden; position: relative; border-radius: 6px; background: #f8fafc; } .slider-bg, .slider-piece { top: 0; left: 0; height: 100%; position: absolute; } .slider-bg { width: 100%; display: block; object-fit: cover; } .slider-piece { width: 16.6667%; pointer-events: none; box-shadow: none; } .slider-bar { height: 44px; margin-top: 10px; overflow: hidden; position: relative; border: 1px solid #e2e8f0; border-radius: 6px; background: #f8fafc; box-shadow: none; } .slider-bar-track { top: 0; left: 0; width: 48px; height: 44px; position: absolute; background: rgba(36, 161, 255, .26); } .slider-bar-text { top: 0; left: 0; right: 0; z-index: 1; color: #64748b; font-size: 13px; line-height: 44px; position: absolute; text-align: center; letter-spacing: 0; } .slider-handle { top: 0; left: 0; z-index: 2; width: 48px; height: 44px; color: #333; display: flex; cursor: grab; position: absolute; align-items: center; justify-content: center; border: 1px solid #dbe5ef; border-radius: 6px; background: #fff; box-shadow: none; &.is-active { cursor: grabbing; } i { color: #333; padding: 0; font-size: 18px; position: static; } } .slider-actions { display: flex; font-size: 12px; margin-top: 8px; align-items: center; justify-content: space-between; color: #64748b; letter-spacing: 0; a { color: #0f766e; text-decoration: none; } } .slider-panel.is-success { .slider-bar-track { background: rgba(88, 201, 108, .3); } .slider-bar-text { color: #d7ffd6; } } .slider-panel.is-error { .slider-bar-track { background: rgba(255, 107, 107, .28); } .slider-bar-text { color: #ffd7d7; } } } i.layui-icon { color: #64748b; font-size: 18px; position: absolute; padding: 8px 15px 8px 20px; } input { color: #1f2937; height: 45px; padding: 0 15px; font-size: 14px; line-height: 1em; text-indent: 35px; border: 1px solid #dbe5ef !important; border-radius: 6px; letter-spacing: 0; background: #fff; text-shadow: none; -webkit-text-fill-color: #1f2937 !important; box-shadow: none !important; &:hover, &:focus, &:active, &:-webkit-autofill, &:-webkit-autofill:hover, &:-webkit-autofill:focus, &:-webkit-autofill:active { border: 1px solid #b7c6d8 !important; text-shadow: none; box-shadow: none !important; -webkit-text-fill-color: #1f2937 !important; -webkit-transition-delay: 9999s !important; -webkit-transition: color 9999s ease-out, background-color 9999s ease-out !important; } } span { letter-spacing: 1px; color: #ff0 !important; } button { color: #fff !important; height: 45px !important; border: none !important; background: #0f766e !important; border-radius: 6px !important; letter-spacing: 1px !important; box-shadow: none; &:hover { opacity: 1; } } } } .footer { left: 0; bottom: 0; color: #fff; width: 100%; position: absolute; text-align: center; line-height: 30px; padding-bottom: 10px; text-shadow: none; a, span { color: #fff; } a:hover { color: #ccc } } }