feat(category): 类目树、类目属性、属性字典维护系统构建完成
This commit is contained in:
@@ -1,32 +1,192 @@
|
||||
.system-catalog-page { display: grid; gap: 16px; }
|
||||
.system-catalog-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
|
||||
.system-catalog-heading .ant-typography { margin-bottom: 2px; }
|
||||
.system-catalog-platform-select { min-width: 190px; }
|
||||
.system-catalog-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
|
||||
.system-catalog-summary .ant-card-body { padding: 16px 20px; }
|
||||
.system-catalog-summary .ant-statistic-content { font-size: 19px; }
|
||||
.system-catalog-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
|
||||
.system-catalog-browser { display: grid; grid-template-columns: minmax(280px, 34%) minmax(0, 1fr); gap: 16px; align-items: stretch; }
|
||||
.system-catalog-category-card, .system-catalog-attribute-card { min-width: 0; }
|
||||
.system-catalog-tree-panel { display: grid; gap: 12px; max-height: 620px; overflow: auto; }
|
||||
.system-catalog-tree-panel .ant-tree { min-width: 0; }
|
||||
.system-catalog-tree-label { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; flex-wrap: wrap; white-space: normal; }
|
||||
.system-catalog-tree-label .ant-typography { font-size: 12px; }
|
||||
.system-catalog-attribute-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; white-space: normal; overflow-wrap: anywhere; }
|
||||
.system-catalog-attribute-name .ant-typography:last-child { font-size: 12px; }
|
||||
.system-catalog-attribute-tags { display: flex; flex-wrap: wrap; gap: 4px; }
|
||||
.system-catalog-attribute-tags .ant-tag { margin: 0; }
|
||||
.system-catalog-values-link { padding-inline: 0; }
|
||||
.system-catalog-values-content { width: 100%; }
|
||||
.system-catalog-wrap { white-space: normal; overflow-wrap: anywhere; }
|
||||
.system-catalog-panel-loading { display: grid; min-height: 160px; place-items: center; }
|
||||
.system-catalog-source-info { margin-bottom: 16px; }
|
||||
.system-catalog-page {
|
||||
display: grid;
|
||||
gap: 16px;
|
||||
}
|
||||
.system-catalog-heading {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
}
|
||||
.system-catalog-heading .ant-typography {
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
.system-catalog-platform-select {
|
||||
min-width: 190px;
|
||||
}
|
||||
.system-catalog-summary {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 12px;
|
||||
}
|
||||
.system-catalog-summary .ant-card-body {
|
||||
padding: 16px 20px;
|
||||
}
|
||||
.system-catalog-summary .ant-statistic-content {
|
||||
font-size: 19px;
|
||||
}
|
||||
.system-catalog-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.system-catalog-page .ant-input-number {
|
||||
width: 96px;
|
||||
}
|
||||
.system-catalog-policy-modal .ant-input-number {
|
||||
width: 100%;
|
||||
}
|
||||
.system-catalog-policy-info {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.system-catalog-policy-loading {
|
||||
display: grid;
|
||||
min-height: 220px;
|
||||
place-items: center;
|
||||
}
|
||||
.system-catalog-cache-summary {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 12px 18px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.system-catalog-cache-summary > span {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.system-catalog-cache-summary .ant-tag {
|
||||
margin-inline-end: 0;
|
||||
}
|
||||
.system-catalog-batch-actions {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.system-catalog-active-batch-note {
|
||||
margin: 0 0 12px;
|
||||
}
|
||||
.system-catalog-batch-table {
|
||||
margin-top: 6px;
|
||||
}
|
||||
.system-catalog-batch-progress {
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
min-width: 260px;
|
||||
}
|
||||
.system-catalog-batch-progress .ant-progress {
|
||||
margin: 0;
|
||||
}
|
||||
.system-catalog-browser {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(280px, 34%) minmax(0, 1fr);
|
||||
gap: 16px;
|
||||
align-items: stretch;
|
||||
}
|
||||
.system-catalog-category-card,
|
||||
.system-catalog-attribute-card {
|
||||
min-width: 0;
|
||||
}
|
||||
.system-catalog-tree-panel {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 620px;
|
||||
min-height: 0;
|
||||
}
|
||||
.system-catalog-tree-search {
|
||||
flex: 0 0 auto;
|
||||
padding-bottom: 12px;
|
||||
background: #fff;
|
||||
z-index: 1;
|
||||
}
|
||||
.system-catalog-tree-scroll {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
overflow: auto;
|
||||
overscroll-behavior: contain;
|
||||
}
|
||||
.system-catalog-tree-scroll .ant-tree {
|
||||
min-width: 0;
|
||||
}
|
||||
.system-catalog-tree-label {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
max-width: 100%;
|
||||
flex-wrap: wrap;
|
||||
white-space: normal;
|
||||
}
|
||||
.system-catalog-tree-label .ant-typography {
|
||||
font-size: 12px;
|
||||
}
|
||||
.system-catalog-attribute-name {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
min-width: 0;
|
||||
white-space: normal;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.system-catalog-attribute-name .ant-typography:last-child {
|
||||
font-size: 12px;
|
||||
}
|
||||
.system-catalog-attribute-tags {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 4px;
|
||||
}
|
||||
.system-catalog-attribute-tags .ant-tag {
|
||||
margin: 0;
|
||||
}
|
||||
.system-catalog-values-link {
|
||||
padding-inline: 0;
|
||||
}
|
||||
.system-catalog-dictionary-cell {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
}
|
||||
.system-catalog-dictionary-cell .ant-tag {
|
||||
margin-inline-end: 0;
|
||||
}
|
||||
.system-catalog-values-content {
|
||||
width: 100%;
|
||||
}
|
||||
.system-catalog-wrap {
|
||||
white-space: normal;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.system-catalog-panel-loading {
|
||||
display: grid;
|
||||
min-height: 160px;
|
||||
place-items: center;
|
||||
}
|
||||
.system-catalog-source-info {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
@media (max-width: 1100px) {
|
||||
.system-catalog-browser { grid-template-columns: 1fr; }
|
||||
.system-catalog-tree-panel { max-height: 340px; }
|
||||
.system-catalog-summary {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
.system-catalog-browser {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
.system-catalog-tree-panel {
|
||||
height: 340px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 700px) {
|
||||
.system-catalog-heading { align-items: stretch; flex-direction: column; }
|
||||
.system-catalog-summary { grid-template-columns: 1fr; }
|
||||
.system-catalog-platform-select { flex: 1; }
|
||||
.system-catalog-heading {
|
||||
align-items: stretch;
|
||||
flex-direction: column;
|
||||
}
|
||||
.system-catalog-summary {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
.system-catalog-platform-select {
|
||||
flex: 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user