改新主题之前的提交

This commit is contained in:
Codex
2026-04-26 19:55:59 +08:00
parent ba0481a2b4
commit 4e3fb17202
67 changed files with 4552 additions and 1409 deletions
+104
View File
@@ -455,6 +455,110 @@ html[data-theme] .blocks-field__block {
border-radius: 8px;
}
html[data-theme] .compact-array-field .array-field__draggable-rows,
html[data-theme] .compact-array-field .array-field__rows {
gap: 6px;
}
html[data-theme] .compact-array-field .array-field__row {
border: 1px solid rgba(84, 60, 34, 0.1);
background: rgba(255, 255, 255, 0.72);
box-shadow: 0 6px 18px rgba(45, 31, 18, 0.035);
}
html[data-theme] .compact-array-field .array-field__row.collapsible {
border: 0;
border-radius: 8px;
background: transparent;
}
html[data-theme] .compact-array-field .array-field__row > .collapsible__toggle-wrap {
min-height: 42px;
border-radius: 8px;
background: transparent;
padding: 6px 8px 6px 10px;
}
html[data-theme] .compact-array-field .array-field__row:not(.collapsible--collapsed) > .collapsible__toggle-wrap {
border-bottom: 1px solid rgba(84, 60, 34, 0.08);
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
background: rgba(255, 252, 247, 0.74);
}
html[data-theme] .compact-array-field .array-field__row .collapsible__content {
padding: 12px;
background: rgba(255, 253, 249, 0.74);
}
html[data-theme] .compact-array-field .array-field__row .collapsible__actions-wrap,
html[data-theme] .compact-array-field .array-field__row .collapsible__indicator,
html[data-theme] .compact-array-field .array-field__row .collapsible__drag {
opacity: 0.58;
transition: opacity 0.16s ease;
}
html[data-theme] .compact-array-field .array-field__row:hover .collapsible__actions-wrap,
html[data-theme] .compact-array-field .array-field__row:hover .collapsible__indicator,
html[data-theme] .compact-array-field .array-field__row:hover .collapsible__drag,
html[data-theme] .compact-array-field .array-field__row:focus-within .collapsible__actions-wrap,
html[data-theme] .compact-array-field .array-field__row:focus-within .collapsible__indicator,
html[data-theme] .compact-array-field .array-field__row:focus-within .collapsible__drag {
opacity: 1;
}
html[data-theme] .compact-array-row-label {
display: grid;
grid-template-columns: auto minmax(0, 1fr);
align-items: center;
gap: 10px;
min-width: 0;
width: 100%;
color: #241c16;
pointer-events: none;
}
html[data-theme] .compact-array-row-label__index {
display: inline-flex;
align-items: center;
justify-content: center;
width: 26px;
height: 24px;
border-radius: 999px;
background: rgba(84, 60, 34, 0.08);
color: rgba(36, 28, 22, 0.58);
font-size: 11px;
font-weight: 600;
letter-spacing: 0.04em;
}
html[data-theme] .compact-array-row-label__body {
display: flex;
min-width: 0;
align-items: baseline;
gap: 8px;
}
html[data-theme] .compact-array-row-label__title {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 13px;
font-weight: 600;
line-height: 1.4;
}
html[data-theme] .compact-array-row-label__meta {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: rgba(36, 28, 22, 0.52);
font-size: 12px;
line-height: 1.4;
}
html[data-theme] .render-fields > .field-type .render-fields > .field-type {
margin-bottom: 4px;
}
+2
View File
@@ -1,3 +1,4 @@
import { CompactArrayRowLabel as CompactArrayRowLabel_2254b697cb2592993885eb4171473cdc } from '@/payload/admin/CompactArrayRowLabel'
import { RscEntryLexicalCell as RscEntryLexicalCell_44fe37237e0ebf4470c9990d8cb7b07e } from '@payloadcms/richtext-lexical/rsc'
import { RscEntryLexicalField as RscEntryLexicalField_44fe37237e0ebf4470c9990d8cb7b07e } from '@payloadcms/richtext-lexical/rsc'
import { LexicalDiffComponent as LexicalDiffComponent_44fe37237e0ebf4470c9990d8cb7b07e } from '@payloadcms/richtext-lexical/rsc'
@@ -26,6 +27,7 @@ import { CollectionCards as CollectionCards_f9c02e79a4aed9a3924487c0cd4cafb1 } f
/** @type import('payload').ImportMap */
export const importMap = {
"@/payload/admin/CompactArrayRowLabel#CompactArrayRowLabel": CompactArrayRowLabel_2254b697cb2592993885eb4171473cdc,
"@payloadcms/richtext-lexical/rsc#RscEntryLexicalCell": RscEntryLexicalCell_44fe37237e0ebf4470c9990d8cb7b07e,
"@payloadcms/richtext-lexical/rsc#RscEntryLexicalField": RscEntryLexicalField_44fe37237e0ebf4470c9990d8cb7b07e,
"@payloadcms/richtext-lexical/rsc#LexicalDiffComponent": LexicalDiffComponent_44fe37237e0ebf4470c9990d8cb7b07e,