From 1715bc705b1d522ee79df72da3cc2caaae03a441 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Tue, 26 May 2009 09:47:19 +0200 Subject: [PATCH] Scroll calendar list if necessary. --- kronolith/templates/index/index.inc | 6 +++++- kronolith/themes/screen.css | 23 +++++++++++++++++++++-- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/kronolith/templates/index/index.inc b/kronolith/templates/index/index.inc index 16aab00b1..dbd2de051 100644 --- a/kronolith/templates/index/index.inc +++ b/kronolith/templates/index/index.inc @@ -46,7 +46,8 @@ + -

+
+

+

@@ -71,7 +72,9 @@ +
+
@@ -107,6 +110,7 @@
+ diff --git a/kronolith/themes/screen.css b/kronolith/themes/screen.css index d58a23523..5ff13de40 100644 --- a/kronolith/themes/screen.css +++ b/kronolith/themes/screen.css @@ -463,6 +463,9 @@ table#calendar-list th.sortdown { /***************** * AJAX INTERFACE *****************/ +html,body { + height: 100%; +} body.kronolithAjax { overflow: hidden; } @@ -517,14 +520,27 @@ body.kronolithAjax { #kronolithMain { clear: both; padding-top: 15px; + height: 100%; } /* Left menu column */ #kronolithMenu { position: absolute; - left: 10px; - width: 150px; top: 10px; + left: 10px; + width: 153px; + height: 100%; +} +#kronolithMenuCalendars { + position: absolute; + top: 34px; + bottom: 280px; + padding-top: -15px; + overflow: auto; +} +#kronolithMenuBottom { + position: absolute; + bottom: 10px; } #kronolithMenu h3 { position: relative; @@ -536,6 +552,9 @@ body.kronolithAjax { font-weight: bold; border-bottom: 1px #000 dotted; } +#kronolithMenu h3#kronolithCalendarsFirst { + margin-top: 0; +} #kronolithMenu a.kronolithAdd { position: absolute; right: 0; -- 2.11.0