Sha256: 165deaccce6671c1a2ef875ef6d3e4cd29e52f18a8ccb875a51603ea7d155d78
Contents?: true
Size: 1.25 KB
Versions: 7
Compression:
Stored size: 1.25 KB
Contents
.full { position:absolute; top:50%; left:50%; overflow:hidden; margin:(-$height/2) 0 0 (-$width/2); width:$width; height:$height; background:#000; &.wide-layout { margin:(-$height/2) 0 0 (-$width/2); width:$width; height:$height; } // Slide .slide { position:absolute; top:0; left:0; display: none; // Next .next { visibility:hidden; &.active { visibility:visible; } } // Current &:target { display: block; } // Shout &.shout { &.right, &.up, &.left, &.down { h1, h2 { opacity:0; transition:all 0.5s ease-out; } &:target h2 { opacity:1; transform:translateX(0) translateY(-50%); } } &.right h2 { transform:translateX(-100%) translateY(-50%); } &.left h2 { transform:translateX(100%) translateY(-50%); } &.up h2 { transform:translateX(0) translateY(100%); } &.down h2 { transform:translateX(0) translateY(-100%); } } } @import 'increment'; @import 'progress'; .box.shadow { box-shadow: 5px 5px 15px rgba(#000, 0.25); border-radius: 3px; } .disabled { display: none; } }
Version data entries
7 entries across 7 versions & 1 rubygems