.state-index-yearendreport .app { position: relative; z-index: 2; width: 100%; } .state-index-yearendreport .app-body { display: block; padding: 0; } .state-index-yearendreport .app, .state-index-yearendreport .app-body { height: 100%; overflow: hidden; } .state-index-yearendreport .app-content { display: block; height: 100%; padding: 0; overflow: hidden; } /* 隐藏考试按钮 */ .state-modalPage-course-detail .course-test__btn { display: none; } /* Up arrow */ @keyframes bounce { from, 20%, 53%, 80%, to { animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); transform: translate3d(0, 0, 0); } 40%, 43% { animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); transform: translate3d(0, -15px, 0); } 70% { animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06); transform: translate3d(0, -5px, 0); } 90% { transform: translate3d(0, -2px, 0); } } .bounce { animation-name: bounce; transform-origin: center bottom; animation-iteration-count: infinite; } /* Up arrow */ /* firework animates */ @keyframes zoomIn { from { opacity: 0; transform: scale3d(0.3, 0.3, 0.3); } 50% { opacity: 1; } } .zoomIn { animation-name: zoomIn; } @keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } } .fadeOut { animation-name: fadeOut; } .firework { background-image: url(static/assets/images/year-end-report/firework.png); background-repeat: no-repeat; background-size: cover; position: absolute; z-index: 2; pointer-events: none; } /* firework animates */ /* 小人摆动 */ @keyframes swing { 20% { transform: rotate3d(0, 0, 1, 15deg); } 40% { transform: rotate3d(0, 0, 1, -10deg); } 60% { transform: rotate3d(0, 0, 1, 5deg); } 80% { transform: rotate3d(0, 0, 1, -5deg); } to { transform: rotate3d(0, 0, 1, 0deg); } } .swing { transform-origin: bottom center; animation-name: swing; animation: swing 2s 4s both infinite; } .swing1 { transform-origin: bottom center; animation-name: swing; animation: swing 2s 3s both infinite; } /* 小人摆动 */ .swiper-container{width: 100%;height: 100%;} .swiper-slide-content{width: 100%;height: 100%;background-size: cover;} .next { position: absolute; bottom: 2rem; left:0; right:0; z-index: 99; } .next a { width: 1.667rem; height: 1.667rem; } .share { position: absolute; bottom: 2rem; left:0; right:0; z-index: 99; } /* music animate */ @keyframes rotate{ from{transform: rotate(0deg)} to{transform: rotate(359deg)} } .rotate { -webkit-transition-property: -webkit-transform; -webkit-transition-duration: 1s; -moz-transition-property: -moz-transform; -moz-transition-duration: 1s; -webkit-animation: rotate 3s linear infinite; -moz-animation: rotate 3s linear infinite; -o-animation: rotate 3s linear infinite; animation: rotate 3s linear infinite; } .music { background-image: url(static/assets/images/year-end-report/music-on.png); background-size: cover; width: 2rem; height: 2rem; position: absolute; top: 2rem; right: 2rem; z-index: 999; /* ios */ margin-top: constant(safe-area-inset-top); margin-top: env(safe-area-inset-top); } .music.off { background-image: url(static/assets/images/year-end-report/music-off.png); opacity: 0.6; } /*******************************/ /********************************/ @keyframes flipInY { from { transform: perspective(400px) rotate3d(0, 1, 0, 90deg); animation-timing-function: ease-in; opacity: 0; } 40% { transform: perspective(400px) rotate3d(0, 1, 0, -20deg); animation-timing-function: ease-in; } 60% { transform: perspective(400px) rotate3d(0, 1, 0, 10deg); opacity: 1; } 80% { transform: perspective(400px) rotate3d(0, 1, 0, -5deg); } to { transform: perspective(400px); } } .flipInY { backface-visibility: visible !important; animation-name: flipInY; } /********************************/ /*************************************/ @keyframes jackInTheBox { from { opacity: 0; transform: scale(0.1) rotate(30deg); transform-origin: center bottom; } 50% { transform: rotate(-10deg); } 70% { transform: rotate(3deg); } to { opacity: 1; transform: scale(1); } } .jackInTheBox { animation-name: jackInTheBox; } /*************************************/ .loading-container { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: #ECE8DE; z-index: 1000; display: flex; justify-content: center; align-items: center; } a.return-btn { top: 1rem; left: 2rem; width: 2.5rem; height: 2.5rem; /* ios */ margin-top: constant(safe-area-inset-top); margin-top: env(safe-area-inset-top); } .state-index-yearendreport .return-btn .iconfont { margin-top: 0; line-height: 2.5rem; } .state-index-yearendreport .return-btn .iconfont:before { position: static; line-height: 2.5rem; } .slide-page-outer { width: 100%; height: 100%; background:#434343; background-size: cover; background-repeat: no-repeat; text-align: left; letter-spacing: 0.18px; background: transparent; min-height: 300px; } .slide-page-inner { height: 100%; padding: 12% 2rem; position: absolute; left: 0; right: 0; z-index: 1; margin-top: constant(safe-area-inset-top); margin-top: env(safe-area-inset-top); } .slide-page-inner p, .d-table { font-size: 1.42rem; color: #FFFFFF; line-height: 1.667rem; padding: 1.5rem 0; letter-spacing: 0.1px; } .slide-page-inner .emphasised { font-size: 2rem; color: #FFED03; margin: 0 4px; letter-spacing: 0.15px; } .item-emphasised { color: #FFED03; } .d-table { display: table; width: 100%; height: 95%; } .d-row { display: table-row; } .d-row.empty { height: 2rem; } .d-cell { display: table-cell; vertical-align: middle; } .slide-page-inner.d-table { padding: 4rem 2rem 4rem 2rem; text-align: center; } .vertical-middle { vertical-align: middle; } /* Page 1 */ .slide-page-outer.slide-page-1 { text-align: center; } .slide-page-1 .slide-page-inner { padding: 8% 2rem; } .slide-page-title { height: 33%; width: 100%; padding: 3rem; background-image: url(static/assets/images/year-end-report/p1-1.png); background-size: contain; background-repeat: no-repeat; background-position: center; } .slide-page-body { height: 40%; width: auto; } .view { height: 30%; display: flex; align-items: center; justify-content: center; } /* Page 2 */ .slide-page-subject-bg { background-image: url(static/assets/images/year-end-report/p2.png); background-size: contain; background-repeat: no-repeat; position: absolute; width: 70%; height: 50%; right: 0; bottom: 2rem; } .slide-page-2 .slide-page-subject-bg { width: 90%; right: -4rem; background-size: contain; } .slide-page-2 .line1 { text-align: center; height: 10%; } .slide-page-2 .slide-page-inner .emphasised.line1 { margin: 0; } .slide-page-2 .line2 { text-align: center; height: 20%; line-height: 3rem; } .slide-page-2 .line3 { text-align: center; height: 20%; min-width: auto; width: 100%; line-height: 3rem; } /* Page 3 */ .slide-page-3 .d-table { height: 50%; margin-top: 10%; } .slide-page-3 .page-line { height: 10%; text-align: center; } .slide-page-3 .page-line.image { height: 30%; padding: 1rem; } .slide-page-3 .page-line.image img { width: auto; height: 100%; } .slide-page-3 .slide-page-subject-bg { background-image: url(static/assets/images/year-end-report/p3.png); right: 1rem; width: 70%; height: 40%; transform: scaleX(-1); } /* Page 4 */ .slide-page-4 .slide-page-inner .emphasised { line-height: 3rem } /* Page 5 */ .slide-page-5 .slide-page-inner { text-align: center; height: 60%; } .slide-page-5 .page-line { display: table-row; vertical-align: middle; } .slide-page-5 .slide-page-subject-bg { background-image: url(static/assets/images/year-end-report/p5.png); background-position: center; bottom: 9rem; left: 0; width: 80%; height: 40%; margin: 0 auto; } .slide-page-5 .row1, .slide-page-5 .row2, .slide-page-5 .row3 { height: 20%; } .slide-page-5 .row4 { line-height: 3rem; } .slide-page-5 .row4 .d-cell { vertical-align: bottom; } .slide-page-5 .slide-page-subject-bg { background-image: url(static/assets/images/year-end-report/p5.png); background-size: contain; background-position: center; background-repeat: no-repeat; bottom: 2rem; } /* Page 6 */ .slide-page-6 .d-table { text-align: center; height: 55%; } .slide-page-6 .item-emphasised .d-cell { vertical-align: bottom; } .slide-page-6 .slide-page-subject-bg { background-image: url(static/assets/images/year-end-report/p6.png); width: 70%; height: 40%; } /* Page 7 */ .slide-page-7 .d-table { text-align: center; height: 55%; } .modal-list { white-space: nowrap; } .slide-page-7 .slide-page-subject-bg { background-image: url(static/assets/images/year-end-report/p7.png); background-position: center center; background-size: contain; width: 100%; height: 45%; } /* Page 8 */ .slide-page-8 .slide-page-inner.d-table { height: 70%; } .slide-page-8 .slide-page-subject-bg { background-image: url(static/assets/images/year-end-report/p8.png); background-position: right; background-size: contain; height: 36%; width: 60%; } .slide-page-8 .d-cell { vertical-align: top; } .slide-page-8 .d-cell.vertical-middle { vertical-align: middle; line-height: 3rem; height: 40%; } /* Page 9 */ .slide-page-9 .slide-page-inner.d-table { height: 65%; } .slide-page-9 .slide-page-subject-bg { background-image: url(static/assets/images/year-end-report/p9.png); height: 40%; right: -2rem; } /* Page 10 */ .slide-page-10 .item-emphasised { line-height: 3rem; } /* Page 11 */ .slide-page-11 .slide-page-inner p, .slide-page-11 .d-table { text-shadow: none; } .firework.firework1 { width: 100px; height: 100px; position: absolute; top: 1rem; background-size: cover; z-index: 0; } .firework.firework2 { width: 100px; height: 100px; position: absolute; top: 1rem; right: 0px; background-size: cover; z-index: 0; } .summary-header { height: 8rem; position:relative; background-color: #fff; margin: 0 20px; padding: 20px; border-top-left-radius: 20px; border-top-right-radius: 20px; } .summary-header .pl { height: 6rem; position: absolute; left: -1rem; bottom: 0; } .summary-header .pr { height: 6rem; position: absolute; right: -1rem; bottom: 0; } .summary-header .title { width: 80%; max-height: 6rem; margin: 0 auto; } .summary-header-bar { background: #f76447; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; margin: 0 4rem; } .summary-bar { background-image: url(static/assets/images/year-end-report/p11-1.png); background-size: cover; background-repeat: no-repeat; background-position: center; height: 36px; width: 100%; } .summary-body { background: #fff; height: 70%; margin: 0 20px; } .slide-page-11 .d-table { height: 100%; padding: 2rem; } .summary-body-content .content { color: #444968; } .summary-body-content .content .emphasised { font-size: 2rem; color: #F76242; } .slide-page-11 .summary-body .summary-body-tail { position: absolute; bottom: -21px; left: -1px; right: 0px; background-image: url(static/assets/images/year-end-report/p11-2-1.png); background-size: cover; height: 24px; border: 0; } .slide-page-11 .summary-body .summary-body-tail-plus { position: absolute; right: -18px; bottom: -21px; width: 18px; height: 24px; background-image: url(static/assets/images/year-end-report/p11-2-2.png); background-size: cover; background-repeat: no-repeat; border: 0; } .slide-page-footer { display: none; /* default is hidden */ height: 6rem; background: #fff; position: absolute; bottom: 0; z-index: 2; left: 0; right: 0; } .slide-page-footer .left { width: 0; height: 0; border-bottom: 3rem solid #fff; border-right: 400px solid transparent; position: absolute; top: -2rem; } .slide-page-footer .right { width: 0; height: 0; border-bottom: 3rem solid #fff; border-left: 400px solid transparent; position: absolute; top: -2rem; right: 0; } .avatar-container { position: absolute; left: 0; right: 0; top: -2.5rem; color: #000; } .avatar-container img { width: 5rem; height: 5rem; border: 2px solid #fff; } .image-randering .slide-page-11 .d-table { padding-bottom: 0; height: 100%; } .image-rendering .slide-page-footer { display: block; height: 10%; } .image-rendering .share { display: none; } @media screen and (min-device-height:800px){ .slide-page-11 .d-table { padding: 6rem 2rem 4rem 2rem; } .summary-body { height: 80%; } }