From 4a21dc954a2204a485d1ecf5a0f617cb405a9f94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 9 Feb 2011 03:18:46 +0100 Subject: [PATCH] calendar: Update style The style used to highlight today's date should follow the style of active panel buttons, so update it to reflect the new panel style. https://bugzilla.gnome.org/show_bug.cgi?id=642697 --- data/Makefile.am | 1 + data/theme/calendar-today.svg | 187 ++++++++++++++++++++++++++++++++++ data/theme/gnome-shell.css | 9 +- 3 files changed, 192 insertions(+), 5 deletions(-) create mode 100644 data/theme/calendar-today.svg diff --git a/data/Makefile.am b/data/Makefile.am index 8d0e79f33..25038885b 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -21,6 +21,7 @@ themedir = $(pkgdatadir)/theme dist_theme_DATA = \ theme/calendar-arrow-left.svg \ theme/calendar-arrow-right.svg \ + theme/calendar-today.svg \ theme/close-window.svg \ theme/close.svg \ theme/corner-ripple.png \ diff --git a/data/theme/calendar-today.svg b/data/theme/calendar-today.svg new file mode 100644 index 000000000..59d2db7b3 --- /dev/null +++ b/data/theme/calendar-today.svg @@ -0,0 +1,187 @@ + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css index 729c51f27..2aa110f27 100644 --- a/data/theme/gnome-shell.css +++ b/data/theme/gnome-shell.css @@ -801,11 +801,11 @@ StTooltip StLabel { } .calendar-day-base:hover { - background: #777777; + background-color: #777777; } .calendar-day-base:active { - background: #555555; + background-color: #555555; } .calendar-day-heading { @@ -839,11 +839,10 @@ StTooltip StLabel { } .calendar-today { + background-image: url("calendar-today.svg"); + text-shadow: black 0px 2px 2px; color: #ffffff; font-weight: bold; - background-gradient-direction: vertical; - background-gradient-start: #3c3c3c; - background-gradient-end: #131313; } .calendar-other-month-day {