feat: 收口组件样式并调整移动端侧栏

This commit is contained in:
GJ committed 2026-09-04 17:19:34 +08:00
1 parent d252d5513f
commit e6e0f08072
68 files changed
+2717 -2775

No files matched your search

@@ -106,3 +106,52 @@ const purposeLabels: Record<string, string> = {
/>
</div>
</template>
<style>
/* 本组件专属布局与 Naive 内部结构覆盖。 */
@reference "../../../styles/styles.css";
.beat-section {
@apply mt-[25px] pt-[23px];
}
.beat-heading {
@apply flex items-center gap-2.5;
}
.beat-number {
@apply text-muted font-mono text-[11px];
}
.shot-row {
@apply flex gap-[17px] p-[17px] rounded-none bg-(--app-subtle);
}
.shot-label {
@apply shrink-0 w-[47px] text-[10px] text-muted;
}
@media (max-width: 760px) {
.shot-row {
@apply gap-3 p-[13px];
}
}
.breakdown-storyboard {
@apply pt-4 px-5 pb-5;
}
.breakdown-storyboard-toolbar {
@apply flex items-center justify-between flex-wrap gap-y-3 gap-x-6 mb-4;
}
.breakdown-episode-picker {
@apply flex items-center gap-3 flex-[0_1_420px] min-w-0 text-sm;
}
.breakdown-episode-picker > span {
@apply shrink-0 whitespace-nowrap;
}
.breakdown-episode-picker .n-select {
@apply flex-1 min-w-0;
}
.breakdown-storyboard-summary {
@apply flex items-center flex-wrap gap-y-2 gap-x-5 min-h-[34px] ml-auto;
}
.breakdown-storyboard-count {
@apply text-muted text-xs whitespace-nowrap;
}
.breakdown-storyboard-summary .text-button {
@apply min-h-[34px] whitespace-nowrap;
}
</style>
@@ -117,3 +117,35 @@ const filtered = computed(() =>
/>
</div>
</template>
<style>
/* 本组件专属布局与 Naive 内部结构覆盖。 */
@reference "../../../styles/styles.css";
.subject-record-list > article:nth-child(odd) {
@apply bg-(--app-control);
}
.subject-form-card {
@apply mt-3 p-4 min-w-0 wrap-anywhere bg-(--app-subtle);
}
.subject-record-list > article:nth-child(even) .subject-form-card {
@apply bg-(--app-control);
}
.subject-details summary {
@apply inline-flex items-center gap-[5px] text-ink text-[11px] list-none;
}
.subject-details summary::-webkit-details-marker {
@apply hidden;
}
.subject-details[open] summary svg {
@apply rotate-180;
}
.subject-list-toolbar {
@apply flex flex-wrap items-center justify-start gap-y-2.5 gap-x-3 mb-5;
}
.subject-list-search.n-input {
@apply flex-[0_1_260px] min-w-0 max-w-full;
}
.subject-list-count {
@apply shrink-0 text-muted text-xs whitespace-nowrap;
}
</style>