167 lines
3.4 KiB
CSS
167 lines
3.4 KiB
CSS
.calendarContainer {
|
|
padding: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.calendarHeader {
|
|
display: flex;
|
|
width: 100%;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.calendarHeader p {
|
|
width: auto;
|
|
text-align: center;
|
|
font-weight: bold;
|
|
font-size: 40px;
|
|
}
|
|
|
|
.calendarHeader button {
|
|
top: 50%;
|
|
left: 50%;
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
border: none;
|
|
background: transparent;
|
|
box-shadow:
|
|
inset 1.25px 1.25px 1px rgba(255, 255, 255, 1),
|
|
inset -1.25px -1.25px 1px rgba(255, 255, 255, 1),
|
|
inset -0.25px 0.25px 1px rgba(0, 0, 0, 0.2),
|
|
inset 0.25px -0.25px 1px rgba(0, 0, 0, 0.2);
|
|
font-size: 15px;
|
|
color: #019AFF;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.calendar {
|
|
border-collapse: collapse;
|
|
width: 80%;
|
|
max-width: 500px;
|
|
}
|
|
|
|
.calendar th, .calendar td {
|
|
border: none;
|
|
padding: 10px;
|
|
width: 14.2%;
|
|
line-height: 130%;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.today {
|
|
color: #007bff;
|
|
}
|
|
|
|
.hasEvent {
|
|
position: relative;
|
|
}
|
|
|
|
.hasEvent::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: 10px;
|
|
width: 20px;
|
|
height: 2px;
|
|
background-color: #007bff;
|
|
transform: translateX(-50%);
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.hasEvent.selected::before {
|
|
width: 25px;
|
|
height: 2px;
|
|
bottom: 10px;
|
|
}
|
|
|
|
.selected {
|
|
position: relative;
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.selected::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
width: 40px;
|
|
height: 40px;
|
|
transform: translate(-50%, -50%);
|
|
border-radius: 38%;
|
|
pointer-events: none;
|
|
background: transparent;
|
|
box-shadow:
|
|
inset 1.25px 1.25px 1px rgba(255, 255, 255, 1),
|
|
inset -1.25px -1.25px 1px rgba(255, 255, 255, 1),
|
|
inset -0.25px 0.25px 1px rgba(0, 0, 0, 0.2),
|
|
inset 0.25px -0.25px 1px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.eventBox {
|
|
width: 100%;
|
|
padding: 15px;
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.eventBox ul {
|
|
list-style: none;
|
|
}
|
|
|
|
.eventGroup{
|
|
border-radius: 20px;
|
|
padding: 15px;
|
|
margin-top: 16px;
|
|
border: none;
|
|
background: rgb(255, 255, 255, 0.25);
|
|
box-shadow:
|
|
inset 1.25px 1.25px 1px rgba(255, 255, 255, 1),
|
|
inset -1.25px -1.25px 1px rgba(255, 255, 255, 1),
|
|
inset -0.25px 0.25px 1px rgba(0, 0, 0, 0.2),
|
|
inset 0.25px -0.25px 1px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.glassCard {
|
|
width: 45%;
|
|
max-height: 79vh;
|
|
margin: 16px 0 16px 0;
|
|
padding: 10px 20px 10px 20px;
|
|
height: fit-content;
|
|
background: rgba(255, 255, 255, 0.65);
|
|
backdrop-filter: blur(3px);
|
|
-webkit-backdrop-filter: blur(3px);
|
|
border-radius: 20px;
|
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.5),
|
|
inset 0 -1px 0 rgba(255, 255, 255, 0.1),
|
|
inset 0 0 8px 4px rgba(255, 255, 255, 0.4);
|
|
overflow: scroll;
|
|
|
|
}
|
|
|
|
.glassCard::-webkit-scrollbar{
|
|
display: none;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.glassCard {
|
|
width: 100%;
|
|
margin-top: 16px;
|
|
margin-bottom: 16px;
|
|
max-height: 450px;
|
|
}
|
|
|
|
.calendarContainer {
|
|
padding: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
} |