$battery-start:52%; $battery-end:32%; $theme-color:#1fe4dc; @font-face { font-family: 'OSP-DIN'; src: url('https://static.insta360.com/assets/www/common/fonts/osp-din/OSP-DIN.eot'); /* IE9 Compat Modes */ src: url('https://static.insta360.com/assets/www/common/fonts/osp-din/OSP-DIN.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('https://static.insta360.com/assets/www/common/fonts/osp-din/OSP-DIN.woff') format('woff'), /* Pretty Modern Browsers */ url('https://static.insta360.com/assets/www/common/fonts/osp-din/OSP-DIN.ttf') format('truetype'), /* Safari, Android, iOS */ url('https://static.insta360.com/assets/www/common/fonts/osp-din/OSP-DIN.svg#OSP-DIN') format('svg'); /* Legacy iOS */ } #app { background-color: #fff; } .mask { position: fixed; left: 0; top: 0; bottom: 0; right: 0; background-color: rgba(0, 0, 0, 0.4) } html { overflow-x: hidden; -webkit-font-smoothing:antialiased; font-family: "Roboto", "BlinkMacSystemFont", "Segoe UI", "Helvetica Neue", Helvetica, Arial, "Noto Sans CJK SC", "PingFang SC", "-apple-system", "Hiragino Sans GB", "Noto Sans", "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1", "WenQuanYi Micro Hei", "Heiti SC", sans-serif; } body{ padding: 0; margin: 0; } .middle { position: absolute; left: 50%; top: 50%; transform: translateX(-50%) translateY(-50%); } .button { $bgcolor: #00b4ed; display: inline-block; background-color: rgba($bgcolor, 1); padding: 12px 30px; font-size: 14px; transition: background-color .3s linear; } .oy { overflow-y: scroll; &::-webkit-scrollbar { width: 5px; height: 16px; background-color: transparent; } &::-webkit-scrollbar-track{ border-radius: 10px; background-color: transparent; } &::-webkit-scrollbar-thumb { border-radius: 10px; -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.2); background-color: #d4d4d4; } } .check-con { box-sizing: border-box; margin: 0; padding: 0; color: rgba(0, 0, 0, 0.65); font-size: 14px; font-variant: tabular-nums; line-height: 1.5; list-style: none; font-feature-settings: "tnum", "tnum"; display: inline-block; line-height: unset; cursor: pointer; color: rgba(0,0,0,.65); font-size: 12px; .check-box { box-sizing: border-box; margin: 0; padding: 0; color: rgba(0, 0, 0, 0.65); font-size: 12px; font-variant: tabular-nums; line-height: 1.5; list-style: none; font-feature-settings: "tnum", "tnum"; position: relative; top: -0.09em; display: inline-block; line-height: 1; white-space: nowrap; vertical-align: middle; outline: none; cursor: pointer; .checkbox-input { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; width: 100%; height: 100%; cursor: pointer; opacity: 0; } .checkbox-inner { width: 14px; height: 14px; margin-right: 2px; position: relative; top: 0; left: 0; display: block; background-color: #fff; border: 1px solid #d9d9d9; border-collapse: separate; transition: all 0.3s; &::after { position: absolute; top: 30%; left: 12%; display: table; width: 5px; height: 9px; border: 2px solid #000; width: 6px; height: 10px; border-top: 0; border-left: 0; transform: rotate(45deg) scale(0) translate(-50%, -50%); opacity: 0; transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), } } .checkbox-inner-checked { background-color: #1fe4dc; border-color: #1fe4dc; &::after { position: absolute; display: table; border: 2px solid #000; border-top: 0; border-left: 0; transform: rotate(45deg) scale(0.8) translate(-50%, -50%); opacity: 1; transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; content: " "; } } } } .b-title { line-height: 66px; font-size: 44px; color: #2D2D2D; font-weight: 700; } .b-label { line-height: 24px; font-size: 16px; color: #95979B; font-weight: normal; } .banner { display: block; width: 100%; } .button { font-size: 16px; color: #fff; background-color: #1fe4dc; padding: 16px 54px; display: inline-block; } .bg { position: relative; display: block; left: 50%; transform: translateX(-50%); } .clear::after { content: ''; display: block; clear: both; } .loading-hover{ position: absolute; width: 100%; height: 100%; transform: translate(-50%,-50%); top: 50%; left: 50%; background-color: rgba(0, 0, 0, 0.7); text-align: center; } .loading-hover p{ color: #fff; margin-top: 10px; } .loading-hover .loading-icon{ transform: translate(-50%,-50%); top: 50%; left: 50%; position: absolute; } .refreshing-loader{ animation: refreshing-loader 1000ms infinite linear; border-radius: 25px; border: 5px solid #fff; border-left-color: transparent; color: transparent; display: inline-block; font-size: 10px; line-height: 1.2; width: 50px; height: 50px; text-indent: 100%; } .refreshing-loader::after{ display: block; border: 8px solid transparent; border-top-color: #fff; border-left-color: #fff; content: ''; width: 0; height: 0; overflow: hidden; margin-left: -2px; margin-top: 30px; } @keyframes fadeUp { from { opacity: 0; transform: translate3d(0,30%,0) } to { opacity: 1; transform: none } } @keyframes fadeDown { from { opacity: 1; transform: none } to { opacity: 0; transform: translate3d(0,30%,0) } } @keyframes fadeDown1 { from { opacity: 1; transform: rotate(78deg) } to { opacity: 0; transform: translate3d(0,30%,0) rotate(78deg) } } @keyframes lighting-txt { 0% { width: 100% - $battery-start } // 50%{ // width: 45% // } 100% { width: 100% - $battery-end } } @keyframes lighting-txt-back { 0% { width: 100% - $battery-end } // 50%{ // width: 45% // } 100% { width: 100% - $battery-start } } @keyframes lighting { 0% { width: $battery-start } // 50%{ // width: 45% // } 100% { width: $battery-end } } @keyframes lighting-back { 0% { width: $battery-end } // 50%{ // width: 45% // } 100% { width: $battery-start } } $fix-posi:2%; @keyframes lighting1 { 0% { left: $battery-start - $fix-posi ; background-position: 0 0px; } 100% { left: $battery-end - $fix-posi; background-position: 100% 0; } } @keyframes lighting1-back { 0% { left: $battery-end - $fix-posi; background-position: 100% 0; } // 50%{ // left: 60%; // } 100% { left: $battery-start - $fix-posi; background-position: 0% 0; } } $padding:20px; @keyframes mymove { 0% { transform: translateX(-50%) translateY(0); opacity: 1; } 70% { padding: $padding; transform: translateX(-50%) translateY(-$padding); opacity: 0; } 100% { padding: $padding; transform: translateX(-50%) translateY(-$padding); opacity: 0; } } @keyframes linear-jump{ 0%{ transform: translateY(0px); } 100%{ transform: translateY(-10px); } } @keyframes pulsate { 0% { transform: scale(0.1, 0.1); opacity: 0; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: alpha(opacity=0); } 50% { opacity: 1; -ms-filter: none; filter: none; } 100% { transform: scale(1.2, 1.2); opacity: 0; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: alpha(opacity=0); } } @keyframes loca-int{ 0%{ background-position: 0 0px; } 100%{ background-position: 0 100%; } } @keyframes loca-back{ 0%{ background-position: 0 100%; } 100%{ background-position: 0 0; } } @keyframes bounceIn { 0%, 20%, 40%, 60%, 80%, 100% { transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); } 0% { opacity: 0; } 20% { opacity: 0; } 40% { opacity: 0; } 60% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 1; } } @keyframes rotateLoader { 0% { transform: rotate(0deg) } to { transform: rotate(1turn) } } @keyframes refreshing-loader { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }