public.scss 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479
  1. $battery-start:52%;
  2. $battery-end:32%;
  3. $theme-color:#1fe4dc;
  4. @font-face {
  5. font-family: 'OSP-DIN';
  6. src: url('https://static.insta360.com/assets/www/common/fonts/osp-din/OSP-DIN.eot');
  7. /* IE9 Compat Modes */
  8. 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');
  9. /* Legacy iOS */
  10. }
  11. #app {
  12. background-color: #fff;
  13. }
  14. .mask {
  15. position: fixed;
  16. left: 0;
  17. top: 0;
  18. bottom: 0;
  19. right: 0;
  20. background-color: rgba(0, 0, 0, 0.4)
  21. }
  22. html {
  23. overflow-x: hidden;
  24. -webkit-font-smoothing:antialiased;
  25. 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;
  26. }
  27. body{
  28. padding: 0;
  29. margin: 0;
  30. }
  31. .middle {
  32. position: absolute;
  33. left: 50%;
  34. top: 50%;
  35. transform: translateX(-50%) translateY(-50%);
  36. }
  37. .button {
  38. $bgcolor: #00b4ed;
  39. display: inline-block;
  40. background-color: rgba($bgcolor, 1);
  41. padding: 12px 30px;
  42. font-size: 14px;
  43. transition: background-color .3s linear;
  44. }
  45. .oy {
  46. overflow-y: scroll;
  47. &::-webkit-scrollbar {
  48. width: 5px;
  49. height: 16px;
  50. background-color: transparent;
  51. }
  52. &::-webkit-scrollbar-track{
  53. border-radius: 10px;
  54. background-color: transparent;
  55. }
  56. &::-webkit-scrollbar-thumb {
  57. border-radius: 10px;
  58. -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.2);
  59. background-color: #d4d4d4;
  60. }
  61. }
  62. .check-con {
  63. box-sizing: border-box;
  64. margin: 0;
  65. padding: 0;
  66. color: rgba(0, 0, 0, 0.65);
  67. font-size: 14px;
  68. font-variant: tabular-nums;
  69. line-height: 1.5;
  70. list-style: none;
  71. font-feature-settings: "tnum", "tnum";
  72. display: inline-block;
  73. line-height: unset;
  74. cursor: pointer;
  75. color: rgba(0,0,0,.65);
  76. font-size: 12px;
  77. .check-box {
  78. box-sizing: border-box;
  79. margin: 0;
  80. padding: 0;
  81. color: rgba(0, 0, 0, 0.65);
  82. font-size: 12px;
  83. font-variant: tabular-nums;
  84. line-height: 1.5;
  85. list-style: none;
  86. font-feature-settings: "tnum", "tnum";
  87. position: relative;
  88. top: -0.09em;
  89. display: inline-block;
  90. line-height: 1;
  91. white-space: nowrap;
  92. vertical-align: middle;
  93. outline: none;
  94. cursor: pointer;
  95. .checkbox-input {
  96. position: absolute;
  97. top: 0;
  98. right: 0;
  99. bottom: 0;
  100. left: 0;
  101. z-index: 1;
  102. width: 100%;
  103. height: 100%;
  104. cursor: pointer;
  105. opacity: 0;
  106. }
  107. .checkbox-inner {
  108. width: 14px;
  109. height: 14px;
  110. margin-right: 2px;
  111. position: relative;
  112. top: 0;
  113. left: 0;
  114. display: block;
  115. background-color: #fff;
  116. border: 1px solid #d9d9d9;
  117. border-collapse: separate;
  118. transition: all 0.3s;
  119. &::after {
  120. position: absolute;
  121. top: 30%;
  122. left: 12%;
  123. display: table;
  124. width: 5px;
  125. height: 9px;
  126. border: 2px solid #000;
  127. width: 6px;
  128. height: 10px;
  129. border-top: 0;
  130. border-left: 0;
  131. transform: rotate(45deg) scale(0) translate(-50%, -50%);
  132. opacity: 0;
  133. transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6),
  134. }
  135. }
  136. .checkbox-inner-checked {
  137. background-color: #1fe4dc;
  138. border-color: #1fe4dc;
  139. &::after {
  140. position: absolute;
  141. display: table;
  142. border: 2px solid #000;
  143. border-top: 0;
  144. border-left: 0;
  145. transform: rotate(45deg) scale(0.8) translate(-50%, -50%);
  146. opacity: 1;
  147. transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;
  148. content: " ";
  149. }
  150. }
  151. }
  152. }
  153. .b-title {
  154. line-height: 66px;
  155. font-size: 44px;
  156. color: #2D2D2D;
  157. font-weight: 700;
  158. }
  159. .b-label {
  160. line-height: 24px;
  161. font-size: 16px;
  162. color: #95979B;
  163. font-weight: normal;
  164. }
  165. .banner {
  166. display: block;
  167. width: 100%;
  168. }
  169. .button {
  170. font-size: 16px;
  171. color: #fff;
  172. background-color: #1fe4dc;
  173. padding: 16px 54px;
  174. display: inline-block;
  175. }
  176. .bg {
  177. position: relative;
  178. display: block;
  179. left: 50%;
  180. transform: translateX(-50%);
  181. }
  182. .clear::after {
  183. content: '';
  184. display: block;
  185. clear: both;
  186. }
  187. .loading-hover{
  188. position: absolute;
  189. width: 100%;
  190. height: 100%;
  191. transform: translate(-50%,-50%);
  192. top: 50%;
  193. left: 50%;
  194. background-color: rgba(0, 0, 0, 0.7);
  195. text-align: center;
  196. }
  197. .loading-hover p{
  198. color: #fff;
  199. margin-top: 10px;
  200. }
  201. .loading-hover .loading-icon{
  202. transform: translate(-50%,-50%);
  203. top: 50%;
  204. left: 50%;
  205. position: absolute;
  206. }
  207. .refreshing-loader{
  208. animation: refreshing-loader 1000ms infinite linear;
  209. border-radius: 25px;
  210. border: 5px solid #fff;
  211. border-left-color: transparent;
  212. color: transparent;
  213. display: inline-block;
  214. font-size: 10px;
  215. line-height: 1.2;
  216. width: 50px;
  217. height: 50px;
  218. text-indent: 100%;
  219. }
  220. .refreshing-loader::after{
  221. display: block;
  222. border: 8px solid transparent;
  223. border-top-color: #fff;
  224. border-left-color: #fff;
  225. content: '';
  226. width: 0;
  227. height: 0;
  228. overflow: hidden;
  229. margin-left: -2px;
  230. margin-top: 30px;
  231. }
  232. @keyframes fadeUp {
  233. from {
  234. opacity: 0;
  235. transform: translate3d(0,30%,0)
  236. }
  237. to {
  238. opacity: 1;
  239. transform: none
  240. }
  241. }
  242. @keyframes fadeDown {
  243. from {
  244. opacity: 1;
  245. transform: none
  246. }
  247. to {
  248. opacity: 0;
  249. transform: translate3d(0,30%,0)
  250. }
  251. }
  252. @keyframes fadeDown1 {
  253. from {
  254. opacity: 1;
  255. transform: rotate(78deg)
  256. }
  257. to {
  258. opacity: 0;
  259. transform: translate3d(0,30%,0) rotate(78deg)
  260. }
  261. }
  262. @keyframes lighting-txt {
  263. 0% {
  264. width: 100% - $battery-start
  265. }
  266. // 50%{
  267. // width: 45%
  268. // }
  269. 100% {
  270. width: 100% - $battery-end
  271. }
  272. }
  273. @keyframes lighting-txt-back {
  274. 0% {
  275. width: 100% - $battery-end
  276. }
  277. // 50%{
  278. // width: 45%
  279. // }
  280. 100% {
  281. width: 100% - $battery-start
  282. }
  283. }
  284. @keyframes lighting {
  285. 0% {
  286. width: $battery-start
  287. }
  288. // 50%{
  289. // width: 45%
  290. // }
  291. 100% {
  292. width: $battery-end
  293. }
  294. }
  295. @keyframes lighting-back {
  296. 0% {
  297. width: $battery-end
  298. }
  299. // 50%{
  300. // width: 45%
  301. // }
  302. 100% {
  303. width: $battery-start
  304. }
  305. }
  306. $fix-posi:2%;
  307. @keyframes lighting1 {
  308. 0% {
  309. left: $battery-start - $fix-posi ;
  310. background-position: 0 0px;
  311. }
  312. 100% {
  313. left: $battery-end - $fix-posi;
  314. background-position: 100% 0;
  315. }
  316. }
  317. @keyframes lighting1-back {
  318. 0% {
  319. left: $battery-end - $fix-posi;
  320. background-position: 100% 0;
  321. }
  322. // 50%{
  323. // left: 60%;
  324. // }
  325. 100% {
  326. left: $battery-start - $fix-posi;
  327. background-position: 0% 0;
  328. }
  329. }
  330. $padding:20px;
  331. @keyframes mymove {
  332. 0% {
  333. transform: translateX(-50%) translateY(0);
  334. opacity: 1;
  335. }
  336. 70% {
  337. padding: $padding;
  338. transform: translateX(-50%) translateY(-$padding);
  339. opacity: 0;
  340. }
  341. 100% {
  342. padding: $padding;
  343. transform: translateX(-50%) translateY(-$padding);
  344. opacity: 0;
  345. }
  346. }
  347. @keyframes linear-jump{
  348. 0%{
  349. transform: translateY(0px);
  350. }
  351. 100%{
  352. transform: translateY(-10px);
  353. }
  354. }
  355. @keyframes pulsate {
  356. 0% {
  357. transform: scale(0.1, 0.1);
  358. opacity: 0;
  359. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  360. filter: alpha(opacity=0);
  361. }
  362. 50% {
  363. opacity: 1;
  364. -ms-filter: none;
  365. filter: none;
  366. }
  367. 100% {
  368. transform: scale(1.2, 1.2);
  369. opacity: 0;
  370. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  371. filter: alpha(opacity=0);
  372. }
  373. }
  374. @keyframes loca-int{
  375. 0%{
  376. background-position: 0 0px;
  377. }
  378. 100%{
  379. background-position: 0 100%;
  380. }
  381. }
  382. @keyframes loca-back{
  383. 0%{
  384. background-position: 0 100%;
  385. }
  386. 100%{
  387. background-position: 0 0;
  388. }
  389. }
  390. @keyframes bounceIn {
  391. 0%, 20%, 40%, 60%, 80%, 100% {
  392. transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  393. }
  394. 0% {
  395. opacity: 0;
  396. }
  397. 20% {
  398. opacity: 0;
  399. }
  400. 40% {
  401. opacity: 0;
  402. }
  403. 60% {
  404. opacity: 1;
  405. }
  406. 80% {
  407. opacity: 1;
  408. }
  409. 100% {
  410. opacity: 1;
  411. }
  412. }
  413. @keyframes rotateLoader {
  414. 0% {
  415. transform: rotate(0deg)
  416. }
  417. to {
  418. transform: rotate(1turn)
  419. }
  420. }
  421. @keyframes refreshing-loader {
  422. 0% {
  423. transform: rotate(0deg);
  424. }
  425. 100% {
  426. transform: rotate(360deg);
  427. }
  428. }