style.css 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  1. /*
  2. *
  3. * Template Name: Fullscreen Login
  4. * Description: Login Template with Fullscreen Background Slideshow
  5. * Author: Anli Zaimi
  6. * Author URI: http://azmind.com
  7. *
  8. */
  9. html {
  10. width: 100%;
  11. height: 100%;
  12. }
  13. body {
  14. /* background: #ee3b71; */
  15. background-image: linear-gradient( #ee3b71,#c23b71);
  16. font-family: 'PT Sans', Helvetica, Arial, sans-serif;
  17. text-align: center;
  18. color: #fff;
  19. }
  20. .container {
  21. margin: 0 auto;
  22. padding-left: 1rem;
  23. padding-right: 2rem;
  24. padding-bottom: 1rem;
  25. width: 20rem;
  26. border-radius:15px;
  27. /* background: rgba(45,45,45,.33); */
  28. }
  29. h1 {
  30. font-size: 30px;
  31. font-weight: 700;
  32. text-shadow: 0 1px 4px rgba(0,0,0,.2);
  33. }
  34. .form {
  35. position: relative;
  36. width: 305px;
  37. margin: 15px auto 0 auto;
  38. text-align: center;
  39. }
  40. input {
  41. width: 18rem;
  42. height: 42px;
  43. margin-top: 25px;
  44. padding: 0 15px;
  45. background: #2d2d2d; /* browsers that don't support rgba */
  46. background: rgba(45,45,45,.15);
  47. -moz-border-radius: 6px;
  48. -webkit-border-radius: 6px;
  49. border-radius: 6px;
  50. border: 1px solid #3d3d3d; /* browsers that don't support rgba */
  51. border: 1px solid rgba(255,255,255,.15);
  52. -moz-box-shadow: 0 2px 3px 0 rgba(0,0,0,.1) inset;
  53. -webkit-box-shadow: 0 2px 3px 0 rgba(0,0,0,.1) inset;
  54. box-shadow: 0 2px 3px 0 rgba(0,0,0,.1) inset;
  55. font-family: 'PT Sans', Helvetica, Arial, sans-serif;
  56. font-size: 14px;
  57. color: #fff;
  58. text-shadow: 0 1px 2px rgba(0,0,0,.1);
  59. -o-transition: all .2s;
  60. -moz-transition: all .2s;
  61. -webkit-transition: all .2s;
  62. -ms-transition: all .2s;
  63. }
  64. input:-moz-placeholder { color: #fff; }
  65. input:-ms-input-placeholder { color: #fff; }
  66. input::-webkit-input-placeholder { color: #fff; }
  67. input:focus {
  68. outline: none;
  69. -moz-box-shadow:
  70. 0 2px 3px 0 rgba(0,0,0,.1) inset,
  71. 0 2px 7px 0 rgba(0,0,0,.2);
  72. -webkit-box-shadow:
  73. 0 2px 3px 0 rgba(0,0,0,.1) inset,
  74. 0 2px 7px 0 rgba(0,0,0,.2);
  75. box-shadow:
  76. 0 2px 3px 0 rgba(0,0,0,.1) inset,
  77. 0 2px 7px 0 rgba(0,0,0,.2);
  78. }
  79. button {
  80. outline:none;
  81. cursor: pointer;
  82. width: 20rem;
  83. height: 44px;
  84. margin-top: 25px;
  85. padding: 0;
  86. background: #ef4300;
  87. -moz-border-radius: 6px;
  88. -webkit-border-radius: 6px;
  89. border-radius: 6px;
  90. border: 1px solid #ff730e;
  91. -moz-box-shadow:
  92. 0 15px 30px 0 rgba(255,255,255,.25) inset,
  93. 0 2px 7px 0 rgba(0,0,0,.2);
  94. -webkit-box-shadow:
  95. 0 15px 30px 0 rgba(255,255,255,.25) inset,
  96. 0 2px 7px 0 rgba(0,0,0,.2);
  97. box-shadow:
  98. 0 15px 30px 0 rgba(255,255,255,.25) inset,
  99. 0 2px 7px 0 rgba(0,0,0,.2);
  100. font-family: 'PT Sans', Helvetica, Arial, sans-serif;
  101. font-size: 14px;
  102. font-weight: 700;
  103. color: #fff;
  104. text-shadow: 0 1px 2px rgba(0,0,0,.1);
  105. -o-transition: all .2s;
  106. -moz-transition: all .2s;
  107. -webkit-transition: all .2s;
  108. -ms-transition: all .2s;
  109. }
  110. button:hover {
  111. -moz-box-shadow:
  112. 0 15px 30px 0 rgba(255,255,255,.15) inset,
  113. 0 2px 7px 0 rgba(0,0,0,.2);
  114. -webkit-box-shadow:
  115. 0 15px 30px 0 rgba(255,255,255,.15) inset,
  116. 0 2px 7px 0 rgba(0,0,0,.2);
  117. box-shadow:
  118. 0 15px 30px 0 rgba(255,255,255,.15) inset,
  119. 0 2px 7px 0 rgba(0,0,0,.2);
  120. }
  121. button:active {
  122. -moz-box-shadow:
  123. 0 15px 30px 0 rgba(255,255,255,.15) inset,
  124. 0 2px 7px 0 rgba(0,0,0,.2);
  125. -webkit-box-shadow:
  126. 0 15px 30px 0 rgba(255,255,255,.15) inset,
  127. 0 2px 7px 0 rgba(0,0,0,.2);
  128. box-shadow:
  129. 0 5px 8px 0 rgba(0,0,0,.1) inset,
  130. 0 1px 4px 0 rgba(0,0,0,.1);
  131. border: 0px solid #ef4300;
  132. }
  133. .error {
  134. display: none;
  135. position: absolute;
  136. top: 27px;
  137. right: -55px;
  138. width: 40px;
  139. height: 40px;
  140. background: #2d2d2d; /* browsers that don't support rgba */
  141. background: rgba(45,45,45,.25);
  142. -moz-border-radius: 8px;
  143. -webkit-border-radius: 8px;
  144. border-radius: 8px;
  145. }
  146. .error span {
  147. display: inline-block;
  148. margin-left: 2px;
  149. font-size: 40px;
  150. font-weight: 700;
  151. line-height: 40px;
  152. text-shadow: 0 1px 2px rgba(0,0,0,.1);
  153. color: red;
  154. -o-transform: rotate(45deg);
  155. -moz-transform: rotate(45deg);
  156. -webkit-transform: rotate(45deg);
  157. -ms-transform: rotate(45deg);
  158. }
  159. .logo { width: 8rem; margin-top: 4rem; }
  160. .container .codes { display: flex; width: 20rem;}
  161. .container .code_btn { background-color: #ee3b71; }
  162. .container .spacer { padding-left: 1rem; }
  163. input::-webkit-outer-spin-button,
  164. input::-webkit-inner-spin-button { -webkit-appearance: none; }
  165. .dialog {
  166. display: none; /* 默认隐藏 */
  167. position: fixed; /* 固定定位 */
  168. z-index: 1; /* 设置在顶层 */
  169. }
  170. .dialog-content {
  171. padding-left: 3.5rem;
  172. padding-right: 3.5rem;
  173. padding-bottom: 1rem;
  174. width: 10rem;
  175. border-radius:15px;
  176. background: rgba(45,45,45,.33);
  177. margin: 0 auto;
  178. margin-top: 50%;
  179. text-align: center;
  180. }
  181. .dialog-content .text {
  182. padding-top: 1rem;
  183. }
  184. .footer {
  185. padding-top: 11rem;
  186. padding-left: 1rem;
  187. padding-right: 1rem;
  188. }
  189. .footer .copyright {
  190. margin-top: 0.5rem;
  191. }
  192. a {
  193. text-decoration: none;
  194. }
  195. /*正常的未被访问过的链接*/
  196. a:link {
  197. text-decoration: none;
  198. color: white;
  199. }
  200. /*已经访问过的链接*/
  201. a:visited {
  202. text-decoration: none;
  203. color: white;
  204. }
  205. /*鼠标划过(停留)的链接*/
  206. a:hover {
  207. text-decoration: none;
  208. }
  209. /* 正在点击的链接,鼠标在元素上按下还没有松开*/
  210. a:active {
  211. text-decoration: none;
  212. }
  213. /* 获得焦点的时候 鼠标松开时显示的颜色*/
  214. a:focus {
  215. text-decoration: none;
  216. }