Skip to content

Commit

Permalink
Whitespace removal
Browse files Browse the repository at this point in the history
  • Loading branch information
benschwarz committed May 15, 2013
1 parent 06207ba commit 12259f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sass/_gallery.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
100% { opacity: 0; }
}

.items-#{$item-count} {
.items-#{$item-count} {
&.autoplay .control-button { animation: controlAnimation-#{$item-count} #{$total-duration}s infinite; }
&.autoplay .item { animation: galleryAnimation-#{$item-count} #{$total-duration}s infinite; }

Expand All @@ -28,7 +28,7 @@
.control-operator:nth-of-type(#{$j}):target ~ .controls .control-button:nth-of-type(#{$j}) { @extend %active-button; }

.control-button:nth-of-type(#{$j}),
.item:nth-of-type(#{$j}) {
.item:nth-of-type(#{$j}) {
$delay: #{($j - 1) * ($display-duration) - $transition-duration}s;

animation-delay: #{$delay};
Expand All @@ -42,7 +42,7 @@
.item { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .5s; }

.control-operator { display: none; } // Stop hash links from scrolling up and down

.control-operator:target ~ .item { pointer-events: none; opacity: 0; animation: none; } // Unselected image

.control-button:first-of-type { @extend %active-button; }
Expand Down

0 comments on commit 12259f0

Please sign in to comment.