login.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. /** 登录页面样式 */
  2. body {
  3. background-image: url("../../assets/images/bg_login2.svg");
  4. background-position: center 110px;
  5. background-repeat: no-repeat;
  6. background-size: 100%;
  7. background-color: #f0f2f5;
  8. }
  9. .login-wrapper, body, html {
  10. height: 100%
  11. }
  12. .login-wrapper {
  13. overflow: auto;
  14. position: absolute;
  15. top: 0;
  16. bottom: 0;
  17. left: 0;
  18. right: 0;
  19. }
  20. .login-body {
  21. padding: 10px 10px 40px 10px;
  22. }
  23. .login-body > .layui-card {
  24. max-width: 360px;
  25. margin: 0 auto;
  26. }
  27. .login-body .layui-card-header {
  28. font-weight: 700;
  29. font-size: 15px;
  30. }
  31. .login-body .layui-form-pane .layui-form-label {
  32. width: 48px;
  33. overflow: visible;
  34. }
  35. .login-body .layui-form-pane .layui-input-block {
  36. margin-left: 48px;
  37. }
  38. .login-body .login-captcha {
  39. width: 100%;
  40. cursor: pointer;
  41. height: 38px;
  42. border: 1px solid #e6e6e6;
  43. border-radius: 2px;
  44. box-sizing: border-box;
  45. }
  46. .login-body .login-other > * {
  47. display: inline-block;
  48. vertical-align: middle;
  49. margin-right: 10px;
  50. font-size: 14px;
  51. }
  52. .login-body .login-other .layui-icon {
  53. position: relative;
  54. top: 2px;
  55. font-size: 26px;
  56. }
  57. .login-body .login-other a:hover {
  58. opacity: .8;
  59. }
  60. .layui-icon-login-qq {
  61. color: #3492ED
  62. }
  63. .layui-icon-login-wechat {
  64. color: #4DAF29
  65. }
  66. .layui-icon-login-weibo {
  67. color: #CF1900
  68. }
  69. /** 底部样式 */
  70. .login-footer {
  71. text-align: center;
  72. line-height: 30px;
  73. color: rgba(255, 255, 255, 0.7) !important;
  74. padding-bottom: 20px;
  75. }
  76. .login-footer span {
  77. padding: 0 5px
  78. }
  79. .login-footer a {
  80. padding: 0 5px;
  81. color: rgba(255, 255, 255, 0.7) !important;
  82. }
  83. .login-footer a:hover {
  84. color: rgba(255, 255, 255, 0.4) !important;
  85. }
  86. /** 头部样式 */
  87. .login-header {
  88. font-family: Myriad Pro, Helvetica Neue, Arial, Helvetica, sans-serif;
  89. font-size: 20px;
  90. font-weight: 600;
  91. color: rgba(255, 255, 255, 0.85) !important;
  92. padding: 10px;
  93. }
  94. .login-header img {
  95. height: 40px;
  96. }
  97. /** 移动设备样式 */
  98. @media screen and (min-height: 590px) {
  99. .login-footer {
  100. position: absolute;
  101. bottom: 0;
  102. width: 100%;
  103. }
  104. }
  105. @media screen and (min-height: 670px) {
  106. .login-body {
  107. padding: 110px 10px 40px 10px;
  108. }
  109. }
  110. /** 辅助样式 */
  111. .layui-link {
  112. color: #029789 !important;
  113. }
  114. .layui-link:hover {
  115. opacity: .8;
  116. }
  117. .pull-right {
  118. float: right;
  119. }
  120. .inline-block {
  121. display: inline-block;
  122. }
  123. .login-header {
  124. color: rgba(0, 0, 0, .85) !important;
  125. }
  126. .login-footer {
  127. color: rgba(0, 0, 0, 0.7) !important;
  128. }
  129. .login-footer a {
  130. color: rgba(0, 0, 0, 0.7) !important;
  131. }
  132. .login-footer a:hover {
  133. color: rgba(0, 0, 0, 0.4) !important;
  134. }