Sha256: bdfd700f6463404cd5da3b6249d791198207fefdfec24470329e6bbd44084b6a
Contents?: true
Size: 1.55 KB
Versions: 126
Compression:
Stored size: 1.55 KB
Contents
.overlay { position: absolute; top: 0; left: 0; opacity: 1; width: 100%; height: 100%; background: rgba(0,0,0,.75); -webkit-transition: opacity 300ms; -moz-transition: opacity 300ms; transition: opacity 300ms; z-index: 500; } .overlay.hide { pointer-events: none; opacity: 0; } #dialog { position: fixed; left: 50%; top: 150px; max-width: 600px; min-width: 250px; border: 1px solid #eee; background: white; z-index: 1000; } #dialog .content { padding: 15px 20px; } #dialog h1 { margin: 0 0 5px 0; font-size: 16px; font-weight: normal; } #dialog p { margin: 0; padding: 0; font-size: .9em; } /* close */ #dialog .close { position: absolute; top: 3px; right: 10px; text-decoration: none; color: #888; font-size: 16px; font-weight: bold; display: none; } #dialog .close em { display: none; } #dialog.closable .close { display: block; } #dialog .close:hover { color: black; } #dialog .close:active { margin-top: 1px; } /* slide */ #dialog.slide { -webkit-transition: opacity 300ms, top 300ms; -moz-transition: opacity 300ms, top 300ms; } #dialog.slide.hide { opacity: 0; top: -500px; } /* fade */ #dialog.fade { -webkit-transition: opacity 300ms; -moz-transition: opacity 300ms; } #dialog.fade.hide { opacity: 0; } /* scale */ #dialog.scale { -webkit-transition: -webkit-transform 300ms; -moz-transition: -moz-transform 300ms; -webkit-transform: scale(1); -moz-transform: scale(1); } #dialog.scale.hide { -webkit-transform: scale(0); -moz-transform: scale(0); }
Version data entries
126 entries across 78 versions & 1 rubygems