login.less 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  1. @charset "UTF-8";
  2. @import "_config.less";
  3. // +----------------------------------------------------------------------
  4. // | ThinkAdmin
  5. // +----------------------------------------------------------------------
  6. // | 版权所有 2014~2022 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
  7. // +----------------------------------------------------------------------
  8. // | 官方网站: https://thinkadmin.top
  9. // +----------------------------------------------------------------------
  10. // | 开源协议 ( https://mit-license.org )
  11. // +----------------------------------------------------------------------
  12. // | gitee 代码仓库:https://gitee.com/zoujingli/ThinkAdmin
  13. // | github 代码仓库:https://github.com/zoujingli/ThinkAdmin
  14. // +----------------------------------------------------------------------
  15. body, html {
  16. height: 100%;
  17. display: block;
  18. }
  19. body, .login-container {
  20. vertical-align: middle;
  21. background-size: cover;
  22. background-repeat: no-repeat;
  23. background-position: center center;
  24. #defaTransition(1s, background-image);
  25. }
  26. .login-container {
  27. height: 100%;
  28. .header {
  29. top: 0;
  30. left: 0;
  31. width: 100%;
  32. height: 48px;
  33. position: absolute;
  34. text-shadow: #000 .1em .1em .1em;
  35. .title {
  36. color: #fff;
  37. float: left;
  38. font-size: 18px;
  39. line-height: 48px;
  40. text-indent: 40px;
  41. letter-spacing: 1px;
  42. span {
  43. font-size: 10px;
  44. padding-left: 5px;
  45. }
  46. }
  47. a {
  48. &, &:focus, &:hover {
  49. color: #fff;
  50. letter-spacing: 1px;
  51. text-decoration: none;
  52. }
  53. }
  54. ul {
  55. float: right;
  56. li {
  57. float: left;
  58. line-height: 47px;
  59. margin-left: 10px;
  60. }
  61. }
  62. }
  63. form {
  64. top: 50%;
  65. left: 50%;
  66. width: 300px;
  67. position: absolute;
  68. margin-top: -250px;
  69. margin-left: -150px;
  70. h2 {
  71. color: #fff;
  72. padding: 20px 0;
  73. font-size: 25px;
  74. text-align: center;
  75. font-weight: 700;
  76. letter-spacing: 3px;
  77. text-shadow: #000 .05em .05em .05em;
  78. }
  79. ul li {
  80. margin-top: 20px;
  81. text-shadow: #000 .1em .1em .1em;
  82. &.verify {
  83. label {
  84. width: 200px;
  85. }
  86. input.layui-input {
  87. text-transform: uppercase
  88. }
  89. img {
  90. width: 95px;
  91. height: 44px;
  92. cursor: pointer;
  93. position: absolute;
  94. margin-left: 5px;
  95. border-radius: @BoxBorderRadius;
  96. box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .1);
  97. }
  98. }
  99. i.layui-icon {
  100. color: #fff;
  101. font-size: 18px;
  102. position: absolute;
  103. padding: 14px 15px 13px 20px;
  104. }
  105. input {
  106. color: #fff;
  107. height: 45px;
  108. padding: 0 15px;
  109. font-size: 14px;
  110. line-height: 1em;
  111. text-indent: 35px;
  112. border-radius: @BoxBorderRadius;
  113. letter-spacing: 1px;
  114. background: rgba(0, 0, 0, .12);
  115. text-shadow: #000 .1em .1em .1em;
  116. -webkit-text-fill-color: #fff !important;
  117. box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .3) inset !important;
  118. &:hover, &:focus, &:active,
  119. &:-webkit-autofill, &:-webkit-autofill:hover,
  120. &:-webkit-autofill:focus, &:-webkit-autofill:active {
  121. text-shadow: #000 .1em .1em .1em;
  122. box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .3) inset !important;
  123. -webkit-text-fill-color: #fff !important;
  124. -webkit-transition-delay: 9999s !important;
  125. -webkit-transition: color 9999s ease-out, background-color 9999s ease-out !important;
  126. }
  127. }
  128. span {
  129. letter-spacing: 1px;
  130. color: #ff0 !important;
  131. }
  132. button {
  133. color: #333 !important;
  134. height: 45px !important;
  135. border: none !important;
  136. background: #fff !important;
  137. border-radius: @BoxBorderRadius !important;
  138. letter-spacing: 1px !important;
  139. box-shadow: 0 15px 30px 0 hsla(0, 0%, 100%, .25) inset, 0 2px 7px 0 rgba(0, 0, 0, .2);
  140. &:hover {
  141. opacity: 1;
  142. }
  143. }
  144. }
  145. }
  146. .footer {
  147. left: 0;
  148. bottom: 0;
  149. color: #fff;
  150. width: 100%;
  151. position: absolute;
  152. text-align: center;
  153. line-height: 30px;
  154. padding-bottom: 10px;
  155. text-shadow: #000 .1em .1em .1em;
  156. a, span {
  157. color: #fff;
  158. }
  159. a:hover {
  160. color: #ccc
  161. }
  162. }
  163. }
  164. #supersized {
  165. top: 0;
  166. left: 0;
  167. width: 100%;
  168. height: 100%;
  169. z-index: -999;
  170. display: block;
  171. position: fixed;
  172. overflow: hidden;
  173. img {
  174. border: 0;
  175. width: auto;
  176. height: auto;
  177. display: none;
  178. outline: 0;
  179. position: relative;
  180. max-width: none !important
  181. }
  182. &.speed img {
  183. image-rendering: -moz-crisp-edges;
  184. -ms-interpolation-mode: nearest-neighbor
  185. }
  186. &.quality img {
  187. image-rendering: optimizeQuality;
  188. -ms-interpolation-mode: bicubic;
  189. }
  190. a, li {
  191. width: 100%;
  192. height: 100%;
  193. display: block;
  194. cursor: default;
  195. }
  196. li {
  197. top: 0;
  198. left: 0;
  199. z-index: -30;
  200. position: fixed;
  201. overflow: hidden;
  202. list-style: none;
  203. &.prevslide {
  204. z-index: -20;
  205. img {
  206. display: inline
  207. }
  208. }
  209. &.activeslide {
  210. z-index: -10;
  211. img {
  212. display: inline
  213. }
  214. }
  215. &.image-loading {
  216. width: 100%;
  217. height: 100%;
  218. background: url(../../plugs/supersized/progress.gif) no-repeat center center;
  219. img {
  220. visibility: hidden
  221. }
  222. }
  223. }
  224. }
  225. #supersized-loader {
  226. top: 50%;
  227. left: 50%;
  228. z-index: 0;
  229. width: 60px;
  230. height: 60px;
  231. position: absolute;
  232. text-indent: -999em;
  233. margin: -30px 0 0 -30px;
  234. background: url(../../plugs/supersized/progress.gif) no-repeat center center;
  235. }