From 832e0e3599074bd07936af104184603c03d57d6f Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Tue, 30 Jan 2018 01:58:39 -0200 Subject: [PATCH] style: Fix CSS for selected month cells --- data/theme/Adwaita.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/data/theme/Adwaita.css b/data/theme/Adwaita.css index 43e616c6..7f7bd8d4 100644 --- a/data/theme/Adwaita.css +++ b/data/theme/Adwaita.css @@ -431,6 +431,8 @@ monthcell { monthcell:selected { background-color: alpha(@theme_selected_bg_color, 0.1); } monthcell:selected label.day-label { font-weight: bold; } +monthcell:nth-child(7n + 1) { border-left-width: 0; } + monthcell.today { background-color: alpha(@theme_selected_bg_color, 0.25); } monthcell:selected.today { background-color: alpha(@theme_selected_bg_color, 0.33); } @@ -456,9 +458,6 @@ monthcell:hover:not(.out-of-month) { transition: background-color 200ms; } -monthcell:dir(ltr):nth-child(7n + 1) { border-left-width: 0; } -monthcell:dir(rtl):nth-child(7n + 1) { border-right-width: 0; } - monthcell button { padding: 0 4px; border-radius: 0;