diff --git a/src/main/resources/templates/admin/project_list.ftl b/src/main/resources/templates/admin/project_list.ftl index 0fc0977..5d53f28 100644 --- a/src/main/resources/templates/admin/project_list.ftl +++ b/src/main/resources/templates/admin/project_list.ftl @@ -89,7 +89,7 @@ .search-table { position: relative; width: 100%; - padding: 12px 0 0; + padding: 6px 0 0; border: 1px solid #d8d8d8; border-radius: 4px; } @@ -99,25 +99,45 @@ .search-table .st-row { position: relative; width: 100%; - justify-content: space-between; + justify-content: flex-start; /*align-items: center;*/ - padding: 0 12px 12px; - margin-bottom: 12px; + padding: 0 6px 6px; + margin-bottom: 6px; border-bottom: 1px solid #d8d8d8; } .search-table .tools-row { position: relative; width: 100%; justify-content: flex-end; - padding-right: 12px; - margin-bottom: 12px; + padding-right: 6px; + margin-bottom: 6px; } .tools-row button { margin-left: 12px; } + /* 默认5等分,一行5个 */ .st-row .st-col { position: relative; + flex: 0 0 18%; + margin-right: 2%; + } + /* 4等分,一行4个 */ + .st-col.st-col-4 { flex: 0 0 22%; + margin-right: 3%; + } + /* 3等分,一行3个 */ + .st-col.st-col-3 { + flex: 0 0 31%; + margin-right: 2.3%; + } + /* 2等分,一行2个 */ + .st-col.st-col-2 { + flex: 0 0 48%; + margin-right: 2%; + } + .st-col.hidden { + display: none; } .st-col .st-col-title { font-size: 14px; @@ -126,6 +146,12 @@ white-space: nowrap; font-weight: bold; } + .st-col .st-col-field { + align-items: center; + } + .st-col .mid-connect { + margin: 0 4px; + } .expand-section { display: block; } @@ -165,9 +191,6 @@ - - -