diff --git a/configure.ac b/configure.ac
index 663570a8..ef32d946 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12,7 +12,7 @@ AC_CONFIG_AUX_DIR([build-aux])
AM_SILENT_RULES([yes])
# require automake 1.13
-AM_INIT_AUTOMAKE([1.13 dist-xz no-dist-gzip tar-ustar])
+AM_INIT_AUTOMAKE([1.13 dist-xz no-dist-gzip tar-ustar subdir-objects])
AM_MAINTAINER_MODE([enable])
dnl ***************************************************************************
diff --git a/data/Makefile.am b/data/Makefile.am
index 046d2404..888b3a1e 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -61,6 +61,8 @@ EXTRA_DIST= \
ui/search-view.ui \
ui/source-dialog.ui \
ui/time-selector.ui \
+ ui/week-header.ui \
+ ui/week-view.ui \
ui/window.ui \
ui/year-view.ui \
theme/gtk-styles.css \
diff --git a/data/calendar.gresource.xml b/data/calendar.gresource.xml
index 7c64779b..6b5397e4 100644
--- a/data/calendar.gresource.xml
+++ b/data/calendar.gresource.xml
@@ -12,6 +12,8 @@
ui/search-view.ui
ui/source-dialog.ui
ui/time-selector.ui
+ ui/week-header.ui
+ ui/week-view.ui
ui/window.ui
ui/year-view.ui
theme/gtk-styles.css
diff --git a/data/theme/gtk-styles.css b/data/theme/gtk-styles.css
index 89d8e9e3..45f23a3d 100644
--- a/data/theme/gtk-styles.css
+++ b/data/theme/gtk-styles.css
@@ -28,7 +28,8 @@ calendar-view.header {
font-weight: bold;
}
-calendar-view.current {
+calendar-view.current,
+weekgrid.current {
background-color: alpha(@theme_selected_bg_color, 0.3);
}
@@ -52,14 +53,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;
@@ -358,3 +359,74 @@ datechooser day:selected:hover {
background-color: @theme_selected_bg_color;
font-weight: bold;
}
+
+/* Week View CSS */
+
+.week-header {
+ padding: 0px;
+ border-bottom: solid @borders 1px;
+}
+
+.week-header .month-name {
+ font-size: 16pt;
+ font-weight: bold;
+ color: alpha(@theme_selected_bg_color, 0.75);
+ padding: 12px;
+}
+
+.week-header .week-number {
+ font-size: 16pt;
+ font-weight: bold;
+ padding: 12px 12px 18px 12px;
+ color: alpha(@theme_fg_color, 0.25);
+}
+
+.week-header.week-names {
+ font-size: 10pt;
+ font-weight: bold;
+ color: alpha(@theme_fg_color, 0.55);
+}
+
+.week-header.week-dates {
+ font-size: 16pt;
+ font-weight: bold;
+ color: alpha(@theme_fg_color, 0.70);
+}
+
+.week-header.lines {
+ color: alpha(@theme_fg_color, 0.4);
+}
+
+.week-header .margin {
+ color: alpha(@theme_fg_color, 0.6);
+}
+
+.week-header .today {
+ color: @theme_selected_bg_color;
+}
+
+.week-view {
+ padding: 0px;
+}
+
+.week-view .hours {
+ font-size: 11pt;
+ font-weight: normal;
+ color: alpha(@theme_fg_color, 0.25);
+ padding: 18px 12px;
+}
+
+weekgrid.now-strip {
+ background-color: alpha(@theme_selected_bg_color, 0.8);
+ margin: 0 0 0 1px;
+ min-height: 2px;
+}
+
+weekgrid:selected,
+.week-header:selected {
+ background-color: alpha(@theme_selected_bg_color, 0.25);
+}
+
+.week-header:selected {
+ border: solid 1px alpha(@theme_selected_bg_color, 0.8);
+}
diff --git a/data/ui/help-overlay.ui b/data/ui/help-overlay.ui
index 2525fe30..1b92fbc9 100644
--- a/data/ui/help-overlay.ui
+++ b/data/ui/help-overlay.ui
@@ -93,6 +93,13 @@