Update year view to look nicer and highlight today in year view like the other calendar views.
This commit is contained in:
mohammadamer 2021-10-03 00:48:50 +03:00 committed by GitHub
parent 39ea25afc2
commit 91a2da907d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 41 additions and 39 deletions

View File

@ -4,14 +4,12 @@
display: flex;
flex-wrap: wrap;
overflow-y: auto;
}
.month {
margin: 5px 10px 15px 10px;
}
.monthName {
color: $ms-color-themeDark;
color: $ms-color-themePrimary;
font-weight: bold;
margin-bottom: 10px;
}
@ -30,24 +28,28 @@
.date {
width: 30px;
height: 30px;
background: white;
border-radius: 50px;
border: none;
outline: none;
}
.date.inMonth:hover {
&.inMonth {
&:hover {
cursor: pointer;
background: $ms-color-themeDark;
background: $ms-color-themePrimary;
color: white;
font-weight: bold;
}
}
.today {
background: $ms-color-themeDark;
&.today {
background: $ms-color-themePrimary;
color: white;
}
.date.prevMonth,
.date.nextMonth {
color: grey;
}
}
}
}