[gnome-calendar] style: Fix CSS for selected month cells
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] style: Fix CSS for selected month cells
- Date: Tue, 30 Jan 2018 03:59:55 +0000 (UTC)
commit 832e0e3599074bd07936af104184603c03d57d6f
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue Jan 30 01:58:39 2018 -0200
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]