메인 팝업 추가
@d45e5938af65fe878df15bd7343a848614c74d41
--- html/onSejong/common/main/main.html
+++ html/onSejong/common/main/main.html
... | ... | @@ -44,11 +44,82 @@ |
| 44 | 44 |
<div class="accessibility"> |
| 45 | 45 |
<a href="#skipToContents" title="콘텐츠를 바로 볼 수 있도록 건너뛰기합니다.">콘텐츠 바로가기</a> |
| 46 | 46 |
</div> |
| 47 |
- <!-- for-teacher / for-student --> |
|
| 47 |
+ <div class="mn-popup-area is-active"> |
|
| 48 |
+ <div class="mn-popup"> |
|
| 49 |
+ <div class="mn-pop-body wrap"> |
|
| 50 |
+ <div class="cont"> |
|
| 51 |
+ <div class="swiper-fnc"> |
|
| 52 |
+ <button type="button" class="swiper-button-prev lg circle">이전</button> |
|
| 53 |
+ <button type="button" class="swiper-button-next lg circle">다음</button> |
|
| 54 |
+ </div> |
|
| 55 |
+ <div class="swiper mn-popup-swiper"> |
|
| 56 |
+ <div class="swiper-wrapper"> |
|
| 57 |
+ <div class="swiper-slide"> |
|
| 58 |
+ <div class="popup-item"> |
|
| 59 |
+ <a href="#none" class="lnk-full">상세보기</a> |
|
| 60 |
+ <div class="pop-header"> |
|
| 61 |
+ <h2>설문조사</h2> |
|
| 62 |
+ </div> |
|
| 63 |
+ <div class="pop-body"> |
|
| 64 |
+ -에디터 - |
|
| 65 |
+ </div> |
|
| 66 |
+ </div> |
|
| 67 |
+ </div> |
|
| 68 |
+ <div class="swiper-slide"> |
|
| 69 |
+ <div class="popup-item"> |
|
| 70 |
+ <div class="pop-header"> |
|
| 71 |
+ <h2>공지사항 상세보기 없음</h2> |
|
| 72 |
+ </div> |
|
| 73 |
+ <div class="pop-body"> |
|
| 74 |
+ -에디터 - |
|
| 75 |
+ 온세종학교는 종합지원 포털 시스템 점검을 실시하고 있음을 알려드립니다. 우리 교육청 및 산하기관에서 진행 중인 구매 규격 사전 공개, 입찰 공고, 개찰 등 관련 업무는 시스템 점검(복구) 기간이 길어질 경우 해당 기간만큼 연장 될 수 있음을 사전에 알려드리니 업무에 참고하시기 바랍니다.<br><br> |
|
| 76 |
+ 온세종학교는 종합지원 포털 시스템 점검을 실시하고 있음을 알려드립니다. 우리 교육청 및 산하기관에서 진행 중인 구매 규격 사전 공개, 입찰 공고, 개찰 등 관련 업무는 시스템 점검(복구) 기간이 길어질 경우 해당 기간만큼 연장 될 수 있음을 사전에 알려드리니 업무에 참고하시기 바랍니다.<br><br> |
|
| 77 |
+ 온세종학교는 종합지원 포털 시스템 점검을 실시하고 있음을 알려드립니다. 우리 교육청 및 산하기관에서 진행 중인 구매 규격 사전 공개, 입찰 공고, 개찰 등 관련 업무는 시스템 점검(복구) 기간이 길어질 경우 해당 기간만큼 연장 될 수 있음을 사전에 알려드리니 업무에 참고하시기 바랍니다.<br><br> |
|
| 78 |
+ 온세종학교는 종합지원 포털 시스템 점검을 실시하고 있음을 알려드립니다. 우리 교육청 및 산하기관에서 진행 중인 구매 규격 사전 공개, 입찰 공고, 개찰 등 관련 업무는 시스템 점검(복구) 기간이 길어질 경우 해당 기간만큼 연장 될 수 있음을 사전에 알려드리니 업무에 참고하시기 바랍니다.<br><br> |
|
| 79 |
+ 온세종학교는 종합지원 포털 시스템 점검을 실시하고 있음을 알려드립니다. 우리 교육청 및 산하기관에서 진행 중인 구매 규격 사전 공개, 입찰 공고, 개찰 등 관련 업무는 시스템 점검(복구) 기간이 길어질 경우 해당 기간만큼 연장 될 수 있음을 사전에 알려드리니 업무에 참고하시기 바랍니다.<br><br> |
|
| 80 |
+ 온세종학교는 종합지원 포털 시스템 점검을 실시하고 있음을 알려드립니다. 우리 교육청 및 산하기관에서 진행 중인 구매 규격 사전 공개, 입찰 공고, 개찰 등 관련 업무는 시스템 점검(복구) 기간이 길어질 경우 해당 기간만큼 연장 될 수 있음을 사전에 알려드리니 업무에 참고하시기 바랍니다.<br><br> |
|
| 81 |
+ </div> |
|
| 82 |
+ </div> |
|
| 83 |
+ </div> |
|
| 84 |
+ <div class="swiper-slide"> |
|
| 85 |
+ <div class="popup-item"> |
|
| 86 |
+ <a href="#none" class="lnk-full">상세보기</a> |
|
| 87 |
+ <div class="pop-header"> |
|
| 88 |
+ <h2>공지사항 상세보기</h2> |
|
| 89 |
+ </div> |
|
| 90 |
+ <div class="pop-body"> |
|
| 91 |
+ -에디터 - |
|
| 92 |
+ </div> |
|
| 93 |
+ </div> |
|
| 94 |
+ </div> |
|
| 95 |
+ <div class="swiper-slide"> |
|
| 96 |
+ <div class="popup-item"> |
|
| 97 |
+ <a href="#none" class="lnk-full">상세보기</a> |
|
| 98 |
+ <div class="pop-header"> |
|
| 99 |
+ <h2>공지사항 제목</h2> |
|
| 100 |
+ </div> |
|
| 101 |
+ <div class="pop-body"> |
|
| 102 |
+ -에디터 - |
|
| 103 |
+ </div> |
|
| 104 |
+ </div> |
|
| 105 |
+ </div> |
|
| 106 |
+ </div> |
|
| 107 |
+ </div> |
|
| 108 |
+ </div> |
|
| 109 |
+ <div class="fnc"> |
|
| 110 |
+ <button type="button" class="btn overlay swiper-btn-playstop-toggle circle">중지</button> |
|
| 111 |
+ <span class="btn overlay"> |
|
| 112 |
+ 소식건수: 총<div class="swiper-total"></div>건 |
|
| 113 |
+ </span> |
|
| 114 |
+ <button type="button" class="btn overlay" id="mnPopupAreaClose" onclick="mnPopClose()">닫기</button> |
|
| 115 |
+ <button type="button" class="btn overlay back ico-close" onclick="mnPopClose()">오늘 하루 열지 않기</button> |
|
| 116 |
+ </div> |
|
| 117 |
+ </div> |
|
| 118 |
+ </div> |
|
| 119 |
+ </div> |
|
| 48 | 120 |
<div class="container"> |
| 49 | 121 |
<!-- 통합 헤더 및 네비게이션 --> |
| 50 | 122 |
<header class="site-header"></header> |
| 51 |
- |
|
| 52 | 123 |
<div class="site-body" id="skipToContents"> |
| 53 | 124 |
<div class="mn-contents wrap"> |
| 54 | 125 |
<div class="mn-top"> |
... | ... | @@ -447,7 +518,7 @@ |
| 447 | 518 |
<div class="profile sm"> |
| 448 | 519 |
<div class="img-area"> |
| 449 | 520 |
<figure> |
| 450 |
- <img src="../../../../resources/front/site/SITE_00000/images/common/profile/profile-chatbot.svg" alt="챗봇"> |
|
| 521 |
+ <img src="../../../../resources/front/site/SITE_00000/images/common/profile/profile-chatbot.svg" alt="챗봇" /> |
|
| 451 | 522 |
</figure> |
| 452 | 523 |
</div> |
| 453 | 524 |
<div class="txt-area"> |
... | ... | @@ -457,7 +528,8 @@ |
| 457 | 528 |
<div class="txt-guide"> |
| 458 | 529 |
<div class="txt"> |
| 459 | 530 |
<p> |
| 460 |
- 잘 이해하지 못했어요.<br> |
|
| 531 |
+ 잘 이해하지 못했어요. |
|
| 532 |
+ <br /> |
|
| 461 | 533 |
온라인학교 과정, 캠퍼스공동교육과정 중에 궁금한 부분의 버튼을 눌러주시면 잘 이해할 수 있어요. |
| 462 | 534 |
</p> |
| 463 | 535 |
<div class="btn-group dir-col"> |
... | ... | @@ -478,7 +550,7 @@ |
| 478 | 550 |
<div class="profile sm"> |
| 479 | 551 |
<div class="img-area"> |
| 480 | 552 |
<figure> |
| 481 |
- <img src="../../../../resources/front/site/SITE_00000/images/common/profile/profile-chatbot.svg" alt="챗봇"> |
|
| 553 |
+ <img src="../../../../resources/front/site/SITE_00000/images/common/profile/profile-chatbot.svg" alt="챗봇" /> |
|
| 482 | 554 |
</figure> |
| 483 | 555 |
</div> |
| 484 | 556 |
<div class="txt-area"> |
... | ... | @@ -555,10 +627,13 @@ |
| 555 | 627 |
<div class="dim"></div> |
| 556 | 628 |
|
| 557 | 629 |
<script> |
| 558 |
- $(document).on('click', '.btn-float-chatbot',function() {
|
|
| 630 |
+ function mnPopClose() {
|
|
| 631 |
+ $('.mn-popup-area').removeClass('is-active');
|
|
| 632 |
+ } |
|
| 633 |
+ $(document).on('click', '.btn-float-chatbot', function () {
|
|
| 559 | 634 |
$('.float-chatbot').toggleClass('is-active');
|
| 560 | 635 |
}); |
| 561 |
- $(document).on('click', '.pupup-chatbot .pop-close',function() {
|
|
| 636 |
+ $(document).on('click', '.pupup-chatbot .pop-close', function () {
|
|
| 562 | 637 |
$('.float-chatbot').removeClass('is-active');
|
| 563 | 638 |
}); |
| 564 | 639 |
</script> |
--- html/onSejong/manager/myclass/activityReport.html
+++ html/onSejong/manager/myclass/activityReport.html
... | ... | @@ -201,9 +201,8 @@ |
| 201 | 201 |
<div class="box-body"> |
| 202 | 202 |
<ul class="chart-bar-list"> |
| 203 | 203 |
<li> |
| 204 |
- |
|
| 205 | 204 |
<div class="chart-tit-area"> |
| 206 |
- <div class="chart-tit">#123456 | 무엇인지 맞춰보세요. 문항의 질문이 표시되는 영역</div> |
|
| 205 |
+ <div class="chart-tit ellipsis">#123456 | 무엇인지 맞춰보세요. 문항의 질문이 표시되는 영역</div> |
|
| 207 | 206 |
</div> |
| 208 | 207 |
<div class="bar-area"> |
| 209 | 208 |
<span class="bar" style="width:22%;"></span><small class="chart-label">22% 오답률</small> |
... | ... | @@ -211,7 +210,7 @@ |
| 211 | 210 |
</li> |
| 212 | 211 |
<li> |
| 213 | 212 |
<div class="chart-tit-area"> |
| 214 |
- <div class="chart-tit">#123456 | 무엇인지 맞춰보세요. 문항의 질문이 표시되는 영역</div> |
|
| 213 |
+ <div class="chart-tit ellipsis">#123456 | 무엇인지 맞춰보세요. 문항의 질문이 표시되는 영역</div> |
|
| 215 | 214 |
</div> |
| 216 | 215 |
<div class="bar-area"> |
| 217 | 216 |
<span class="bar" style="width:62%;"></span><small class="chart-label">62% 오답률</small> |
... | ... | @@ -219,15 +218,15 @@ |
| 219 | 218 |
</li> |
| 220 | 219 |
<li> |
| 221 | 220 |
<div class="chart-tit-area"> |
| 222 |
- <div class="chart-tit">#123456 | 무엇인지 맞춰보세요. 문항의 질문이 표시되는 영역</div> |
|
| 221 |
+ <div class="chart-tit ellipsis">#123456 | 무엇인지 맞춰보세요. 문항의 질문이 표시되는 영역</div> |
|
| 223 | 222 |
</div> |
| 224 | 223 |
<div class="bar-area"> |
| 225 | 224 |
<span class="bar" style="width:22%;"></span><small class="chart-label">22% 오답률</small> |
| 226 | 225 |
</div> |
| 227 | 226 |
</li> |
| 228 | 227 |
<li> |
| 229 |
- <div class="chart-tit-area ellipsis"> |
|
| 230 |
- <div class="chart-tit">#123456 | 무엇인지 맞춰보세요. 문항의 질문이 표시되는 영역#123456 | 무엇인지 맞춰보세요. 문항의 질문이 표시되는 영역#123456 | 무엇인지 맞춰보세요. 문항의 질문이 표시되는 영역#123456 | 무엇인지 맞춰보세요. 문항의 질문이 표시되는 영역#123456 | 무엇인지 맞춰보세요. 문항의 질문이 표시되는 영역</div> |
|
| 228 |
+ <div class="chart-tit-area"> |
|
| 229 |
+ <div class="chart-tit ellipsis">#123456 | 무엇인지 맞춰보세요. 문항의 질문이 표시되는 영역#123456 | 무엇인지 맞춰보세요. 문항의 질문이 표시되는 영역#123456 | 무엇인지 맞춰보세요. 문항의 질문이 표시되는 영역#123456 | 무엇인지 맞춰보세요. 문항의 질문이 표시되는 영역#123456 | 무엇인지 맞춰보세요. 문항의 질문이 표시되는 영역</div> |
|
| 231 | 230 |
</div> |
| 232 | 231 |
<div class="bar-area"> |
| 233 | 232 |
<span class="bar" style="width:62%;"></span><small class="chart-label">62% 오답률</small> |
--- resources/front/site/SITE_00000/css/common/component/_popup.scss
+++ resources/front/site/SITE_00000/css/common/component/_popup.scss
... | ... | @@ -397,17 +397,36 @@ |
| 397 | 397 |
grid-template-rows: 1fr auto; |
| 398 | 398 |
padding:$spacing-md 0; |
| 399 | 399 |
gap:$spacing-md; |
| 400 |
- z-index: 99; |
|
| 400 |
+ z-index: 100; |
|
| 401 | 401 |
&.is-active {
|
| 402 | 402 |
display: grid; |
| 403 | 403 |
} |
| 404 |
- .popup {
|
|
| 404 |
+ .popup-item {
|
|
| 405 | 405 |
max-width: initial; |
| 406 |
+ height: 100%; |
|
| 407 |
+ width: 100%; |
|
| 408 |
+ border-radius: $radius-md; |
|
| 409 |
+ background: $color-background-default-primary; |
|
| 410 |
+ box-shadow: $shadow-md; |
|
| 411 |
+ display: grid; |
|
| 412 |
+ grid-template-rows: auto 1fr; |
|
| 413 |
+ .pop-header {
|
|
| 414 |
+ padding: $spacing-md $spacing-lg; |
|
| 415 |
+ border-bottom: $stroke-secondary; |
|
| 416 |
+ h2 {
|
|
| 417 |
+ @include typo('tit-sm');
|
|
| 418 |
+ } |
|
| 419 |
+ } |
|
| 420 |
+ .pop-body {
|
|
| 421 |
+ padding: $spacing-xlg $spacing-lg; |
|
| 422 |
+ overflow-y: auto; |
|
| 423 |
+ } |
|
| 424 |
+ img {
|
|
| 425 |
+ max-width: 100%; |
|
| 426 |
+ } |
|
| 406 | 427 |
} |
| 407 |
- .pop-header {
|
|
| 408 |
- padding-right: 0; |
|
| 409 |
- } |
|
| 410 |
- .mn-pop-body {
|
|
| 428 |
+ |
|
| 429 |
+ .mn-popup {
|
|
| 411 | 430 |
display:flex; |
| 412 | 431 |
align-items: center; |
| 413 | 432 |
justify-content: center; |
... | ... | @@ -415,72 +434,59 @@ |
| 415 | 434 |
overflow: hidden; |
| 416 | 435 |
.cont {
|
| 417 | 436 |
position: relative; |
| 418 |
- height: 100%; |
|
| 437 |
+ max-height: 100%; |
|
| 438 |
+ height: 54rem; |
|
| 419 | 439 |
min-width: 0; |
| 420 |
- display:flex; |
|
| 421 |
- flex-direction:column; |
|
| 422 |
- gap:$spacing-md; |
|
| 423 |
- justify-content: center; |
|
| 440 |
+ padding-left: 8rem; |
|
| 441 |
+ padding-right: 8rem; |
|
| 424 | 442 |
} |
| 443 |
+ .fnc {
|
|
| 444 |
+ display: flex; |
|
| 445 |
+ gap:$spacing-xsm; |
|
| 446 |
+ margin:$spacing-2xlg auto; |
|
| 447 |
+ border-radius: 3em; |
|
| 448 |
+ background: $color-black-alpha30; |
|
| 449 |
+ backdrop-filter: blur(15px); |
|
| 450 |
+ width: fit-content; |
|
| 451 |
+ padding:$spacing-sm $spacing-md; |
|
| 452 |
+ .btn {
|
|
| 453 |
+ border-radius: 3em; |
|
| 454 |
+ } |
|
| 455 |
+ } |
|
| 425 | 456 |
} |
| 426 | 457 |
.is-inactive {
|
| 427 | 458 |
.swiper-wrapper {
|
| 428 | 459 |
justify-content: center; |
| 429 | 460 |
} |
| 430 | 461 |
} |
| 431 |
- |
|
| 432 |
- .swiper-fnc-static {
|
|
| 433 |
- justify-content: flex-end; |
|
| 434 |
- width:100%; |
|
| 435 |
- button {
|
|
| 436 |
- background-color: $color-white-alpha90; |
|
| 437 |
- } |
|
| 438 |
- .swiper-button-prev.swiper-button-disabled ~ |
|
| 439 |
- .swiper-button-next.swiper-button-disabled ~ .swiper-btn-playstop-toggle {
|
|
| 440 |
- opacity: .4; |
|
| 441 |
- } |
|
| 442 |
- // &:has(.swiper-button-disabled) {
|
|
| 443 |
- // display: none; |
|
| 444 |
- // } |
|
| 445 |
- } |
|
| 446 |
- .swiper {
|
|
| 447 |
- width: 100%; |
|
| 448 |
- height: 100%; |
|
| 449 |
- max-height: 80rem; |
|
| 450 |
- } |
|
| 451 |
- // .swiper {
|
|
| 452 |
- // position: static; |
|
| 453 |
- // width: 100%; |
|
| 454 |
- // display: grid; |
|
| 455 |
- // grid-template-rows: 1fr auto; |
|
| 456 |
- // gap:$spacing-md; |
|
| 457 |
- // } |
|
| 458 |
- .swiper-slide {
|
|
| 459 |
- display: flex; |
|
| 460 |
- justify-content: center; |
|
| 461 |
- // width: 100% !important; |
|
| 462 |
- } |
|
| 463 |
- .pop-editor-cont {
|
|
| 464 |
- img {
|
|
| 465 |
- max-width: 100%; |
|
| 466 |
- } |
|
| 467 |
- } |
|
| 468 |
- .popup {
|
|
| 469 |
- display: flex; |
|
| 462 |
+ .swiper-btn-playstop-toggle {
|
|
| 470 | 463 |
position: relative; |
| 471 |
- top:initial; |
|
| 472 |
- left:initial; |
|
| 473 |
- transform: initial; |
|
| 474 |
- max-height: 100%; |
|
| 475 |
- height: max-content; |
|
| 476 |
- } |
|
| 477 |
- .mn-pop-footer {
|
|
| 478 |
- .fnc {
|
|
| 479 |
- background-color: $color-white-alpha80; |
|
| 480 |
- padding:$spacing-md $spacing-lg; |
|
| 481 |
- border-radius: $radius-md; |
|
| 464 |
+ display: block; |
|
| 465 |
+ text-indent: -99999px; |
|
| 466 |
+ &:after {
|
|
| 467 |
+ content: " "; |
|
| 468 |
+ position: absolute; |
|
| 469 |
+ left: 50%; |
|
| 470 |
+ top: 50%; |
|
| 471 |
+ transform: translate(-50%, -50%); |
|
| 472 |
+ } |
|
| 473 |
+ &:after {
|
|
| 474 |
+ @include ico($size-icon-sm, pause, $color-icon-default-primary-inverse); |
|
| 475 |
+ } |
|
| 476 |
+ &.is-stop {
|
|
| 477 |
+ &:after{
|
|
| 478 |
+ @include ico($size-icon-sm, play, $color-icon-default-primary-inverse); |
|
| 479 |
+ } |
|
| 482 | 480 |
} |
| 483 | 481 |
} |
| 482 |
+ .swiper, |
|
| 483 |
+ .swiper-wrapper, |
|
| 484 |
+ .swiper-slide {
|
|
| 485 |
+ height: 100%; |
|
| 486 |
+ } |
|
| 487 |
+ .swiper-total {
|
|
| 488 |
+ width: initial !important; |
|
| 489 |
+ } |
|
| 484 | 490 |
} |
| 485 | 491 |
@include responsive(mobile) {
|
| 486 | 492 |
.popup, |
--- resources/front/site/SITE_00000/css/custom/page/_chart.scss
+++ resources/front/site/SITE_00000/css/custom/page/_chart.scss
... | ... | @@ -120,7 +120,9 @@ |
| 120 | 120 |
li {
|
| 121 | 121 |
display: grid; |
| 122 | 122 |
gap:$spacing-2xsm; |
| 123 |
- padding-right: 6.4rem; |
|
| 123 |
+ .chart-tit-area {
|
|
| 124 |
+ min-width: 0; |
|
| 125 |
+ } |
|
| 124 | 126 |
.chart-tit {
|
| 125 | 127 |
display: inline-block; |
| 126 | 128 |
@include typo('tit-xsm');
|
... | ... | @@ -130,6 +132,7 @@ |
| 130 | 132 |
} |
| 131 | 133 |
.bar-area {
|
| 132 | 134 |
position: relative; |
| 135 |
+ padding-right: 6.4rem; |
|
| 133 | 136 |
} |
| 134 | 137 |
.bar {
|
| 135 | 138 |
display: inline-block; |
--- resources/front/site/SITE_00000/css/style.css
+++ resources/front/site/SITE_00000/css/style.css
... | ... | @@ -8679,18 +8679,39 @@ |
| 8679 | 8679 |
grid-template-rows: 1fr auto; |
| 8680 | 8680 |
padding: 1.6rem 0; |
| 8681 | 8681 |
gap: 1.6rem; |
| 8682 |
- z-index: 99; |
|
| 8682 |
+ z-index: 100; |
|
| 8683 | 8683 |
} |
| 8684 | 8684 |
.mn-popup-area.is-active {
|
| 8685 | 8685 |
display: grid; |
| 8686 | 8686 |
} |
| 8687 |
-.mn-popup-area .popup {
|
|
| 8687 |
+.mn-popup-area .popup-item {
|
|
| 8688 | 8688 |
max-width: initial; |
| 8689 |
+ height: 100%; |
|
| 8690 |
+ width: 100%; |
|
| 8691 |
+ border-radius: 2.4rem; |
|
| 8692 |
+ background: var(--color-background-default-primary); |
|
| 8693 |
+ -webkit-box-shadow: 0rem 0.4rem 1.6rem rgba(17, 17, 17, 0.1); |
|
| 8694 |
+ box-shadow: 0rem 0.4rem 1.6rem rgba(17, 17, 17, 0.1); |
|
| 8695 |
+ display: grid; |
|
| 8696 |
+ grid-template-rows: auto 1fr; |
|
| 8689 | 8697 |
} |
| 8690 |
-.mn-popup-area .pop-header {
|
|
| 8691 |
- padding-right: 0; |
|
| 8698 |
+.mn-popup-area .popup-item .pop-header {
|
|
| 8699 |
+ padding: 1.6rem 2.4rem; |
|
| 8700 |
+ border-bottom: 0.1rem solid var(--color-stroke-default-tertiary); |
|
| 8692 | 8701 |
} |
| 8693 |
-.mn-popup-area .mn-pop-body {
|
|
| 8702 |
+.mn-popup-area .popup-item .pop-header h2 {
|
|
| 8703 |
+ font-size: var(--font-tit-sm); |
|
| 8704 |
+ font-weight: var(--size-font-weight-xlg); |
|
| 8705 |
+ line-height: var(--size-font-lineheight-sm); |
|
| 8706 |
+} |
|
| 8707 |
+.mn-popup-area .popup-item .pop-body {
|
|
| 8708 |
+ padding: 3.2rem 2.4rem; |
|
| 8709 |
+ overflow-y: auto; |
|
| 8710 |
+} |
|
| 8711 |
+.mn-popup-area .popup-item img {
|
|
| 8712 |
+ max-width: 100%; |
|
| 8713 |
+} |
|
| 8714 |
+.mn-popup-area .mn-popup {
|
|
| 8694 | 8715 |
display: -webkit-box; |
| 8695 | 8716 |
display: -ms-flexbox; |
| 8696 | 8717 |
display: flex; |
... | ... | @@ -8703,73 +8724,82 @@ |
| 8703 | 8724 |
min-width: 0; |
| 8704 | 8725 |
overflow: hidden; |
| 8705 | 8726 |
} |
| 8706 |
-.mn-popup-area .mn-pop-body .cont {
|
|
| 8727 |
+.mn-popup-area .mn-popup .cont {
|
|
| 8707 | 8728 |
position: relative; |
| 8708 |
- height: 100%; |
|
| 8729 |
+ max-height: 100%; |
|
| 8730 |
+ height: 54rem; |
|
| 8709 | 8731 |
min-width: 0; |
| 8732 |
+ padding-left: 8rem; |
|
| 8733 |
+ padding-right: 8rem; |
|
| 8734 |
+} |
|
| 8735 |
+.mn-popup-area .mn-popup .fnc {
|
|
| 8710 | 8736 |
display: -webkit-box; |
| 8711 | 8737 |
display: -ms-flexbox; |
| 8712 | 8738 |
display: flex; |
| 8713 |
- -webkit-box-orient: vertical; |
|
| 8714 |
- -webkit-box-direction: normal; |
|
| 8715 |
- -ms-flex-direction: column; |
|
| 8716 |
- flex-direction: column; |
|
| 8717 |
- gap: 1.6rem; |
|
| 8718 |
- -webkit-box-pack: center; |
|
| 8719 |
- -ms-flex-pack: center; |
|
| 8720 |
- justify-content: center; |
|
| 8739 |
+ gap: 0.8rem; |
|
| 8740 |
+ margin: 4rem auto; |
|
| 8741 |
+ border-radius: 3em; |
|
| 8742 |
+ background: rgba(17, 17, 17, 0.15); |
|
| 8743 |
+ backdrop-filter: blur(15px); |
|
| 8744 |
+ width: -webkit-fit-content; |
|
| 8745 |
+ width: -moz-fit-content; |
|
| 8746 |
+ width: fit-content; |
|
| 8747 |
+ padding: 1.2rem 1.6rem; |
|
| 8748 |
+} |
|
| 8749 |
+.mn-popup-area .mn-popup .fnc .btn {
|
|
| 8750 |
+ border-radius: 3em; |
|
| 8721 | 8751 |
} |
| 8722 | 8752 |
.mn-popup-area .is-inactive .swiper-wrapper {
|
| 8723 | 8753 |
-webkit-box-pack: center; |
| 8724 | 8754 |
-ms-flex-pack: center; |
| 8725 | 8755 |
justify-content: center; |
| 8726 | 8756 |
} |
| 8727 |
-.mn-popup-area .swiper-fnc-static {
|
|
| 8728 |
- -webkit-box-pack: end; |
|
| 8729 |
- -ms-flex-pack: end; |
|
| 8730 |
- justify-content: flex-end; |
|
| 8731 |
- width: 100%; |
|
| 8732 |
-} |
|
| 8733 |
-.mn-popup-area .swiper-fnc-static button {
|
|
| 8734 |
- background-color: rgba(255, 255, 255, 0.95); |
|
| 8735 |
-} |
|
| 8736 |
-.mn-popup-area .swiper-fnc-static .swiper-button-prev.swiper-button-disabled ~ .swiper-button-next.swiper-button-disabled ~ .swiper-btn-playstop-toggle {
|
|
| 8737 |
- opacity: 0.4; |
|
| 8738 |
-} |
|
| 8739 |
-.mn-popup-area .swiper {
|
|
| 8740 |
- width: 100%; |
|
| 8741 |
- height: 100%; |
|
| 8742 |
- max-height: 80rem; |
|
| 8743 |
-} |
|
| 8744 |
-.mn-popup-area .swiper-slide {
|
|
| 8745 |
- display: -webkit-box; |
|
| 8746 |
- display: -ms-flexbox; |
|
| 8747 |
- display: flex; |
|
| 8748 |
- -webkit-box-pack: center; |
|
| 8749 |
- -ms-flex-pack: center; |
|
| 8750 |
- justify-content: center; |
|
| 8751 |
-} |
|
| 8752 |
-.mn-popup-area .pop-editor-cont img {
|
|
| 8753 |
- max-width: 100%; |
|
| 8754 |
-} |
|
| 8755 |
-.mn-popup-area .popup {
|
|
| 8756 |
- display: -webkit-box; |
|
| 8757 |
- display: -ms-flexbox; |
|
| 8758 |
- display: flex; |
|
| 8757 |
+.mn-popup-area .swiper-btn-playstop-toggle {
|
|
| 8759 | 8758 |
position: relative; |
| 8760 |
- top: initial; |
|
| 8761 |
- left: initial; |
|
| 8762 |
- -webkit-transform: initial; |
|
| 8763 |
- transform: initial; |
|
| 8764 |
- max-height: 100%; |
|
| 8765 |
- height: -webkit-max-content; |
|
| 8766 |
- height: -moz-max-content; |
|
| 8767 |
- height: max-content; |
|
| 8759 |
+ display: block; |
|
| 8760 |
+ text-indent: -99999px; |
|
| 8768 | 8761 |
} |
| 8769 |
-.mn-popup-area .mn-pop-footer .fnc {
|
|
| 8770 |
- background-color: rgba(255, 255, 255, 0.9); |
|
| 8771 |
- padding: 1.6rem 2.4rem; |
|
| 8772 |
- border-radius: 2.4rem; |
|
| 8762 |
+.mn-popup-area .swiper-btn-playstop-toggle:after {
|
|
| 8763 |
+ content: " "; |
|
| 8764 |
+ position: absolute; |
|
| 8765 |
+ left: 50%; |
|
| 8766 |
+ top: 50%; |
|
| 8767 |
+ -webkit-transform: translate(-50%, -50%); |
|
| 8768 |
+ transform: translate(-50%, -50%); |
|
| 8769 |
+} |
|
| 8770 |
+.mn-popup-area .swiper-btn-playstop-toggle:after {
|
|
| 8771 |
+ width: var(--size-icon-sm); |
|
| 8772 |
+ height: var(--size-icon-sm); |
|
| 8773 |
+ -webkit-mask-size: cover; |
|
| 8774 |
+ mask-size: cover; |
|
| 8775 |
+ -webkit-mask-position: center; |
|
| 8776 |
+ mask-position: center; |
|
| 8777 |
+ -webkit-mask-repeat: no-repeat; |
|
| 8778 |
+ mask-repeat: no-repeat; |
|
| 8779 |
+ -webkit-mask-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 24 24' xml:space='preserve'%3E%3Cg fill='%23111'%3E%3Crect class='cls-2' x='14' y='2' width='5' height='20'/%3E%3Crect class='cls-2' x='5' y='2' width='5' height='20'/%3E%3C/g%3E%3C/svg%3E");
|
|
| 8780 |
+ mask-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 24 24' xml:space='preserve'%3E%3Cg fill='%23111'%3E%3Crect class='cls-2' x='14' y='2' width='5' height='20'/%3E%3Crect class='cls-2' x='5' y='2' width='5' height='20'/%3E%3C/g%3E%3C/svg%3E");
|
|
| 8781 |
+ background-color: var(--color-icon-default-primary-inverse); |
|
| 8782 |
+} |
|
| 8783 |
+.mn-popup-area .swiper-btn-playstop-toggle.is-stop:after {
|
|
| 8784 |
+ width: var(--size-icon-sm); |
|
| 8785 |
+ height: var(--size-icon-sm); |
|
| 8786 |
+ -webkit-mask-size: cover; |
|
| 8787 |
+ mask-size: cover; |
|
| 8788 |
+ -webkit-mask-position: center; |
|
| 8789 |
+ mask-position: center; |
|
| 8790 |
+ -webkit-mask-repeat: no-repeat; |
|
| 8791 |
+ mask-repeat: no-repeat; |
|
| 8792 |
+ -webkit-mask-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 24 24' xml:space='preserve'%3E%3Cg fill='%23111'%3E%3Cpath d='m5,2v20l16-10L5,2Zm2,3.61l10.23,6.39-10.23,6.39V5.61Z'/%3E%3C/g%3E%3C/svg%3E");
|
|
| 8793 |
+ mask-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 24 24' xml:space='preserve'%3E%3Cg fill='%23111'%3E%3Cpath d='m5,2v20l16-10L5,2Zm2,3.61l10.23,6.39-10.23,6.39V5.61Z'/%3E%3C/g%3E%3C/svg%3E");
|
|
| 8794 |
+ background-color: var(--color-icon-default-primary-inverse); |
|
| 8795 |
+} |
|
| 8796 |
+.mn-popup-area .swiper, |
|
| 8797 |
+.mn-popup-area .swiper-wrapper, |
|
| 8798 |
+.mn-popup-area .swiper-slide {
|
|
| 8799 |
+ height: 100%; |
|
| 8800 |
+} |
|
| 8801 |
+.mn-popup-area .swiper-total {
|
|
| 8802 |
+ width: initial !important; |
|
| 8773 | 8803 |
} |
| 8774 | 8804 |
|
| 8775 | 8805 |
@media (max-width: 767px) {
|
... | ... | @@ -30994,7 +31024,10 @@ |
| 30994 | 31024 |
.chart-bar-list li {
|
| 30995 | 31025 |
display: grid; |
| 30996 | 31026 |
gap: 0.4rem; |
| 30997 |
- padding-right: 6.4rem; |
|
| 31027 |
+} |
|
| 31028 |
+.a-chart-area .chart-list li .chart-tit-area, |
|
| 31029 |
+.chart-bar-list li .chart-tit-area {
|
|
| 31030 |
+ min-width: 0; |
|
| 30998 | 31031 |
} |
| 30999 | 31032 |
.a-chart-area .chart-list li .chart-tit, |
| 31000 | 31033 |
.chart-bar-list li .chart-tit {
|
... | ... | @@ -31011,6 +31044,7 @@ |
| 31011 | 31044 |
.a-chart-area .chart-list li .bar-area, |
| 31012 | 31045 |
.chart-bar-list li .bar-area {
|
| 31013 | 31046 |
position: relative; |
| 31047 |
+ padding-right: 6.4rem; |
|
| 31014 | 31048 |
} |
| 31015 | 31049 |
.a-chart-area .chart-list li .bar, |
| 31016 | 31050 |
.chart-bar-list li .bar {
|
--- resources/front/site/SITE_00000/css/style.css.map
+++ resources/front/site/SITE_00000/css/style.css.map
| This diff is too big to display. |
--- resources/front/site/SITE_00000/css/style.min.css
+++ resources/front/site/SITE_00000/css/style.min.css
| This diff is too big to display. |
--- resources/front/site/SITE_00000/css/style.min.css.map
+++ resources/front/site/SITE_00000/css/style.min.css.map
| This diff is too big to display. |
--- resources/front/site/SITE_00000/js/common-custom.js
+++ resources/front/site/SITE_00000/js/common-custom.js
... | ... | @@ -161,6 +161,117 @@ |
| 161 | 161 |
}, |
| 162 | 162 |
|
| 163 | 163 |
//sj추가 |
| 164 |
+ mnPopupSwiper: function () {
|
|
| 165 |
+ return this.each(function () {
|
|
| 166 |
+ const $el = $(this).find('.swiper');
|
|
| 167 |
+ const $btnPrev = $(this).find('.swiper-button-prev')[0];
|
|
| 168 |
+ const $btnNext = $(this).find('.swiper-button-next')[0];
|
|
| 169 |
+ const $btnPlayStop = $(this).find('.swiper-btn-playstop-toggle')[0];
|
|
| 170 |
+ const $btnsPagination = $(this).find('.swiper-total')[0];
|
|
| 171 |
+ let isPaused = false; |
|
| 172 |
+ let slideCount = $el.find('.swiper-slide').length;
|
|
| 173 |
+ |
|
| 174 |
+ // 현재 브레이크포인트에서 slidesPerView 값 설정 |
|
| 175 |
+ let getSlidesPerView = function () {
|
|
| 176 |
+ var width = window.innerWidth; |
|
| 177 |
+ if (width >= 1023) return 3; |
|
| 178 |
+ if (width >= 767) return 2; |
|
| 179 |
+ return 1; |
|
| 180 |
+ }; |
|
| 181 |
+ |
|
| 182 |
+ let slidesPerView = getSlidesPerView(); |
|
| 183 |
+ let enableAutoplay = slideCount > slidesPerView; |
|
| 184 |
+ //var enableLoop = slideCount > slidesPerView; |
|
| 185 |
+ //var enableCenteredSlides = slideCount < slidesPerView; |
|
| 186 |
+ |
|
| 187 |
+ if (slideCount < slidesPerView) { $el.addClass('is-inactive');};
|
|
| 188 |
+ |
|
| 189 |
+ const swiper = new Swiper($el[0], {
|
|
| 190 |
+ preloadImages: true, |
|
| 191 |
+ spaceBetween: 16, |
|
| 192 |
+ //centeredSlides: enableCenteredSlides, |
|
| 193 |
+ autoplay: enableAutoplay ? {
|
|
| 194 |
+ delay: 4000, |
|
| 195 |
+ disableOnInteraction: false, |
|
| 196 |
+ } : false, |
|
| 197 |
+ // loop: enableLoop, |
|
| 198 |
+ loopedSlides: 0, |
|
| 199 |
+ speed: 1000, |
|
| 200 |
+ initialSlide: 0, |
|
| 201 |
+ watchSlidesProgress: true, |
|
| 202 |
+ navigation: {
|
|
| 203 |
+ prevEl: $btnPrev, |
|
| 204 |
+ nextEl: $btnNext |
|
| 205 |
+ }, |
|
| 206 |
+ breakpoints: {
|
|
| 207 |
+ 480: {
|
|
| 208 |
+ slidesPerView: 1, |
|
| 209 |
+ }, |
|
| 210 |
+ 767: {
|
|
| 211 |
+ slidesPerView: 2, |
|
| 212 |
+ |
|
| 213 |
+ }, |
|
| 214 |
+ 1023: {
|
|
| 215 |
+ slidesPerView: 3, |
|
| 216 |
+ spaceBetween: 40, |
|
| 217 |
+ }, |
|
| 218 |
+ }, |
|
| 219 |
+ pagination: {
|
|
| 220 |
+ el: $btnsPagination, |
|
| 221 |
+ type: "custom", |
|
| 222 |
+ renderCustom: function (swiper, current, total) {
|
|
| 223 |
+ return ` |
|
| 224 |
+ <em>${slideCount}</em>
|
|
| 225 |
+ `; |
|
| 226 |
+ }, |
|
| 227 |
+ }, |
|
| 228 |
+ }); |
|
| 229 |
+ |
|
| 230 |
+ // 중지 버튼 클릭 이벤트 |
|
| 231 |
+ $($btnPlayStop).on('click', function() {
|
|
| 232 |
+ if (isPaused) {
|
|
| 233 |
+ // 슬라이드 재생 |
|
| 234 |
+ swiper.autoplay.start(); |
|
| 235 |
+ $(this).removeClass('is-stop').text('중지'); // 버튼 텍스트 변경
|
|
| 236 |
+ isPaused = false; |
|
| 237 |
+ } else {
|
|
| 238 |
+ // 슬라이드 정지 |
|
| 239 |
+ swiper.autoplay.stop(); |
|
| 240 |
+ $(this).addClass('is-stop').text('재생'); // 버튼 텍스트 변경
|
|
| 241 |
+ isPaused = true; |
|
| 242 |
+ } |
|
| 243 |
+ }); |
|
| 244 |
+ |
|
| 245 |
+ $(window).on('resize', function () {
|
|
| 246 |
+ var newSlidesPerView = getSlidesPerView(); |
|
| 247 |
+ var wasAutoplayEnabled = enableAutoplay; |
|
| 248 |
+ |
|
| 249 |
+ slidesPerView = newSlidesPerView; |
|
| 250 |
+ enableAutoplay = slideCount > slidesPerView; |
|
| 251 |
+ |
|
| 252 |
+ if (slideCount < slidesPerView) {
|
|
| 253 |
+ $el.addClass('is-inactive');
|
|
| 254 |
+ } else {
|
|
| 255 |
+ $el.removeClass('is-inactive');
|
|
| 256 |
+ } |
|
| 257 |
+ |
|
| 258 |
+ if (enableAutoplay && !wasAutoplayEnabled) {
|
|
| 259 |
+ swiper.params.autoplay = { delay: 3000, disableOnInteraction: false };
|
|
| 260 |
+ if (!isPaused) {
|
|
| 261 |
+ swiper.autoplay.start(); |
|
| 262 |
+ $($btnPlayStop).removeClass('is-stop').text('중지');
|
|
| 263 |
+ } |
|
| 264 |
+ } else if (!enableAutoplay && wasAutoplayEnabled) {
|
|
| 265 |
+ swiper.autoplay.stop(); |
|
| 266 |
+ swiper.params.autoplay = false; |
|
| 267 |
+ $($btnPlayStop).addClass('is-stop').text('재생');
|
|
| 268 |
+ isPaused = true; |
|
| 269 |
+ } |
|
| 270 |
+ }); |
|
| 271 |
+ |
|
| 272 |
+ }); |
|
| 273 |
+ }, |
|
| 274 |
+ |
|
| 164 | 275 |
mnVisualSwiper: function (obj) {
|
| 165 | 276 |
return this.each(function () {
|
| 166 | 277 |
var $container = $(this); |
... | ... | @@ -1056,6 +1167,7 @@ |
| 1056 | 1167 |
|
| 1057 | 1168 |
|
| 1058 | 1169 |
//sj추가 |
| 1170 |
+ $('.mn-popup-area').mnPopupSwiper();
|
|
| 1059 | 1171 |
$('.mn-visual').mnVisualSwiper();
|
| 1060 | 1172 |
$('.mn-course-area .course-area').mnCourseSwiper();
|
| 1061 | 1173 |
$('.img-swiper-area').imgSwiper();
|
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?