29 lines
3.4 KiB
SCSS
29 lines
3.4 KiB
SCSS
:host { display: block; }
|
|
.export-dialog { background: #fff; color: var(--color-text); padding: 28px 32px 24px; }
|
|
.export-dialog__header { align-items: flex-start; display: flex; gap: 20px; justify-content: space-between; }
|
|
.export-dialog__header h2 { font-family: var(--font-heading); font-size: 30px; line-height: 1.15; margin: 0; }
|
|
.export-dialog__header p { color: var(--color-text-secondary); font-size: 15px; line-height: 1.5; margin: 12px 0 0; }
|
|
.export-dialog__close { align-items: center; background: transparent; border: 0; border-radius: 50%; color: #596273; cursor: pointer; display: inline-flex; flex: 0 0 auto; height: 40px; justify-content: center; margin: -8px -10px 0 0; width: 40px; }
|
|
.export-dialog__close:hover { background: #f0f2ed; }
|
|
.export-options { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 26px 0; }
|
|
.export-option { align-items: flex-start; background: #fff; border: 1px solid #d7dccf; border-radius: 10px; color: var(--color-text); cursor: pointer; display: flex; gap: 13px; min-height: 112px; padding: 18px 15px; text-align: left; transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease; }
|
|
.export-option:hover { background: #f7f9f3; border-color: #9aaa64; }
|
|
.export-option:focus-visible, .export-dialog button:focus-visible { outline: 3px solid rgb(168 194 67 / 55%); outline-offset: 3px; }
|
|
.export-option--selected { background: #f4f7e9; border: 2px solid #6f821c; padding: 17px 14px; }
|
|
.export-option__icon { color: #52691f; flex: 0 0 auto; margin-top: 1px; }
|
|
.export-option__copy { display: grid; gap: 7px; line-height: 1.4; }
|
|
.export-option__copy strong { font-size: 16px; }
|
|
.export-option__copy > span { color: var(--color-text-secondary); font-size: 13px; }
|
|
.export-option__check { color: #52691f; flex: 0 0 auto; font-size: 20px; height: 20px; margin-left: auto; width: 20px; }
|
|
.export-dialog__footer { align-items: flex-end; border-top: 1px solid var(--color-border); display: flex; gap: 16px; justify-content: space-between; padding-top: 18px; }
|
|
.export-dialog__footer p { color: var(--color-text-secondary); font-size: 12px; line-height: 1.4; margin: 0; max-width: 240px; }
|
|
.export-dialog__actions { display: flex; flex: 0 0 auto; gap: 10px; }
|
|
.export-dialog__actions button { border-radius: 7px; cursor: pointer; font: inherit; font-weight: 600; min-height: 44px; padding: 10px 18px; }
|
|
.export-dialog__cancel { background: #fff; border: 1px solid var(--color-border-subtle); color: var(--color-text); }
|
|
.export-dialog__cancel:hover { background: var(--color-surface-hover); }
|
|
.export-dialog__submit { background: var(--color-primary-action); border: 1px solid var(--color-primary-action); color: #fff; }
|
|
.export-dialog__submit:disabled { background: #e8ecdf; border-color: #e8ecdf; color: #9da38f; cursor: not-allowed; }
|
|
@media (max-width: 560px) { .export-dialog { padding: 22px 20px 18px; } .export-dialog__header h2 { font-size: 26px; } .export-options { grid-template-columns: minmax(0, 1fr); margin: 20px 0; } .export-option { min-height: 88px; } .export-dialog__footer { align-items: stretch; flex-direction: column; } .export-dialog__footer p { max-width: none; } .export-dialog__actions { justify-content: flex-end; } }
|
|
@media (max-width: 360px) { .export-dialog { padding-inline: 16px; } .export-dialog__actions { gap: 6px; } .export-dialog__actions button { padding-inline: 12px; } }
|
|
.export-dialog__close:focus-visible { outline: 3px solid rgb(168 194 67 / 55%); outline-offset: 2px; }
|