setting.css 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472
  1. .action-sheet {
  2. position:fixed;
  3. bottom: -1000px;
  4. right:0;
  5. left: 0;
  6. z-index: 1000;
  7. background: white;
  8. box-shadow: 0 2px 4px 0 rgba(0,0,0,0.10);
  9. border-radius: 6px 6px 0 0;
  10. transition: bottom 0.5s;
  11. }
  12. .action-sheet img {
  13. width: 24px;
  14. height: 24px;
  15. }
  16. .action-sheet p {
  17. line-height: 22px;
  18. font-size: 15px;
  19. font-weight: 600;
  20. font-family: Arial, Helvetica, sans-serif;
  21. color: #333333;
  22. padding-left: 20px;
  23. }
  24. .setting {
  25. display: flex;
  26. padding-left: 5.3%;
  27. /* padding-bottom: 2%; */
  28. }
  29. .setting.hint {
  30. margin-top: 18px;
  31. margin-bottom: 15px;
  32. }
  33. .hint-list {
  34. width: 83%;
  35. margin: 0 auto;
  36. white-space: nowrap; /*控制不要换行*/
  37. overflow: auto;
  38. /* Firefox hide scrollbar*/
  39. scrollbar-width: none;
  40. }
  41. /*webkit browser hide scrollbar*/
  42. .hint-list::-webkit-scrollbar {
  43. display: none;
  44. }
  45. .hint-item {
  46. display: inline-block;
  47. width: 34px;
  48. height: 34px;
  49. border: 2px solid #EFEFF4;
  50. border-radius: 50%;
  51. margin-left: 5px;
  52. }
  53. .line {
  54. width: 89.4%;
  55. height: 1px;
  56. background: #EFEFF4;
  57. margin: 0 auto;
  58. margin-top: 8px;
  59. margin-bottom: 8px;
  60. }
  61. .setting.autonext {
  62. margin-bottom: 10px;
  63. }
  64. /* The switch - the box around the slider */
  65. .switch {
  66. position: absolute;
  67. display: inline-block;
  68. width: 40px;
  69. height: 22px;
  70. right: 6%;
  71. -webkit-tap-highlight-color:transparent; /*消除移动端的灰色背景闪烁*/
  72. }
  73. /* Hide default HTML checkbox */
  74. .switch input {
  75. opacity: 0;
  76. width: 0;
  77. height: 0;
  78. }
  79. /* The slider */
  80. .slider {
  81. position: absolute;
  82. cursor: pointer;
  83. top: 0;
  84. left: 0;
  85. right: 0;
  86. bottom: 0;
  87. background-color: #E5E5EA;
  88. -webkit-transition: .4s;
  89. transition: .4s;
  90. }
  91. .slider:before {
  92. position: absolute;
  93. content: "";
  94. height: 20px;
  95. width: 20px;
  96. left: 1px;
  97. bottom: 1px;
  98. top: 1px;
  99. background-color: white;
  100. -webkit-transition: .4s;
  101. transition: .4s;
  102. }
  103. input:checked + .slider {
  104. background-color: #FF9500;
  105. }
  106. input:focus + .slider {
  107. box-shadow: 0 0 1px #FF9500;
  108. }
  109. input:checked + .slider:before {
  110. -webkit-transform: translateX(18px);
  111. -ms-transform: translateX(18px);
  112. transform: translateX(18px);
  113. }
  114. /* Rounded sliders */
  115. .slider.round {
  116. border-radius: 10px;
  117. }
  118. .slider.round:before {
  119. border-radius: 50%;
  120. }
  121. /**************************** AD 灯泡 *************************/
  122. .buld-circle-wrap {
  123. position: absolute;
  124. left: -100px;
  125. top: 40%;
  126. width: 50px;
  127. height: 50px;
  128. background: #C4C4C4;
  129. z-index: 300;
  130. /* background: transparent; */
  131. border-radius: 50%;
  132. /* border: 1px solid #cdcbd0; */
  133. border: 1px solid transparent;
  134. transition: left 0.5s;
  135. animation: buld-scale 2s ease-in-out infinite;
  136. }
  137. @keyframes buld-scale{
  138. 0% {
  139. transform: scale(1);
  140. }
  141. 50% {
  142. transform: scale(1.1);
  143. }
  144. 100% {
  145. transform: scale(1);
  146. }
  147. }
  148. @-webkit-keyframes buld-scale{
  149. 0% {
  150. transform: scale(1);
  151. }
  152. 50% {
  153. transform: scale(1.1);
  154. }
  155. 100% {
  156. transform: scale(1);
  157. }
  158. }
  159. .buld-circle-wrap .buld-circle .buld-mask,
  160. .buld-circle-wrap .buld-circle .buld-fill {
  161. width: 50px;
  162. height: 50px;
  163. position: absolute;
  164. border-radius: 50%;
  165. }
  166. .buld-mask .buld-fill {
  167. clip: rect(0px, 25px, 50px, 0px); /*rect (top, right, bottom, left) 左半边能看到 */
  168. background-color: #1b9619;
  169. }
  170. .buld-circle-wrap .buld-circle .buld-mask {
  171. clip: rect(0px, 50px, 50px, 25px); /*mask只能看到右半边*/
  172. }
  173. .buld-mask.buld-full,
  174. .buld-circle .buld-fill {
  175. transition: transform 10s ease-in-out;
  176. /* animation: buld-fill ease-in-out 10s;
  177. transform: rotate(180deg); */
  178. }
  179. @keyframes buld-fill{
  180. 0% {
  181. transform: rotate(0deg);
  182. }
  183. 100% {
  184. transform: rotate(180deg);
  185. }
  186. }
  187. @-webkit-keyframes buld-fill{
  188. 0% {
  189. transform: rotate(0deg);
  190. }
  191. 100% {
  192. transform: rotate(180deg);
  193. }
  194. }
  195. .buld-circle-wrap .buld-inside-circle {
  196. position: absolute;
  197. width: 42px;
  198. height: 42px;
  199. border-radius: 50%;
  200. background: #EEB422;
  201. line-height: 42px;
  202. text-align: center;
  203. margin-top: 4px;
  204. margin-left: 4px;
  205. color: black;
  206. z-index: 500;
  207. font-weight: 500;
  208. font-size: 20px;
  209. font-family: Arial, Helvetica, sans-serif;
  210. box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.16);
  211. }
  212. .buld-wrapper {
  213. position: absolute;
  214. width: 78%;
  215. height: 78%;
  216. left: 50%;
  217. top: 50%;
  218. transform: translate(-50%, -45%);
  219. z-index: 1000;
  220. animation: buld-wrapper 2s ease-in-out infinite;
  221. }
  222. @keyframes buld-wrapper{
  223. 0% {
  224. top: 50%;
  225. }
  226. 50% {
  227. top: 40%;
  228. }
  229. 100% {
  230. top: 50%;
  231. }
  232. }
  233. @-webkit-keyframes buld-wrapper{
  234. 0% {
  235. top: 50%;
  236. }
  237. 50% {
  238. top: 40%;
  239. }
  240. 100% {
  241. top: 50%;
  242. }
  243. }
  244. .buld-bgimg {
  245. position: absolute;
  246. width: 100%;
  247. height: 100%;
  248. }
  249. .buld-wrapper p {
  250. position: absolute;
  251. left: 50%;
  252. top: 50%;
  253. transform: translate(-50%, -75%);
  254. font-size: 15px;
  255. font-weight: 600;
  256. font-family: Arial, Helvetica, sans-serif;
  257. }
  258. .shinning-mask {
  259. position: absolute;
  260. width: 78%;
  261. height: 78%;
  262. left: 50%;
  263. top: 50%;
  264. transform: translate(-50%, -50%);
  265. border-radius: 50%;
  266. background: #EEB422;
  267. z-index: 600;
  268. }
  269. /* 光线 */
  270. .shinning {
  271. position: absolute;
  272. left:50%;
  273. top: 50%;
  274. width: 30px;
  275. height: 1px;
  276. margin: 0 auto;
  277. background: #fcff62;
  278. transform-origin: 0%;
  279. z-index: 500;
  280. animation: shinning 2s infinite;
  281. }
  282. @keyframes shinning{
  283. 0% {
  284. opacity: 0;
  285. }
  286. 50% {
  287. opacity: 1;
  288. }
  289. 100% {
  290. opacity: 0;
  291. }
  292. }
  293. @-webkit-keyframes shinning{
  294. 0% {
  295. opacity: 0;
  296. }
  297. 50% {
  298. opacity: 1;
  299. }
  300. 100% {
  301. opacity: 0;
  302. }
  303. }
  304. #shinning2 {
  305. transform: rotate(-20deg);
  306. }
  307. #shinning3 {
  308. transform: rotate(-40deg);
  309. }
  310. #shinning4 {
  311. transform: rotate(-60deg);
  312. }
  313. #shinning5 {
  314. transform: rotate(-80deg);
  315. }
  316. #shinning6 {
  317. transform: rotate(-100deg);
  318. }
  319. #shinning7 {
  320. transform: rotate(-120deg);
  321. }
  322. #shinning8 {
  323. transform: rotate(-140deg);
  324. }
  325. #shinning9 {
  326. transform: rotate(-160deg);
  327. }
  328. #shinning10 {
  329. transform: rotate(-180deg);
  330. }
  331. .adtext {
  332. position: absolute;
  333. color: darkgray;
  334. left: 50%;
  335. top: 100%;
  336. margin-top: 3px;
  337. transform: translate(-50%);
  338. font-size: 12px;
  339. font-weight: 600;
  340. font-family: Arial, Helvetica, sans-serif;
  341. }
  342. .remind {
  343. position: absolute;
  344. display: none;
  345. right: 20px;
  346. top: 5%;
  347. width: 40px;
  348. height: 40px;
  349. z-index: 150;
  350. transform: scale(0.1);
  351. }
  352. .remind-bg {
  353. width: 100%;
  354. height: 100%;
  355. }
  356. .remind p {
  357. position: absolute;
  358. left: 50%;
  359. top: 43%;
  360. transform: translate(-50%, -50%);
  361. font-size: 15px;
  362. font-weight: 600;
  363. font-family: Arial, Helvetica, sans-serif;
  364. }
  365. .remind.animation {
  366. /* transform-origin: 0; */
  367. animation: reminder 2s;
  368. }
  369. @keyframes reminder{
  370. 0% {
  371. right: 50%;
  372. top: 50%;
  373. transform: scale(3);
  374. }
  375. 40% {
  376. right: 50%;
  377. top: 50%;
  378. transform: scale(1.5);
  379. }
  380. 65% {
  381. right: 50%;
  382. top: 50%;
  383. transform: scale(1.5);
  384. }
  385. 100% {
  386. right: 20px;
  387. top: 5%;
  388. transform: scale(0.1);
  389. }
  390. }
  391. @-webkit-keyframes reminder{
  392. 0% {
  393. right: 50%;
  394. top: 50%;
  395. transform: scale(3);
  396. }
  397. 40% {
  398. right: 50%;
  399. top: 50%;
  400. transform: scale(1.5);
  401. }
  402. 65% {
  403. right: 50%;
  404. top: 50%;
  405. transform: scale(1.5);
  406. }
  407. 100% {
  408. right: 20px;
  409. top: 5%;
  410. transform: scale(0.1);
  411. }
  412. }