.six-storage-modal { &.six-storage-sm{ width: 39%; } &:focus { outline: none; } &.six-storage-xs{ width: 34%; } @extend .six-storage-z-depth-5; display: none; position: fixed; left: 0; right: 0; background-color: transparent ; padding: 0; max-height: 87%; width: 42%; margin: auto; overflow-y: auto; overflow-x: hidden; height: auto; border-radius: 15px; will-change: top, opacity; box-shadow: none ; @media #{$medium-and-down} { width: 80% ; } h1.cc,h2.cc,h3.cc,h4.cc { margin-top: 0; } .six-storage-modal-content { background-color: #fff; padding: 15px !important; border-radius:0; border-bottom-left-radius: 10px; border-bottom-right-radius: 11px; } .six-storage-modal-close { cursor: pointer; } .six-storage-modal-footer { border-radius: 0 0 2px 2px; background-color: #fafafa; padding: 4px 6px; height: 56px; width: 100%; text-align: right; .six-storage-btn, .six-storage-btn-flat { margin: 6px 0; } } } .six-storage-modal-overlay { position: fixed; z-index: 10000; top: -25%; left: 0; bottom: 0; right: 0; height: 125%; width: 100%; background: #000; display: none; will-change: opacity; pointer-events: none; } // Modal with fixed action footer .six-storage-modal.six-storage-modal-fixed-footer { padding: 0; height: 70%; .six-storage-modal-content { position: absolute; height: calc(100% - 56px); max-height: 100%; width: 100%; overflow-y: auto; } .six-storage-modal-footer { border-top: 1px solid rgba(0,0,0,.1); position: absolute; bottom: 0; } } // Modal Bottom Sheet Style .six-storage-modal.six-storage-bottom-sheet { top: auto; bottom: -100%; margin: 0; width: 100%; max-height: 45%; border-radius: 0; will-change: bottom, opacity; } @media(min-width:992px ) and (max-width:1124px){ .six-storage-modal{ width: 60%; } } @media #{$medium-and-down} { .six-storage-w-mob-100 { width: 100% ; } }