Fix calendar navigation header img size

This commit is contained in:
Hadi Nategh 2014-02-25 15:04:32 +00:00
parent 8989ac5d01
commit 384f1b4d45
2 changed files with 22 additions and 12 deletions

View File

@ -678,8 +678,14 @@ img.sideboxstar:active {
margin-top: 0em; margin-top: 0em;
border: none; border: none;
} }
.calendar_calDayColHeader, .calendar_calDayColHeader img {
.calendar_calWeekNavHeader, width: 16px;
height: 16px;
}
.calendar_calWeekNavHeader img {
width: 16px;
height: 16px;
}
.calendar_calMonthNavHeader img { .calendar_calMonthNavHeader img {
width: 16px; width: 16px;
height: 16px; height: 16px;
@ -689,9 +695,7 @@ img.sideboxstar:active {
height: 16px; height: 16px;
} }
.calendar_calEventBodySmall img[src$="svg"], .calendar_calEventBodySmall img[src$="svg"],
.calendar_calDayColHeader, .calendar_calDayColHeader img[src$="svg"] {
.calendar_calWeekNavHeader,
.calendar_calMonthNavHeader img[src$="svg"] {
background-color: #0c5da5; background-color: #0c5da5;
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPjxsaW5lYXJHcmFkaWVudCBpZD0iZzc0MyIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSIwJSIgeTE9IjAlIiB4Mj0iMCUiIHkyPSIxMDAlIj48c3RvcCBzdG9wLWNvbG9yPSIjMGM1ZGE1IiBvZmZzZXQ9IjAiLz48c3RvcCBzdG9wLWNvbG9yPSIjMGM1ZGE1IiBvZmZzZXQ9IjEiLz48L2xpbmVhckdyYWRpZW50PjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZzc0MykiLz48L3N2Zz4=); background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPjxsaW5lYXJHcmFkaWVudCBpZD0iZzc0MyIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSIwJSIgeTE9IjAlIiB4Mj0iMCUiIHkyPSIxMDAlIj48c3RvcCBzdG9wLWNvbG9yPSIjMGM1ZGE1IiBvZmZzZXQ9IjAiLz48c3RvcCBzdG9wLWNvbG9yPSIjMGM1ZGE1IiBvZmZzZXQ9IjEiLz48L2xpbmVhckdyYWRpZW50PjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZzc0MykiLz48L3N2Zz4=);
background-image: -moz-linear-gradient(top, #0c5da5, #0c5da5); background-image: -moz-linear-gradient(top, #0c5da5, #0c5da5);
@ -1399,9 +1403,7 @@ e.g. the div with class calendar_calTimeGrid is generated by the timeGridWidget
line-height: 12px; line-height: 12px;
z-index: 30; z-index: 30;
} }
.calendar_calDayColHeader, .calendar_calDayColHeader img {
.calendar_calWeekNavHeader,
.calendar_calMonthNavHeader img {
vertical-align: middle; vertical-align: middle;
} }
.calendar_calWeekNavHeader, .calendar_calWeekNavHeader,
@ -1420,6 +1422,10 @@ e.g. the div with class calendar_calTimeGrid is generated by the timeGridWidget
line-height: 12px; line-height: 12px;
z-index: 30; z-index: 30;
} }
.calendar_calWeekNavHeader,
.calendar_calMonthNavHeader img {
vertical-align: middle;
}
.calendar_calViewUserNameBox { .calendar_calViewUserNameBox {
position: absolute; position: absolute;
top: -1px; top: -1px;

View File

@ -79,12 +79,13 @@ img.sideboxstar {
// Images // Images
.calendar_calDayColHeader, .calendar_calWeekNavHeader, .calendar_calMonthNavHeader img {.dimension_width_height_s;} .calendar_calDayColHeader img {.dimension_width_height_s;}
.calendar_calWeekNavHeader img {.dimension_width_height_s;}
.calendar_calMonthNavHeader img{.dimension_width_height_s;}
.calendar_calEventBodySmall img {.dimension_width_height_s;} .calendar_calEventBodySmall img {.dimension_width_height_s;}
.calendar_calEventBodySmall img[src$="svg"], .calendar_calEventBodySmall img[src$="svg"],
.calendar_calDayColHeader, .calendar_calWeekNavHeader, .calendar_calMonthNavHeader img[src$="svg"] { .calendar_calDayColHeader img[src$="svg"] {
.gradient_vertical (@egw_color_2_a, @egw_color_2_a); .gradient_vertical (@egw_color_2_a, @egw_color_2_a);
} }
@ -902,7 +903,7 @@ e.g. the div with class calendar_calTimeGrid is generated by the timeGridWidget
line-height: 12px; line-height: 12px;
z-index: 30; z-index: 30;
} }
.calendar_calDayColHeader,.calendar_calWeekNavHeader,.calendar_calMonthNavHeader img { .calendar_calDayColHeader img {
vertical-align: middle; vertical-align: middle;
} }
.calendar_calWeekNavHeader,.calendar_calMonthNavHeader{ .calendar_calWeekNavHeader,.calendar_calMonthNavHeader{
@ -919,6 +920,9 @@ e.g. the div with class calendar_calTimeGrid is generated by the timeGridWidget
line-height: 12px; line-height: 12px;
z-index: 30; z-index: 30;
} }
.calendar_calWeekNavHeader,.calendar_calMonthNavHeader img{
vertical-align: middle;
}
.calendar_calViewUserNameBox { .calendar_calViewUserNameBox {
position: absolute; position: absolute;
top: -1px; top: -1px;