From 1122b24216197bd13b0cf2483e3085b97d268991 Mon Sep 17 00:00:00 2001 From: pandusonu2 Date: Tue, 14 Jun 2016 01:50:23 +0530 Subject: [PATCH] week-header: modify the draw() to match mockup Made changes in the draw() to match the mockups. --- data/theme/gtk-styles.css | 4 +- data/ui/week-header.ui | 58 +++++++++++++++++--- data/ui/week-view.ui | 2 +- src/views/gcal-week-header.c | 101 ++++++++++++++++++++++++++--------- 4 files changed, 130 insertions(+), 35 deletions(-) diff --git a/data/theme/gtk-styles.css b/data/theme/gtk-styles.css index 89d8e9e3..dd38d3b8 100644 --- a/data/theme/gtk-styles.css +++ b/data/theme/gtk-styles.css @@ -52,14 +52,14 @@ calendar-view.lines { color: alpha(@theme_fg_color, 0.4); } -calendar-view.first-view-header { +calendar-view .first-view-header { font-size: 16pt; font-weight: bold; color: @theme_selected_bg_color; padding: 12px; } -calendar-view.second-view-header { +calendar-view .second-view-header { font-size: 16pt; font-weight: bold; padding: 12px; diff --git a/data/ui/week-header.ui b/data/ui/week-header.ui index 5563553c..2d498aab 100644 --- a/data/ui/week-header.ui +++ b/data/ui/week-header.ui @@ -2,23 +2,67 @@