_welcome.scss 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. .onboarding {
  2. background: linear-gradient(to bottom, mc('grey', '900') 0%, mc('grey', '800') 100%);
  3. height: 100%;
  4. display: flex;
  5. flex-direction: column;
  6. justify-content: center;
  7. align-items: center;
  8. color: mc('grey', '50');
  9. &::before {
  10. content: '';
  11. display:block;
  12. width: 100%;
  13. height: 100%;
  14. position: absolute;
  15. top: 0;
  16. left: 0;
  17. background-image: url('../static/svg/login-bg-motif.svg');
  18. background-position: center center;
  19. background-repeat: repeat;
  20. background-size: 500px;
  21. z-index: 0;
  22. opacity: .75;
  23. animation: onboardingBgReveal 50s linear infinite;
  24. @include keyframes(onboardingBgReveal) {
  25. 0% {
  26. background-position-y: 0;
  27. }
  28. 100% {
  29. background-position-y: -2000px;
  30. }
  31. }
  32. }
  33. &::after {
  34. content: '';
  35. display: block;
  36. width: 95vw;
  37. height: 95vh;
  38. border: 3px dotted rgba(255,255,255,.2);
  39. border-radius: 50px;
  40. position: absolute;
  41. top: 0;
  42. left: 0;
  43. right: 0;
  44. bottom: 0;
  45. margin: auto;
  46. z-index: 1;
  47. }
  48. img {
  49. width: 500px;
  50. filter: grayscale(100%) brightness(160%);
  51. margin-bottom: 3rem;
  52. z-index: 2;
  53. animation-duration: 3s;
  54. @include until($tablet) {
  55. width: 300px;
  56. }
  57. }
  58. h1 {
  59. font-size: 1.5rem;
  60. margin-bottom: 1rem;
  61. z-index: 2;
  62. }
  63. h2 {
  64. margin-bottom: 3rem;
  65. z-index: 2;
  66. }
  67. .v-btn {
  68. z-index: 2;
  69. }
  70. }