admin.scss 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884
  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: flex-end;
  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: transparent;
  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. margin:0px;
  288. &:hover {
  289. background:rgba(252,252,253,.3)!important;
  290. color: rgba(255, 255, 255, 0.8);
  291. }
  292. &.swiper-pagination-bullet-active {
  293. background: transparent;
  294. color: #fff;
  295. font-weight: 600;
  296. }
  297. }
  298. }
  299. .navigation--buttons {
  300. display: flex;
  301. align-items: center;
  302. justify-content: center;
  303. gap: 16px;
  304. .swiper-pagination{
  305. top:0px;
  306. bottom:0px;
  307. }
  308. .swiper-button-prev{
  309. background: url(/img/ico--back--s.svg) no-repeat center;
  310. }
  311. .swiper-button-next{
  312. background: url(/img/ico--forward--s.svg) no-repeat center;
  313. }
  314. .swiper-button-prev,
  315. .swiper-button-next {
  316. position: relative;
  317. width: 24px;
  318. height: 24px;
  319. border-radius: 50%;
  320. color: white;
  321. margin: 0;
  322. transition: all 0.3s ease;
  323. cursor: pointer;
  324. &:hover{
  325. background:rgba(252,252,253,.3) ;
  326. }
  327. &.swiper-button-disabled {
  328. opacity: 0.3;
  329. cursor: not-allowed;
  330. &:hover {
  331. transform: none;
  332. }
  333. }
  334. }
  335. }
  336. }
  337. }
  338. .text--content {
  339. text-align: center;
  340. height:60%;
  341. .text--slider {
  342. position: relative;
  343. overflow: hidden;
  344. height:100%;
  345. .text--slide {
  346. position: absolute;
  347. top: 0;
  348. left: 0;
  349. width: 100%;
  350. opacity: 0;
  351. transform: translateX(-100%);
  352. transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  353. text-align: left;
  354. visibility: hidden;
  355. &.active {
  356. opacity: 1;
  357. transform: translateX(0);
  358. visibility: visible;
  359. position: relative; // 활성 슬라이드는 relative로 높이 확보
  360. }
  361. // 이전 슬라이드는 오른쪽으로 사라짐
  362. &:not(.active) {
  363. transform: translateX(-100%);
  364. position: absolute; // 비활성 슬라이드는 absolute로 겹침
  365. }
  366. }
  367. }
  368. .main--title {
  369. margin:0px;
  370. color: rgb(252, 252, 253);
  371. letter-spacing: 0px;
  372. font-weight: 400;
  373. text-decoration: none;
  374. font-size: 20px;
  375. line-height: 32px;
  376. font-stretch: 130%;
  377. padding-bottom:12px;
  378. }
  379. .sub--title {
  380. margin: 0px;
  381. color: rgba(252, 252, 253, 0.7);
  382. letter-spacing: 0px;
  383. font-weight: 400;
  384. text-decoration: none;
  385. font-size: 16px;
  386. line-height: 24px;
  387. font-stretch: 105%;
  388. }
  389. .desc--title{
  390. margin-top:25px;
  391. color: rgba(252, 252, 253, 0.7);
  392. letter-spacing: 0px;
  393. font-weight: 400;
  394. text-decoration: none;
  395. font-size: 15px;
  396. line-height: 24px;
  397. font-stretch: 105%;
  398. }
  399. .notice--text {
  400. margin-top: 40px;
  401. padding-top: 20px;
  402. // border-top: 1px solid rgba(255, 255, 255, 0.1);
  403. text-align: left;
  404. p {
  405. margin: 0;
  406. color: rgba(252, 252, 253, 0.5);
  407. font-size: 14px;
  408. line-height: 20px;
  409. font-style: italic;
  410. }
  411. }
  412. }
  413. }
  414. // 70% 영역: 단일 배너
  415. .swiper--banner--section {
  416. width: 70%;
  417. position: relative;
  418. overflow: hidden;
  419. .swiper--container {
  420. width: 100%;
  421. height: 100%;
  422. .swiper-slide {
  423. .slide--image {
  424. width: 100%;
  425. height: 100%;
  426. border-radius: 20px;
  427. overflow: hidden;
  428. img {
  429. width: 100%;
  430. height: 100%;
  431. object-fit: cover;
  432. object-position: center;
  433. transition: transform 0.8s ease;
  434. }
  435. }
  436. &.swiper-slide-active {
  437. .slide--image img {
  438. transform: scale(1.02);
  439. }
  440. }
  441. }
  442. }
  443. }
  444. }
  445. // 반응형 처리
  446. @media (max-width: 1024px) {
  447. .swiper--banner--container {
  448. flex-direction: column;
  449. .swiper--controls--section {
  450. width: 100%;
  451. order: 2;
  452. padding: 30px 20px;
  453. }
  454. .swiper--banner--section {
  455. width: 100%;
  456. height: 400px;
  457. order: 1;
  458. }
  459. }
  460. }
  461. @media (max-width: 768px) {
  462. padding: 40px 0;
  463. .swiper--banner--container {
  464. .swiper--controls--section {
  465. padding: 20px;
  466. .text--content {
  467. .text--slider {
  468. height: 100px; // 모바일에서는 높이 조정
  469. }
  470. .main--title {
  471. font-size: 24px;
  472. line-height: 32px;
  473. }
  474. .sub--title {
  475. font-size: 16px;
  476. line-height: 22px;
  477. }
  478. }
  479. }
  480. .swiper--banner--section {
  481. height: 300px;
  482. }
  483. }
  484. }
  485. }
  486. .title--visual {
  487. position: relative;
  488. width: 100%;
  489. overflow: hidden;
  490. padding:40px 0px;
  491. // 테마별 스타일
  492. &[data-theme="dark"] {
  493. color: rgb(252, 252, 253);
  494. .title--description {
  495. color: rgba(252, 252, 253, 0.8);
  496. }
  497. }
  498. &[data-theme="light"] {
  499. background: rgb(252, 252, 253);
  500. color: #000;
  501. .title--description {
  502. color: rgba(0, 0, 0, 0.7);
  503. }
  504. }
  505. .title--visual--wrapper {
  506. margin: 0 auto;
  507. padding: 0 60px;
  508. align-content: center;
  509. box-sizing: content-box;
  510. display: grid;
  511. grid-template-columns: 100%;
  512. padding-bottom: 0px;
  513. padding-top: 0px;
  514. @media (min-width:1920px){
  515. margin: 0 auto;
  516. max-width:1248px;
  517. }
  518. @media (max-width: 1024px) {
  519. padding: 0 40px;
  520. }
  521. @media (max-width: 768px) {
  522. padding: 0 20px;
  523. }
  524. }
  525. .title--visual--content {
  526. margin: 0 auto;
  527. &[data-align="left"] {
  528. margin-left: 0;
  529. text-align: left;
  530. .title--main{
  531. text-align: left;
  532. }
  533. }
  534. &[data-align="center"] {
  535. text-align: center;
  536. }
  537. &[data-align="right"] {
  538. margin-right: 0;
  539. margin-left: auto;
  540. text-align: right;
  541. .title--main{
  542. text-align: right;
  543. }
  544. }
  545. // 애니메이션 상태
  546. &[data-animated="true"] {
  547. opacity: 0;
  548. transform: translateY(40px);
  549. transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  550. &.visible {
  551. opacity: 1;
  552. transform: translateY(0);
  553. }
  554. }
  555. }
  556. .title--main {
  557. margin: 0 0 24px 0;
  558. color: rgb(252, 252, 253);
  559. letter-spacing: 0px;
  560. font-weight: 400;
  561. text-decoration: none;
  562. font-size: 36px;
  563. line-height: 52px;
  564. font-stretch: 130%;
  565. overflow-wrap: break-word;
  566. text-align: center;
  567. @media (max-width: 1920px) {
  568. font-size: 72px;
  569. line-height: 100px;
  570. }
  571. @media (max-width: 1440px) {
  572. font-size: 60px;
  573. line-height: 84px;
  574. }
  575. @media (max-width: 1024px) {
  576. font-size: 52px;
  577. line-height: 76px;
  578. }
  579. @media (max-width: 768px) {
  580. font-size: 44px;
  581. line-height: 60px;
  582. }
  583. }
  584. .title--description {
  585. margin: 0;
  586. color: rgba(252, 252, 253, 0.7);
  587. letter-spacing: 0px;
  588. font-weight: 400;
  589. text-decoration: none;
  590. font-size: 16px;
  591. line-height: 24px;
  592. font-stretch: 105%;
  593. }
  594. .title--additional {
  595. margin-top: 40px;
  596. @media (max-width: 768px) {
  597. margin-top: 32px;
  598. }
  599. }
  600. }
  601. /*=================================================
  602. |컴포넌트 별 css
  603. |END
  604. =================================================*/
  605. // 로그인 폼 기본 디폴트 디자인
  606. .admin--login {
  607. min-height: 100vh;
  608. background: #000000;
  609. display: flex;
  610. align-items: center;
  611. justify-content: center;
  612. font-family: 'AudiType', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  613. .login--container {
  614. width: 100%;
  615. max-width: 480px;
  616. padding: 20px;
  617. }
  618. .login--box {
  619. background: #0a0a0a;
  620. border: 1px solid rgba(255, 255, 255, 0.1);
  621. border-radius: 12px;
  622. padding: 60px 40px;
  623. box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  624. }
  625. .login--logo {
  626. text-align: center;
  627. margin-bottom: 50px;
  628. h1 {
  629. font-size: 48px;
  630. font-weight: 700;
  631. color: #ffffff;
  632. letter-spacing: 8px;
  633. margin: 0;
  634. font-stretch: 130%;
  635. }
  636. .subtitle {
  637. color: rgba(255, 255, 255, 0.4);
  638. font-size: 14px;
  639. text-transform: uppercase;
  640. letter-spacing: 3px;
  641. margin-top: 10px;
  642. }
  643. }
  644. .login--form {
  645. .form--group {
  646. margin-bottom: 24px;
  647. }
  648. .form--input {
  649. width: 100%;
  650. height: 52px;
  651. background: #000000;
  652. border: 1px solid rgba(255, 255, 255, 0.15);
  653. border-radius: 8px;
  654. padding: 0 20px;
  655. font-size: 15px;
  656. color: #ffffff;
  657. transition: all 0.3s ease;
  658. &::placeholder {
  659. color: rgba(255, 255, 255, 0.6);
  660. }
  661. &:focus {
  662. outline: none;
  663. border-color: rgba(255, 255, 255, 0.4);
  664. background: rgba(255, 255, 255, 0.02);
  665. }
  666. &:hover {
  667. border-color: rgba(255, 255, 255, 0.25);
  668. }
  669. }
  670. .form--options {
  671. display: flex;
  672. justify-content: space-between;
  673. align-items: center;
  674. margin-bottom: 32px;
  675. .checkbox--label {
  676. display: flex;
  677. align-items: center;
  678. cursor: pointer;
  679. color: rgba(255, 255, 255, 0.6);
  680. font-size: 14px;
  681. input[type="checkbox"] {
  682. width: 18px;
  683. height: 18px;
  684. margin-right: 10px;
  685. background: #000000;
  686. border: 1px solid rgba(255, 255, 255, 0.3);
  687. border-radius: 4px;
  688. cursor: pointer;
  689. accent-color: #ffffff;
  690. }
  691. &:hover {
  692. color: rgba(255, 255, 255, 0.8);
  693. }
  694. }
  695. .forgot--password {
  696. color: rgba(255, 255, 255, 0.6);
  697. font-size: 14px;
  698. text-decoration: none;
  699. transition: color 0.3s ease;
  700. &:hover {
  701. color: #ffffff;
  702. }
  703. }
  704. }
  705. .login--button {
  706. width: 100%;
  707. height: 52px;
  708. background: #ffffff;
  709. color: #000000;
  710. border: none;
  711. border-radius: 8px;
  712. font-size: 16px;
  713. font-weight: 600;
  714. letter-spacing: 1px;
  715. cursor: pointer;
  716. transition: all 0.3s ease;
  717. &:hover {
  718. background: rgba(255, 255, 255, 0.9);
  719. transform: translateY(-2px);
  720. box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
  721. }
  722. &:active {
  723. transform: translateY(0);
  724. }
  725. }
  726. }
  727. .login--footer {
  728. text-align: center;
  729. margin-top: 40px;
  730. p {
  731. color: rgba(255, 255, 255, 0.3);
  732. font-size: 12px;
  733. letter-spacing: 0.5px;
  734. }
  735. }
  736. }
  737. //자세히 보기
  738. .more--detail--href{
  739. display: inline-flex;
  740. align-items: center;
  741. position: relative;
  742. letter-spacing: 0px;
  743. font-weight: 400;
  744. font-size: 14px;
  745. min-height:24px;
  746. &:after{
  747. content:'';
  748. display: block;
  749. width:calc(100% - 24px);
  750. height:1px;
  751. background: rgb(252, 252, 253);
  752. position: absolute;
  753. bottom:0px;
  754. left:0px;
  755. }
  756. .ico{
  757. width: 24px;
  758. height: 24px;
  759. background-image: url(/img/ico--arrow.svg);
  760. }
  761. }