index.module.scss 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. .LoadingVideo {
  2. width: 100%;
  3. height: 100%;
  4. .videoBox {
  5. width: 100%;
  6. height: 100%;
  7. & > video {
  8. width: 100%;
  9. height: 100%;
  10. object-fit: fill;
  11. }
  12. }
  13. }
  14. .loadingBox {
  15. position: absolute;
  16. z-index: 2;
  17. top: 0;
  18. left: 0;
  19. width: 100%;
  20. height: 100%;
  21. background-image: url('../../../assets/img/loading_bg.jpg');
  22. background-size: 100% 100%;
  23. background-repeat: no-repeat;
  24. background-position: center center;
  25. display: flex;
  26. align-items: center;
  27. justify-content: center;
  28. flex-direction: column;
  29. gap: 3%;
  30. opacity: 1;
  31. transition: opacity 0.6s ease;
  32. .loadingLogo {
  33. width: 10%;
  34. & > img {
  35. width: 100%;
  36. object-fit: contain;
  37. }
  38. }
  39. .loading {
  40. width: 33%;
  41. height: 2.3%;
  42. margin-bottom: 4%;
  43. display: flex;
  44. align-items: center;
  45. justify-content: center;
  46. flex-direction: column;
  47. position: relative;
  48. .progress {
  49. width: 100%;
  50. height: 100%;
  51. border: 1px solid rgba(255, 239, 197, 1);
  52. border-radius: 0.5vw;
  53. padding: 0.2vw;
  54. .thumb {
  55. width: 0;
  56. height: 100%;
  57. border-radius: 0.5vw;
  58. background-color: rgba(255, 239, 197, 1);
  59. }
  60. }
  61. .percent {
  62. position: absolute;
  63. top: 0;
  64. right: -11%;
  65. width: 8%;
  66. height: 100%;
  67. font-size: 1vw;
  68. line-height: 1;
  69. color: rgba(255, 239, 197, 1);
  70. }
  71. }
  72. }
  73. .loadingBoxExiting {
  74. opacity: 0;
  75. pointer-events: none;
  76. }