From 8795f1865ace20811d2425ce608ee3884c300d97 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 23 Jul 2018 09:55:54 +0200 Subject: [PATCH] Fix calendar today/go button sometimes get misaligned in the sidebar --- calendar/templates/default/app.css | 2 +- calendar/templates/mobile/app.css | 4 ++-- calendar/templates/pixelegg/app.css | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/calendar/templates/default/app.css b/calendar/templates/default/app.css index bf7397fee0..c6a011e2fc 100644 --- a/calendar/templates/default/app.css +++ b/calendar/templates/default/app.css @@ -97,7 +97,7 @@ #calendar-sidebox_header_go, #calendar-sidebox_header_today { - position: absolute; + position: absolute !important; width: 12.0px; height: 12.0px; top: 28px; diff --git a/calendar/templates/mobile/app.css b/calendar/templates/mobile/app.css index fd515aef05..2880e274f1 100644 --- a/calendar/templates/mobile/app.css +++ b/calendar/templates/mobile/app.css @@ -118,7 +118,7 @@ } #calendar-sidebox_header_go, #calendar-sidebox_header_today { - position: absolute; + position: absolute !important; width: 12.0px; height: 12.0px; top: 28px; @@ -2146,7 +2146,7 @@ e.g. the div with class calendar_calTimeGrid is generated by the timeGridWidget * border-color: depending on category * background: depending on category (shade) */ - background-color: #679fd2; + background-color: #679FD2; border-top: 1px solid; } .calendar_calEvent:not([class*=" cat_"]) { diff --git a/calendar/templates/pixelegg/app.css b/calendar/templates/pixelegg/app.css index 64d170842a..bc995c47f6 100755 --- a/calendar/templates/pixelegg/app.css +++ b/calendar/templates/pixelegg/app.css @@ -106,7 +106,7 @@ } #calendar-sidebox_header_go, #calendar-sidebox_header_today { - position: absolute; + position: absolute !important; width: 12.0px; height: 12.0px; top: 28px; @@ -1515,8 +1515,8 @@ img.calendar_print_appicon { #calendar-list { /* Keeps the scrollbar in the window in chrome */ margin-right: 10px; - /* Prevents going to far down (off bottom)*/ - height: calc(100% - 75px); + /* Prevents going to far down (off bottom)*/ + height: calc(25%); } #calendar_sidebox_content .egw_fw_ui_category_content { padding-left: 0px !important; @@ -2134,7 +2134,7 @@ e.g. the div with class calendar_calTimeGrid is generated by the timeGridWidget * border-color: depending on category * background: depending on category (shade) */ - background-color: #679fd2; + background-color: #679FD2; border-top: 1px solid; } .calendar_calEvent:not([class*=" cat_"]) {