Sha256: f51118d9b015ba103bf3539b2327ae494e21b933cc77aa9f017cc50be52886dc
Contents?: true
Size: 1.33 KB
Versions: 2
Compression:
Stored size: 1.33 KB
Contents
.elements-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; display: block; background-color: transparent; z-index: 100; transform: scale(0); transition: transform 0.5s; } .elements-modal--active { transform: scale(1); background-color: rgba($modal_color_transarent_background, 0.5); transition: transform 0.25s, background-color 1s; } .elements-modal__modal { @include centerElement(xy); width: 80%; height: 80%; background: $modal_color_background; border-radius: 15px; box-shadow: 0px 11px 20px rgba(41,59,90,0.08); overflow: hidden; opacity: 0; transition: none; } .elements-modal__modal--active { opacity: 1; transition: all 0.25s; } .elements-modal__close-button { outline: 0; border: none; background: transparent; color: $modal_color_title; position: absolute; right: 7px; top: 5px; font-size: 20px; padding: 0; } .elements-modal__content { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .elements-modal__header { padding: 15px; border-bottom: solid 2px $modal_color_header_border; } .elements-modal__title { font-size: 1.5em; color: $modal_color_title; font-weight: bold; } .elements-modal__body { padding: 15px; overflow: scroll; position: absolute; top: 55px; left: 0; height: calc(100% - 55px); width: 100%; }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lato_core-2.1.1 | app/assets/stylesheets/lato_core/cells/elements/_modal.scss |
lato_core-2.1 | app/assets/stylesheets/lato_core/cells/elements/_modal.scss |