추개개발1229_3

This commit is contained in:
김한진 2025-12-29 18:41:24 +09:00
parent 95b51a673d
commit 18b8d13047
1 changed files with 322 additions and 80 deletions

View File

@ -9,23 +9,91 @@
} }
<style> <style>
.clsPopWrap { max-width: 655px; } .clsPopWrap {
max-width: 655px;
}
/* --- 교육신청 주의사항 팝업 CSS 시작 --- */ /* --- 교육신청 주의사항 팝업 CSS 시작 --- */
.edu-popup-container, .edu-popup-container button, .edu-popup-container input {font-family: 'Malgun Gothic', '맑은 고딕', Dotum, '돋움', sans-serif;} .edu-popup-container, .edu-popup-container button, .edu-popup-container input {
font-family: 'Malgun Gothic', '맑은 고딕', Dotum, '돋움', sans-serif;
}
#edu-modal-overlay {position: fixed;top: 0;left: 0;width: 100%;height: 100%;background-color: rgba(0, 0, 0, 0.6);display: none;z-index: 9999;opacity: 0;transition: opacity 0.3s ease;} #edu-modal-overlay {
#edu-layer-popup {position: fixed;top: 50%;left: 50%;transform: translate(-50%, -50%) scale(0.95);width: 90%;max-width: 780px;background-color: #fff;border-radius: 12px;display: none;z-index: 10000;box-shadow: 0 5px 20px rgba(0,0,0,0.2);box-sizing: border-box;overflow: hidden;opacity: 0;transition: opacity 0.3s ease, transform 0.3s ease;border : 3px solid #0047A7;} position: fixed;
#edu-modal-overlay.active, #edu-layer-popup.active {display: block;opacity: 1;} top: 0;
#edu-layer-popup.active {transform: translate(-50%, -50%) scale(1);} left: 0;
.edu-popup-header {background-color: #2c3e50;color: #fff;padding: 18px;text-align: center;} width: 100%;
.edu-popup-header h2 {margin: 0;font-size: 26px;font-weight: 700;color: #fff;} height: 100%;
.edu-popup-content {padding: 35px 50px;line-height: 1.8;} background-color: rgba(0, 0, 0, 0.6);
.edu-popup-content h3 {color: #d90429;text-align: center;font-size: 26px;font-weight: 700;margin-top: 0;margin-bottom: 30px;} display: none;
z-index: 9999;
opacity: 0;
transition: opacity 0.3s ease;
}
#edu-layer-popup {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) scale(0.95);
width: 90%;
max-width: 780px;
background-color: #fff;
border-radius: 12px;
display: none;
z-index: 10000;
box-shadow: 0 5px 20px rgba(0,0,0,0.2);
box-sizing: border-box;
overflow: hidden;
opacity: 0;
transition: opacity 0.3s ease, transform 0.3s ease;
border: 3px solid #0047A7;
}
#edu-modal-overlay.active, #edu-layer-popup.active {
display: block;
opacity: 1;
}
#edu-layer-popup.active {
transform: translate(-50%, -50%) scale(1);
}
.edu-popup-header {
background-color: #2c3e50;
color: #fff;
padding: 18px;
text-align: center;
}
.edu-popup-header h2 {
margin: 0;
font-size: 26px;
font-weight: 700;
color: #fff;
}
.edu-popup-content {
padding: 35px 50px;
line-height: 1.8;
}
.edu-popup-content h3 {
color: #d90429;
text-align: center;
font-size: 26px;
font-weight: 700;
margin-top: 0;
margin-bottom: 30px;
}
/* ★[수정] 중앙 정렬을 위한 컨테이너 */ /* ★[수정] 중앙 정렬을 위한 컨테이너 */
.edu-popup-content .text-center {text-align: center;} .edu-popup-content .text-center {
text-align: center;
}
/* ★[수정] 리스트 기본 스타일 제거 */ /* ★[수정] 리스트 기본 스타일 제거 */
.edu-popup-content .text-center ol {padding-left: 0;list-style-type: none; .edu-popup-content .text-center ol {
padding-left: 0;
list-style-type: none;
display: inline-block; /* 컨텐츠 크기에 맞게 중앙 정렬 */ display: inline-block; /* 컨텐츠 크기에 맞게 중앙 정렬 */
text-align: left; /* 리스트 내용은 다시 좌측 정렬 */ text-align: left; /* 리스트 내용은 다시 좌측 정렬 */
} }
@ -44,51 +112,223 @@ font-weight: 600;
margin-top: 10px; margin-top: 10px;
} }
.text-red {color: #d90429;font-weight: 600;} .text-red {
.text-blue {color: #1A5276;font-weight: 600;} color: #d90429;
.edu-details-btn {display: block;width: 220px;margin: 30px auto;padding: 10px;font-size: 16px;font-weight: 600;color: #555;background-color: #fff;border: 1px solid #ccc;border-radius: 5px;cursor: pointer;text-align: center;transition: background-color 0.2s, border-color 0.2s;} font-weight: 600;
.edu-details-btn:hover {background-color: #f5f5f5;border-color: #bbb;} }
.edu-popup-content .info {font-size: 18px;margin-top: 30px;color: #333;font-weight: 600;text-align: center;}
.edu-consent-check {margin-top: 10px;text-align: center;font-size: 18px;} .text-blue {
.edu-consent-check input[type="checkbox"] {display: none;} color: #1A5276;
.edu-consent-check label {position: relative;padding-left: 35px;cursor: pointer;line-height: 28px;display: inline-block;user-select: none;} font-weight: 600;
.edu-consent-check label::before {content: '';position: absolute;left: 0; }
.edu-details-btn {
display: block;
width: 220px;
margin: 30px auto;
padding: 10px;
font-size: 16px;
font-weight: 600;
color: #555;
background-color: #fff;
border: 1px solid #ccc;
border-radius: 5px;
cursor: pointer;
text-align: center;
transition: background-color 0.2s, border-color 0.2s;
}
.edu-details-btn:hover {
background-color: #f5f5f5;
border-color: #bbb;
}
.edu-popup-content .info {
font-size: 18px;
margin-top: 30px;
color: #333;
font-weight: 600;
text-align: center;
}
.edu-consent-check {
margin-top: 10px;
text-align: center;
font-size: 18px;
}
.edu-consent-check input[type="checkbox"] {
display: none;
}
.edu-consent-check label {
position: relative;
padding-left: 35px;
cursor: pointer;
line-height: 28px;
display: inline-block;
user-select: none;
}
.edu-consent-check label::before {
content: '';
position: absolute;
left: 0;
top: 1px; /* [수정] 수직 정렬 */ top: 1px; /* [수정] 수직 정렬 */
width: 25px;height: 25px;border: 2px solid #aaa;background-color: #fff;border-radius: 5px;transition: all 0.2s;} width: 25px;
.edu-consent-check input[type="checkbox"]:checked + label::before {background-color: #2c3e50;border-color: #2c3e50;} height: 25px;
.edu-consent-check label::after {content: '';position: absolute;left: 9px; border: 2px solid #aaa;
background-color: #fff;
border-radius: 5px;
transition: all 0.2s;
}
.edu-consent-check input[type="checkbox"]:checked + label::before {
background-color: #2c3e50;
border-color: #2c3e50;
}
.edu-consent-check label::after {
content: '';
position: absolute;
left: 9px;
top: 5px; /* [수정] 수직 정렬 */ top: 5px; /* [수정] 수직 정렬 */
width: 8px;height: 15px;border: solid white;border-width: 0 3px 3px 0;transform: rotate(45deg);opacity: 0;transition: opacity 0.2s;} width: 8px;
.edu-consent-check input[type="checkbox"]:checked + label::after {opacity: 1;} height: 15px;
.edu-popup-footer {text-align: center;padding: 25px;background-color: #f9f9f9;border-top: 1px solid #eee;} border: solid white;
.edu-popup-footer button {width: 130px;padding: 12px 0;font-size: 19px;font-weight: 600;cursor: pointer;border: 1px solid #aaa;background-color: #fff;margin: 0 10px;border-radius: 6px;transition: all 0.2s;color: #333;} border-width: 0 3px 3px 0;
#edu-confirm-btn {background-color: #2c3e50;color: #fff;border-color: #2c3e50;} transform: rotate(45deg);
#edu-confirm-btn:hover {background-color: #34495e;} opacity: 0;
#edu-cancel-btn:hover {background-color: #f0f0f0;} transition: opacity 0.2s;
}
.edu-consent-check input[type="checkbox"]:checked + label::after {
opacity: 1;
}
.edu-popup-footer {
text-align: center;
padding: 25px;
background-color: #f9f9f9;
border-top: 1px solid #eee;
}
.edu-popup-footer button {
width: 130px;
padding: 12px 0;
font-size: 19px;
font-weight: 600;
cursor: pointer;
border: 1px solid #aaa;
background-color: #fff;
margin: 0 10px;
border-radius: 6px;
transition: all 0.2s;
color: #333;
}
#edu-confirm-btn {
background-color: #2c3e50;
color: #fff;
border-color: #2c3e50;
}
#edu-confirm-btn:hover {
background-color: #34495e;
}
#edu-cancel-btn:hover {
background-color: #f0f0f0;
}
@@media (max-width: 768px) { @@media (max-width: 768px) {
.edu-popup-header h2 {font-size: 22px;} .edu-popup-header h2 {
.edu-popup-content {padding: 30px 35px;} font-size: 22px;
.edu-popup-content h3 {font-size: 22px;} }
.edu-popup-content .text-center li, .edu-popup-content .text-center > .text-red {font-size: 18px;}
.edu-popup-content .info, .edu-consent-check {font-size: 14px;} .edu-popup-content {
.edu-popup-footer button {width: 120px;font-size: 17px;} padding: 30px 35px;
}
.edu-popup-content h3 {
font-size: 22px;
}
.edu-popup-content .text-center li, .edu-popup-content .text-center > .text-red {
font-size: 18px;
}
.edu-popup-content .info, .edu-consent-check {
font-size: 14px;
}
.edu-popup-footer button {
width: 120px;
font-size: 17px;
}
} }
@@media (max-width: 480px) { @@media (max-width: 480px) {
.edu-popup-header h2 {font-size: 19px;} .edu-popup-header h2 {
.edu-popup-content {padding: 25px 20px;} font-size: 19px;
.edu-popup-content h3 {font-size: 19px;margin-bottom: 25px;} }
.edu-popup-content .text-center li, .edu-popup-content .text-center > .text-red {font-size: 18px;line-height: 1.6;}
.edu-details-btn {width: 180px;font-size: 14px;} .edu-popup-content {
.edu-popup-content .info {font-size: 18px;} padding: 25px 20px;
.edu-consent-check {font-size: 18px;} }
.edu-consent-check label {padding-left: 30px;}
.edu-consent-check label::before {width: 22px;height: 22px;} .edu-popup-content h3 {
.edu-consent-check label::after {left: 8px;top: 4px;width: 6px;height: 12px;} font-size: 19px;
.edu-popup-footer {padding: 20px;} margin-bottom: 25px;
.edu-popup-footer button {width: 100%;margin: 0;padding: 13px 0;} }
.edu-popup-footer button:first-child {margin-bottom: 10px;}
.edu-popup-content .text-center li, .edu-popup-content .text-center > .text-red {
font-size: 18px;
line-height: 1.6;
}
.edu-details-btn {
width: 180px;
font-size: 14px;
}
.edu-popup-content .info {
font-size: 18px;
}
.edu-consent-check {
font-size: 18px;
}
.edu-consent-check label {
padding-left: 30px;
}
.edu-consent-check label::before {
width: 22px;
height: 22px;
}
.edu-consent-check label::after {
left: 8px;
top: 4px;
width: 6px;
height: 12px;
}
.edu-popup-footer {
padding: 20px;
}
.edu-popup-footer button {
width: 100%;
margin: 0;
padding: 13px 0;
}
.edu-popup-footer button:first-child {
margin-bottom: 10px;
}
} }
/* --- 교육신청 주의사항 팝업 CSS 끝 --- */ /* --- 교육신청 주의사항 팝업 CSS 끝 --- */
</style> </style>
@ -168,7 +408,7 @@ width: 8px;height: 15px;border: solid white;border-width: 0 3px 3px 0;transform:
</form> </form>
</div> </div>
<br /> <br />
@if (Model.stringval2 == "2" && (Model.stringval4 == "32" || Model.stringval4 == "108")) { @if (Model.stringval2 == "2" && Model.stringval4 == "32") {
<p class='' style="font-weight: bold; font-size: 14pt;">※ 현재 신청중인 교육은 <span style='color: red; font-weight: bold'>집체교육 참석없이</span> 교육종료일까지 수료조건을 만족하시면 됩니다.</p> <p class='' style="font-weight: bold; font-size: 14pt;">※ 현재 신청중인 교육은 <span style='color: red; font-weight: bold'>집체교육 참석없이</span> 교육종료일까지 수료조건을 만족하시면 됩니다.</p>
} else if (Model.stringval2 == "2") { } else if (Model.stringval2 == "2") {
<p class='' style="font-weight: bold; font-size: 14pt;">※ 현재 신청중인 교육은 <span style='color: red; font-weight: bold'>온라인교육(동영상강의28시간 + 집체참석7시간)</span> 교육입니다.</p> <p class='' style="font-weight: bold; font-size: 14pt;">※ 현재 신청중인 교육은 <span style='color: red; font-weight: bold'>온라인교육(동영상강의28시간 + 집체참석7시간)</span> 교육입니다.</p>
@ -841,9 +1081,11 @@ width: 8px;height: 15px;border: solid white;border-width: 0 3px 3px 0;transform:
$("#strVal21").val($("#pcmno_" + pcmno + "_cgcode").val()); $("#strVal21").val($("#pcmno_" + pcmno + "_cgcode").val());
if (str3 == 28 && str4 == 31 && ($("#pcmno_" + pcmno + "_cgcode").val() == 103 || $("#pcmno_" + pcmno + "_cgcode").val() == 104)) { if (str3 == 28 && str4 == 31 && ($("#pcmno_" + pcmno + "_cgcode").val() == 103 || $("#pcmno_" + pcmno + "_cgcode").val() == 104)) {
if (str5 == "38" || str5 == "39") { //고급/특급
$('#edu-layer-popup').addClass('active'); $('#edu-layer-popup').addClass('active');
return; return;
} }
}
let searchRslt = $("#smartSearchForm").serialize(); let searchRslt = $("#smartSearchForm").serialize();