From: Jan Schneider Date: Wed, 4 Nov 2009 23:00:26 +0000 (+0100) Subject: Move calendar list to the bottom. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=05ba4c43463934959c45d5d03d685e8569acb4df;p=horde.git Move calendar list to the bottom. --- diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index ee484f4b5..16422757e 100644 --- a/kronolith/js/kronolith.js +++ b/kronolith/js/kronolith.js @@ -660,8 +660,6 @@ KronolithCore = { $('kronolithMinicalDate').store('date', date.dateString()).innerHTML = date.toString('MMMM yyyy'); this.buildMinical($('kronolithMinical').down('tbody'), date, view); - - $('kronolithMenuCalendars').setStyle({ 'bottom': $('kronolithMenuBottom').getHeight() + 'px' }); }, /** diff --git a/kronolith/templates/index/index.inc b/kronolith/templates/index/index.inc index f4eca64d6..1df983cd4 100644 --- a/kronolith/templates/index/index.inc +++ b/kronolith/templates/index/index.inc @@ -39,6 +39,37 @@ ">+ +
+ + + + + + + getValue('week_start_monday'), $c = $i + 7; $i < $c; $i++): ?> + + + + + + +
+ ">< + ">> + format('F Y') ?> +
 
+
+ + + +
+ + + +
+

+ @@ -74,38 +105,6 @@

-
-
- - - - - - - getValue('week_start_monday'), $c = $i + 7; $i < $c; $i++): ?> - - - - - - -
- ">< - ">> - format('F Y') ?> -
 
-
- - - -
- - - -
-
diff --git a/kronolith/themes/screen.css b/kronolith/themes/screen.css index 4e3985e4a..66190e9b3 100644 --- a/kronolith/themes/screen.css +++ b/kronolith/themes/screen.css @@ -405,16 +405,13 @@ body.kronolithAjax { } #kronolithMenuCalendars { position: absolute; - top: 34px; - margin-bottom: 20px; + top: 295px; + bottom: 0; + width: 100%; overflow: auto; overflow-x: hidden; overflow-y: auto; } -#kronolithMenuBottom { - position: absolute; - bottom: 0; -} #kronolithMenu h3 { position: relative; margin-top: 15px; @@ -426,9 +423,19 @@ body.kronolithAjax { border-bottom: 1px #000 dotted; cursor: default; } +#kronolithMenu h3.search { + top: 15px; +} +#kronolithSearchForm { + position: relative; + top: 15px; +} #kronolithMenu h3#kronolithCalendarsFirst { margin-top: 0; } +#kronolithMenu div#kronolithHolidayCalendars { + margin-bottom: 0; +} #kronolithMenu a.kronolithAdd { position: absolute; right: 0; @@ -644,6 +651,9 @@ div#kronolithEventTopTags span:hover { .kronolithMinical { position: relative; } +#kronolithMinical { + top: 15px; +} .kronolithMinical table { width: 100%; }