admin.scss 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846
  1. @charset "UTF-8";
  2. @font-face {
  3. font-family: 'AudiType';
  4. src: url('/fonts/AudiTypeVF.woff2') format('woff2-variations');
  5. font-display: swap;
  6. font-style: normal;
  7. font-stretch: 130%;
  8. }
  9. // Utility classes for padding and margin (1-100)
  10. @for $i from 1 through 200 {
  11. // Padding
  12. .pt--#{$i} { padding-top: #{$i}px !important; }
  13. .pr--#{$i} { padding-right: #{$i}px !important; }
  14. .pb--#{$i} { padding-bottom: #{$i}px !important; }
  15. .pl--#{$i} { padding-left: #{$i}px !important; }
  16. .p--#{$i} { padding: #{$i}px !important; }
  17. // Margin
  18. .mt--#{$i} { margin-top: #{$i}px !important; }
  19. .mr--#{$i} { margin-right: #{$i}px !important; }
  20. .mb--#{$i} { margin-bottom: #{$i}px !important; }
  21. .ml--#{$i} { margin-left: #{$i}px !important; }
  22. .m--#{$i} { margin: #{$i}px !important; }
  23. }
  24. //풀사이즈 레이아웃 구성
  25. .detail--container--full{
  26. }
  27. /*=================================================
  28. |컴포넌트 별 css
  29. |START
  30. =================================================*/
  31. //풀사이즈 배너 텍스트1 형
  32. .img--section--full{
  33. width:100%;
  34. position: relative;
  35. &:before{
  36. content:'';
  37. display: block;
  38. width:100%;
  39. height:100%;
  40. position: absolute;
  41. z-index: 2;
  42. pointer-events: none;
  43. inset: 0px;
  44. z-index: 1;
  45. background: linear-gradient(rgba(0, 0, 0, 0) 46.66%, rgb(0, 0, 0) 100%);
  46. }
  47. img{
  48. width:100%;
  49. max-width:100%;
  50. height:100vh;
  51. }
  52. .alt--text{
  53. color: rgb(252, 252, 253);
  54. letter-spacing: 0px;
  55. font-weight: 400;
  56. text-decoration: none;
  57. font-size: 28px;
  58. line-height: 40px;
  59. position: absolute;
  60. bottom:40px;
  61. left:0px;
  62. overflow: hidden;
  63. padding: 0 96px;
  64. white-space: pre-wrap;
  65. z-index: 2;
  66. }
  67. }
  68. //풀사이즈 패럴렉스 1형
  69. .prallax--banner--wrapper{
  70. position: relative;
  71. overflow: hidden;
  72. height:1000px;
  73. .prallax--banner{
  74. position: absolute;
  75. width: 100%;
  76. height: 120%;
  77. transform: translate3d(0, 0, 0); // 초기값 GPU 레이어 생성
  78. -webkit-transform: translate3d(0, 0, 0);
  79. backface-visibility: hidden;
  80. -webkit-backface-visibility: hidden;
  81. //perspective: 1000px;
  82. //-webkit-perspective: 1000px;
  83. position: absolute;
  84. top: -17%;
  85. left: 50%;
  86. will-change: transform;
  87. backface-visibility: hidden;
  88. picture {
  89. width: 100%;
  90. height: 100%;
  91. display: block;
  92. }
  93. img {
  94. width: 100%;
  95. height: 100%;
  96. object-fit: cover;
  97. object-position: center;
  98. transform: translateZ(0); // GPU 가속
  99. -webkit-transform: translateZ(0);
  100. }
  101. }
  102. .text--box--wrapper{
  103. position: absolute;
  104. backface-visibility: hidden;
  105. -webkit-backface-visibility: hidden;
  106. width: 100%;
  107. top:147px;
  108. left: 0px;
  109. z-index: 1;
  110. will-change: transform, opacity;
  111. transform: translate3d(0, 0, 0); // 초기값 GPU 레이어 생성
  112. -webkit-transform: translate3d(0, 0, 0);
  113. display: flex;
  114. -webkit-box-pack: center;
  115. justify-content: center;
  116. transition: opacity 0.1s ease-out;
  117. perspective: 1000px;
  118. -webkit-perspective: 1000px;
  119. .text--container{
  120. max-width:50%;
  121. position: relative;
  122. box-sizing: border-box;
  123. background: linear-gradient(134deg, rgb(44, 52, 63) 0%, rgb(35, 42, 52) 100%);
  124. backdrop-filter: blur(60px);
  125. display: flex;
  126. flex-direction: column;
  127. gap: 24px;
  128. flex-shrink: 0;
  129. flex-basis: 86%;
  130. margin: 88px auto 0 auto;
  131. padding: 40px;
  132. border-radius: 20px;
  133. left: 4%;
  134. flex-basis: 44%;
  135. h2{
  136. margin: 0px;
  137. color: rgb(252, 252, 253);
  138. letter-spacing: 0px;
  139. font-weight: 400;
  140. text-decoration: none;
  141. font-size: 24px;
  142. line-height: 36px;
  143. font-stretch: 130%;
  144. }
  145. p{
  146. margin: 0px;
  147. color: rgba(252, 252, 253, 0.7);
  148. font-family: AudiType, sans-serif;
  149. letter-spacing: 0px;
  150. font-weight: 400;
  151. text-decoration: none;
  152. font-size: 16px;
  153. line-height: 24px;
  154. font-stretch: 105%;
  155. }
  156. a{
  157. transition-timing-function:
  158. cubic-bezier(0.75, 0.02, 0.5, 1);
  159. transition-duration: 250ms;
  160. transition-property: color, text-decoration-color;
  161. display: inline-flex ;
  162. -webkit-box-align: center;
  163. align-items: center;
  164. font-family: AudiType, sans-serif;
  165. letter-spacing: 0px;
  166. font-weight: 400;
  167. text-decoration: underline 1px rgb(252, 252, 253);
  168. font-size: 16px;
  169. line-height: 24px;
  170. font-stretch: 105%;
  171. color: rgb(252, 252, 253);
  172. box-sizing: border-box;
  173. text-underline-offset: 7px;
  174. padding-bottom: 2px;
  175. min-height: 24px;
  176. }
  177. }
  178. }
  179. }
  180. //Swiper 배너 컴포넌트 (30% + 70% 레이아웃)
  181. .swiper--banner--wrapper {
  182. width: 100%;
  183. padding: 40px 96px;
  184. &[data-type="vertical"]{
  185. padding:0px;
  186. .swiper--banner--container{
  187. flex-direction: column-reverse;
  188. height:auto;
  189. .swiper--controls--section{
  190. flex-direction: row-reverse;
  191. @media(min-width:768px){
  192. padding: 0px 96px;
  193. }
  194. @media(min-width:1024px){
  195. padding: 0px 96px;
  196. }
  197. @media(min-width:1440px){
  198. padding: 0px 96px;
  199. }
  200. @media(min-width:1920px){
  201. padding:24px 96px;
  202. }
  203. .text--content{
  204. width:100%;
  205. .main--title{
  206. margin: 0px;
  207. color: rgb(252, 252, 253);
  208. font-family: AudiType, sans-serif;
  209. letter-spacing: 0px;
  210. font-weight: 400;
  211. text-decoration: none;
  212. font-size: 20px;
  213. line-height: 32px;
  214. font-stretch: 130%;
  215. @media(min-width:1440px){
  216. font-size: 24px;
  217. line-height: 36px;
  218. }
  219. }
  220. .sub--title{
  221. margin: 0px;
  222. color: rgba(252, 252, 253, 0.7);
  223. letter-spacing: 0px;
  224. font-weight: 400;
  225. text-decoration: none;
  226. font-size: 16px;
  227. line-height: 24px;
  228. font-stretch: 105%;
  229. }
  230. }
  231. }
  232. > div{
  233. width:100%;
  234. max-height:100vh;
  235. .swiper--container {
  236. .swiper-slide {
  237. .slide--image {
  238. border-radius: 0px;
  239. }
  240. }
  241. }
  242. }
  243. }
  244. }
  245. .swiper--banner--container {
  246. max-width: 1920px;
  247. height: 70vh;
  248. margin: 0 auto;
  249. display: flex;
  250. min-height: 600px;
  251. // 30% 영역: 컨트롤 및 텍스트
  252. .swiper--controls--section {
  253. width: 30%;
  254. padding: 40px;
  255. display: flex;
  256. flex-direction: column;
  257. justify-content: center;
  258. .controls--top {
  259. margin-bottom: 40px;
  260. .pagination--nav--wrapper {
  261. display: flex;
  262. align-items: flex-start;
  263. justify-content: flex-start;
  264. flex-direction: column;
  265. gap: 20px;
  266. .swiper-pagination {
  267. position: relative;
  268. width: auto;
  269. display: flex;
  270. justify-content: center;
  271. align-items: center;
  272. gap: 12px;
  273. .swiper-pagination-bullet {
  274. width: 24px;
  275. height: 24px;
  276. // background: rgba(255, 255, 255, 0.1);
  277. border-radius: 50%;
  278. color: rgba(255, 255, 255, 0.6);
  279. font-size: 14px;
  280. font-weight: 400;
  281. display: flex;
  282. align-items: center;
  283. justify-content: center;
  284. cursor: pointer;
  285. transition: all 0.3s ease;
  286. opacity: 1;
  287. &:hover {
  288. background:rgba(252,252,253,.3) ;
  289. color: rgba(255, 255, 255, 0.8);
  290. }
  291. &.swiper-pagination-bullet-active {
  292. background: transparent;
  293. color: #fff;
  294. font-weight: 600;
  295. }
  296. }
  297. }
  298. .navigation--buttons {
  299. display: flex;
  300. align-items: center;
  301. justify-content: center;
  302. gap: 16px;
  303. .swiper-pagination{
  304. top:0px;
  305. bottom:0px;
  306. }
  307. .swiper-button-prev{
  308. background: url(/img/ico--back--s.svg) no-repeat center;
  309. }
  310. .swiper-button-next{
  311. background: url(/img/ico--forward--s.svg) no-repeat center;
  312. }
  313. .swiper-button-prev,
  314. .swiper-button-next {
  315. position: relative;
  316. width: 24px;
  317. height: 24px;
  318. border-radius: 50%;
  319. color: white;
  320. margin: 0;
  321. transition: all 0.3s ease;
  322. cursor: pointer;
  323. &:hover{
  324. background:rgba(252,252,253,.3) ;
  325. }
  326. &.swiper-button-disabled {
  327. opacity: 0.3;
  328. cursor: not-allowed;
  329. &:hover {
  330. transform: none;
  331. }
  332. }
  333. }
  334. }
  335. }
  336. }
  337. .text--content {
  338. text-align: center;
  339. .text--slider {
  340. position: relative;
  341. overflow: hidden;
  342. height: 120px; // 고정 높이로 레이아웃 안정성 확보
  343. .text--slide {
  344. position: absolute;
  345. top: 0;
  346. left: 0;
  347. width: 100%;
  348. opacity: 0;
  349. transform: translateX(-100%);
  350. transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  351. text-align: left;
  352. &.active {
  353. opacity: 1;
  354. transform: translateX(0);
  355. }
  356. // 이전 슬라이드는 오른쪽으로 사라짐
  357. &:not(.active) {
  358. transform: translateX(100%);
  359. }
  360. }
  361. }
  362. .main--title {
  363. margin:0px;
  364. color: rgb(252, 252, 253);
  365. letter-spacing: 0px;
  366. font-weight: 400;
  367. text-decoration: none;
  368. font-size: 20px;
  369. line-height: 32px;
  370. font-stretch: 130%;
  371. padding-bottom:12px;
  372. }
  373. .sub--title {
  374. margin: 0px;
  375. color: rgba(252, 252, 253, 0.7);
  376. letter-spacing: 0px;
  377. font-weight: 400;
  378. text-decoration: none;
  379. font-size: 16px;
  380. line-height: 24px;
  381. font-stretch: 105%;
  382. }
  383. .desc--title{
  384. margin-top:25px;
  385. color: rgba(252, 252, 253, 0.7);
  386. letter-spacing: 0px;
  387. font-weight: 400;
  388. text-decoration: none;
  389. font-size: 15px;
  390. line-height: 24px;
  391. font-stretch: 105%;
  392. }
  393. .notice--text {
  394. margin-top: 40px;
  395. padding-top: 20px;
  396. // border-top: 1px solid rgba(255, 255, 255, 0.1);
  397. text-align: left;
  398. p {
  399. margin: 0;
  400. color: rgba(252, 252, 253, 0.5);
  401. font-size: 14px;
  402. line-height: 20px;
  403. font-style: italic;
  404. }
  405. }
  406. }
  407. }
  408. // 70% 영역: 단일 배너
  409. .swiper--banner--section {
  410. width: 70%;
  411. position: relative;
  412. overflow: hidden;
  413. .swiper--container {
  414. width: 100%;
  415. height: 100%;
  416. .swiper-slide {
  417. .slide--image {
  418. width: 100%;
  419. height: 100%;
  420. border-radius: 20px;
  421. overflow: hidden;
  422. img {
  423. width: 100%;
  424. height: 100%;
  425. object-fit: cover;
  426. object-position: center;
  427. transition: transform 0.8s ease;
  428. }
  429. }
  430. &.swiper-slide-active {
  431. .slide--image img {
  432. transform: scale(1.02);
  433. }
  434. }
  435. }
  436. }
  437. }
  438. }
  439. // 반응형 처리
  440. @media (max-width: 1024px) {
  441. .swiper--banner--container {
  442. flex-direction: column;
  443. .swiper--controls--section {
  444. width: 100%;
  445. order: 2;
  446. padding: 30px 20px;
  447. }
  448. .swiper--banner--section {
  449. width: 100%;
  450. height: 400px;
  451. order: 1;
  452. }
  453. }
  454. }
  455. @media (max-width: 768px) {
  456. padding: 40px 0;
  457. .swiper--banner--container {
  458. .swiper--controls--section {
  459. padding: 20px;
  460. .text--content {
  461. .text--slider {
  462. height: 100px; // 모바일에서는 높이 조정
  463. }
  464. .main--title {
  465. font-size: 24px;
  466. line-height: 32px;
  467. }
  468. .sub--title {
  469. font-size: 16px;
  470. line-height: 22px;
  471. }
  472. }
  473. }
  474. .swiper--banner--section {
  475. height: 300px;
  476. }
  477. }
  478. }
  479. }
  480. .title--visual {
  481. position: relative;
  482. width: 100%;
  483. overflow: hidden;
  484. padding:40px 0px;
  485. // 테마별 스타일
  486. &[data-theme="dark"] {
  487. color: rgb(252, 252, 253);
  488. .title--description {
  489. color: rgba(252, 252, 253, 0.8);
  490. }
  491. }
  492. &[data-theme="light"] {
  493. background: rgb(252, 252, 253);
  494. color: #000;
  495. .title--description {
  496. color: rgba(0, 0, 0, 0.7);
  497. }
  498. }
  499. .title--visual--wrapper {
  500. margin: 0 auto;
  501. padding: 0 60px;
  502. align-content: center;
  503. box-sizing: content-box;
  504. display: grid;
  505. grid-template-columns: 100%;
  506. padding-bottom: 0px;
  507. padding-top: 0px;
  508. @media (min-width:1920px){
  509. margin: 0 auto;
  510. max-width:1248px;
  511. }
  512. @media (max-width: 1024px) {
  513. padding: 0 40px;
  514. }
  515. @media (max-width: 768px) {
  516. padding: 0 20px;
  517. }
  518. }
  519. .title--visual--content {
  520. margin: 0 auto;
  521. &[data-align="left"] {
  522. margin-left: 0;
  523. text-align: left;
  524. }
  525. &[data-align="center"] {
  526. text-align: center;
  527. }
  528. &[data-align="right"] {
  529. margin-right: 0;
  530. margin-left: auto;
  531. text-align: right;
  532. }
  533. // 애니메이션 상태
  534. &[data-animated="true"] {
  535. opacity: 0;
  536. transform: translateY(40px);
  537. transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  538. &.visible {
  539. opacity: 1;
  540. transform: translateY(0);
  541. }
  542. }
  543. }
  544. .title--main {
  545. margin: 0 0 24px 0;
  546. color: rgb(252, 252, 253);
  547. letter-spacing: 0px;
  548. font-weight: 400;
  549. text-decoration: none;
  550. font-size: 36px;
  551. line-height: 52px;
  552. font-stretch: 130%;
  553. overflow-wrap: break-word;
  554. text-align: center;
  555. @media (max-width: 1920px) {
  556. font-size: 72px;
  557. line-height: 100px;
  558. }
  559. @media (max-width: 1440px) {
  560. font-size: 60px;
  561. line-height: 84px;
  562. }
  563. @media (max-width: 1024px) {
  564. font-size: 52px;
  565. line-height: 76px;
  566. }
  567. @media (max-width: 768px) {
  568. font-size: 44px;
  569. line-height: 60px;
  570. }
  571. }
  572. .title--description {
  573. margin: 0;
  574. color: rgba(252, 252, 253, 0.7);
  575. letter-spacing: 0px;
  576. font-weight: 400;
  577. text-decoration: none;
  578. font-size: 16px;
  579. line-height: 24px;
  580. font-stretch: 105%;
  581. }
  582. .title--additional {
  583. margin-top: 40px;
  584. @media (max-width: 768px) {
  585. margin-top: 32px;
  586. }
  587. }
  588. }
  589. /*=================================================
  590. |컴포넌트 별 css
  591. |END
  592. =================================================*/
  593. // 로그인 폼 기본 디폴트 디자인
  594. .admin--login {
  595. min-height: 100vh;
  596. background: #000000;
  597. display: flex;
  598. align-items: center;
  599. justify-content: center;
  600. font-family: 'AudiType', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  601. .login--container {
  602. width: 100%;
  603. max-width: 480px;
  604. padding: 20px;
  605. }
  606. .login--box {
  607. background: #0a0a0a;
  608. border: 1px solid rgba(255, 255, 255, 0.1);
  609. border-radius: 12px;
  610. padding: 60px 40px;
  611. box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  612. }
  613. .login--logo {
  614. text-align: center;
  615. margin-bottom: 50px;
  616. h1 {
  617. font-size: 48px;
  618. font-weight: 700;
  619. color: #ffffff;
  620. letter-spacing: 8px;
  621. margin: 0;
  622. font-stretch: 130%;
  623. }
  624. .subtitle {
  625. color: rgba(255, 255, 255, 0.4);
  626. font-size: 14px;
  627. text-transform: uppercase;
  628. letter-spacing: 3px;
  629. margin-top: 10px;
  630. }
  631. }
  632. .login--form {
  633. .form--group {
  634. margin-bottom: 24px;
  635. }
  636. .form--input {
  637. width: 100%;
  638. height: 52px;
  639. background: #000000;
  640. border: 1px solid rgba(255, 255, 255, 0.15);
  641. border-radius: 8px;
  642. padding: 0 20px;
  643. font-size: 15px;
  644. color: #ffffff;
  645. transition: all 0.3s ease;
  646. &::placeholder {
  647. color: rgba(255, 255, 255, 0.6);
  648. }
  649. &:focus {
  650. outline: none;
  651. border-color: rgba(255, 255, 255, 0.4);
  652. background: rgba(255, 255, 255, 0.02);
  653. }
  654. &:hover {
  655. border-color: rgba(255, 255, 255, 0.25);
  656. }
  657. }
  658. .form--options {
  659. display: flex;
  660. justify-content: space-between;
  661. align-items: center;
  662. margin-bottom: 32px;
  663. .checkbox--label {
  664. display: flex;
  665. align-items: center;
  666. cursor: pointer;
  667. color: rgba(255, 255, 255, 0.6);
  668. font-size: 14px;
  669. input[type="checkbox"] {
  670. width: 18px;
  671. height: 18px;
  672. margin-right: 10px;
  673. background: #000000;
  674. border: 1px solid rgba(255, 255, 255, 0.3);
  675. border-radius: 4px;
  676. cursor: pointer;
  677. accent-color: #ffffff;
  678. }
  679. &:hover {
  680. color: rgba(255, 255, 255, 0.8);
  681. }
  682. }
  683. .forgot--password {
  684. color: rgba(255, 255, 255, 0.6);
  685. font-size: 14px;
  686. text-decoration: none;
  687. transition: color 0.3s ease;
  688. &:hover {
  689. color: #ffffff;
  690. }
  691. }
  692. }
  693. .login--button {
  694. width: 100%;
  695. height: 52px;
  696. background: #ffffff;
  697. color: #000000;
  698. border: none;
  699. border-radius: 8px;
  700. font-size: 16px;
  701. font-weight: 600;
  702. letter-spacing: 1px;
  703. cursor: pointer;
  704. transition: all 0.3s ease;
  705. &:hover {
  706. background: rgba(255, 255, 255, 0.9);
  707. transform: translateY(-2px);
  708. box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
  709. }
  710. &:active {
  711. transform: translateY(0);
  712. }
  713. }
  714. }
  715. .login--footer {
  716. text-align: center;
  717. margin-top: 40px;
  718. p {
  719. color: rgba(255, 255, 255, 0.3);
  720. font-size: 12px;
  721. letter-spacing: 0.5px;
  722. }
  723. }
  724. }