.ct-modal-content { flex: 1; display: flex; flex-direction: column; font-size: 14px; color: #5c6977; max-height: calc(var(--modal-max-height) - var(--modal-padding) * 2); h2, h4 { color: #3e5667; margin: 0 0 0.8em 0; } h2 { font-size: 17px; line-height: 1.5; } p { font-size: inherit; margin-top: 0; margin-bottom: 1.5em; &:last-child { margin-bottom: 0; } } code { font-size: 12px; font-style: normal; padding: 3px 7px; border-radius: 2px; background: #f1f3f5; } .ct-modal-small-notice { font-size: 13px; margin-bottom: 30px; } // vars --optionBorderColor: #efefef; --option-modal-shadown: 0 5px 25px 1px rgba(0, 0, 0, 0.08); --options-horizontal-spacing: 0; --image-picker-bg: #f3f5f6; --tabs-pills-height: 45px; --tabs-pills-active-background-color: #fff; --tabs-pills-inactive-background-color: #f8f8f8; } // modal list .ct-modal-list { list-style: initial; margin: 0; padding-inline-start: 15px; li { line-height: 1.5; margin-bottom: 2em; &:last-child { margin-bottom: 0; } h4 { margin-bottom: 10px; } i { display: block; font-size: 13px; line-height: 1.7; &:not(:last-child) { margin-bottom: 5px; } } } } // modal actions .ct-modal-actions { margin-top: 25px; [class*="button"] { display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; width: 100%; min-height: 40px; } &.has-divider { position: relative; padding-top: calc(var(--modal-padding) - 10px); margin-top: auto; margin-bottom: -10px; &:before { position: absolute; content: ''; top: 0; inset-inline-start: calc(var(--modal-padding) * -1); height: 1px; width: var(--modal-width); background: var(--optionBorderColor); } } &[data-buttons="2"] { display: grid; grid-template-columns: repeat(2, 1fr); grid-column-gap: 20px; } } // divider .ct-divider[data-type="full-modal"] { margin: 30px 0; &:before { width: var(--modal-width); margin-inline-start: calc(var(--modal-padding) * -1); } }