| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236 |
- /* css reset 重置样式 */
- body{
- margin: 0;
- }
- ul{
- padding: 0;
- margin: 0;
- }
- li{
- list-style: none;
- }
- /* 工具类 */
- .clearfix::after{
- content: "";
- display: block;
- /* 清除所有方向的浮动 */
- clear: both;
- }
- /* 最外层容器 */
- .container{
- height: 100vh;
- width: 100vw;
- overflow: hidden;
- }
- /* 左侧图片部分 */
- .left-img{
- height: 100vh;
- width:375px;
- float: left;
- /* ../ 表示返回上一级目录*/
- background-image: url("../img/banner.jpg");
- background-size: cover;
- background-position: center center;
- }
- /* 登录页面主要功能部分 */
- .right-content{
- height: 100vh;
- width: calc(100vw - 375px);
- background-color: #f5f5f5;
- float: left;
- }
- /* 顶部导航栏 */
- .top-bar{
- padding:20px;
- }
- .logo{
- float: left;
- }
- .logo img{
- width: 40px;
- height: 40px;
- display: block;
- float: left;
- }
- .logo span{
- font-size: 26px;
- color:rgba(0,0,0,.8);
- font-weight: 500;
- display: block;
- float: left;
- margin-left: 10px;
- }
- .top-nav{
- float: right;
- }
- .top-nav ul li{
- float: left;
- color:#838383;
- font-size: 14px;
- margin:0 10px;
- }
- .top-nav ul li:hover{
- color:#ff6900;
- cursor: pointer;
- }
- .top-nav ul li.line{
- color:rgba(0,0,0,.1)
- }
- .top-nav ul li.line:hover{
- cursor:auto;
- }
- .top-nav li i{
- display: inline-block;
- margin-top: 5px;
- border-top: 5px solid gray;
- border-bottom: 5px solid transparent;
- border-left: 5px solid transparent;
- border-right: 5px solid transparent;
- }
- /* 登录框 */
- .login-box{
- width: 450px;
- background-color: #fff;
- box-shadow:0 0 10px #aaa;
- margin: 30px auto;
- padding: 40px 45px;
- box-sizing: border-box;
- }
- .login-box .login-tab div{
- font-size: 24px;
- color: #bbb;
- font-weight: 400;
- float: left;
- margin-right: 20px;
- }
- .login-box .login-tab div.active{
- color: #111;
- }
- .login-box .login-tab .active::after{
- content: "";
- display: block;
- height: 4px;
- width: 100%;
- background-color: #ff6900;
- margin-top:5px;
- border-radius: 2px;
- }
- .login-box .login-input{
- margin-top: 20px;
- overflow: hidden;
- }
- .login-box .login-input div{
- height: 60px;
- background-color: #f5f5f5;
- margin-top: 20px;
- padding-left: 20px;
- }
- .login-box .login-input input{
- height: 100%;
- border:0;
- outline: none;
- background-color: transparent;
- font-size: 20px;
- }
- /* 协议区域 */
- .login-box .login-agreement{
- padding:20px 0;
- }
- .login-box .login-agreement div{
- float: left;
- font-size: 14px;
- }
- .login-box .login-agreement .inp input{
- height: 20px;
- width: 20px;
- margin-top:-2px;
- }
- .login-box .login-agreement .text{
- color: #838383;
- }
- .login-box .login-agreement .text u{
- color: #333;
- }
- /* 登录按钮 */
- .login-box .login-btn{
- margin: 20px 0;
- }
- .login-box .login-btn .inp-btn button{
- height: 60px;
- width: 100%;
- background-color: #ff6900;
- color: #fff;
- font-size: 18px;
- font-weight: 400;
- border-radius: 4px;
- border:0;
- }
- .login-box .login-btn .text-btn{
- margin-top: 10px;
- color: #ff5c00;
- }
- .login-box .text-btn span:first-child{
- float: left;
- }
- .login-box .text-btn span:last-child{
- float: right;
- }
- /* 其他登录方式 */
- .login-other{
- text-align: center;
- }
- .login-other p{
- font-size: 17px;
- color: #aaa;
- font-weight: 400;
- }
- .login-other ul{
- width: 264px;
- margin: 0 auto;
- }
- .login-other ul li{
- float: left;
- width: 46px;
- height: 46px;
- border-radius: 50%;
- background-color: #aaa;
- color: #fff;
- line-height: 46px;
- text-align: center;
- margin: 0 10px;
- }
- .login-other ul li i{
- font-size: 30px;
- }
- .login-other ul li:first-child{
- background-color: #007bff;
- }
- .login-other ul li:nth-child(2){
- background-color: #50B674;
- }
- .login-other ul li:nth-child(3){
- background-color: #18ACFC;
- }
- .login-other ul li:nth-child(4){
- background-color: #EA5D5C;
- }
- /* 底部区域 */
- .bottom-bar{
- text-align: center;
- color: #999;
- font-size: 12px;
- }
|