From cd1c707b12ddcf31cab8235c8ff6e2db9f8ccad4 Mon Sep 17 00:00:00 2001 From: dyhj625 Date: Thu, 6 Mar 2025 12:17:52 +0900 Subject: [PATCH] =?UTF-8?q?=ED=9C=B4=EA=B0=80=EA=B4=80=EB=A6=AC=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/css/custom.css | 28 +++++++- src/components/modal/VacationGrantModal.vue | 62 +++++++---------- src/components/modal/VacationModal.vue | 25 +------ src/views/vacation/VacationManagement.vue | 74 ++++++++++----------- 4 files changed, 88 insertions(+), 101 deletions(-) diff --git a/public/css/custom.css b/public/css/custom.css index 2ac47f0..b950985 100644 --- a/public/css/custom.css +++ b/public/css/custom.css @@ -78,14 +78,14 @@ opacity: 0.6; /* 흐려 보이게 */ border: none !important; border-radius: 4px; } -/* 오전 반차 (왼쪽 절반) */ +/* 오전 반차 활성화 영역 (왼쪽 절반) */ .selected-event.half-day-am { width: 50% !important; left: 0 !important; border-top-left-radius: 4px; border-bottom-left-radius: 4px; } -/* 오후 반차 (오른쪽 절반) */ +/* 오후 반차 활성화 영역 (오른쪽 절반) */ .selected-event.half-day-pm { width: 50% !important; margin-left: auto !important; @@ -105,6 +105,30 @@ opacity: 0.6; /* 흐려 보이게 */ font-size: 18px; cursor: pointer; } +.close-btn:hover { + color: #525252; +} +/* 모달 배경 투명하게 */ +.vac-modal-dialog { + background: none !important; + box-shadow: none !important; + display: flex; + align-items: center; + justify-content: center; + width: 100%; + height: 100%; + } + + /* 모달 본문 스타일 */ + .vac-modal-content { + background: #fff; + border-radius: 8px; + box-shadow: 0px -4px 10px rgba(0, 0, 0, 0.1); /* 위쪽 그림자만 적용 */ + padding: 20px; + max-width: 500px; + width: 100%; + position: relative; + } /* 리스트 아이템 */ .vacation-item { display: flex; diff --git a/src/components/modal/VacationGrantModal.vue b/src/components/modal/VacationGrantModal.vue index 0059116..82f8f72 100644 --- a/src/components/modal/VacationGrantModal.vue +++ b/src/components/modal/VacationGrantModal.vue @@ -1,26 +1,29 @@ + - + diff --git a/src/components/modal/VacationModal.vue b/src/components/modal/VacationModal.vue index 5dde272..22db837 100644 --- a/src/components/modal/VacationModal.vue +++ b/src/components/modal/VacationModal.vue @@ -1,6 +1,6 @@