/
home
/
infinitibizsol
/
sellmycarhq.com
/
wp-content
/
plugins
/
nitropack
/
view
/
stylesheet
/
scss
/
File Upload :
llllll
Current File: /home/infinitibizsol/sellmycarhq.com/wp-content/plugins/nitropack/view/stylesheet/scss/_modals.scss
@use "variables" as *; //@use "helpers" as *; div[modal-backdrop] { background-color: rgba(42, 0, 122, 0.5) !important; z-index: 9990; position: fixed; inset: 0; } .modal-wrapper { z-index: 10000; width: 100%; max-height: 100%; height: calc(100% - 1rem); position: fixed; top: 0; left: 0; right: 0; overflow-y: auto; overflow-x: hidden; inset: 0; flex-direction: column; justify-content: center; display: flex; align-items: center; font-family: $font; &.hidden { display: none; } .btn { @include btn(); &.btn-primary { background-color: $primary-color; border-color: $primary-color; color: #fff; &:hover { background-color: $primary-hover; } } &.btn-secondary { &:hover { color: $primary-color; background-color: $purple-100; } } } } .modal-container, .popup-container { max-height: 80%; max-width: 600px; width: 100%; position: relative; } .modal-inner, .popup-inner { padding: $gutter; background-color: #fff; border-radius: $border-radius * 2; position: relative; height: 100%; width: 100%; box-sizing: border-box;//safemode } .modal-header { display: flex; align-items: center; justify-content: space-between; h3 { font-size: 1rem; color: $gray-700; } .close-modal { align-self: flex-start; color: $gray-700; cursor: pointer; } } .modal-body { padding: 1rem 0 2rem 0; display: flex; flex-direction: column; justify-content: space-between; height: 100%; &.scrollable { .modal-footer { margin-top: auto; margin-bottom: 0; } } } .modal-footer { margin-top: $gutter; margin-bottom: 1rem; align-self: flex-end; .btn { min-width: 116px; text-align: center; + .btn { margin-left: 0.5rem; } } } /* Popup */ .popup-container { width: 600px; } .popup-modal { top: 15vh; justify-content: flex-start; } .popup-header { display: flex; flex-direction: column; align-items: center; .close-modal { align-self: flex-end; cursor: pointer; -webkit-appearance: button; background-color: rgba(0, 0, 0, 0); background-image: none; border: 0; } h3 { margin-top: $gutter; font-size: 1.25rem; color: $gray-700; margin-bottom: 0; } } .popup-body { font-size: 1rem; color: $gray-600; margin-top: 1rem; } .popup-footer { display: flex; align-items: center; justify-content: center; margin-top: $gutter; .btn { min-width: 116px; + .btn { margin-left: 0.5rem; } } } .text-center { text-align: center; }
Copyright ©2k19 -
Hexid
|
Tex7ure