login.css 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /**
  2. @Name:layuiAdmin 登入注册页
  3. @Author:贤心
  4. @Site:http://www.layui.com/admin/
  5. @License:GPL-2
  6. */
  7. html,body,#LAY_app{height:100%;}
  8. .layui-layout-body{overflow: auto;}
  9. #LAY-user-login,
  10. .layadmin-user-display-show{display: block !important;}
  11. .layadmin-user-login{position: relative; left: 0; top: 0; padding: 110px 0; min-height: 100%; box-sizing: border-box;}
  12. .layadmin-user-login-main{width: 375px; margin: 0 auto; box-sizing: border-box;}
  13. .layadmin-user-login-box{padding: 20px;}
  14. .layadmin-user-login-header{text-align: center;}
  15. .layadmin-user-login-header h2{margin-bottom: 10px; font-weight: 300; font-size: 30px; color: #000;}
  16. .layadmin-user-login-header p{font-weight: 300; color: #999;}
  17. .layadmin-user-login-body .layui-form-item{position: relative;}
  18. .layadmin-user-login-icon{position: absolute; left: 1px; top: 1px; width: 38px; line-height: 36px; text-align: center; color: #d2d2d2;}
  19. .layadmin-user-login-body .layui-form-item .layui-input{padding-left: 38px;}
  20. .layadmin-user-login-codeimg{max-height: 38px; width: 100%; cursor: pointer; box-sizing: border-box;}
  21. .layadmin-user-login-other{position: relative; font-size: 0; line-height: 38px; padding-top: 20px;}
  22. .layadmin-user-login-other>*{display: inline-block; vertical-align: middle; margin-right: 10px; font-size: 14px;}
  23. .layadmin-user-login-other .layui-icon{position: relative; top: 2px; font-size: 26px;}
  24. .layadmin-user-login-other a:hover{opacity: 0.8;}
  25. .layadmin-user-jump-change{float: right;}
  26. .layadmin-user-login-footer{position: absolute; left: 0; bottom: 0; width: 100%; line-height: 30px; padding: 20px; text-align: center; box-sizing: border-box; color: rgba(0,0,0,.5)}
  27. .layadmin-user-login-footer span{padding: 0 5px;}
  28. .layadmin-user-login-footer a{padding: 0 5px; color: rgba(0,0,0,.5);}
  29. .layadmin-user-login-footer a:hover{color: rgba(0,0,0,1);}
  30. /* 有背景图时 */
  31. .layadmin-user-login-main[bgimg]{background-color: #fff; box-shadow: 0 0 5px rgba(0,0,0,0.05);}
  32. /* 主题背景 */
  33. .ladmin-user-login-theme{position: fixed; bottom: 0; left: 0; width: 100%; text-align: center;}
  34. .ladmin-user-login-theme ul{display: inline-block; padding: 5px; background-color: #fff;}
  35. .ladmin-user-login-theme ul li{display: inline-block; vertical-align: top; width: 64px; height: 43px; cursor: pointer; transition: all .3s; -webkit-transition: all .3s; background-color: #f2f2f2;}
  36. .ladmin-user-login-theme ul li:hover{opacity: 0.9}
  37. @media screen and (max-width: 768px) {
  38. .layadmin-user-login{padding-top: 60px;}
  39. .layadmin-user-login-main{width: 300px;}
  40. .layadmin-user-login-box{padding: 10px;}
  41. }