Difference between revisions of "Template:NAIT Edmonton/CSS"
Line 244: | Line 244: | ||
/* Modal */ | /* Modal */ | ||
− | .modal {opacity: 0;visibility: hidden;position: fixed;top: | + | .modal {opacity: 0;visibility: hidden;position: fixed;top: 0;right: 0;bottom: 0;left: 0;text-align: left;background: rgba(0,0,0, .9);transition: opacity .25s ease;z-index:999;} |
.modal__bg {position: absolute;top: 0;right: 0;bottom: 0;left: 0;cursor: pointer;} | .modal__bg {position: absolute;top: 0;right: 0;bottom: 0;left: 0;cursor: pointer;} | ||
.modal-state { display: none;} | .modal-state { display: none;} |
Revision as of 17:13, 4 June 2015