Fix home portlets not being properly placed in Firefox

This commit is contained in:
Hadi Nategh 2015-02-11 10:34:44 +00:00
parent acafc2d9b3
commit ea560e8cbf
4 changed files with 4 additions and 4 deletions

View File

@ -149,7 +149,7 @@ app.classes.home = AppJS.extend(
// Handle bad timing - a sub-template was finished first // Handle bad timing - a sub-template was finished first
if(!this.portlet_container) if(!this.portlet_container)
{ {
window.setTimeout(jQuery.proxy(this, function() {this.et2_ready(et2, name);}),200); window.setTimeout(jQuery.proxy(function() {this.et2_ready(et2, name);},this),200);
return; return;
} }

View File

@ -63,7 +63,7 @@ div.calendar_favorite_portlet.et2_portlet.ui-widget-content > div:last-of-type {
/** /**
* Portlet styling (cosmetic) * Portlet styling (cosmetic)
*/ */
.et2_portlet.ui-widget-content > div:last-of-type > div { .et2_portlet.ui-widget-content > div:last-of-type > .et2_container {
background: linear-gradient(to bottom, rgba(255,255,255,.9) 10%,rgba(255,255,255,.75) 90%) /* W3C */ background: linear-gradient(to bottom, rgba(255,255,255,.9) 10%,rgba(255,255,255,.75) 90%) /* W3C */
} }

View File

@ -66,7 +66,7 @@ div.calendar_favorite_portlet.et2_portlet.ui-widget-content > div:last-of-type {
/** /**
* Portlet styling (cosmetic) * Portlet styling (cosmetic)
*/ */
.et2_portlet.ui-widget-content > div:last-of-type > div { .et2_portlet.ui-widget-content > div:last-of-type > .et2_container {
background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 10%, rgba(255, 255, 255, 0.75) 90%) /* W3C */; background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 10%, rgba(255, 255, 255, 0.75) 90%) /* W3C */;
} }
/* Single entry */ /* Single entry */

View File

@ -13,4 +13,4 @@
@import (reference) "../../../pixelegg/less/def_buttons.less"; @import (reference) "../../../pixelegg/less/def_buttons.less";
@import (reference) "../../../pixelegg/less/def_design_pattern_color_font_shadow.less"; @import (reference) "../../../pixelegg/less/def_design_pattern_color_font_shadow.less";
@import (less) "../default/app.css"; @import (less) "../default/app.css";