diff --git a/public/css/custom.css b/public/css/custom.css index 182e491..2ac47f0 100644 --- a/public/css/custom.css +++ b/public/css/custom.css @@ -3,22 +3,33 @@ /* 휴가 */ -.fc-daygrid-day-events { - max-height: 100px !important; - overflow-y: auto !important; -} + /* 이벤트 선 없게 */ .fc-event { border: none; } -/* 오전전반차 그래프 */ +/* 오전 반차 그래프 (왼쪽 절반) */ .fc-daygrid-event.half-day-am { - width: calc(50% - 4px) !important; + width: 50% !important; + height: 8px !important; + border-radius: 2px !important; + font-size: 0px !important; } -/* 오후반차 그래프프 */ +/* 오후 반차 그래프 (오른쪽 절반) */ .fc-daygrid-event.half-day-pm { - width: calc(50% - 4px) !important; - margin-left: auto !important + width: 50% !important; + height: 8px !important; + margin-left: auto !important; + border-radius: 2px !important; + font-size: 0px !important; +} +/* 연차 그래프 (풀풀) */ +.fc-daygrid-event.full-day { + width: 100% !important; + height: 8px !important; + margin-left: auto !important; + border-radius: 2px !important; + font-size: 0px !important; } /* 공휴일,일요일 색상 */ .fc-day-sun .fc-daygrid-day-number, @@ -39,8 +50,8 @@ .flatpickr-calendar:after { display: none !important; } - /* 기본 스타일은 그대로 두고, 데이트피커 인풋의 추가 스타일 정의 */ - .fc-toolbar-title { +/* 기본 스타일은 그대로 두고, 데이트피커 인풋의 추가 스타일 정의 */ +.fc-toolbar-title { cursor: pointer; } /* 클릭 가능한 날짜 (오늘 + 미래) */ @@ -84,7 +95,6 @@ opacity: 0.6; /* 흐려 보이게 */ /* 본인 모달 */ - /* 닫기 버튼 */ .close-btn { position: absolute; @@ -109,7 +119,6 @@ opacity: 0.6; /* 흐려 보이게 */ /* 선물하기 모달 */ - /* 연차 개수 버튼 */ .count-btn { font-size: 18px; @@ -127,7 +136,6 @@ opacity: 0.6; /* 흐려 보이게 */ background: #cccccc; cursor: not-allowed; } - /* 버튼 컨테이너 (우측 정렬) */ .custom-button-container { display: flex; @@ -141,18 +149,17 @@ opacity: 0.6; /* 흐려 보이게 */ padding: 10px; /* 크기 조정 */ cursor: pointer; /* 클릭 가능하도록 변경 */ } - /* 아이콘 색상 변경 (기본) */ .custom-button i { color: #282538; /* 기본 아이콘 색상 */ font-size: 25px; /* 아이콘 크기 */ } - /* 버튼 호버 효과 */ .custom-button:hover i { color: #ff0800; /* 호버 시 아이콘 색상 변경 */ } + .grayscaleImg { filter: grayscale(100%); } diff --git a/src/components/button/HalfDayButtons.vue b/src/components/button/HalfDayButtons.vue index 9bb125f..36739fc 100644 --- a/src/components/button/HalfDayButtons.vue +++ b/src/components/button/HalfDayButtons.vue @@ -28,10 +28,11 @@