style.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778
  1. html {
  2. width: 100%;
  3. height: 100%;
  4. /* overflow: hidden; */
  5. /* position: relative; */
  6. /* -webkit-overflow-scrolling: auto ; */
  7. }
  8. body {
  9. /* width: 1920px;
  10. height: 1080px;
  11. max-width: 1920px;
  12. max-height: 1080px; */
  13. width: 100%;
  14. height: 100%;
  15. max-width: 100%;
  16. max-height: 100%;
  17. overflow: hidden;
  18. /* position: relative; */
  19. /* position: fixed; */
  20. /* touch-action: none; */
  21. }
  22. .noselect {
  23. -webkit-touch-callout: none;
  24. /* iOS Safari */
  25. -webkit-user-select: none;
  26. /* Safari */
  27. -khtml-user-select: none;
  28. /* Konqueror HTML */
  29. -moz-user-select: none;
  30. /* Firefox */
  31. -ms-user-select: none;
  32. /* Internet Explorer/Edge */
  33. user-select: none;
  34. /* Non-prefixed version, currently
  35. supported by Chrome and Opera */
  36. }
  37. .my-container {
  38. margin: 0;
  39. position: relative;
  40. width: 100%;
  41. height: 100%;
  42. }
  43. .center-message {
  44. display: flex;
  45. justify-content: center;
  46. align-items: center;
  47. text-align: center;
  48. color: #b65f5b;
  49. }
  50. .display-camera-container {
  51. position: absolute;
  52. width: 540px;
  53. height: 540px;
  54. top: 51%;
  55. -ms-transform: translateY(-50%);
  56. transform: translateY(-50%);
  57. left: 60%;
  58. margin: 0 auto;
  59. }
  60. #camrea_tips{
  61. position: absolute;
  62. left: 50%;
  63. top: 107%;
  64. transform: translateX(-50%);
  65. width: 100%;
  66. text-align: center;
  67. color: #9f5540;
  68. font-size: 20px;
  69. display: none;
  70. }
  71. #camrea_tips::before{
  72. content: '';
  73. border: 10px solid transparent;
  74. display: inline-block;
  75. position: absolute;
  76. left: 50%;
  77. transform: translateX(-50%);
  78. top: -15px;
  79. border-top-color: #9f553f;
  80. }
  81. .rcorners {
  82. border-radius: 50%;
  83. background: #c2c2c2;
  84. padding: 0px;
  85. width: auto;
  86. height: auto;
  87. }
  88. /* #canvasFrame{
  89. position: fixed;
  90. top: 0;
  91. left: 0;
  92. display: inline-block!important;
  93. } */
  94. .rcorners_2 {
  95. border-radius: 50%;
  96. width: auto;
  97. height: auto;
  98. }
  99. #parent-wrapper {
  100. vertical-align: middle;
  101. }
  102. .inner {
  103. vertical-align: middle;
  104. position: absolute;
  105. top: 50%;
  106. left: 50%;
  107. transform: translate(-50%, -50%);
  108. }
  109. #fade-wrapper {
  110. display: none;
  111. vertical-align: middle;
  112. position: fixed;
  113. height: 100%;
  114. width: 100%;
  115. background-image: url('../content/ui/bg.jpg');
  116. background-size: cover;
  117. z-index: 5;
  118. align-items: center;
  119. justify-content: center;
  120. }
  121. div#fade-wrapper img {
  122. position: absolute;
  123. top: 50%;
  124. left: 50%;
  125. margin-right: -50%;
  126. transform: translate(-50%, -50%);
  127. }
  128. .btn-message-color {
  129. color: #b65f5b;
  130. }
  131. .float {
  132. position: fixed;
  133. width: 60px;
  134. height: 60px;
  135. bottom: 40px;
  136. right: 40px;
  137. border-radius: 50px;
  138. text-align: center;
  139. }
  140. .my-float {
  141. margin-top: 22px;
  142. }
  143. .play-again-btn {
  144. background-color: transparent;
  145. background: url('../content/ui/play_again.png') no-repeat;
  146. background-size: contain;
  147. border: none;
  148. text-align: center;
  149. text-decoration: none;
  150. }
  151. #btn_play {
  152. color: #b65f5b;
  153. font-family: 'SupermercadoOneRegular';
  154. background-color: transparent;
  155. background-image: url("../content/ui/en-us/play.png");
  156. background-size: cover;
  157. box-shadow: transparent;
  158. bottom: -1000;
  159. right: -1000;
  160. }
  161. #btn_play_end {
  162. color: #b65f5b;
  163. font-family: 'SupermercadoOneRegular';
  164. background-color: transparent;
  165. background-image: url("../content/ui/en-us/play.png");
  166. background-size: cover;
  167. box-shadow: transparent;
  168. bottom: -1000;
  169. right: -1000;
  170. }
  171. #btn_practice {
  172. color: #b65f5b;
  173. font-family: 'SupermercadoOneRegular';
  174. bottom: -1200;
  175. right: -1200;
  176. }
  177. #btn_next {
  178. background-image: url("../content/ui/en-us/next.png");
  179. background-size: cover;
  180. box-shadow: transparent;
  181. position: relative;
  182. bottom: -1200;
  183. right: -1200;
  184. }
  185. #btn_select_zodiac {
  186. background-image: url("../content/ui/en-us/comfirm.png");
  187. background-size: contain;
  188. background-repeat: no-repeat;
  189. background-position: center;
  190. box-shadow: transparent;
  191. width: auto;
  192. /* position: relative; */
  193. }
  194. #btn_begin {
  195. background-image: url("../content/ui/en-us/begin.png");
  196. background-size: cover;
  197. box-shadow: transparent;
  198. position: relative;
  199. bottom: -1200;
  200. right: -1200;
  201. }
  202. #calibrate_message {
  203. font-family: 'SupermercadoOneRegular';
  204. font-size: 0.2vh;
  205. color: gray;
  206. position: relative;
  207. bottom: -1500;
  208. right: -1200;
  209. /* text-shadow: 2px 2px #000 */
  210. }
  211. #select_zodiac {
  212. bottom: -1500;
  213. }
  214. #select_year {
  215. bottom: -1500;
  216. }
  217. #btn_save {
  218. background-image: url("../content/ui/en-us/download.png");
  219. background-size: cover;
  220. box-shadow: transparent;
  221. position: absolute;
  222. bottom: -1200;
  223. right: -1200;
  224. }
  225. #btn_fb {
  226. background-image: url("../content/ui/en-us/facebook.png");
  227. background-size: cover;
  228. box-shadow: transparent;
  229. position: absolute;
  230. bottom: -1200;
  231. right: -1200;
  232. }
  233. #btn_twitter {
  234. background-image: url("../content/ui/en-us/twitter.png");
  235. background-size: cover;
  236. box-shadow: transparent;
  237. position: absolute;
  238. bottom: -1200;
  239. right: -1200;
  240. }
  241. #select_zodiac {
  242. background-image: url("../content/ui/animal_button/rat_button.png");
  243. background-size: cover;
  244. box-shadow: transparent;
  245. position: absolute;
  246. /* bottom: -1200;
  247. right: -1200; */
  248. }
  249. #select_year {
  250. background-image: url("../content/ui/animal_button/calendar_button.png");
  251. background-size: cover;
  252. box-shadow: transparent;
  253. position: absolute;
  254. padding: 0;
  255. text-decoration: none;
  256. /* bottom: -1200;
  257. right: -1200; */
  258. }
  259. .intro__footer-link--right {
  260. font-family: 'Noto Sans', sans-serif;
  261. font-weight: 200;
  262. /* color: #929395; */
  263. font-size: 2.0vmin;
  264. position: absolute;
  265. text-decoration: none;
  266. /* bottom: 10vh;
  267. right: 12.0vw; */
  268. display: none;
  269. }
  270. .intro__footer-link--right:hover {
  271. text-decoration: none;
  272. color: rgba(0, 0, 0, 1.0);
  273. }
  274. .link--grey {
  275. color: rgba(226, 169, 139, 1.0);
  276. }
  277. .link {
  278. /* color: #000; */
  279. }
  280. .dropdown-select-lang {
  281. font-family: 'Noto Sans', sans-serif;
  282. font-size: 1.8vmin;
  283. position: absolute;
  284. text-decoration: none;
  285. display: none;
  286. background-color: transparent;
  287. /* bottom: 13.5vh;
  288. right: 12.0vw; */
  289. }
  290. .customs-dropdown-select {
  291. border-radius: 0.5em;
  292. border-width: 2px;
  293. background-color: transparent;
  294. border-color: rgba(226, 169, 139, 1.0);
  295. color: rgba(226, 169, 139, 1.0);
  296. font-family: 'Noto Sans', sans-serif;
  297. width: 100%;
  298. height: 100%;
  299. }
  300. .customs-dropdown-select:hover {
  301. border-radius: 0.5em;
  302. background-color: transparent;
  303. border-color: #ecbea6;
  304. color: rgba(226, 169, 139, 1.0);
  305. font-family: 'Noto Sans', sans-serif;
  306. }
  307. .customs-dropdown-select:focus {
  308. outline: 0;
  309. border-color: #ecbea6;
  310. }
  311. option:checked:hover,
  312. select:focus option:checked:hover {
  313. background-color: darkgoldenrod;
  314. color: darkgoldenrod;
  315. }
  316. select option {
  317. background: rgba(226, 169, 139, 0.2);
  318. outline: none;
  319. }
  320. select option:checked {
  321. color: #9f553f;
  322. box-shadow: 0 0 10px 100px #000 inset;
  323. }
  324. select:active,
  325. select:hover {
  326. outline: none
  327. }
  328. /* make it red instead (with with same width and style) */
  329. select:active,
  330. select:hover {
  331. outline-color: red
  332. }
  333. .zodiac_select_name {
  334. font-family: 'Supermercado One, cursive';
  335. font-size: 0.1vw;
  336. text-align: center;
  337. }
  338. .zodiac-ic-name {
  339. font-size: 0.9em;
  340. margin: 0;
  341. cursor: pointer;
  342. }
  343. #modal_zodiac_body img{
  344. cursor: pointer;
  345. }
  346. .btn-select-zodiac {
  347. position: absolute;
  348. /*it can be fixed too*/
  349. left: 0;
  350. right: 0;
  351. top: 0;
  352. bottom: 0;
  353. margin: auto;
  354. display: table-cell;
  355. text-align: center;
  356. vertical-align: middle;
  357. }
  358. select option:checked:after {
  359. content: attr(title);
  360. background: #666;
  361. color: #fff;
  362. position: absolute;
  363. width: 100%;
  364. left: 0;
  365. border: none;
  366. }
  367. .btn-zodiac {
  368. padding-bottom: 10;
  369. }
  370. .modal-content {
  371. border-radius: 50px;
  372. }
  373. .custom-modal {
  374. padding: 0.25rem;
  375. }
  376. img {
  377. display: block;
  378. margin-left: auto;
  379. margin-right: auto;
  380. }
  381. /* .zodiac-select-box {
  382. margin-left: auto;
  383. margin-right: auto;
  384. display: block;
  385. } */
  386. #logo {
  387. position: fixed;
  388. width: 80px;
  389. top: 30px;
  390. right: 40px;
  391. z-index: 1;
  392. }
  393. #logo>img {
  394. width: 100%;
  395. }
  396. #bgm {
  397. display: none;
  398. position: absolute;
  399. bottom: 40px;
  400. left: 60px;
  401. cursor: pointer;
  402. width: 56px;
  403. }
  404. .bgmplay {
  405. animation: autorate infinite 10s linear;
  406. }
  407. #bgm>div {
  408. width: 56px;
  409. height: 56px;
  410. background-image: url(../audio/musicoff.png);
  411. background-repeat: no-repeat;
  412. background-size: cover;
  413. }
  414. #bgm.bgmplay>div {
  415. background-image: url(../audio/musicon.png);
  416. }
  417. .comfirmcon, .foucstips {
  418. position: fixed;
  419. width: 100%;
  420. height: 100%;
  421. left: 0;
  422. right: 0;
  423. bottom: 0;
  424. top: 0;
  425. backdrop-filter: blur(30px);
  426. z-index: 9999999;
  427. display: none;
  428. }
  429. .comfirmcon .con, .foucstips .con {
  430. background-image: url(../images/pop.png);
  431. width: 1167px;
  432. height: 275px;
  433. background-size: cover;
  434. position: absolute;
  435. top: 50%;
  436. left: 50%;
  437. transform: translate(-50%, -50%);
  438. text-align: center;
  439. display: flex;
  440. justify-content: center;
  441. flex-direction: column;
  442. align-items: center;
  443. }
  444. .foucstips .con{
  445. background-image: url(../images/pop.png);
  446. background-size: auto 100%;
  447. background-position: center;
  448. }
  449. .comfirmcon .con>p,.foucstips .con>p {
  450. color: #FAE1B0;
  451. font-size: 28px;
  452. margin-bottom: 40px;
  453. }
  454. .foucstips .con>p {
  455. width: 100%;
  456. font-size: 20px;
  457. }
  458. .comfirmcon .con .btncon,.foucstips .con .btncon {
  459. display: flex;
  460. }
  461. .comfirmcon .con .no {
  462. background-image: url(../images/no.png);
  463. width: 160px;
  464. height: 42px;
  465. background-size: cover;
  466. color: #fff;
  467. background-repeat: no-repeat;
  468. margin: 0 20px;
  469. line-height: 42px;
  470. display: flex;
  471. align-items: center;
  472. justify-content: center;
  473. cursor: pointer;
  474. }
  475. .comfirmcon .con .yes,.foucstips .con .yes {
  476. background-image: url(../images/yes.png);
  477. width: 160px;
  478. height: 42px;
  479. background-size: cover;
  480. color: #fff;
  481. background-repeat: no-repeat;
  482. margin: 0 20px;
  483. line-height: 42px;
  484. display: flex;
  485. align-items: center;
  486. justify-content: center;
  487. cursor: pointer;
  488. }
  489. .foucstips .con .yes{
  490. width: auto;
  491. padding: 0 20px;
  492. height: 52px;
  493. background-size: 100% 100%;
  494. }
  495. .selectList{
  496. position: fixed;
  497. display: none;
  498. bottom: 0;
  499. left: 0;
  500. width: 100%;
  501. height: 16vh;
  502. background-image: url(../images/line.png);
  503. background-size: 100% 4px;
  504. background-repeat: no-repeat;
  505. z-index: 999;
  506. padding: 0;
  507. background-color: rgba(182, 95, 91,.2);
  508. }
  509. .selectList > ul{
  510. padding-left: 0;
  511. display: flex;
  512. justify-content: space-around;
  513. width: 100%;
  514. height: 100%;
  515. align-items: center;
  516. }
  517. .selectList > ul > li{
  518. list-style: none;
  519. cursor: pointer;
  520. position: relative;
  521. }
  522. .selectList > ul .liactive::before{
  523. content: '';
  524. width: 100%;
  525. height: 100%;
  526. background-color: rgba(180, 72, 22, 0.6);
  527. filter: blur(20px);
  528. display: inline-block;
  529. position: absolute;
  530. top: 0;
  531. bottom: 0;
  532. left: 0;
  533. right: 0;
  534. }
  535. #success_end{
  536. position: fixed;
  537. left: 50%;
  538. transform: translateX(-50%);
  539. bottom: 16vh;
  540. text-align: center;
  541. color: #9f5540;
  542. font-size: 24px;
  543. font-weight: bold;
  544. display: none;
  545. margin-bottom: 0;
  546. }
  547. #success_end::after{
  548. content: '';
  549. border: 10px solid transparent;
  550. display: inline-block;
  551. position: absolute;
  552. right: -28px;
  553. top: 42%;
  554. border-top-color: #9f553f;
  555. }
  556. #end_tips{
  557. position: fixed;
  558. top: 46%;
  559. left: 50%;
  560. transform: translate(-50%,-50%);
  561. text-align: center;
  562. color: #9f5540;
  563. font-size: 30px;
  564. font-weight: bold;
  565. display: none;
  566. }
  567. @keyframes autorate {
  568. 0% {
  569. transform: rotate(0);
  570. }
  571. 100% {
  572. transform: rotate(360deg);
  573. }
  574. }
  575. #mobiletips{
  576. position: fixed;
  577. touch-action: none;
  578. left: 0;
  579. top: 50%;
  580. transform: translateY(-50%);
  581. right: 0;
  582. width: 100%;
  583. height: 80%;
  584. z-index: 9999;
  585. display: flex;
  586. flex-direction: column;
  587. justify-content: space-around;
  588. align-items: center;
  589. display: none;
  590. }
  591. .mtipsheader{
  592. width: 100%;
  593. }
  594. .mtipsheader>img{
  595. width: 70%;
  596. }
  597. .mbtips{
  598. text-align: center;
  599. }
  600. .mbtips .img{
  601. width: 50vw;
  602. height: 50vw;
  603. margin: 0 auto;
  604. border-radius: 50%;
  605. background-color: #9f8c7c;
  606. background-repeat: no-repeat;
  607. background-image: url(../images/selected/Rat.png);
  608. background-size: auto 90%;
  609. background-position: center;
  610. }
  611. .mbtips p{
  612. width: 80vw;
  613. color: #9f5540;
  614. font-size: 16px;
  615. margin-top: 20px;
  616. }
  617. .mbbtn{
  618. }
  619. .mbbtn .mbcopy{
  620. color: #fff;
  621. background: #9f5540;
  622. text-align: center;
  623. font-size: 18px;
  624. padding: 8px 20px;
  625. border-radius: 4px;
  626. }
  627. .mbbtn ul {
  628. display: flex;
  629. justify-content: center;
  630. padding:0;
  631. margin-top: 20px;
  632. color: #9f5540;
  633. }
  634. .mbbtn ul li{
  635. list-style: none;
  636. margin: 0 10px;
  637. }
  638. .mbbtn ul li.active{
  639. font-weight: bold;
  640. }
  641. @media screen and (max-width: 800px) {
  642. body{
  643. background-image: url(../content/ui/bg.jpg);
  644. background-size: cover;
  645. background-repeat: no-repeat;
  646. }
  647. #logo{
  648. width: 50px;
  649. right: 20px;
  650. top: 20px;
  651. }
  652. }