Skip to content

Commit

Permalink
[fix bug 1124570] Remove delay showing home promo's for smaller screens
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgibson committed Jan 22, 2015
1 parent 67fc393 commit ee80fd1
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions media/css/mozorg/home/home-promo.less
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
color: #fff;
overflow: hidden;
opacity: 1;
.transition(opacity .3s ease-in-out);
}

#promo-1 {
Expand Down Expand Up @@ -142,18 +141,6 @@
}
}

.js {
.promo-grid {
.item {
opacity: 0;
}

&.reveal .item {
opacity: 1;
}
}
}

.promo-large-landscape,
.promo-large-portrait {
z-index: 0;
Expand Down Expand Up @@ -1563,6 +1550,19 @@ html[lang|="en"] {
*/
@media only screen and (min-width: (@widthSquareGrid_6)) {

.js {
.promo-grid {
.item {
opacity: 0;
.transition(opacity .3s ease-in-out);
}

&.reveal .item {
opacity: 1;
}
}
}

.promo-grid.stagger .item {

&:first-child {
Expand Down

0 comments on commit ee80fd1

Please sign in to comment.