-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style(streak): Disable clicking on specific date.
- Loading branch information
Showing
2 changed files
with
29 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,36 @@ | ||
/* Ensure all calendar dates have the color black */ | ||
/* Ensure all calendar dates have a consistent black color, including weekends */ | ||
.react-calendar__month-view__days__day--weekend { | ||
color: black !important; /* Override weekend color */ | ||
} | ||
color: black !important; /* Override the weekend default color */ | ||
} | ||
|
||
/* Custom weekday headers */ | ||
/* Style weekday headers with bold, capitalized, and black text */ | ||
.react-calendar__month-view__weekdays__weekday { | ||
text-transform: capitalize; | ||
font-weight: bold; | ||
color: black; | ||
font-size: 0.8rem; | ||
text-transform: capitalize; | ||
font-weight: bold; | ||
color: black; | ||
font-size: 0.8rem; | ||
} | ||
|
||
/* Larger navigation arrows */ | ||
/* Enlarge navigation arrows for better visibility */ | ||
.react-calendar__navigation button { | ||
font-size: 1rem; | ||
color: black; | ||
font-size: 1rem; | ||
color: black; | ||
} | ||
|
||
/* Animation for FireIcon */ | ||
@keyframes burn-animation { | ||
|
||
0%, | ||
100% { | ||
transform: scale(1); | ||
} | ||
/* Remove the default background color */ | ||
button.react-calendar__tile.react-calendar__month-view__days__day { | ||
color: inherit; | ||
background-color: #fff; | ||
pointer-events: none; | ||
} | ||
|
||
50% { | ||
transform: scale(1.2); | ||
} | ||
} | ||
/* Animation for FireIcon, creating a pulsing "burn" effect */ | ||
@keyframes burn-animation { | ||
0%, | ||
100% { | ||
transform: scale(1); | ||
} | ||
50% { | ||
transform: scale(1.2); | ||
} | ||
} |