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.
virt/web/public/cloud/admin-user-copy.css

82 lines
7.8 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-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-toast-filter { min-height: 38px; padding: 0 11px; border: 1px solid var(--copy-line); border-radius: 9px; display: inline-flex; align-items: center; gap: 7px; color: #526d7a; font-size: 12px; font-weight: 700; cursor: pointer; }
.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-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-preview,.user-copy-history { 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-backdrop[hidden] { display: none; }
.user-copy-preview > header,.user-copy-history > 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 { color: var(--copy-teal); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.user-copy-preview h2,.user-copy-history h2 { margin: 4px 0 0; color: var(--copy-ink); font-size: 20px; }
.user-copy-preview header button,.user-copy-history 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; }
@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-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-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-preview,.user-copy-history { padding: 17px; }
}