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,19 +4,17 @@
display: flex;
flex-wrap: wrap;
overflow-y: auto;
}
.month {
.month {
margin: 5px 10px 15px 10px;
}
.monthName {
color: $ms-color-themeDark;
.monthName {
color: $ms-color-themePrimary;
font-weight: bold;
margin-bottom: 10px;
}
}
.day {
.day {
display: inline-block;
width: 30px;
height: 30px;
@ -25,29 +23,33 @@
border: dotted 1px;
border-radius: 50%;
transform: scale(0.9, 0.9);
}
}
.date {
.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 {
.date.prevMonth,
.date.nextMonth {
color: grey;
}
}
}
}