views: Sketch out new month view

Nothing really works here, this is very WIP. It doesn't even show
events. Let's build from here.
This commit is contained in:
Georges Basile Stavracas Neto
2023-08-11 15:13:44 -03:00
parent 230d1b2fec
commit a527bbe5dc
12 changed files with 1403 additions and 1 deletions
+21 -1
View File
@@ -317,10 +317,15 @@ monthcell:nth-child(7n + 1) { border-left-width: 0; }
monthcell.today { background-color: alpha(@accent_bg_color, 0.25); }
monthcell:selected.today { background-color: alpha(@accent_bg_color, 0.33); }
monthcell.out-of-month {
monthcell.out-of-month,
monthcell:not(.workday) {
background-color: alpha(@theme_bg_color, 0.4);
}
monthcell.today:not(.workday) {
background-color: alpha(@accent_bg_color, 0.15);
}
monthcell label {
color: @theme_fg_color;
font-size: 0.9rem;
@@ -346,6 +351,21 @@ monthcell button {
border-right: none;
}
/*
* Month row
*/
calendar-view.scrolling > box {
background-color: transparent;
box-shadow: @headerbar_shade_color 0 2px 4px;
transition: box-shadow 200ms;
}
calendar-view:not(.scrolling) > box {
transition: box-shadow 200ms;
}
/*
* Month popover
*/