@use "../abstracts" as *; // 기본 Frame .wrap{ display: flex; flex-direction: column; width: 100%; min-height: 100vh; overflow-x: hidden; .container{ flex: 1 1 auto; } } // header .header-warp{ height: 66px; z-index: 100000; } header{ position: fixed; top: 0; left: 0; width: 100%; height: 66px; background-color: $white-fff; .header-inner{ position: relative; @include flex(0px); align-items: center; justify-content: center; height: 100%; .back-button-wrap{ position: absolute; top: 50%; left: 20px; transform: translateY(-50%); width: 24px; height: 24px; .back-button { display: block; width: 100%; height: 100%; background:url(/assets/images/layout/side_back_btn.svg) no-repeat center; background-size: cover; } } .logo{ a{ @include defaultFont($font-s-18, $font-w-600, $black-1010); } } .side-button-wrap{ position: absolute; top: 50%; right: 20px; transform: translateY(-50%); width: 24px; height: 24px; .side-button{ display: block; width: 100%; height: 100%; background:url(/assets/images/common/side_nav_btn.svg) no-repeat center; background-size: cover; } } } } .side-nav{ position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.70); opacity: 0; visibility: hidden; z-index: 990000; transition: all .2s ease-in-out; .side-nav-inner{ position: absolute; top: 0; right: -310px; width: 310px; height: 100%; @include flex(0px); flex-direction: column; border-top-left-radius: 16px; border-bottom-left-radius: 16px; background-color: #fff; z-index: 999000; transition: all .2s ease-in-out; } &.active{ opacity: 1; visibility: visible; .side-nav-inner{ right: 0; } } } .side-nav-header{ @include flex(0px); align-items: center; padding: 20px 20px 0 20px; .side-header-profile{ @include flex(12px); align-items: center; .profile-img{ @include flex(0px); } .profile-name{ font-family: 'Pretendard', sans-serif; @include defaultFont($font-s-15, $font-w-600, $black-1010); cursor: pointer; } .profile-company{ font-family: 'Pretendard', sans-serif; @include defaultFont($font-s-12, $font-w-500, #535763); } } .side-close-wrap{ margin-left: auto; .side-close-btn{ width: 24px; height: 24px; background: url(/assets/images/layout/side_nav_close.svg)no-repeat center; background-size: cover; } } } .side-swiper-wrap{ margin-top: 30px; padding: 0 20px; .swiper-slide{ height: auto; } .side-swiper-card{ width: 100%; height: 100%; padding: 16px 20px; background-color: #F4F9FF; border-radius: 8px; cursor: pointer; .side-swiper-icon{ width: 20px; height: 20px; background-position: center; background-repeat: no-repeat; background-size: cover; margin-bottom: 8px; &.icon01{ background-image: url(/assets/images/layout/side_swiper_icon01.svg) } &.icon02{ background-image: url(/assets/images/layout/side_swiper_icon02.svg) } } .side-swiper-infor{ @include defaultFont($font-s-12, $font-w-500, #7896BA); word-break: keep-all; } } } .side-nav-wrap{ margin-top: 30px; padding: 0 20px; height: calc(100% - 247px); overflow-y: auto; .side-nav-list{ .side-nav-item{ padding: 12px; margin-bottom: 8px; button{ position: relative; width: 100%; text-align: left; padding-right: 10px; @include defaultFont($font-s-15, $font-w-500, #4B6586); &:before{ content: ''; position: absolute; top: 50%; right: 0; transform: translateY(-50%); width: 6px; height: 11px; background: url(/assets/images/layout/side_nav_item_arr.svg)no-repeat center; background-size: cover; } } &:last-child{ margin-bottom: 0; } } } } .side-nav-footer{ margin-top: 20px; padding: 0 20px 34px 20px; .side-footer-list{ @include flex(0px); justify-content: center; align-items: center; padding-top: 24px; border-top: 2px solid #EDEDED; .side-footer-item{ position: relative; display: flex; padding: 0 12px; button{ font-family: 'Pretendard', sans-serif; text-transform: uppercase; @include defaultFont($font-s-13, $font-w-500, $font-c); &.bold{ font-weight: $font-w-600; } } &::before{ content: ''; position: absolute; top: 50%; right: 0; transform: translateY(-50%); width: 1px; height: 10px; background-color: #EDEDED; } &:last-child{ &::before{ display: none; } } } } } // footer footer{ padding: 24px 20px; .footer-inner{ font-family: 'Pretendard', sans-serif; text-align: center; @include defaultFont($font-s-11, $font-w-400, #9F9F9F); } }