@import 'variables'; @import 'functions'; // VARIABLES $modalBgColor: #fff; $backdropColor: #4f4f4f; $modalShadowColor: rgba(0, 0, 0, .25); $modalColor: #000; .twofas-modal-backdrop { background: rgba($backdropColor,.5); display: none; height: 100%; left: 0; opacity: 0; position: fixed; top: 0; width: 100%; z-index: 99999; &.twofas-show { display: table; } } .twofas-modal-container { display: table; height: 100%; width: 100%; } .twofas-modal-cell { display: table-cell; text-align: center; vertical-align: middle; } .twofas-modal { background: $modalBgColor; box-shadow: 4px 4px 50px $modalShadowColor; color: $modalColor; display: inline-block; max-height: 80%; max-width: 652px; padding: 57px 20px; position: relative; width: 60%; @media all and (max-width: $screen-sm-max) { max-height: none; width: 75%; } @media all and (max-width: 660px) { width: 90%; } &-close { position: absolute; right: 0; top: 0; } &-codes { margin-bottom: 30px; h6 { color: $modalColor; font-size: px-to-rem(20); font-weight: 800; letter-spacing: .05em; line-height: px-to-rem(35); margin-bottom: 0; margin-top: 0; @media all and (max-width: 500px) { font-size: px-to-rem(18); line-height: px-to-rem(28); } } } &-buttons { align-items: center; display: inline-flex; flex-direction: column; margin-left: auto; margin-right: auto; &.horizontal { flex-direction: row; a,button { &:first-of-type { margin-right: 13px; } } } } h5 { font-size: px-to-rem(16); font-weight: 600; line-height: px-to-rem(20); margin-bottom: 38px; } h6 { &.twofas-private-key { color: $modalColor; font-size: px-to-rem(20); font-weight: 800; letter-spacing: .05em; line-height: px-to-rem(35); margin-bottom: 48px; } } p { font-size: px-to-rem(14); line-height: px-to-rem(18); margin-bottom: 36px; margin-top: 0; &.twofas-private-key-instructions { max-width: 376px; margin-left: auto; margin-right: auto; width: 90%; } &.small-margin { margin-bottom: 10px; } em { color: $tf-theme-color; font-style: normal; } } }