16339d2540a2659db9a76d97358fe7e75e6714c3.svn-base 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. <template>
  2. <div class="wscn-http404-container">
  3. <div class="wscn-http404">
  4. <div class="pic-404">
  5. <img class="pic-404__parent" src="@/assets/404_images/404.png" alt="404">
  6. <img class="pic-404__child left" src="@/assets/404_images/404_cloud.png" alt="404">
  7. <img class="pic-404__child mid" src="@/assets/404_images/404_cloud.png" alt="404">
  8. <img class="pic-404__child right" src="@/assets/404_images/404_cloud.png" alt="404">
  9. </div>
  10. <div class="bullshit">
  11. <div class="bullshit__headline">{{ message }}</div>
  12. <div class="bullshit__info">Please check that the URL you entered is correct, or click the button below to return to the homepage.</div>
  13. <a href="" class="bullshit__return-home">Back to home</a>
  14. </div>
  15. </div>
  16. </div>
  17. </template>
  18. <script>
  19. export default {
  20. name: 'Page404',
  21. computed: {
  22. message() {
  23. return 'The webmaster said that you can not enter this page...'
  24. }
  25. }
  26. }
  27. </script>
  28. <style lang="scss" scoped>
  29. .wscn-http404-container{
  30. transform: translate(-50%,-50%);
  31. position: absolute;
  32. top: 40%;
  33. left: 50%;
  34. }
  35. .wscn-http404 {
  36. position: relative;
  37. width: 1200px;
  38. padding: 0 50px;
  39. overflow: hidden;
  40. .pic-404 {
  41. position: relative;
  42. float: left;
  43. width: 600px;
  44. overflow: hidden;
  45. &__parent {
  46. width: 100%;
  47. }
  48. &__child {
  49. position: absolute;
  50. &.left {
  51. width: 80px;
  52. top: 17px;
  53. left: 220px;
  54. opacity: 0;
  55. animation-name: cloudLeft;
  56. animation-duration: 2s;
  57. animation-timing-function: linear;
  58. animation-fill-mode: forwards;
  59. animation-delay: 1s;
  60. }
  61. &.mid {
  62. width: 46px;
  63. top: 10px;
  64. left: 420px;
  65. opacity: 0;
  66. animation-name: cloudMid;
  67. animation-duration: 2s;
  68. animation-timing-function: linear;
  69. animation-fill-mode: forwards;
  70. animation-delay: 1.2s;
  71. }
  72. &.right {
  73. width: 62px;
  74. top: 100px;
  75. left: 500px;
  76. opacity: 0;
  77. animation-name: cloudRight;
  78. animation-duration: 2s;
  79. animation-timing-function: linear;
  80. animation-fill-mode: forwards;
  81. animation-delay: 1s;
  82. }
  83. @keyframes cloudLeft {
  84. 0% {
  85. top: 17px;
  86. left: 220px;
  87. opacity: 0;
  88. }
  89. 20% {
  90. top: 33px;
  91. left: 188px;
  92. opacity: 1;
  93. }
  94. 80% {
  95. top: 81px;
  96. left: 92px;
  97. opacity: 1;
  98. }
  99. 100% {
  100. top: 97px;
  101. left: 60px;
  102. opacity: 0;
  103. }
  104. }
  105. @keyframes cloudMid {
  106. 0% {
  107. top: 10px;
  108. left: 420px;
  109. opacity: 0;
  110. }
  111. 20% {
  112. top: 40px;
  113. left: 360px;
  114. opacity: 1;
  115. }
  116. 70% {
  117. top: 130px;
  118. left: 180px;
  119. opacity: 1;
  120. }
  121. 100% {
  122. top: 160px;
  123. left: 120px;
  124. opacity: 0;
  125. }
  126. }
  127. @keyframes cloudRight {
  128. 0% {
  129. top: 100px;
  130. left: 500px;
  131. opacity: 0;
  132. }
  133. 20% {
  134. top: 120px;
  135. left: 460px;
  136. opacity: 1;
  137. }
  138. 80% {
  139. top: 180px;
  140. left: 340px;
  141. opacity: 1;
  142. }
  143. 100% {
  144. top: 200px;
  145. left: 300px;
  146. opacity: 0;
  147. }
  148. }
  149. }
  150. }
  151. .bullshit {
  152. position: relative;
  153. float: left;
  154. width: 300px;
  155. padding: 30px 0;
  156. overflow: hidden;
  157. &__oops {
  158. font-size: 32px;
  159. font-weight: bold;
  160. line-height: 40px;
  161. color: #1482f0;
  162. opacity: 0;
  163. margin-bottom: 20px;
  164. animation-name: slideUp;
  165. animation-duration: 0.5s;
  166. animation-fill-mode: forwards;
  167. }
  168. &__headline {
  169. font-size: 20px;
  170. line-height: 24px;
  171. color: #222;
  172. font-weight: bold;
  173. opacity: 0;
  174. margin-bottom: 10px;
  175. animation-name: slideUp;
  176. animation-duration: 0.5s;
  177. animation-delay: 0.1s;
  178. animation-fill-mode: forwards;
  179. }
  180. &__info {
  181. font-size: 13px;
  182. line-height: 21px;
  183. color: grey;
  184. opacity: 0;
  185. margin-bottom: 30px;
  186. animation-name: slideUp;
  187. animation-duration: 0.5s;
  188. animation-delay: 0.2s;
  189. animation-fill-mode: forwards;
  190. }
  191. &__return-home {
  192. display: block;
  193. float: left;
  194. width: 110px;
  195. height: 36px;
  196. background: #1482f0;
  197. border-radius: 100px;
  198. text-align: center;
  199. color: #ffffff;
  200. opacity: 0;
  201. font-size: 14px;
  202. line-height: 36px;
  203. cursor: pointer;
  204. animation-name: slideUp;
  205. animation-duration: 0.5s;
  206. animation-delay: 0.3s;
  207. animation-fill-mode: forwards;
  208. }
  209. @keyframes slideUp {
  210. 0% {
  211. transform: translateY(60px);
  212. opacity: 0;
  213. }
  214. 100% {
  215. transform: translateY(0);
  216. opacity: 1;
  217. }
  218. }
  219. }
  220. }
  221. </style>