month-cell: Add month separators

This commit is contained in:
Hari Rana
2024-01-27 16:14:17 +00:00
committed by Georges Basile Stavracas Neto
parent 74b1296d07
commit a3ac698e60
6 changed files with 124 additions and 5 deletions
+26
View File
@@ -40,3 +40,29 @@ monthcell:not(.workday):selected:hover {
background-color: alpha(@accent_bg_color, 0.2);
transition: background-color 200ms;
}
/* Separators */
monthcell.separator-top,
monthcell.separator-top:selected {
border-top: 1px solid #6b6b6b;
}
monthcell.separator-side:dir(ltr),
monthcell.separator-side:selected:dir(ltr) {
border-left: 1px solid #6b6b6b;
}
monthcell:nth-child(7n + 1):dir(ltr),
monthcell:nth-child(7n + 1):selected:dir(ltr) {
border-left-width: 0;
}
monthcell.separator-side:dir(rtl),
monthcell.separator-side:selected:dir(rtl) {
border-right: 1px solid #6b6b6b;
}
monthcell:nth-child(7n + 1):dir(rtl),
monthcell:nth-child(7n + 1):selected:dir(rtl) {
border-right-width: 0;
}