roulette.scss 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607
  1. @charset "UTF-8";
  2. @import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
  3. *{
  4. font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  5. box-sizing: border-box;
  6. }
  7. .roulette--container--wrappers{
  8. display: flex;
  9. flex-direction: column;
  10. justify-content: center;
  11. align-items: center;
  12. min-height: 100vh;
  13. margin: 0;
  14. background:url(../img/rlt_bg.png) no-repeat center top;
  15. background-color: #a882df;
  16. .title {
  17. color: white;
  18. text-align: center;
  19. margin-bottom: 20px;
  20. font-size: 14px;
  21. }
  22. .main-title {
  23. font-size: 32px;
  24. font-weight: bold;
  25. margin: 10px 0;
  26. text-shadow: 2px 2px 0 #000;
  27. }
  28. .main-title span:first-child {
  29. color: #FFD700;
  30. }
  31. .main-title span:last-child {
  32. color: white;
  33. }
  34. .roulette--wrapper{
  35. padding-top:760px;
  36. padding-bottom:150px;
  37. }
  38. .roulette-container-wrap{
  39. margin: 20px 0;
  40. width: 500px;
  41. height: 500px;
  42. background: url(../img/round.png) no-repeat center;
  43. display: flex;
  44. align-items: center;
  45. justify-content: center;
  46. margin-top:80px;
  47. }
  48. .roulette-container {
  49. position: relative;
  50. width: 420px;
  51. height: 420px;
  52. border-radius: 500px;
  53. display: flex;
  54. align-items: center;
  55. justify-content: center;
  56. box-sizing: border-box;
  57. }
  58. .wheel {
  59. position: relative;
  60. width: 100%;
  61. height: 100%;
  62. border-radius: 50%;
  63. box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  64. transform-origin: center;
  65. transition: transform 5s cubic-bezier(0.2, 0.8, 0.3, 0.9);
  66. }
  67. .center-button {
  68. position: absolute;
  69. top: 50%;
  70. left: 50%;
  71. transform: translate(-50%, -50%);
  72. width: 150px;
  73. height: 150px;
  74. background-color: #673AB7;
  75. border: none;
  76. border-radius: 50%;
  77. color: white;
  78. font-weight: bold;
  79. cursor: pointer;
  80. z-index: 10;
  81. background: url(../img/btn.png) no-repeat center;
  82. background-size: contain;
  83. }
  84. .pointer {
  85. position: absolute;
  86. top: -48px;
  87. left: 50%;
  88. transform: translateX(-50%);
  89. width: 50px;
  90. height: 68px;
  91. background: url(../img/pin.png) no-repeat center;
  92. z-index: 11;
  93. }
  94. .text-layer {
  95. position: absolute;
  96. width: 100%;
  97. height: 100%;
  98. top: 0;
  99. left: 0;
  100. z-index: 5;
  101. pointer-events: none;
  102. }
  103. .section-text {
  104. position: absolute;
  105. transform-origin: center;
  106. color: #333;
  107. font-weight: bold;
  108. font-size: 20px;
  109. text-align: center;
  110. width: 60px;
  111. margin-left: -30px;
  112. margin-top: -10px;
  113. display: flex;
  114. align-items: center;
  115. justify-content: center;
  116. }
  117. .bottom-text {
  118. color: white;
  119. text-align: center;
  120. margin-top: 20px;
  121. font-size: 18px;
  122. font-weight: bold;
  123. }
  124. .sub-text {
  125. color: white;
  126. font-size: 12px;
  127. margin-top: 5px;
  128. text-align: center;
  129. }
  130. .buttons {
  131. display: flex;
  132. justify-content: center;
  133. gap: 10px;
  134. margin-top: 20px;
  135. }
  136. .button {
  137. padding: 10px 20px;
  138. border-radius: 20px;
  139. border: none;
  140. font-weight: bold;
  141. cursor: pointer;
  142. }
  143. .button.primary {
  144. background-color: #FFD700;
  145. color: #333;
  146. }
  147. .button.secondary {
  148. background-color: #f0f0f0;
  149. color: #333;
  150. }
  151. .probability-display {
  152. color: white;
  153. font-size: 14px;
  154. margin-top: 15px;
  155. background-color: rgba(255, 255, 255, 0.2);
  156. padding: 10px;
  157. border-radius: 10px;
  158. text-align: center;
  159. }
  160. .coins {
  161. position: absolute;
  162. width: 100%;
  163. height: 100%;
  164. pointer-events: none;
  165. }
  166. .coin {
  167. position: absolute;
  168. width: 30px;
  169. height: 30px;
  170. background: #FFD700;
  171. border-radius: 50%;
  172. border: 2px solid #B8860B;
  173. }
  174. .form--contents{
  175. width:100%;
  176. display: flex;
  177. align-items: center;
  178. flex-direction: column;
  179. gap:20px;
  180. margin-bottom:120px;
  181. }
  182. .form--contents input{
  183. width:250px;
  184. padding-left:10px;
  185. height:45px;
  186. }
  187. .agree--wrapper{
  188. border-radius: 5px;
  189. padding:10px;
  190. background: #fff;
  191. max-width:450px;
  192. max-height:250px;
  193. overflow: auto;
  194. color:#000;
  195. line-height: 1.7;
  196. margin-top:150px;
  197. margin-bottom:150px;
  198. }
  199. .agree--wrapper > h2{
  200. padding:0px;
  201. line-height: 100%;
  202. margin-bottom:10px;
  203. }
  204. .agree--wrapper > h3{
  205. padding:0px;
  206. line-height: 100%;
  207. margin-bottom:10px;
  208. }
  209. .modal--wrappers{
  210. position: fixed;
  211. top:0px;
  212. left:0px;
  213. z-index: 10;
  214. width:100%;
  215. height:100%;
  216. background: rgba(0,0,0,.5);
  217. display: flex;
  218. align-items: center;
  219. justify-content: center;
  220. }
  221. .layer-popup {
  222. display: none;
  223. align-items: center;
  224. justify-content: center;
  225. position: fixed;
  226. top: 0;
  227. left: 0;
  228. width: 100%;
  229. height: 100%;
  230. background: rgba(25, 25, 25, .85);
  231. z-index: 200;
  232. }
  233. .layer-popup .layer-popup-item {
  234. display: inline-flex;
  235. flex-direction: column;
  236. align-items: center;
  237. justify-content: center;
  238. position: relative;
  239. background-color: #fff;
  240. border-radius: 10px;
  241. overflow: hidden;
  242. transform: translateY(-50px);
  243. transition: all .3s ease-out;
  244. max-height: 90vh;
  245. opacity: 0;
  246. width:100%;
  247. max-width:700px;
  248. box-sizing: border-box;
  249. }
  250. .layer-popup.bottom-sheet-wrap .layer-popup-item .popup-header {
  251. width: 100%;
  252. padding: 30px 60px 30px 30px;
  253. }
  254. .layer-popup.bottom-sheet-wrap .layer-popup-item .txt-main {
  255. text-align: left;
  256. margin-bottom: 0;
  257. line-height: 1.33;
  258. }
  259. .layer-popup .layer-popup-item .txt-main {
  260. display: block;
  261. margin-bottom: 16px;
  262. color: #191919;
  263. font-size: 24px;
  264. font-weight: 600;
  265. line-height: normal;
  266. letter-spacing: -.4px;
  267. text-align: center;
  268. }
  269. .layer-popup.bottom-sheet-wrap .layer-popup-item .popup-body {
  270. width: 100%;
  271. padding: 0 30px;
  272. max-height: 600px;
  273. overflow-y: auto;
  274. overflow-x: hidden;
  275. text-align: left;
  276. margin-top: 10px;
  277. }
  278. .layer-popup .layer-popup-item .popup-body {
  279. width: 100%;
  280. padding: 0 40px;
  281. text-align: center;
  282. }
  283. .page-desc h2 {
  284. color: #191919;
  285. font-size: 20px;
  286. font-weight: 600;
  287. line-height: normal;
  288. letter-spacing: -.4px;
  289. }
  290. .layer-popup .layer-popup-item .btn-close-x {
  291. display: block;
  292. position: absolute;
  293. right: 25px;
  294. top: 30px;
  295. width: 30px;
  296. height: 30px;
  297. font-size: 0;
  298. z-index: 1;
  299. background: transparent;
  300. background-size: 20px 20px;
  301. border:0px;
  302. cursor: pointer;
  303. }
  304. .layer-popup .layer-popup-item .btn-close-x svg{
  305. width:20px;
  306. height: 20px;
  307. }
  308. .layer-popup .evt-reservation .page-desc+.box-btn {
  309. text-align: center;
  310. margin-bottom: 50px;
  311. }
  312. .layer-popup.bottom-sheet-wrap .layer-popup-item .box-btn {
  313. font-size: 0;
  314. margin-top:40px;
  315. }
  316. .btns, .btns.btns-radio, .btns.corner-half, .btns.line, .btns.sticky, .btns.sticky.white, .btns.w-md, .btns.w-sm, .btns:disabled {
  317. color: #191919;
  318. font-size: 16px;
  319. font-weight: 600;
  320. line-height: normal;
  321. letter-spacing: -.3px;
  322. color: #fff;
  323. width: 260px;
  324. height: 58px;
  325. background: #662d91;
  326. padding: 20px 0;
  327. border-radius: 7px;
  328. text-align: center;
  329. cursor: pointer;
  330. }
  331. .md-ripples {
  332. position: relative;
  333. overflow: hidden;
  334. -webkit-tap-highlight-color: transparent;
  335. }
  336. .box-input .input-wrap {
  337. position: relative;
  338. padding-top:20px;
  339. }
  340. .box-input input[type=number]:disabled, .box-input input[type=text]:disabled {
  341. background-color: #f6f6f6;
  342. }
  343. .box-input .input-default.is-delete {
  344. padding-right: 50px;
  345. }
  346. .box-input .input-default, .box-select .select-default, .btn-select button {
  347. width: 100%;
  348. height: 58px;
  349. padding: 16px 20px;
  350. border: 1px solid #ddd;
  351. border-radius: 7px;
  352. transition: border-color .3s ease;
  353. color: #666;
  354. font-size: 16px;
  355. font-weight: 400;
  356. line-height: normal;
  357. letter-spacing: -.3px;
  358. }
  359. .mt45{
  360. margin-top:45px!important;
  361. }
  362. .layer-popup .layer-popup-item .agree-box {
  363. border: 1px solid #ddd;
  364. border-radius: 10px;
  365. padding: 40px;
  366. p{
  367. line-height: 1.6;
  368. }
  369. }
  370. .layer-popup .layer-popup-item .btns.w-sm {
  371. height: 58px !important;
  372. }
  373. .btns.lightgray {
  374. background: #eff1f5;
  375. border: none;
  376. color: #666;
  377. }
  378. .btns.w-sm {
  379. width: auto;
  380. min-width: 140px;
  381. height: 58px;
  382. padding: 0 30px;
  383. display: flex;
  384. justify-content: center;
  385. align-items: center;
  386. }
  387. .btn-group {
  388. flex: 1;
  389. width: 100%;
  390. display: flex;
  391. gap: 10px;
  392. align-items: center;
  393. justify-content: center;
  394. }
  395. .layer-popup .layer-popup-item .popup-footer {
  396. width: 100%;
  397. padding: 30px 40px 50px;
  398. }
  399. .layer-popup.bottom-sheet-wrap .layer-popup-item .popup-footer {
  400. width: 100%;
  401. padding: 30px 30px 50px;
  402. }
  403. .layer-popup.show{
  404. display: flex;
  405. }
  406. .layer-popup.show .layer-popup-item {
  407. opacity: 1;
  408. transform: translateY(0);
  409. transition-delay: .2s;
  410. }
  411. .rq-form .agree-wrap, .rq-form .box-attach, .rq-form .box-flex, .rq-form .box-input, .rq-form .box-input-wrap, .rq-form .box-my-use, .rq-form .box-select, .rq-form .box-select-group, .rq-form .box-select-wrap, .rq-form .cardList-wrap, .rq-form .group-wrap, .rq-form .input-group, .rq-form .radio-group-wrap, .rq-form .select-group, .rq-form .textarea-wrap {
  412. margin: 40px 0 0;
  413. }
  414. .agree-wrap {
  415. margin-top: 50px;
  416. display: flex;
  417. flex-direction: column;
  418. align-items: flex-start !important;
  419. }
  420. .rq-form .agree-wrap .btn-check {
  421. margin: 20px 0 0 !important;
  422. }
  423. .btn-text-line.btn-check {
  424. padding: 13px 20px;
  425. border: 1px solid #ddd;
  426. border-radius: 7px;
  427. }
  428. .agree-wrap .btn-check {
  429. margin-top: 20px;
  430. }
  431. .btn-check {
  432. position: relative;
  433. display: flex;
  434. justify-content: flex-start;
  435. align-items: center;
  436. gap: 10px;
  437. }
  438. .btn-text-line {
  439. width: 100% !important;
  440. justify-content: flex-start !important;
  441. }
  442. .agree-wrap .agree-group {
  443. margin-top: 40px;
  444. padding: 0 30px;
  445. }
  446. .rq-form .agree-wrap .agree-group {
  447. width: 100%;
  448. margin: 0;
  449. padding: 0 20px 0 0;
  450. }
  451. .agree-wrap .agree-group .btn-check {
  452. margin-bottom: 30px;
  453. }
  454. .rq-form .agree-wrap .btn-check {
  455. margin: 20px 0 0 !important;
  456. }
  457. .agree-wrap .btn-check:not(.btn-text-line) {
  458. padding-left: 20px;
  459. }
  460. .agree-wrap .btn-check {
  461. margin-top: 20px;
  462. }
  463. .btn-check {
  464. position: relative;
  465. display: flex;
  466. justify-content: flex-start;
  467. align-items: center;
  468. gap: 10px;
  469. }
  470. .btn-check input[type=checkbox] {
  471. display: none !important;
  472. overflow: hidden;
  473. padding: 0 !important;
  474. margin: 0 !important;
  475. width: 1px;
  476. height: 1px;
  477. line-height: 1px;
  478. font-size: 1px;
  479. border: 0;
  480. clip: rect(0 0 0 0);
  481. }
  482. .layer-popup-item.evt-reservation .agree-group .btn-check label {
  483. font-weight: 400 !important;
  484. }
  485. .btn-check label {
  486. cursor: pointer;
  487. display: inline-flex;
  488. align-items: center;
  489. color: #666;
  490. font-size: 16px;
  491. font-weight: 400;
  492. line-height: normal;
  493. letter-spacing: -.3px;
  494. color: #191919;
  495. }
  496. .btn-check label .ico-check {
  497. width: 24px;
  498. height: 24px;
  499. display: inline-block;
  500. padding-left: 30px;
  501. position: relative;
  502. transition: all .3s ease-out;
  503. }
  504. .btn-check label .ico-check::before {
  505. content: "";
  506. position: absolute;
  507. top: 0;
  508. left: 0;
  509. display: inline-block;
  510. width: 24px;
  511. height: 24px;
  512. background-color: #ddd;
  513. border-radius: 50%;
  514. }
  515. .btn-check label .ico-check::after {
  516. content: "";
  517. position: absolute;
  518. top: 4px;
  519. left: 4px;
  520. display: inline-block;
  521. width: 15px;
  522. height: 15px;
  523. background: url(../img/ico-check-on.svg) no-repeat center;
  524. background-size: contain;
  525. }
  526. .btn-check input[type=checkbox]:checked+label .ico-check::before {
  527. background-color: #662d91;
  528. transition: all .3s ease-out;
  529. }
  530. .ico-arrow-right {
  531. font-size: 0;
  532. border: none;
  533. display: inline-block;
  534. background: url(../img/ico-arrow-right.svg) no-repeat right;
  535. background-size: contain;
  536. width: 20px;
  537. height: 20px;
  538. }
  539. }