From d170585894507131ce8cc146d09506ecb3263fde Mon Sep 17 00:00:00 2001 From: Pritam12F Date: Fri, 9 Aug 2024 17:32:43 +0530 Subject: [PATCH] added styles to calendar --- src/app/globals.css | 43 +++++++++++++++++++++++++++++++++---------- 1 file changed, 33 insertions(+), 10 deletions(-) diff --git a/src/app/globals.css b/src/app/globals.css index 3f3e306ff..acbb4faa5 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -66,7 +66,6 @@ transform: translateX(-50%); } - /* Hide scrollbar for Chrome, Safari and Opera */ .no-scrollbar::-webkit-scrollbar { display: none; @@ -87,7 +86,7 @@ display: block !important; } -.video-js .vjs-current-time{ +.video-js .vjs-current-time { display: block !important; } @@ -111,22 +110,22 @@ width of the controls on screens smaller than 512px */ } .video-js .vjs-control { - width: 2rem !important; + width: 2rem !important; } } -.vjs-tech:focus-visible{ +.vjs-tech:focus-visible { outline: none; } -.timeline-segments { +.timeline-segments { position: relative; left: 0; height: 5px; background-color: #afa4a4; transition: height 150ms ease-in-out; } -.timeline-segments-preview{ +.timeline-segments-preview { position: absolute; left: 0; background: #fff; @@ -134,7 +133,6 @@ width of the controls on screens smaller than 512px */ bottom: 0; z-index: 1; pointer-events: none; - } .timeline-segments-progress { position: absolute; @@ -144,8 +142,33 @@ width of the controls on screens smaller than 512px */ bottom: 0; z-index: 2; pointer-events: none; - } -.timeline-segments:hover{ +.timeline-segments:hover { height: 10px; -} \ No newline at end of file +} + +.rbc-header { + color: var(--header-color); + font-size: 14px !important; + display: flex; + align-items: center; + justify-content: center; + height: 36px !important; + background: #17405d; +} + +.rbc-allday-cell { + display: none; +} + +.rbc-time-slot { + color: #74a4c3; + z-index: 1; +} + +.rbc-event, +.rbc-background-event { + z-index: 2; + padding: 0px !important; + border: none !important; +}