You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
131 lines
13 KiB
CSS
131 lines
13 KiB
CSS
.user-copy-admin { --copy-ink: #17364a; --copy-muted: #718795; --copy-line: #dce6ea; --copy-soft: #f5f8f9; --copy-teal: #159fa6; }
|
|
.user-copy-page-actions { display: flex; justify-content: flex-end; align-items: center; gap: 9px; flex-wrap: wrap; }
|
|
.user-copy-toolbar { margin-bottom: 16px; padding: 18px; border: 1px solid var(--copy-line); border-radius: 14px; background: #fff; display: grid; grid-template-columns: minmax(220px, .8fr) minmax(180px, .55fr) minmax(320px, 1.4fr); gap: 16px; align-items: end; }
|
|
.user-copy-toolbar label > span { margin-bottom: 7px; display: block; color: var(--copy-muted); font-size: 12px; font-weight: 700; }
|
|
.user-copy-toolbar-note { min-height: 48px; padding: 10px 13px; border-radius: 10px; color: #3d6874; background: #edf8f7; display: flex; align-items: center; gap: 10px; font-size: 12px; line-height: 1.55; }
|
|
.user-copy-toolbar-note i { color: var(--copy-teal); font-size: 20px; }
|
|
.user-copy-coverage { margin-bottom: 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
|
|
.user-copy-coverage article { padding: 17px 18px; border: 1px solid var(--copy-line); border-radius: 13px; background: #fff; }
|
|
.user-copy-coverage article span { display: block; color: var(--copy-muted); font-size: 12px; }
|
|
.user-copy-coverage article strong { margin-top: 5px; display: block; color: var(--copy-ink); font-size: 23px; }
|
|
.user-copy-progress { height: 7px; border-radius: 999px; background: #e8eef0; grid-column: 1 / -2; overflow: hidden; }
|
|
.user-copy-progress span { width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #21b7ad, #108c9d); display: block; transition: width .25s ease; }
|
|
.user-copy-coverage > p { margin: -8px 0 0; color: var(--copy-muted); display: flex; justify-content: flex-end; align-items: baseline; gap: 7px; font-size: 11px; }
|
|
.user-copy-coverage > p strong { color: var(--copy-ink); font-size: 18px; }
|
|
.user-copy-readiness { margin-bottom: 16px; padding: 18px; border: 1px solid var(--copy-line); border-left: 4px solid #80929c; border-radius: 13px; background: #fff; display: grid; grid-template-columns: minmax(260px, 1.4fr) minmax(300px, 1fr); gap: 14px 24px; align-items: center; }
|
|
.user-copy-readiness.is-ready { border-left-color: #24a574; background: linear-gradient(90deg, #f2fbf7, #fff 32%); }
|
|
.user-copy-readiness.is-blocked { border-left-color: #d99329; background: linear-gradient(90deg, #fff9ed, #fff 32%); }
|
|
.user-copy-readiness.is-unavailable { border-left-color: #d15b67; background: linear-gradient(90deg, #fff3f5, #fff 32%); }
|
|
.user-copy-readiness-summary > span { color: var(--copy-teal); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
|
|
.user-copy-readiness-summary h2 { margin: 4px 0 5px; color: var(--copy-ink); font-size: 17px; }
|
|
.user-copy-readiness-summary p { margin: 0; color: var(--copy-muted); font-size: 12px; line-height: 1.6; }
|
|
.user-copy-readiness-counts { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
|
|
.user-copy-readiness-counts > div { padding: 10px 12px; border: 1px solid #e3eaed; border-radius: 10px; background: rgba(255,255,255,.82); }
|
|
.user-copy-readiness-counts dt { color: var(--copy-muted); font-size: 10px; font-weight: 700; }
|
|
.user-copy-readiness-counts dd { margin: 3px 0 0; color: var(--copy-ink); font-size: 18px; font-weight: 750; }
|
|
.user-copy-readiness-errors { margin: 0; padding: 12px 14px 12px 31px; border-radius: 9px; color: #93434d; background: #fff0f2; grid-column: 1 / -1; font-size: 11px; line-height: 1.65; }
|
|
.user-copy-catalog { border-color: var(--copy-line); border-radius: 14px; overflow: hidden; }
|
|
.user-copy-catalog-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
|
|
.user-copy-filters { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
|
|
.user-copy-search { min-width: 270px; height: 38px; padding: 0 11px; border: 1px solid var(--copy-line); border-radius: 9px; background: #fff; display: flex; align-items: center; gap: 8px; }
|
|
.user-copy-search i { color: #8da0aa; font-size: 18px; }
|
|
.user-copy-search input { width: 100%; border: 0; outline: 0; color: var(--copy-ink); background: transparent; font-size: 13px; }
|
|
.user-copy-filters .form-select { min-width: 142px; }
|
|
.user-copy-list { display: grid; gap: 12px; }
|
|
.user-copy-entry { padding: 18px; border: 1px solid var(--copy-line); border-radius: 12px; background: #fff; }
|
|
.user-copy-entry-meta { margin-bottom: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
|
.user-copy-entry-meta code { color: #1b5368; font-size: 12px; font-weight: 700; }
|
|
.user-copy-entry-meta > span { padding: 4px 8px; border-radius: 999px; font-size: 10px; font-weight: 750; }
|
|
.user-copy-surface { color: #0e777d; background: #e4f6f5; }
|
|
.user-copy-group { color: #675487; background: #f0ebf7; }
|
|
.user-copy-kind { color: #687f8b; background: #edf2f4; }
|
|
.user-copy-state.is-published { color: #168058; background: #e5f7ef; }
|
|
.user-copy-state.is-draft { color: #8b6717; background: #fff4d7; }
|
|
.user-copy-state.is-missing { color: #7b6b75; background: #f2edef; }
|
|
.user-copy-state.is-hidden { color: #a04450; background: #fdecef; }
|
|
.user-copy-state.is-invalid { color: #a04450; background: #fdecef; }
|
|
.user-copy-critical { color: #aa3e49; background: #fde9ec; }
|
|
.user-copy-entry-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 14px; }
|
|
.user-copy-source,.user-copy-target { min-width: 0; }
|
|
.user-copy-field-label { margin-bottom: 7px; color: var(--copy-muted); display: block; font-size: 11px; font-weight: 750; }
|
|
.user-copy-source-text { min-height: 78px; padding: 12px 13px; border: 1px solid #e4ebee; border-radius: 9px; color: #3f5967; background: var(--copy-soft); white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
.user-copy-target-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
|
|
.user-copy-hide { margin-bottom: 7px; display: inline-flex; align-items: center; gap: 6px; color: #6f8490; font-size: 11px; }
|
|
.user-copy-target textarea { min-height: 78px; resize: vertical; }
|
|
.user-copy-parameters { margin: 7px 0 0; color: #8a6c25; font: 11px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; }
|
|
.user-copy-validation-error { margin: 7px 0 0; color: #a04450; font-size: 11px; line-height: 1.55; }
|
|
.user-copy-entry-actions { margin-top: 13px; display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
|
|
.user-copy-empty { margin: 0; padding: 48px 12px; color: var(--copy-muted); text-align: center; }
|
|
.user-copy-catalog[aria-busy="true"] .user-copy-list { opacity: .58; }
|
|
.user-copy-list { transition: opacity .16s ease; }
|
|
.user-copy-pagination { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--copy-line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
|
|
.user-copy-pagination p { margin: 0; color: var(--copy-muted); font-size: 12px; }
|
|
.user-copy-pagination .btn { min-width: 112px; }
|
|
.user-copy-preview,.user-copy-history,.user-copy-locales { width: min(520px, 100vw); height: 100vh; padding: 22px; position: fixed; z-index: 1061; top: 0; right: 0; background: #fff; box-shadow: -18px 0 50px rgba(22, 49, 64, .16); overflow-y: auto; }
|
|
.user-copy-preview[hidden],.user-copy-history[hidden],.user-copy-locales[hidden],.user-copy-backdrop[hidden] { display: none; }
|
|
.user-copy-preview > header,.user-copy-history > header,.user-copy-locales > header { margin-bottom: 18px; padding-bottom: 15px; border-bottom: 1px solid var(--copy-line); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
|
|
.user-copy-preview header span,.user-copy-history header span,.user-copy-locales header span { color: var(--copy-teal); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
|
|
.user-copy-preview h2,.user-copy-history h2,.user-copy-locales h2 { margin: 4px 0 0; color: var(--copy-ink); font-size: 20px; }
|
|
.user-copy-preview header button,.user-copy-history header button,.user-copy-locales > header button { width: 38px; height: 38px; border: 0; border-radius: 50%; color: #617986; background: transparent; font-size: 21px; }
|
|
.user-copy-preview > p { color: var(--copy-muted); font-size: 12px; line-height: 1.7; }
|
|
.user-copy-preview iframe { width: 100%; min-height: 360px; border: 1px solid var(--copy-line); border-radius: 11px; background: #f4f7f9; }
|
|
.user-copy-backdrop { padding: 0; border: 0; position: fixed; z-index: 1060; inset: 0; background: rgba(14, 35, 47, .34); }
|
|
body.user-copy-drawer-open { overflow: hidden; }
|
|
.user-copy-history-empty { padding: 42px 12px; color: var(--copy-muted); text-align: center; }
|
|
.user-copy-history-item { padding: 15px 0; border-bottom: 1px solid var(--copy-line); }
|
|
.user-copy-history-item > div { display: flex; justify-content: space-between; gap: 12px; }
|
|
.user-copy-history-item time { color: var(--copy-muted); font-size: 11px; }
|
|
.user-copy-history-item p { margin: 10px 0; color: #4e6875; white-space: pre-wrap; }
|
|
.user-copy-locales > p { margin: 0 0 17px; color: var(--copy-muted); font-size: 12px; line-height: 1.7; }
|
|
.user-copy-locale-list { margin-bottom: 20px; display: grid; gap: 9px; }
|
|
.user-copy-locale-item { padding: 12px 13px; border: 1px solid var(--copy-line); border-radius: 10px; background: var(--copy-soft); display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; }
|
|
.user-copy-locale-item > div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
|
|
.user-copy-locale-item strong { color: var(--copy-ink); overflow-wrap: anywhere; }
|
|
.user-copy-locale-item code { color: var(--copy-muted); font-size: 11px; }
|
|
.user-copy-locale-state { padding: 4px 8px; border-radius: 999px; font-size: 10px; font-weight: 750; white-space: nowrap; }
|
|
.user-copy-locale-state.is-enabled { color: #168058; background: #e5f7ef; }
|
|
.user-copy-locale-state.is-disabled { color: #7b6b75; background: #eceff1; }
|
|
.user-copy-locale-form { padding: 17px; border: 1px solid var(--copy-line); border-radius: 12px; background: #fff; display: grid; gap: 14px; }
|
|
.user-copy-locale-form-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
|
|
.user-copy-locale-form-heading span { color: var(--copy-teal); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
|
|
.user-copy-locale-form-heading h3 { margin: 3px 0 0; color: var(--copy-ink); font-size: 17px; }
|
|
.user-copy-locale-form > label > span { margin-bottom: 6px; color: var(--copy-muted); display: block; font-size: 11px; font-weight: 750; }
|
|
.user-copy-locale-form input[readonly] { color: #657d89; background: var(--copy-soft); }
|
|
.user-copy-locale-enabled { padding: 11px 12px; border: 1px solid #e3eaed; border-radius: 9px; display: flex; align-items: flex-start; gap: 10px; }
|
|
.user-copy-locale-enabled input { margin-top: 3px; }
|
|
.user-copy-locale-enabled span { margin: 0 !important; }
|
|
.user-copy-locale-enabled strong,.user-copy-locale-enabled small { display: block; }
|
|
.user-copy-locale-enabled strong { color: var(--copy-ink); font-size: 12px; }
|
|
.user-copy-locale-enabled small { margin-top: 3px; color: var(--copy-muted); font-size: 10px; line-height: 1.55; }
|
|
.user-copy-locale-form-feedback { min-height: 18px; margin: 0; color: var(--copy-muted); font-size: 11px; line-height: 1.55; }
|
|
.user-copy-locale-form-feedback.is-error { color: #a04450; }
|
|
.user-copy-locale-form-feedback.is-success { color: #168058; }
|
|
|
|
@media (max-width: 991.98px) {
|
|
.user-copy-toolbar { grid-template-columns: 1fr 1fr; }
|
|
.user-copy-toolbar-note { grid-column: 1 / -1; }
|
|
.user-copy-catalog-head { align-items: stretch; flex-direction: column; }
|
|
.user-copy-readiness { grid-template-columns: 1fr; }
|
|
.user-copy-filters { justify-content: flex-start; }
|
|
.user-copy-entry-columns { grid-template-columns: 1fr; }
|
|
}
|
|
@media (max-width: 575.98px) {
|
|
.user-copy-page-actions,.user-copy-page-actions .btn { width: 100%; }
|
|
.user-copy-page-actions .admin-config-status { width: 100%; text-align: center; }
|
|
.user-copy-toolbar { padding: 14px; grid-template-columns: 1fr; }
|
|
.user-copy-toolbar-note { grid-column: auto; }
|
|
.user-copy-coverage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
.user-copy-progress { grid-column: 1 / -1; }
|
|
.user-copy-coverage > p { margin-top: 0; grid-column: 1 / -1; }
|
|
.user-copy-readiness-counts { grid-template-columns: 1fr; }
|
|
.user-copy-filters,.user-copy-search,.user-copy-filters label,.user-copy-filters .form-select { width: 100%; min-width: 0; }
|
|
.user-copy-entry { padding: 14px; }
|
|
.user-copy-entry-actions > .btn { flex: 1 1 calc(50% - 8px); }
|
|
.user-copy-pagination { align-items: stretch; flex-direction: column; }
|
|
.user-copy-pagination .btn { width: 100%; }
|
|
.user-copy-preview,.user-copy-history,.user-copy-locales { padding: 17px; }
|
|
.user-copy-locale-item { grid-template-columns: minmax(0, 1fr) auto; }
|
|
.user-copy-locale-item .btn { grid-column: 1 / -1; }
|
|
.user-copy-locale-form-heading { align-items: stretch; flex-direction: column; }
|
|
}
|