Sha256: bf70836de647d7bc4c0ab543afa84234b1048ee89f634aa47ba9e7dfe6f98850
Contents?: true
Size: 1.73 KB
Versions: 4
Compression:
Stored size: 1.73 KB
Contents
// =================================== // Modals // =================================== // .modal-ready { // body, div.modal { // @include transition(0.25s all ease-out); // } // #overlay { // @include transition(0.2s all ease-in); // } // } .modal-active { body { overflow:hidden; } .container { // -webkit-filter:blur(3px); // -moz-filter:blur(3px); // -ms-filter:blur(3px); // -o-filter:blur(3px); // filter:blur(3px); } #overlay { visibility:visible; opacity:1; } div.modal.active { visibility:visible; opacity:1; } } #overlay { visibility:hidden; opacity:0; position:fixed; top:0; left:0; bottom:0; right:0; z-index:98; width:100%; height:100%; @include inner-shadow(#000000, 200px, 0, 0); @include gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.9)); } div.modal { visibility:hidden; opacity:0; position:fixed; top:10%; left:10%; z-index:99; max-width:80%; max-height:80%; overflow:hidden; padding:10px; background:#222; background:rgba(0,0,0,0.4); @include drop-shadow(rgb(50,50,50), 50px, 0, 0); @include rounded($radius); &.iframe { overflow:hidden; width:80%; height:80%; } .modal-content { position:relative; overflow:auto; width:100%; height:100%; background:#fff; padding:25px; } .close, .fullscreen { position:absolute; z-index:100; font-size:1.25em; top:10px; right:10px; padding:5px; cursor:pointer; color:#ddd; background:#222; background:rgba(0,0,0,0.8); @include rounded(0 0 0 $radius); &:hover, &:focus { color:#fff; } } .fullscreen { @include rounded(0 0 $radius 0); right:auto; left:10px; } }
Version data entries
4 entries across 4 versions & 1 rubygems