From 16c0fbe45c479f24846c77960d772f1daa756d80 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 27 Jan 2017 11:33:42 +0100 Subject: [PATCH] * calendar: give event background a bit more contrast to improve visibility of event duration --- calendar/templates/default/app.css | 6 +++--- calendar/templates/pixelegg/app.css | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/calendar/templates/default/app.css b/calendar/templates/default/app.css index f53f8c767a..42695ee830 100644 --- a/calendar/templates/default/app.css +++ b/calendar/templates/default/app.css @@ -703,7 +703,7 @@ Hide subsequent headers in week view with non-consolidated owners } .calendar_calTimeGrid:not(.calendar_calTimeGridList) *:not(.calendar_calDayColAllDay) > .calendar_calEvent::after { width: 100%; - background-color: rgba(255,255,255,0.9); + background-color: rgba(255,255,255,0.8); height: 5px; content: "\02026"; left: 0px; @@ -807,7 +807,7 @@ Hide subsequent headers in week view with non-consolidated owners * background-color: depending on category * color: white || black depending on cat; */ - background-color: rgba(255,255,255,0.9); + background-color: rgba(255,255,255,0.8); } .calendar_calEventHeader .calendar_calEventTitle { display: none; @@ -838,7 +838,7 @@ Hide subsequent headers in week view with non-consolidated owners right: 2px; height: 99%; white-space: normal; - background-color: rgba(255,255,255,0.9); + background-color: rgba(255,255,255,0.8); } .calendar_calEventBody > p, .calendar_calEventBodySmall > p { white-space: pre-wrap; diff --git a/calendar/templates/pixelegg/app.css b/calendar/templates/pixelegg/app.css index 5d8e9f9e41..1dd639b4d4 100755 --- a/calendar/templates/pixelegg/app.css +++ b/calendar/templates/pixelegg/app.css @@ -691,7 +691,7 @@ Hide subsequent headers in week view with non-consolidated owners } .calendar_calTimeGrid:not(.calendar_calTimeGridList) *:not(.calendar_calDayColAllDay) > .calendar_calEvent::after { width: 100%; - background-color: rgba(255, 255, 255, 0.9); + background-color: rgba(255, 255, 255, 0.8); height: 5px; content: "\02026"; left: 0px; @@ -789,7 +789,7 @@ Hide subsequent headers in week view with non-consolidated owners * background-color: depending on category * color: white || black depending on cat; */ - background-color: rgba(255, 255, 255, 0.9); + background-color: rgba(255, 255, 255, 0.8); } .calendar_calEventHeader .calendar_calEventTitle { display: none; @@ -820,7 +820,7 @@ Hide subsequent headers in week view with non-consolidated owners right: 2px; height: 99%; white-space: normal; - background-color: rgba(255, 255, 255, 0.9); + background-color: rgba(255, 255, 255, 0.8); } .calendar_calEventBody > p, .calendar_calEventBodySmall > p { @@ -1633,7 +1633,7 @@ div.calendar { } .calendar thead .active { /* Active (pressed) buttons in header */ - background_color: #408dd2; + background_color: #408DD2; /*padding: 2px 0px 0px 2px;*/ } .calendar tbody tr, @@ -2120,7 +2120,7 @@ e.g. the div with class calendar_calTimeGrid is generated by the timeGridWidget overflow: auto; } .calendar_calAddEvent:hover { - background-color: #ffdd73; + background-color: #FFDD73; cursor: pointer; color: #ffffff; }