.thumbnail { border: 1px solid var(--border-color); border-radius: 0.4375rem; box-shadow: 0 1px 3px rgb(0 0 0 / 10%); margin: 0 auto 0.875rem; } ::ng-deep .metapicker .thumbnail { img { border-radius: 0.4375rem; max-height: 12.25rem; max-width: 10em; } @media (width <= 768px) { margin-bottom: 0; } } .metapicker div.thumbnail { background-color: var(--p-inputtext-disabled-background); color: var(--p-inputtext-disabled-color); width: 7.875rem; height: 12.25rem; padding: 0.875rem; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; } ::ng-deep .metaeditor img.thumbnail { border-radius: 0.4375rem; max-width: 100%; max-height: 100%; height: auto; width: auto; @media (width <= 768px) { max-height: 14em; } } .metaeditor .arrow-button { padding: 0; } .thumbnail.changed, input.changed, textarea.changed, ::ng-deep p-datepicker.changed input, ::ng-deep p-autocomplete.changed ul.p-autocomplete-input-multiple { border: 1px solid var(--p-button-outlined-warn-border-color) !important; } ::ng-deep .p-inputchips { width: 100% !important; } ::ng-deep .p-autocomplete .p-chip .p-chip-label { font-size: 12px; } ::ng-deep .p-autocomplete-input-chip { width: 1.75rem; } .metapicker, .metaeditor { box-sizing: border-box; display: flex; width: 100%; } .metapicker { flex-direction: column; } .form-scroll { flex-grow: 1; overflow: auto; } .field-label { font-size: var(--app-text-sm); @media (width >= 768px) { width: 7rem; } } .field-label-fixed { width: 7rem; } .column-headers { display: flex; align-items: center; padding: 0.875rem; border-bottom: 1px dotted var(--border-color); @media (width >= 768px) { &::before { content: ''; min-width: 7rem; flex-shrink: 0; } } .column-label { display: flex; align-items: center; flex: 1; color: var(--text-color-secondary); font-size: var(--app-text-sm); &.current { justify-content: flex-end; padding-right: 0.875rem; } &.fetched { justify-content: flex-start; padding-left: 0.875rem; } } .column-actions { display: flex; align-items: center; justify-content: center; gap: 0.4375rem; flex-shrink: 0; } } .thumbnail-row { display: flex; width: 100%; align-items: center; justify-content: center; } .thumbnail-column { display: flex; width: 50%; } .no-cover-text { font-size: var(--app-text-sm); } .full-width { width: 100%; } .metabody { display: flex; flex-direction: column; padding: 0.875rem; @media (width >= 768px) { flex-direction: row; } } .editor-thumbnail-wrapper { display: flex; align-items: flex-start; justify-content: center; @media (width >= 768px) { width: 20%; height: 100%; } } .editor-thumbnail-inner { width: 100%; @media (width >= 768px) { height: 100%; } } .editor-thumbnail-img { width: 100%; object-fit: contain; @media (width >= 768px) { height: 100%; } } .editor-metacontent { @media (width >= 768px) { width: 80%; } } .field-input-row { display: flex; width: 100%; } .metapicker label, .metaeditor label, .missingmd { color: var(--text-color-secondary); } ::ng-deep .metapicker { .dest, .src { width: calc(50% - 1.75rem); } .arrow-button { margin: auto 0.875rem; } @media (width >= 768px) { .arrow-button.nosrc button[disabled] { display: none; } } input.diff, textarea.diff, .p-autocomplete.diff .p-chip-label { color: var(--p-primary-color) !important; } .src .p-chip.p-disabled { color: var(--p-inputtext-disabled-color) !important; opacity: 1; } .src .p-chip-remove-icon { display: none; } .src li.p-autocomplete-input-chip { width: 1px; } } .metaheader { display: flex; align-items: center; border-bottom: 1px dotted var(--border-color); padding: 0.875rem; justify-content: space-between; } .metacontent { padding: 0.875rem; } .metaeditor .metacontent { padding: 0 0 0 0.875rem; @media (width <= 768px) { padding: 0; } ::ng-deep button { border-left-width: 0; border-radius: 0 6px 6px 0; &:disabled { opacity: 1; border-color: var(--p-inputtext-border-color) !important; span { opacity: 0.6; } } } ::ng-deep input, ::ng-deep ul, textarea { border-radius: 6px 0 0 6px; } .field-authors, .field-categories, .field-moods, .field-tags { ::ng-deep button { line-height: 2em; } } } .metadata-status { &.copied { color: rgb(34 197 94); } &.no-metadata { color: rgb(59 130 246); } &.not-applied { color: rgb(239 68 68); } } @media (width >= 768px) { .metapicker .metacontent, .metaeditor .metabody { padding-left: 2.8438rem; } } .meta-row { display: flex; align-items: center; margin-bottom: 0.5em; label { margin: auto 0; } } .meta-fields { display: flex; align-items: center; width: 100%; } .field-description .meta-fields { align-items: stretch; .src { resize: none; } } @media (width <= 768px) { .meta-row { flex-wrap: wrap; margin-bottom: 1em; label { width: 100%; } } .metapicker { .field-thumbnail label { display: none; } .field-title, .field-subtitle, .field-publisher, .field-authors, .field-categories, .field-moods, .field-tags, .field-description, .field-series-name { .meta-fields { flex-wrap: wrap; justify-content: space-between; align-items: flex-start; } .dest { flex: 1 !important; width: auto !important; margin: 0 0 2px; &:not(:only-child) { border-radius: 6px 0 0 6px; ::ng-deep ul { border-radius: 6px 0 0 6px; } } } .arrow-button { margin: 0; padding: 0; } ::ng-deep button { border-left-width: 0; border-radius: 0 6px 6px 0; } .src { width: 100% !important; margin: 0; } } .field-authors, .field-categories, .field-moods, .field-tags { ::ng-deep button { line-height: 2em; } } } } .author-chips-container { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3281rem; padding: 0.3281rem; min-height: 1.9688rem; border: 1px solid var(--p-inputtext-border-color); border-radius: 6px; background: var(--p-inputtext-background); } .author-add-input { flex: 1 1 5.25rem; min-width: 5.25rem; ::ng-deep input { border: none !important; background: transparent !important; padding: 0.2188rem; box-shadow: none !important; outline: none !important; } } .author-chip { display: inline-flex; align-items: center; gap: 0.2188rem; padding: 0.2188rem 0.4375rem; border-radius: 0.875rem; background: var(--p-chip-background); color: var(--p-chip-color); font-size: var(--app-text-sm); cursor: grab; user-select: none; } .main-author-badge { display: inline-flex; align-items: center; justify-content: center; width: 0.875rem; height: 0.875rem; border-radius: 50%; background: var(--p-primary-color); color: var(--p-primary-contrast-color); font-size: 0.525rem; font-weight: 700; flex-shrink: 0; } .author-chip-remove { font-size: 0.5687rem; cursor: pointer; opacity: 0.6; padding: 0.1313rem; &:hover { opacity: 1; } } .cdk-drag-preview { box-sizing: border-box; border-radius: 0.875rem; box-shadow: 0 2px 8px rgb(0 0 0 / 20%); } .cdk-drag-placeholder { opacity: 0.4; } .cdk-drag-animating { transition: transform 200ms ease; }