mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
* Calendar - Fix today button positioning - was too far down in Firefox
This commit is contained in:
parent
82ea4fe2de
commit
b17c525e75
@ -3437,12 +3437,12 @@ app.classes.calendar = (function(){ "use strict"; return AppJS.extend(
|
||||
if(today.length && go_button.length)
|
||||
{
|
||||
go_button.position({my: 'left+8px center', at: 'right center-1',of: jQuery('#calendar-sidebox_date .ui-datepicker-year')});
|
||||
today.css({
|
||||
'left': (buttons.first().offset().left + buttons.last().offset().left)/2 - Math.ceil(today.outerWidth(true)/2),
|
||||
'top': go_button.css('top')
|
||||
});
|
||||
buttons.position({my: 'center', at: 'center', of: go_button})
|
||||
.css('left', '');
|
||||
today.position({my: 'top', at: 'top', of: buttons});
|
||||
today.css({
|
||||
'left': (buttons.first().offset().left + buttons.last().offset().left)/2 - Math.ceil(today.outerWidth(true)/2),
|
||||
});
|
||||
}
|
||||
if(auto_update)
|
||||
{
|
||||
|
@ -67,6 +67,9 @@
|
||||
#calendar-et2_target {
|
||||
position: relative;
|
||||
}
|
||||
#calendar-et2_target > div {
|
||||
position: relative;
|
||||
}
|
||||
#calendar-sidebox_owner {
|
||||
width: 90%;
|
||||
}
|
||||
|
@ -89,6 +89,9 @@
|
||||
#calendar-et2_target {
|
||||
position: relative;
|
||||
}
|
||||
#calendar-et2_target > div {
|
||||
position: relative;
|
||||
}
|
||||
#calendar-sidebox_owner {
|
||||
width: 90%;
|
||||
}
|
||||
@ -1362,6 +1365,12 @@ Hide subsequent headers in week view with non-consolidated owners
|
||||
}
|
||||
.calendar_freetime_dow {
|
||||
position: absolute;
|
||||
width: 30ex;
|
||||
height: 22em;
|
||||
}
|
||||
.calendar_freetime_dow ul.ui-multiselect-checkboxes {
|
||||
overflow-y: visible;
|
||||
height: 20em;
|
||||
}
|
||||
img.calendar_print_button,
|
||||
img.calendar_print_appicon {
|
||||
@ -1518,6 +1527,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(25%);
|
||||
}
|
||||
#calendar_sidebox_content .egw_fw_ui_category_content {
|
||||
padding-left: 0px !important;
|
||||
@ -2135,7 +2146,8 @@ 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_"]) {
|
||||
/* Defaults for no category, so we don't override it */
|
||||
|
@ -77,6 +77,9 @@
|
||||
#calendar-et2_target {
|
||||
position: relative;
|
||||
}
|
||||
#calendar-et2_target > div {
|
||||
position: relative;
|
||||
}
|
||||
#calendar-sidebox_owner {
|
||||
width: 90%;
|
||||
}
|
||||
@ -1354,8 +1357,8 @@ Hide subsequent headers in week view with non-consolidated owners
|
||||
height: 22em;
|
||||
}
|
||||
.calendar_freetime_dow ul.ui-multiselect-checkboxes {
|
||||
overflow-y: visible;
|
||||
height: 20em;
|
||||
overflow-y: visible;
|
||||
height: 20em;
|
||||
}
|
||||
img.calendar_print_button,
|
||||
img.calendar_print_appicon {
|
||||
|
Loading…
Reference in New Issue
Block a user