Calendar tooltip style fixes for Firefox

This commit is contained in:
Nathan Gray 2015-10-15 21:34:07 +00:00
parent 4184d88027
commit 1673cc9aed
6 changed files with 6 additions and 46 deletions

View File

@ -2559,7 +2559,7 @@ app.classes.calendar = AppJS.extend(
*/
_owner: function(state) {
var owner = '';
if(state.owner.length && state.owner.length == 1)
if(state.owner.length && state.owner.length == 1 && app.calendar.sidebox_et2)
{
var own = app.calendar.sidebox_et2.getWidgetById('owner').getDOMNode();
if(own.selectedIndex >= 0)

View File

@ -291,7 +291,7 @@ var et2_calendar_event = et2_valueWidget.extend([et2_IDetachedDOM],
_tooltip: function() {
var border = this.div.css('border-color');
var border = this.div.css('borderTopColor');
var bg_color = this.div.css('background-color');
var header_color = this.title.css('color');

View File

@ -404,6 +404,9 @@ e.g. the div with class calendar_calTimeGrid is generated by the timeGridWidget
max-height: 400px;
overflow: auto;
}
.calendar_calEventTooltip .calendar_calEventBodySmall {
padding-bottom: 1em;
}
.calendar_calAddEvent{
width: 100%;
@ -472,7 +475,6 @@ e.g. the div with class calendar_calTimeGrid is generated by the timeGridWidget
.calendar_calEventBodySmall{
font-size: 95%;
}
.calendar_calEventLabel{
font-weight: bold;
font-size: 90%;

View File

@ -917,26 +917,6 @@ e.g. the div with class calendar_calTimeGrid is generated by the timeGridWidget
.calendar_calEventHeaderSmall .calendar_calEventIcons img {
height: 13px;
}
/* body of the event
*/
.calendar_calEventBody,
.calendar_calEventBodySmall {
padding: 0px 3px 0px;
left: 2px;
right: 2px;
height: 99%;
}
.calendar_calEventBodySmall {
font-size: 95%;
}
.calendar_calEventLabel {
font-weight: bold;
font-size: 90%;
}
.calendar_calEventTitle {
font-weight: bold;
font-size: 110%;
}
/* table of the dayView containing 2 cols: 1) day-view, 2) todos
*/
.calendar_calDayView {

View File

@ -1039,29 +1039,6 @@ e.g. the div with class calendar_calTimeGrid is generated by the timeGridWidget
height: 13px;
}
/* body of the event
*/
.calendar_calEventBody,.calendar_calEventBodySmall{
padding: 0px 3px 0px;
left: 2px;
right: 2px;
height: 99%;
}
.calendar_calEventBodySmall{
font-size: 95%;
}
.calendar_calEventLabel{
font-weight: bold;
font-size: 90%;
}
.calendar_calEventTitle{
font-weight: bold;
font-size: 110%;
}
/* table of the dayView containing 2 cols: 1) day-view, 2) todos
*/
.calendar_calDayView{

View File

@ -795,6 +795,7 @@ ul.et2_link_string {
background-color: #FDF9DB;
max-width: 300px;
color: black;
z-index: 999;
}
/**
* Tabs widget