@import './reset.less'; body { background: @themeColor; background:linear-gradient(133deg,rgba(45,79,139,1) 0%,rgba(20,39,83,1) 100%); } .login { height: 100%; .bg{ width: 62%; height: 100%; text-align: center; background: url("../images/loginBg2.png") center center no-repeat; background-size: 84%; } .waring { color: #FF4D4F; margin-top: 18px; height: 18px; } .sureLogin { width: 300px; height: 40px; line-height: 40px; text-align: center; background-color: #00A1FF; color: #fff; cursor: pointer; border-radius:4px; margin: 20px auto 0; } .bg2{ width: 100%; height: 100%; text-align: center; background: url("../images/bg.png") center center no-repeat; background-size: 100% 100%; } } p.title { font-size: 30px; color: #fff; font-weight: bold; position: absolute; top: 90px; left: 5%; } .message { width: 38%; height: 100%; background: @activeBg; background:linear-gradient(180deg,rgba(0,25,82,1) 0%,rgba(0,24,78,0.94) 100%); box-sizing: border-box; position: relative; .inner{ height: 360px; position: absolute; top: 50%; left: 50%; margin-top: -180px; margin-left: -150px; } .welcome { font-size: 30px; font-weight: bold; color: #fff; margin-bottom: 50px; } .copy-right{ position: absolute; bottom: 50px; width: 100%; font-size:12px; text-align: center; color: #fff; opacity: .6; } } .perPub { width: 300px; margin: auto; p { font-size: 12px; padding-bottom: 8px; color: #fff; } img { vertical-align: middle; margin-right: 8px; } } .iptWrap { padding-left: 10px; box-sizing: border-box; border: 1px solid #97A4BA; width: 300px; height: 40px; line-height: 38px; border-radius: 4px; input { display: inline-block; width: 80%; color: #fff; background: none; } } .inputFocus{ border: 1px solid @activeColor ; outline: 0; -webkit-box-shadow:@activeColor 0px 0px 2px; -moz-box-shadow: @activeColor 0px 0px 2px; box-shadow: @activeColor 0px 0px 2px; } .login-info{ width: 100%; position: absolute; bottom: 31px; padding: 0 110px; .info-perPub{ float: left; width: 35%; & p{ float: left; line-height: 50px; margin-right: 7px; font-size: 24px; color: #fff; } .info-iptWrap{ float: left; box-sizing: border-box; width: 213px; height: 50px; line-height: 38px; border-radius: 6px; & input { display: inline-block; width: 100%; height: 100%; border-radius: 6px; padding-left: 10px; font-size: 22px; } } } .waring { display: inline-block; position: absolute; top: -44px; } .sureLogin{ float: left; width: 213px; height: 50px; line-height: 50px; background: #0363D1; box-shadow: 0px 2px 6px 0px #1C4473; border-radius: 6px; margin: 0; font-size: 24px; } } .alertModal { .modalBg { position: fixed; top: 0px; left: 0px; right: 0px; bottom: 0px; background: rgba(0, 0, 0, .3); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#88000000,endColorstr=#88000000); } .modalMain { width: 300px; // height: 200px; background-color: #fff; position: fixed; left: 50%; top: 30%; margin-left: -150px; // margin-top: -100px; padding-bottom: 10px; } .title { border-bottom: 1px solid #eee; background-color: #F8F8F8; line-height: 40px; height: 40px; position: relative; padding-left: 15px; font-size: 14px; img { position: absolute; right: 10px; top: 10px; cursor: pointer; } } .content { padding: 25px 15px; font-size: 14px; text-align: center; } .btns { height: 45px; text-align: center; span { border-radius: 5px; float: right; cursor: pointer; border: 1px solid #dedede; background-color: #fff; height: 28px; line-height: 28px; margin: 5px 5px 0; padding: 0 15px; color: #333; border-radius: 2px; font-weight: 400; text-decoration: none; } .sure { background-color: #1E9FFF; border-color: #1E9FFF; color: #fff; } .quite { margin-left: 30px; margin-right: 30px; } } } .divModal { position: fixed; } .modaltip { position: fixed; top: 40%; left: 50%; padding: 10px; border-radius: 3px; color: #fff; background: rgba(0, 0, 0, .6); z-index: 9999; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#88000000,endColorstr=#88000000); } .loading { position: fixed; width: 100%; height: 100%; padding: 10px; border-radius: 3px; color: #fff; background: rgba(0, 0, 0, 0); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#88000000,endColorstr=#88000000); img { position: fixed; top: 50%; left: 50%; width: 40px; height: 40px; margin-left: -20px; margin-top: -20px; } }