Sha256: 7571c073e78212ebc57a1ef28e004bdd1f3c4fe96ddf3dcf3a13e3f2553c8621
Contents?: true
Size: 1023 Bytes
Versions: 23
Compression:
Stored size: 1023 Bytes
Contents
@import "mixins/settings.global"; @import "mixins/objects.grid"; @import "mixins/utilities.alignment"; .o-modal { display: block; position: absolute; top: 50%; left: 50%; width: $modal-width; transform: translate(-50%, -50%); border: $modal-border; border-radius: $modal-border-radius; background-color: $modal-background-color; overflow: hidden; z-index: $modal-z-index; .c-card { background-color: transparent; box-shadow: none; } .c-card__body { position: relative; } } .o-modal--ghost { background-color: $modal-ghost-background-color; color: $modal-ghost-color; .c-heading { color: $modal-ghost-heading-color; } } .o-modal--full { top: 1em; left: 1em; width: calc(100% - 2em); height: calc(100% - 2em); transform: none; .c-card__body { position: absolute; top: 2.5em; bottom: 3.5em; width: 100%; overflow-x: hidden; overflow-y: auto; } .c-card__footer { position: absolute; bottom: 0; width: 100%; } }
Version data entries
23 entries across 23 versions & 2 rubygems