From ddea199e8523058cdf536fac86ea6828b9594379 Mon Sep 17 00:00:00 2001 From: yoon Date: Sat, 22 Feb 2025 14:03:39 +0900 Subject: [PATCH] =?UTF-8?q?custom=20css=20=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 | 110 ++++++++++++++++++------------------------ 1 file changed, 47 insertions(+), 63 deletions(-) diff --git a/public/css/custom.css b/public/css/custom.css index 62bc1b9..212ab4a 100644 --- a/public/css/custom.css +++ b/public/css/custom.css @@ -8,69 +8,53 @@ /* 휴가 */ .half-day-buttons { - display: flex; - justify-content: center; - gap: 10px; - margin-top: 20px; - } - .half-day-buttons .btn.active { - border: 2px solid black; - } - .fc-daygrid-day-frame { - min-height: 80px !important; - max-height: 120px !important; - overflow: hidden !important; - padding-top: 25px !important; - } - .fc-daygrid-day-events { - max-height: 100px !important; - overflow-y: auto !important; - } - .fc-daygrid-event { - position: absolute !important; - height: 20px !important; - width: 100% !important; - left: 0 !important; - margin: 2px 0 !important; - padding: 0 !important; - border-radius: 2px !important; - border: none !important; - } - .fc-daygrid-event-harness { - display: flex; - flex-direction: column; - align-items: flex-start; - justify-content: flex-start; - width: 100%; - gap: 22px; - } - .fc-daygrid-event.half-day-am { - width: 45% !important; - left: 0 !important; - } - .fc-daygrid-event.half-day-pm { - width: 45% !important; - left: auto !important; - right: 0 !important; - } - .fc-daygrid-event.full-day { - width: 100% !important; - left: 0 !important; - } - .fc-day-sun .fc-daygrid-day-number, - .fc-col-header-cell:first-child .fc-col-header-cell-cushion { - color: #ff4500 !important; - } - .fc-day-sat .fc-daygrid-day-number, - .fc-col-header-cell:last-child .fc-col-header-cell-cushion { - color: #6076e0 !important; - } - .fc-daygrid-day-number { - position: absolute !important; - top: 0px !important; - left: 5px !important; - text-align: left !important; - } + display: flex; + justify-content: center; + gap: 10px; + margin-top: 20px; +} +.half-day-buttons .btn.active { + border: 2px solid black; +} + +.fc-daygrid-day-events { + max-height: 100px !important; + overflow-y: auto !important; +} + +.fc-event { + border: none; +} +.fc-daygrid-event-harness { + display: flex; + flex-direction: column; + align-items: flex-start; + justify-content: flex-start; + width: 100%; +} +.fc-daygrid-event.half-day-am { + width: 45% !important; + left: 0 !important; +} +.fc-daygrid-event.half-day-pm { + width: 45% !important; + left: auto !important; + right: 0 !important; +} +.fc-daygrid-event.full-day { + width: calc(100% - 4px) !important; +} +.fc-day-sun .fc-daygrid-day-number, +.fc-col-header-cell:first-child .fc-col-header-cell-cushion { + color: #ff4500 !important; +} +.fc-day-sat .fc-daygrid-day-number, +.fc-col-header-cell:last-child .fc-col-header-cell-cushion { + color: #6076e0 !important; +} +.fc-daygrid-day-number { + margin-right: auto; +} .grayscaleImg { filter: grayscale(100%);