vue-puzzle-vcode.css 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. .vue-puzzle-vcode {
  2. position: fixed;
  3. top: 0;
  4. left: 0;
  5. bottom: 0;
  6. right: 0;
  7. background-color: rgba(0, 0, 0, 0.3);
  8. z-index: 999;
  9. opacity: 0;
  10. pointer-events: none;
  11. transition: opacity 200ms;
  12. }
  13. .vue-puzzle-vcode.show_{
  14. opacity: 1;
  15. pointer-events: auto;
  16. }
  17. .vue-auth-box_ {
  18. position: absolute;
  19. top: 40%;
  20. left: 50%;
  21. transform: translate(-50%, -50%);
  22. padding: 20px;
  23. background: #fff;
  24. user-select: none;
  25. border-radius: 3px;
  26. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  27. }
  28. .vue-auth-box_ .auth-body_ {
  29. position: relative;
  30. overflow: hidden;
  31. border-radius: 3px;
  32. }
  33. .vue-auth-box_ .auth-body_ .loading-box_ {
  34. position: absolute;
  35. top: 0;
  36. left: 0;
  37. bottom: 0;
  38. right: 0;
  39. background-color: rgba(0, 0, 0, 0.8);
  40. z-index: 20;
  41. opacity: 1;
  42. transition: opacity 200ms;
  43. display: flex;
  44. align-items: center;
  45. justify-content: center;
  46. }
  47. .vue-auth-box_ .auth-body_ .loading-box_.hide_ {
  48. opacity: 0;
  49. pointer-events: none;
  50. }
  51. .vue-auth-box_ .auth-body_ .loading-box_.hide_ .loading-gif_ span{
  52. animation-play-state: paused;
  53. }
  54. .vue-auth-box_ .auth-body_ .loading-box_ .loading-gif_ {
  55. flex: none;
  56. height: 5px;
  57. line-height: 0;
  58. }
  59. .vue-auth-box_ .auth-body_ .loading-box_ .loading-gif_ @keyframes load{
  60. 0% {
  61. opacity: 1;
  62. transform: scale(1.3);
  63. }
  64. 100% {
  65. opacity: 0.2;
  66. transform: scale(0.3);
  67. }
  68. }
  69. .vue-auth-box_ .auth-body_ .loading-box_ .loading-gif_ span {
  70. display: inline-block;
  71. width: 5px;
  72. height: 100%;
  73. margin-left: 2px;
  74. border-radius: 50%;
  75. background-color: #888;
  76. animation: load 1.04s ease infinite;
  77. }
  78. .vue-auth-box_ .auth-body_ .loading-box_ .loading-gif_ span:nth-child(1) {
  79. margin-left: 0;
  80. }
  81. .vue-auth-box_ .auth-body_ .loading-box_ .loading-gif_ span:nth-child(2) {
  82. animation-delay: 0.13s;
  83. }
  84. .vue-auth-box_ .auth-body_ .loading-box_ .loading-gif_ span:nth-child(3) {
  85. animation-delay: 0.26s;
  86. }
  87. .vue-auth-box_ .auth-body_ .loading-box_ .loading-gif_ span:nth-child(4) {
  88. animation-delay: 0.39s;
  89. }
  90. .vue-auth-box_ .auth-body_ .loading-box_ .loading-gif_ span:nth-child(5) {
  91. animation-delay: 0.52s;
  92. }
  93. .vue-auth-box_ .auth-body_ .info-box_ {
  94. position: absolute;
  95. bottom: 0;
  96. left: 0;
  97. width: 100%;
  98. height: 24px;
  99. line-height: 24px;
  100. text-align: center;
  101. overflow: hidden;
  102. font-size: 13px;
  103. background-color: #83ce3f;
  104. opacity: 0;
  105. transform: translateY(24px);
  106. transition: all 200ms;
  107. color: #fff;
  108. z-index: 10;
  109. }
  110. .vue-auth-box_ .auth-body_ .info-box_.show {
  111. opacity: 0.95;
  112. transform: translateY(0);
  113. }
  114. .vue-auth-box_ .auth-body_ .info-box_.fail {
  115. background-color: #ce594b;
  116. }
  117. .vue-auth-box_ .auth-body_ .auth-canvas2_ {
  118. position: absolute;
  119. top: 0;
  120. left: 0;
  121. width: 60px;
  122. height: 100%;
  123. z-index: 2;
  124. }
  125. .vue-auth-box_ .auth-body_ .auth-canvas3_ {
  126. position: absolute;
  127. top: 0;
  128. left: 0;
  129. opacity: 0;
  130. transition: opacity 600ms;
  131. z-index: 3;
  132. }
  133. .vue-auth-box_ .auth-body_ .auth-canvas3_.show {
  134. opacity: 1;
  135. }
  136. .vue-auth-box_ .auth-body_ .flash_ {
  137. position: absolute;
  138. top: 0;
  139. left: 0;
  140. width: 30px;
  141. height: 100%;
  142. background-color: rgba(255, 255, 255, 0.1);
  143. z-index: 3;
  144. }
  145. .vue-auth-box_ .auth-body_ .flash_.show {
  146. transition: transform 600ms;
  147. }
  148. .vue-auth-box_ .auth-body_ .reset_ {
  149. position: absolute;
  150. top: 2px;
  151. right: 2px;
  152. width: 25px;
  153. height: auto;
  154. z-index: 12;
  155. cursor: pointer;
  156. transition: transform 200ms;
  157. transform: rotate(0deg);
  158. font-size: 25px !important;
  159. color: #fff !important;
  160. text-shadow: 1px 1px 3px #5a5a5a !important;
  161. }
  162. .vue-auth-box_ .auth-body_ .reset_:hover {
  163. transform: rotate(-90deg);
  164. }
  165. .vue-auth-box_ .auth-control_ .range-box {
  166. position: relative;
  167. width: 100%;
  168. background-color: #eef1f8;
  169. margin-top: 20px;
  170. border-radius: 3px;
  171. box-shadow: 0 0 8px rgba(240, 240, 240, 0.6) inset;
  172. }
  173. .vue-auth-box_ .auth-control_ .range-box .range-text {
  174. position: absolute;
  175. top: 50%;
  176. left: 50%;
  177. transform: translate(-50%, -50%);
  178. font-size: 14px;
  179. color: #b7bcd1;
  180. white-space: nowrap;
  181. overflow: hidden;
  182. text-overflow: ellipsis;
  183. text-align: center;
  184. width: 100%;
  185. }
  186. .vue-auth-box_ .auth-control_ .range-box .range-slider {
  187. position: absolute;
  188. height: 100%;
  189. width: 50px;
  190. background-color: rgba(106, 160, 255, 0.8);
  191. border-radius: 3px;
  192. }
  193. .vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn {
  194. position: absolute;
  195. display: flex;
  196. align-items: center;
  197. justify-content: center;
  198. right: 0;
  199. width: 50px;
  200. height: 100%;
  201. background-color: #fff;
  202. border-radius: 3px;
  203. box-shadow: 0 0 4px #ccc;
  204. cursor: pointer;
  205. }
  206. .vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn > div {
  207. width: 0;
  208. height: 40%;
  209. transition: all 200ms;
  210. border: solid 1px #6aa0ff;
  211. }
  212. .vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn > div:nth-child(2) {
  213. margin: 0 4px;
  214. }
  215. .vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn:hover > div:first-child,.vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn.isDown > div:first-child{
  216. border: solid 4px transparent;
  217. height: 0;
  218. border-right-color: #6aa0ff;
  219. }
  220. .vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn:hover > div:nth-child(2),.vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn.isDown > div:nth-child(2){
  221. border-width: 3px;
  222. height: 0;
  223. border-radius: 3px;
  224. margin: 0 6px;
  225. border-right-color: #6aa0ff;
  226. }
  227. .vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn:hover > div:nth-child(3),.vue-auth-box_ .auth-control_ .range-box .range-slider .range-btn.isDown > div:nth-child(3){
  228. border: solid 4px transparent;
  229. height: 0;
  230. border-left-color: #6aa0ff;
  231. }
  232. .vue-puzzle-overflow {
  233. overflow: hidden !important;
  234. }