From 531673f21ee8b878fbb17af766c8b49a9e930735 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 25 Feb 2014 14:59:01 +0000 Subject: [PATCH] Fix calendar navigation header img size --- calendar/templates/pixelegg/app.css | 18 ++++++++++-------- calendar/templates/pixelegg/app.less | 9 +++------ 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/calendar/templates/pixelegg/app.css b/calendar/templates/pixelegg/app.css index aa97a53a22..a924255c7d 100755 --- a/calendar/templates/pixelegg/app.css +++ b/calendar/templates/pixelegg/app.css @@ -11,7 +11,7 @@ * @package calendar * @version $Id$ */ -/* $Id: app.css 45951 2014-02-25 14:20:27Z hnategh $ */ +/* $Id: app.css 45952 2014-02-25 14:50:35Z hnategh $ */ .calendar_inputFullWidth input { width: 100%; } @@ -678,7 +678,9 @@ img.sideboxstar:active { margin-top: 0em; border: none; } -.calendar_calDayColHeader img { +.calendar_calDayColHeader, +.calendar_calWeekNavHeader, +.calendar_calMonthNavHeader img { width: 16px; height: 16px; } @@ -687,7 +689,9 @@ img.sideboxstar:active { height: 16px; } .calendar_calEventBodySmall img[src$="svg"], -.calendar_calDayColHeader img[src$="svg"] { +.calendar_calDayColHeader, +.calendar_calWeekNavHeader, +.calendar_calMonthNavHeader img[src$="svg"] { background-color: #0c5da5; background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPjxsaW5lYXJHcmFkaWVudCBpZD0iZzc0MyIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSIwJSIgeTE9IjAlIiB4Mj0iMCUiIHkyPSIxMDAlIj48c3RvcCBzdG9wLWNvbG9yPSIjMGM1ZGE1IiBvZmZzZXQ9IjAiLz48c3RvcCBzdG9wLWNvbG9yPSIjMGM1ZGE1IiBvZmZzZXQ9IjEiLz48L2xpbmVhckdyYWRpZW50PjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZzc0MykiLz48L3N2Zz4=); background-image: -moz-linear-gradient(top, #0c5da5, #0c5da5); @@ -1395,7 +1399,9 @@ e.g. the div with class calendar_calTimeGrid is generated by the timeGridWidget line-height: 12px; z-index: 30; } -.calendar_calDayColHeader img { +.calendar_calDayColHeader, +.calendar_calWeekNavHeader, +.calendar_calMonthNavHeader img { vertical-align: middle; } .calendar_calWeekNavHeader, @@ -1414,10 +1420,6 @@ e.g. the div with class calendar_calTimeGrid is generated by the timeGridWidget line-height: 12px; z-index: 30; } -.calendar_calWeekNavHeader, -.calendar_calMonthNavHeader img { - vertical-align: middle; -} .calendar_calViewUserNameBox { position: absolute; top: -1px; diff --git a/calendar/templates/pixelegg/app.less b/calendar/templates/pixelegg/app.less index d91a8d4847..7f74f83a22 100755 --- a/calendar/templates/pixelegg/app.less +++ b/calendar/templates/pixelegg/app.less @@ -79,12 +79,12 @@ img.sideboxstar { // Images -.calendar_calDayColHeader img {.dimension_width_height_s;} +.calendar_calDayColHeader, .calendar_calWeekNavHeader, .calendar_calMonthNavHeader img {.dimension_width_height_s;} .calendar_calEventBodySmall img {.dimension_width_height_s;} .calendar_calEventBodySmall img[src$="svg"], -.calendar_calDayColHeader img[src$="svg"] { +.calendar_calDayColHeader, .calendar_calWeekNavHeader, .calendar_calMonthNavHeader img[src$="svg"] { .gradient_vertical (@egw_color_2_a, @egw_color_2_a); } @@ -902,7 +902,7 @@ e.g. the div with class calendar_calTimeGrid is generated by the timeGridWidget line-height: 12px; z-index: 30; } -.calendar_calDayColHeader img { +.calendar_calDayColHeader,.calendar_calWeekNavHeader,.calendar_calMonthNavHeader img { vertical-align: middle; } .calendar_calWeekNavHeader,.calendar_calMonthNavHeader{ @@ -919,9 +919,6 @@ e.g. the div with class calendar_calTimeGrid is generated by the timeGridWidget line-height: 12px; z-index: 30; } -.calendar_calWeekNavHeader,.calendar_calMonthNavHeader img{ - vertical-align: middle; -} .calendar_calViewUserNameBox { position: absolute; top: -1px;