← Back
Editing: template-create-modal.css
.ae-template-create-modal { display: none; position: fixed; inset: 0; z-index: 100100; padding: 20px; font-family: "Roboto", sans-serif; font-size: 14px; font-weight: 400; box-sizing: border-box; } .ae-template-create-modal.is-open { display: flex; align-items: center; justify-content: center; } .ae-template-create-modal__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); } .ae-template-create-modal__dialog { position: relative; width: fit-content; max-width: calc(100% - 40px); max-height: calc(100vh - 40px); margin: 0; padding: 30px 32px; background: #fff; border-radius: 10px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25); box-sizing: border-box; overflow: auto; } .ae-template-create-modal__close { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border: 0; background: transparent; color: #c3c4c7; cursor: pointer; font-size: 26px; line-height: 1; } .ae-template-create-modal__close:hover, .ae-template-create-modal__close:focus { color: #a7aaad; } .ae-template-create-modal.is-config-step .ae-template-create-modal__close { display: none; } .ae-template-create-modal h2 { margin: 0 0 8px; font-size: 20px; font-weight: 500; line-height: 1.2; } .ae-template-create-modal__subtitle { margin: 0 0 20px; color: #50575e; font-size: 14px; font-weight: 400; } .ae-template-create-modal.is-config-step #ae-template-create-modal-title, .ae-template-create-modal.is-config-step .ae-template-create-modal__subtitle { display: none; } .ae-template-create-modal__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } .ae-template-create-modal__step { opacity: 1; transform: translateY(0); } .ae-template-create-modal__step.is-animating-in { animation: ae-template-step-in 0.2s ease; } @keyframes ae-template-step-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } } .ae-template-create-modal__option { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 140px; padding: 18px 12px; border: 1px solid #dcdcde; border-radius: 4px; background: #fff; color: #1d2327; cursor: pointer; transition: border-color 0.15s ease, box-shadow 0.15s ease; } .ae-template-create-modal__option:hover, .ae-template-create-modal__option:focus { border-color: #2271b1; box-shadow: 0 0 0 1px #2271b1; outline: none; } .ae-template-create-modal__option.is-locked { background: #fbfbfc; border-color: #d7d8db; color: #6b7280; cursor: not-allowed; } .ae-template-create-modal__option.is-locked:hover, .ae-template-create-modal__option.is-locked:focus { border-color: #d7d8db; box-shadow: none; outline: none; } .ae-template-create-modal__icon.dashicons { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-bottom: 12px; border-radius: 999px; background: #f0f6fc; color: #2271b1; font-size: 18px; } .ae-template-create-modal__option.is-locked .ae-template-create-modal__icon.dashicons { background: #f1f3f5; color: #8b949e; } .ae-template-create-modal__label { text-align: center; font-size: 14px; font-weight: 400; line-height: 1.25; } .ae-template-create-modal__pro-badge { position: absolute; top: 12px; left: 12px; padding: 2px 7px; border-radius: 999px; background: #fef2d8; color: #9a6200; font-size: 11px; font-weight: 500; line-height: 1.2; } .ae-template-create-modal__config-grid { display: grid; grid-template-columns: minmax(300px, 322.5px) minmax(420px, 446.5px); gap: 30px; align-items: stretch; margin-top: 4px; justify-content: center; } .ae-template-create-modal__config-left { border-right: 1px solid #dcdcde; padding-right: 32px; align-self: stretch; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; } .ae-template-create-modal__config-left h3 { margin: 6px 0 8px; font-size: 20px; font-weight: 500; line-height: 1.15; } .ae-template-create-modal__config-left p { margin: 0; color: #50575e; font-size: 14px; font-weight: 400; } .ae-template-create-modal__config-right { display: flex; flex-direction: column; gap: 20px; padding-top: 4px; max-width: 446.5px; align-self: stretch; } .ae-template-create-modal__field { display: grid; grid-template-columns: 195px minmax(0, 235.5px); gap: 16px; align-items: center; } .ae-template-create-modal__field label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 400; color: #1d2327; line-height: 15px; } .ae-template-create-modal__field input[type="text"], .ae-template-create-modal__field select { width: 100%; max-width: 100%; min-height: 40px; padding: 10px 12px; border: 1px solid #949494; border-radius: 2px; font-size: 13px; font-weight: 400; line-height: 15px; box-sizing: border-box; } .ae-template-create-modal__field .select2-container, .ae-template-create-modal__field .aeselect2-container { width: 100% !important; max-width: 100%; } .ae-template-create-modal__field .select2-selection--single, .ae-template-create-modal__field .aeselect2-selection--single { min-height: 40px; border: 1px solid #949494; border-radius: 2px; } .ae-template-create-modal__field .select2-selection__rendered, .ae-template-create-modal__field .aeselect2-selection__rendered { line-height: 38px !important; padding-left: 12px !important; padding-right: 36px !important; font-size: 13px; font-weight: 400; color: #000; } .ae-template-create-modal__field .select2-selection__arrow, .ae-template-create-modal__field .aeselect2-selection__arrow { height: 40px !important; right: 8px; } .ae-template-create-modal__field .description { grid-column: 2; margin: -12px 0 0; color: #828181; font-size: 11px; line-height: 13px; } .ae-template-create-modal__field .description a { margin-left: 6px; text-decoration: none; } .ae-template-create-modal__field .description a:hover { text-decoration: underline; } .ae-template-create-modal__field--list { align-items: flex-start; } .ae-template-create-modal__field--list > label { padding-top: 10px; } .ae-template-create-modal__field--list > div { width: 100%; } .ae-template-create-modal__checkbox-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; } .ae-template-create-modal__checkbox-list li { margin: 0; padding: 0; } .ae-template-create-modal__checkbox-list label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 400; line-height: 16px; color: #1d2327; } .ae-template-create-modal__checkbox-list input[type="checkbox"] { margin: 0; } .ae-template-create-modal__field--toggle .ae-template-create-modal__switch { display: inline-flex; align-items: center; gap: 10px; } .ae-template-create-modal__switch input { position: absolute; opacity: 0; pointer-events: none; } .ae-template-create-modal__slider { position: relative; width: 40px; height: 22px; border-radius: 999px; background: #b6b8bb; transition: background-color 0.15s ease; } .ae-template-create-modal__slider::before { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform 0.15s ease; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); } .ae-template-create-modal__switch input:checked + .ae-template-create-modal__slider { background: #2271b1; } .ae-template-create-modal__switch input:checked + .ae-template-create-modal__slider::before { transform: translateX(18px); } .ae-template-create-modal__switch-text { font-size: 13px; font-weight: 400; color: #1d2327; line-height: 18px; } .ae-template-create-modal__actions { display: flex; justify-content: flex-end; align-items: center; width: 100%; min-height: 40px; gap: 18px; margin-top: auto; padding-top: 24px; } .ae-template-create-modal__actions .button { font-family: "Roboto", sans-serif; font-size: 13px; font-weight: 400; line-height: 30px; min-height: 40px; padding: 6px 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 3px; margin: 0; } #ae-template-modal-back.button { width: 53px; min-width: 53px; height: 40px; background: #f7f8fe; border: 1px solid #f7f8fe; border-radius: 2px; color: #007cba; } #ae-template-modal-create.button { width: 136px; min-width: 136px; height: 40px; background: #007cba; border: 1px solid #007cba; border-radius: 2px; color: #f7f8fe; } #ae-template-modal-back.button:hover, #ae-template-modal-back.button:focus { background: #eef0ff; border-color: #eef0ff; color: #006799; } #ae-template-modal-create.button:hover, #ae-template-modal-create.button:focus { background: #006ba1; border-color: #006ba1; color: #f7f8fe; } .ae-template-create-modal__field.is-hidden { display: none; } .ae-template-create-modal__help, .ae-template-create-modal__type-help { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 12px; height: 12px; border: 1px solid #1d2327; border-radius: 50%; color: #1d2327; font-size: 8px; font-weight: 400; line-height: 1; cursor: pointer; background: #fff; } .ae-template-create-modal__type-help { position: absolute; top: 12px; right: 12px; } .ae-template-create-modal__help:hover, .ae-template-create-modal__help:focus, .ae-template-create-modal__type-help:hover, .ae-template-create-modal__type-help:focus { border-color: #2271b1; color: #2271b1; outline: none; } .ae-template-create-modal__tooltip { position: fixed; z-index: 100210; width: min(190px, calc(100vw - 24px)); padding: 12px 12px 10px; border: 1px solid #d5d5d5; border-radius: 6px; background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); text-align: center; box-sizing: border-box; } .ae-template-create-modal__tooltip::before, .ae-template-create-modal__tooltip::after { content: ""; position: absolute; left: var(--ae-tooltip-arrow-left, 50%); transform: translateX(-50%); border: solid transparent; pointer-events: none; } .ae-template-create-modal__tooltip::before { top: 100%; border-width: 10px; border-top-color: #d5d5d5; } .ae-template-create-modal__tooltip::after { top: calc(100% - 1px); border-width: 9px; border-top-color: #fff; } .ae-template-create-modal__tooltip.is-below::before { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: #d5d5d5; } .ae-template-create-modal__tooltip.is-below::after { top: auto; bottom: calc(100% - 1px); border-top-color: transparent; border-bottom-color: #fff; } .ae-template-create-modal__tooltip-text { margin: 0; color: #1d2327; font-size: 13px; font-weight: 400; line-height: 1.35; } .ae-template-create-modal__tooltip-link { display: inline-block; margin-top: 6px; color: #2271b1; font-size: 13px; font-weight: 400; text-decoration: none; } .ae-template-create-modal__tooltip-link:hover, .ae-template-create-modal__tooltip-link:focus { text-decoration: underline; } .ae-template-create-modal__tooltip.is-cta { width: min(170px, calc(100vw - 24px)); padding: 10px 10px 9px; } .ae-template-create-modal__tooltip.is-cta .ae-template-create-modal__tooltip-text { font-size: 12px; line-height: 1.3; } .ae-template-create-modal__tooltip.is-cta .ae-template-create-modal__tooltip-link { display: inline-flex; align-items: center; justify-content: center; min-height: 24px; margin-top: 8px; padding: 3px 10px; border: 1px solid #007cba; border-radius: 2px; background: #007cba; color: #f7f8fe; font-size: 12px; line-height: 1.1; text-decoration: none; } .ae-template-create-modal__tooltip.is-cta .ae-template-create-modal__tooltip-link:hover, .ae-template-create-modal__tooltip.is-cta .ae-template-create-modal__tooltip-link:focus { background: #006ba1; border-color: #006ba1; color: #f7f8fe; text-decoration: none; } body.ae-template-create-modal-open { overflow: hidden; } @media (prefers-reduced-motion: reduce) { .ae-template-create-modal__step.is-animating-in { animation: none; } } @media screen and (max-width: 1024px) { .ae-template-create-modal__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ae-template-create-modal__config-grid { grid-template-columns: 1fr; } .ae-template-create-modal__config-left { border-right: 0; border-bottom: 1px solid #dcdcde; padding-right: 0; padding-bottom: 18px; min-height: 0; } } @media screen and (max-width: 782px) { .ae-template-create-modal__dialog { width: calc(100% - 24px); margin: 0; padding: 20px 16px; } .ae-template-create-modal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ae-template-create-modal__field { grid-template-columns: 1fr; gap: 6px; } .ae-template-create-modal__field .description { grid-column: 1; } } @media screen and (max-width: 520px) { .ae-template-create-modal__grid { grid-template-columns: 1fr; } }
Save File
Cancel