feat: 收口组件样式并调整移动端侧栏
This commit is contained in:
1 parent
d252d5513f
commit
e6e0f08072
68 files changed
+2717
-2775
No files matched your search
@@ -140,3 +140,73 @@ function clearFilters() {
|
||||
</p>
|
||||
</WorkspacePage>
|
||||
</template>
|
||||
|
||||
<style>
|
||||
/* 本组件专属布局与 Naive 内部结构覆盖。 */
|
||||
@reference "../../styles/styles.css";
|
||||
.page-heading {
|
||||
@apply flex items-center justify-between gap-6 mb-7;
|
||||
}
|
||||
.page-heading h1 {
|
||||
@apply mt-[9px] mx-0 mb-0 text-[27px] font-semibold tracking-[-0.035em] leading-[1.4];
|
||||
}
|
||||
.page-description {
|
||||
@apply mt-[9px] text-muted text-xs leading-[1.7];
|
||||
}
|
||||
@media (max-width: 760px) {
|
||||
.page-heading {
|
||||
@apply items-start flex-col gap-4;
|
||||
}
|
||||
.page-heading h1 {
|
||||
@apply text-[23px];
|
||||
}
|
||||
}
|
||||
.project-table-area {
|
||||
@apply flex-1 min-h-0;
|
||||
}
|
||||
.project-data-table {
|
||||
@apply h-full;
|
||||
}
|
||||
.project-data-table .n-data-table-base-table {
|
||||
@apply flex-1 min-h-0;
|
||||
}
|
||||
.project-index-heading {
|
||||
@apply m-0;
|
||||
}
|
||||
.project-index-heading h1 {
|
||||
@apply text-[22px] font-semibold;
|
||||
}
|
||||
.project-index-toolbar {
|
||||
@apply flex items-center justify-between flex-wrap gap-3 mb-1;
|
||||
}
|
||||
.project-search {
|
||||
@apply w-[240px];
|
||||
}
|
||||
.project-status-filters.n-radio-group {
|
||||
@apply flex flex-wrap h-auto min-h-(--n-height) gap-y-1 gap-x-px;
|
||||
}
|
||||
.project-status-filters .n-radio-group__splitor {
|
||||
@apply hidden;
|
||||
}
|
||||
.project-status-filters .n-radio-button {
|
||||
@apply min-w-[76px] px-[18px] text-center;
|
||||
}
|
||||
.project-name-cell {
|
||||
@apply block min-w-0;
|
||||
}
|
||||
.project-name-cell strong,
|
||||
.project-name-cell small {
|
||||
@apply block overflow-hidden text-ellipsis whitespace-nowrap;
|
||||
}
|
||||
.project-name-cell small {
|
||||
@apply text-muted mt-1 text-[11px];
|
||||
}
|
||||
@media (max-width: 760px) {
|
||||
.project-search {
|
||||
@apply w-full;
|
||||
}
|
||||
.project-index-toolbar .n-radio-group {
|
||||
@apply w-full;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user