if theme.preloader.enable case theme.preloader.load_style when 'gear' include ./load_style/gear.pug when 'ironheart' include ./load_style/ironheart.pug when 'scarecrow' include ./load_style/scarecrow.pug when 'triangles' include ./load_style/triangles.pug when 'wizard' include ./load_style/wizard.pug when 'image' include ./load_style/image.pug when 'image-fade-in-out' include ./load_style/image-fade-in-out.pug when 'image-pulsing' include ./load_style/image-pulsing.pug when 'image-Rotating' include ./load_style/image-Rotating.pug when 'doodle' include ./load_style/doodle.pug when 'hyperspace' include ./load_style/hyperspace.pug default include ./load_style/default.pug
#loading-box .loading-left-bg @extend .loading-bg left 0 .loading-right-bg @extend .loading-bg right 0 &.loaded z-index -1000 .loading-left-bg transition all 1.0s transform translate(-100%, 0) .loading-right-bg transition all 1.0s transform translate(100%, 0)
#loading-box position fixed z-index 1000 display -webkit-box display flex -webkit-box-align center align-items center -webkit-box-pack center justify-content center -webkit-box-orient vertical -webkit-box-direction normal flex-direction column flex-wrap wrap width 100vw height 100vh overflow hidden
.load-image position fixed z-index 1001 display flex width 100px // Set the diameter to 100px height 100px // Set the diameter to 100px border-radius 50% // Make the image circular
.scarecrow__pipe position absolute top 40px left 60px width 40px height 2px background-color #8c8070 &:before content "" position absolute width 9px height 17px background-color #8c8070 border-radius 3px left 40px top -7px
.scarecrow__body position relative width 250px z-index 1
.scarecrow__coat position absolute top 15px left 0 right 0 margin-left auto margin-right auto border-top 100px solid #515559 border-left 5px solid transparent border-right 5px solid transparent width 75px
.scarecrow__bow position absolute top 20px left 0 right 0 margin-left auto margin-right auto background-color #3a485d width 10px height 10px z-index 3 border-radius 2px &:before content "" position absolute top -10px left -25px width 0 height 10px border-top 10px solid transparent border-left 25px solid #5a6b8c border-bottom 10px solid transparent border-radius 8px &:after content "" position absolute top -10px right -25px width 0 height 10px border-top 10px solid transparent border-right 25px solid #5a6b8c border-bottom 10px solid transparent border-radius 8px
.scarecrow__shirt position absolute top 8px left 0 right 0 margin-left auto margin-right auto width 30px height 35px z-index 2 &:before content "" position absolute top 0 left -5px height 100% width 70% background-color #dbb2c2 transform skew(1deg, 35deg) border-bottom-left-radius 90px border-top-left-radius 15px border-bottom-right-radius 15px border-top-right-radius 10px &:after content "" position absolute top 0 right -5px height 100% width 70% background-color #dbb2c2 transform skew(-1deg, -35deg) border-top-right-radius 15px border-bottom-right-radius 90px border-bottom-left-radius 15px border-top-left-radius 10px
.scarecrow__waistcoat position absolute top 15px left -1px right 0 margin-left auto margin-right auto width 35px height 50px &:before content "" position absolute top 0 left -4px height 100% width 65% background-color #83a6bc transform skew(0deg, 40deg) border-bottom-left-radius 90px border-top-left-radius 90px border-bottom-right-radius 15px &:after content "" position absolute top 0 right -5px height 100% width 65% background-color #83a6bc transform skew(0deg, -40deg) border-top-right-radius 90px border-bottom-right-radius 90px border-bottom-left-radius 15px
.scarecrow__coattails position absolute top 105px left 0 right 0 margin-left auto margin-right auto width 75px height 120px z-index 1 &:before content "" position absolute top 0 left 8px height 100% width 60% background-color #515559 transform-origin top transform skew(-25deg, 30deg) rotate(0deg) border-bottom-left-radius 50px border-bottom-right-radius 5px animation coattails-left 0.2s ease-in alternate infinite &:after content "" position absolute top 0 right 8px height 100% width 60% background-color #515559 transform-origin top transform skew(25deg, -30deg) rotate(0deg) border-bottom-right-radius 50px border-bottom-left-radius 5px animation coattails-right 0.2s ease-in alternate infinite
.scarecrow__pants position absolute top 115px left 0 right 0 margin-left auto margin-right auto width 50px height 150px &:before content "" position absolute top 0 left -8px height 100% width 60% background-color #393c3e transform rotate(0deg) transform-origin top animation pants 0.5s linear alternate infinite &:after content "" position absolute top 0 right -8px height 100% width 60% background-color #393c3e transform rotate(0deg) transform-origin top animation pants 0.3s linear alternate infinite
.scarecrow__sleeve position absolute top 15px background-color #515559 width 80px height 25px
.scarecrow__sleeve--l left 10px &:before content "" position absolute top -3px left -22px width 0 height 25px border-top 3px solid transparent border-left 25px solid #515559 border-bottom 3px solid transparent border-radius 3px
.scarecrow__sleeve--r right 10px &:before content "" position absolute top -3px right -22px width 0 height 25px border-top 3px solid transparent border-right 25px solid #515559 border-bottom 3px solid transparent border-radius 3px
.scarecrow__glove position absolute top 12px width 0px height 12px &:before content "" position absolute top -7px border-radius 100% background-color #f2f2f2 width 35px height 15px
.scarecrow__glove--l border-top 3px solid transparent border-right 20px solid #f2f2f2 border-bottom 3px solid transparent left -50px &:before transform-origin right left -30px transform rotate(0deg) animation glove-l 0.2s linear alternate infinite
.scarecrow__glove--r border-top 3px solid transparent border-left 20px solid #f2f2f2 border-bottom 3px solid transparent right -50px &:before transform-origin left right -30px transform rotate(0deg) animation glove-r 0.2s linear alternate infinite
.scarecrow__arms position absolute left 50% transform translate(-50%, -50%) background-color #8c8070 width 350px height 8px border-radius 5px margin 20px auto
.scarecrow__leg position relative background-color #8c8070 width 8px height 380px border-bottom-left-radius 5px border-bottom-right-radius 5px margin 0 auto
@keyframes hop 0% transform translateY(-10px) 100% transform translateY(10px)
.triangles-wrap position absolute top 50% left 50% transform translate(-50%,-66.6666666666666666%) -ms-transform translate(-50%,-66.6666666666666666%) -webkit-transform translate(-50%,-66.6666666666666666%) -webkit-animation animascale 2s linear alternate infinite animation animascale 2s linear alternate both infinite
.triangles-zero, .triangles-ein, .triangles-dvai, .triangles-trei, .triangles-feir, .triangles-fei, .triangles-sei, .triangles-seiz, .triangles-eiz width 0px height 0px position absolute top 50% left 50% transform translate(-50%,-66.6666666666666666%) -ms-transform translate(-50%,-66.6666666666666666%) -webkit-transform translate(-50%,-66.6666666666666666%)
.triangles-zero border-style solid border-width 0 5px 8.7px 5px border-color transparent transparent #1274b6 transparent -webkit-animation anima 2s linear reverse both infinite 4s, animacolorzero 2s linear alternate both infinite animation anima 2s linear reverse both infinite 4s, animacolorzero 2s linear alternate both infinite -webkit-transform-origin top left
.triangles-ein border-style solid border-width 0 10px 17.3px 10px border-color transparent transparent #167bbf transparent -webkit-animation anima 2s linear both infinite 4.2s, animacolorein 2s linear alternate both infinite animation anima 2s linear both infinite 4.2s, animacolorein 2s linear alternate both infinite -webkit-transform-origin top left
.triangles-dvai border-style solid border-width 0 20px 34.6px 20px border-color transparent transparent #1b82c8 transparent -webkit-animation anima 2s linear reverse both infinite 4.4s, animacolordvai 2s linear alternate both infinite animation anima 2s linear reverse both infinite 4.4s, animacolordvai 2s linear alternate both infinite -webkit-transform-origin top left
.triangles-trei border-style solid border-width 0 40px 69.3px 40px border-color transparent transparent #228bd2 transparent -webkit-animation anima 2s linear both infinite 4.6s, animacolortrei 2s linear alternate both infinite animation anima 2s linear both infinite 4.6s, animacolortrei 2s linear alternate both infinite -webkit-transform-origin top left
.triangles-feir border-style solid border-width 0 80px 138.6px 80px border-color transparent transparent #2992d9 transparent -webkit-animation anima 2s linear reverse both infinite 4.8s, animacolorfeir 2s linear alternate both infinite animation anima 2s linear reverse both infinite 4.8s, animacolorfeir 2s linear alternate both infinite -webkit-transform-origin top left
.triangles-fei border-style solid border-width 0 160px 277.1px 160px border-color transparent transparent #3498db transparent -webkit-animation anima 2s linear both infinite 5s, animacolorfei 2s linear alternate both infinite animation anima 2s linear both infinite 5s, animacolorfei 2s linear alternate both infinite -webkit-transform-origin top left
.triangles-sei border-style solid border-width 0 320px 554.3px 320px border-color transparent transparent #3f9edd transparent -webkit-animation anima 2s linear reverse both infinite 5.2s, animacolorsei 2s linear alternate both infinite animation anima 2s linear reverse both infinite 5.2s, animacolorsei 2s linear alternate both infinite -webkit-transform-origin top left
.triangles-seiz border-style solid border-width 0 640px 1108.5px 640px border-color transparent transparent #48a2de transparent -webkit-animation anima 2s linear both infinite 5.4s, animacolorseiz 2s linear alternate both infinite animation anima 2s linear both infinite 5.4s, animacolorseiz 2s linear alternate both infinite -webkit-transform-origin top left
.triangles-eiz border-style solid border-width 0 1280px 2217.0px 1280px border-color transparent transparent #59aae0 transparent -webkit-animation anima 2s linear reverse both infinite 5.6s, animacoloreiz 2s linear alternate both infinite animation anima 2s linear reverse both infinite 5.6s, animacoloreiz 2s linear alternate both infinite -webkit-transform-origin top left
@-webkit-keyframes anima from -webkit-transform: rotate(0deg) translate(-50%,-66.6666666666666666%) to -webkit-transform: rotate(360deg) translate(-50%,-66.6666666666666666%)
@keyframes anima from transform rotate(0deg) translate(-50%,-66.6666666666666666%) to transform rotate(360deg) translate(-50%,-66.6666666666666666%)
.loading-bg position fixed z-index 1000 width 50% height 100% background var(--preloader-bg) #loading-box .loading-left-bg @extend .loading-bg left 0 .loading-right-bg @extend .loading-bg right 0 &.loaded z-index -1000 .loading-left-bg transition all 1.0s transform translate(-100%, 0) .loading-right-bg transition all 1.0s transform translate(100%, 0) #loading-box position fixed z-index 1000 display -webkit-box display flex -webkit-box-align center align-items center -webkit-box-pack center justify-content center -webkit-box-orient vertical -webkit-box-direction normal flex-direction column flex-wrap wrap width 100vw height 100vh overflow hidden
&.loaded .wizard-scene display none
.wizard-scene position fixed z-index 1001 display -webkit-box display flex
.wizard position relative width 190px height 240px
.wizard-body position absolute bottom 0 left 68px height 100px width 60px background #3f64ce &::after content "" position absolute bottom 0 left 20px height 100px width 60px background #3f64ce -webkit-transform skewX(14deg) transform skewX(14deg)
.wizard-right-arm position absolute bottom 74px left 110px height 44px width 90px background #3f64ce border-radius 22px -webkit-transform-origin 16px 22px transform-origin 16px 22px -webkit-transform rotate(70deg) transform rotate(70deg) -webkit-animation right_arm 10s ease-in-out infinite animation right_arm 10s ease-in-out infinite .right-hand position absolute right 8px bottom 8px width 30px height 30px border-radius 50% background #f1c5b4 -webkit-transform-origin center center transform-origin center center -webkit-transform rotate(-40deg) transform rotate(-40deg) -webkit-animation right_hand 10s ease-in-out infinite animation right_hand 10s ease-in-out infinite .wizard-right-hand &::after content "" position absolute right 0px top -8px width 15px height 30px border-radius 10px background #f1c5b4 -webkit-transform translateY(16px) transform translateY(16px) -webkit-animation right_finger 10s ease-in-out infinite animation right_finger 10s ease-in-out infinite
.wizard-left-arm position absolute bottom 74px left 26px height 44px width 70px background #3f64ce border-bottom-left-radius 8px -webkit-transform-origin 60px 26px transform-origin 60px 26px -webkit-transform rotate(-70deg) transform rotate(-70deg) -webkit-animation left_arm 10s ease-in-out infinite animation left_arm 10s ease-in-out infinite .wizard-left-hand position absolute left -18px top 0 width 18px height 30px border-top-left-radius 35px border-bottom-left-radius 35px background #f1c5b4 &::after content "" position absolute right 0 top 0 width 30px height 15px border-radius 20px background #f1c5b4 -webkit-transform-origin right bottom transform-origin right bottom -webkit-transform scaleX(0) transform scaleX(0) -webkit-animation left_finger 10s ease-in-out infinite animation left_finger 10s ease-in-out infinite
.wizard-head position absolute top 0 left 14px width 160px height 210px -webkit-transform-origin center center transform-origin center center -webkit-transform rotate(-3deg) transform rotate(-3deg) -webkit-animation head 10s ease-in-out infinite animation head 10s ease-in-out infinite .wizard-beard position absolute bottom 0 left 38px height 106px width 80px border-bottom-right-radius 55% background #ffffff &::after content "" position absolute top 16px left -10px width 40px height 20px border-radius 20px background #ffffff .wizard-face position absolute bottom 76px left 38px height 30px width 60px background #f1c5b4 &::before content "" position absolute top 0px left 40px width 20px height 40px border-bottom-right-radius 20px border-bottom-left-radius 20px background #f1c5b4 &::after content "" position absolute top 16px left -10px width 50px height 20px border-radius 20px border-bottom-right-radius 0px background #ffffff .wizard-adds position absolute top 0px left -10px width 40px height 20px border-radius 20px background #f1c5b4 &::after content "" position absolute top 5px left 80px width 15px height 20px border-bottom-right-radius 20px border-top-right-radius 20px background #f1c5b4 .wizard-hat position absolute bottom 106px left 0 width 160px height 20px border-radius 20px background #3f64ce &::before content "" position absolute top -70px left 50% -webkit-transform translatex(-50%) transform translatex(-50%) width 0 height 0 border-style solid border-width 0 34px 70px 50px border-color transparent transparent #3f64ce transparent &::after content "" position absolute top 0 left 0 width 160px height 20px background #3f64ce border-radius 20px .wizard-hat-of-the-hat position absolute bottom 78px left 79px width 0 height 0 border-style solid border-width 0 25px 25px 19px border-color transparent transparent #3f64ce transparent &::after content "" position absolute top 6px left -4px width 35px height 10px border-radius 10px border-bottom-left-radius 0px background #3f64ce -webkit-transform rotate(40deg) transform rotate(40deg) .wizard-four-point-star position absolute width 12px height 12px &::after -webkit-transform rotate(156.66deg) skew(45deg) transform rotate(156.66deg) skew(45deg) &.--first bottom 28px left 46px &.--second bottom 40px left 80px &.--third bottom 15px left 108px
.wizard-head .wizard-hat .wizard-four-point-star::after, .wizard-head .wizard-hat .wizard-four-point-star::before content "" position absolute background #ffffff display block left 0 width 141.4213% top 0 bottom 0 border-radius 10% -webkit-transform rotate(66.66deg) skewX(45deg) transform rotate(66.66deg) skewX(45deg)
.wizard-objects position relative width 200px height 240px
.wizard-square position absolute bottom -60px left -5px width 120px height 120px border-radius 50% -webkit-transform rotate(-360deg) transform rotate(-360deg) -webkit-animation path_square 10s ease-in-out infinite animation path_square 10s ease-in-out infinite &::after content "" position absolute top 10px left 0 width 50px height 50px background #9ab3f5
.wizard-circle position absolute bottom 10px left 0 width 100px height 100px border-radius 50% -webkit-transform rotate(-360deg) transform rotate(-360deg) -webkit-animation path_circle 10s ease-in-out infinite animation path_circle 10s ease-in-out infinite &::after content "" position absolute bottom -10px left 25px width 50px height 50px border-radius 50% background #c56183
#loading-box .loading-left-bg @extend .loading-bg left 0 .loading-right-bg @extend .loading-bg right 0 &.loaded z-index -1000 .loading-left-bg transition all 1.0s transform translate(-100%, 0) .loading-right-bg transition all 1.0s transform translate(100%, 0)
#loading-box position fixed z-index 1000 display -webkit-box display flex -webkit-box-align center align-items center -webkit-box-pack center justify-content center -webkit-box-orient vertical -webkit-box-direction normal flex-direction column flex-wrap wrap width 100vw height 100vh overflow hidden
.load-image position fixed z-index 1001 display flex width 100px // Set the diameter to 100px将图像设置为圆形 height 100px // Set the diameter to 100px将图像设置为圆形 border-radius 50% // Make the image circular 将图像设为圆形 animation fade-in-out 2s ease-in-out infinite // Adds a fade in/out effect渐入渐出效果
#loading-box .loading-left-bg @extend .loading-bg left 0 .loading-right-bg @extend .loading-bg right 0 &.loaded z-index -1000 .loading-left-bg transition all 1.0s transform translate(-100%, 0) .loading-right-bg transition all 1.0s transform translate(100%, 0)
#loading-box position fixed z-index 1000 display -webkit-box display flex -webkit-box-align center align-items center -webkit-box-pack center justify-content center -webkit-box-orient vertical -webkit-box-direction normal flex-direction column flex-wrap wrap width 100vw height 100vh overflow hidden
.load-image position fixed z-index 1001 display flex width 100px // Set the diameter to 100px将图像设置为圆形 height 100px // Set the diameter to 100px将图像设置为圆形 border-radius 50% // Make the image circular 将图像设为圆形 animation pulse 2s ease-in-out infinite // Adds a pulsing effect脉冲效果
#loading-box .loading-left-bg @extend .loading-bg left 0 .loading-right-bg @extend .loading-bg right 0 &.loaded z-index -1000 .loading-left-bg transition all 1.0s transform translate(-100%, 0) .loading-right-bg transition all 1.0s transform translate(100%, 0)
#loading-box position fixed z-index 1000 display -webkit-box display flex -webkit-box-align center align-items center -webkit-box-pack center justify-content center -webkit-box-orient vertical -webkit-box-direction normal flex-direction column flex-wrap wrap width 100vw height 100vh overflow hidden
.load-image position fixed z-index 1001 display flex width 100px // Set the diameter to 100px将图像设置为圆形 height 100px // Set the diameter to 100px将图像设置为圆形 border-radius 50% // Make the image circular 将图像设为圆形 animation rotate-image 2s linear infinite // Adds continuous rotation旋转效果