Skip to content

Commit

Permalink
feat: 날짜마다 Dot 표시
Browse files Browse the repository at this point in the history
  • Loading branch information
uiop5809 committed Nov 7, 2024
1 parent 91cbee4 commit 4cd2f3a
Showing 1 changed file with 58 additions and 2 deletions.
60 changes: 58 additions & 2 deletions src/pages/HealthCare/HealthCare.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,62 @@ const StyledCalendar = styled(Calendar)`
.react-calendar__month-view__days__day--weekend {
color: #17a1fa;
}
.react-calendar__tile {
padding: 1em 0.5em;
height: 60px;
}
.react-calendar__month-view__days__day--weekend {
color: #17a1fa;
}
.react-calendar__month-view__weekdays {
text-align: center;
abbr {
text-decoration-line: none;
}
}
.react-calendar__month-view__days__day--neighboringMonth {
color: #9ca3af;
}
.react-calendar__navigation {
margin-bottom: 15px;
text-align: center;
}
.react-calendar__navigation button {
min-width: 44px;
background: none;
font-size: 16px;
&:disabled {
background-color: #f0f0f0;
}
&:enabled:hover,
&:enabled:focus {
background-color: #fff3e8;
}
}
.react-calendar__tile {
&:enabled:hover,
&:enabled:focus {
background-color: #fff3e8;
}
&--now {
background: transparent;
}
&--active {
background: #fff3e8;
color: black;
}
}
`;

const Legend = styled.div`
Expand All @@ -346,8 +402,8 @@ const LegendItem = styled.div`
`;

const SmallDot = styled.span`
width: 5px;
height: 5px;
width: 8px;
height: 8px;
border-radius: 50%;
background-color: ${(props) => props.color};
margin: 0 auto;
Expand Down

0 comments on commit 4cd2f3a

Please sign in to comment.