From: Michael J. Rubinsky Date: Thu, 18 Nov 2010 19:03:44 +0000 (-0500) Subject: Tweak css of month view, consistent navigation header, fix typo X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=6d5a6b620b2c8b4d7782d94729adb55a8db09700;p=horde.git Tweak css of month view, consistent navigation header, fix typo --- diff --git a/kronolith/js/mobile.js b/kronolith/js/mobile.js index c6f123620..0c91b6b68 100644 --- a/kronolith/js/mobile.js +++ b/kronolith/js/mobile.js @@ -663,7 +663,7 @@ break; case 'month': - if (map == 'swipeleft') { + if (map.type == 'swipeleft') { KronolithMobile.showNextMonth(); } else { KronolithMobile.showPrevMonth(); diff --git a/kronolith/templates/mobile/month.html.php b/kronolith/templates/mobile/month.html.php index 887eae987..a322bf37e 100644 --- a/kronolith/templates/mobile/month.html.php +++ b/kronolith/templates/mobile/month.html.php @@ -13,15 +13,15 @@
  • +
    + ">< + today->format('F Y') ?> + ">> +
    -
    +
    - getValue('week_start_monday'), $c = $i + 7; $i < $c; $i++): ?> diff --git a/kronolith/themes/mobile.css b/kronolith/themes/mobile.css index d4835a6b4..c009fadcc 100644 --- a/kronolith/themes/mobile.css +++ b/kronolith/themes/mobile.css @@ -64,7 +64,7 @@ } /* Mini calendar */ .kronolithMinical { - position: relative; + } #kronolithMinical { } @@ -72,8 +72,7 @@ width: 100%; border-spacing: 0; } -.kronolithMinical caption, #kronolithBody .kronolithMinical caption { - position: relative; +#kronolithBody .kronolithMinical caption { margin: 0 1px 1px 1px; height: 20px; line-height: 20px; @@ -82,25 +81,13 @@ border-bottom: 1px #999 dotted; text-align: left; } -.kronolithMinical caption span { - overflow: hidden; - white-space: nowrap; - cursor: pointer; -} -#kronolithMinicalPrev, #kronolithMinicalNext { - position: absolute; - top: 0; - right: 0; - width: 16px; - text-indent: -10000px; - cursor: pointer; - background: transparent url("graphics/right.png") no-repeat right center; + +.kronolithMonthHeader { + text-align: center; } -#kronolithMinicalPrev { - background-image: url("graphics/left.png"); - right: 15px; +.kronolithMonthHeader a { + vertical-align: middle; } - .kronolithMinical th, .kronolithMinical td { font-size: 90%; }
    - ">< - ">> - today->format('F Y') ?> -