feat: complete TASK-WP2-07 latest exports

This commit is contained in:
suyx
2026-08-03 01:43:09 +08:00
parent 2bb4f86d04
commit 1b0a05bbcf
20 changed files with 1791 additions and 18 deletions
+109
View File
@@ -1049,6 +1049,106 @@
color: #65655f;
}
.project-latest-exports {
margin-top: 22px;
border: 1px solid #111111;
background: #ffffff;
}
.project-latest-exports > header {
display: flex;
align-items: end;
justify-content: space-between;
gap: 16px;
padding: 18px 20px;
border-bottom: 1px solid #111111;
}
.project-latest-exports h2,
.project-latest-exports p {
margin: 0;
}
.project-latest-exports p {
font-family: Consolas, monospace;
font-size: 11px;
font-weight: 700;
}
.project-latest-exports > header > span {
color: #65655f;
font-size: 12px;
}
.latest-exports-empty {
display: grid;
min-height: 150px;
place-items: center;
gap: 18px;
padding: 28px;
text-align: center;
}
.latest-exports-empty > strong {
font-size: 18px;
}
.latest-exports-empty > div {
display: flex;
gap: 8px;
}
.latest-exports-empty a,
.project-latest-exports li > a {
display: inline-grid;
min-height: 40px;
place-items: center;
padding: 8px 14px;
border: 1px solid #111111;
color: #111111;
background: #ffffff;
font-weight: 800;
text-decoration: none;
}
.latest-exports-empty a:first-child {
background: #f2f500;
}
.project-latest-exports ul {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
margin: 0;
padding: 18px;
list-style: none;
}
.project-latest-exports li {
display: grid;
grid-template-columns: 1fr auto;
align-items: center;
gap: 8px 16px;
padding: 16px;
border: 1px solid #b9b9b1;
}
.project-latest-exports li > div {
display: flex;
align-items: baseline;
gap: 10px;
}
.project-latest-exports li > time {
color: #65655f;
font-size: 12px;
}
.project-latest-exports li > a {
grid-column: 2;
grid-row: 1 / span 2;
}
.project-leave-overlay {
position: fixed;
z-index: 30;
@@ -1330,6 +1430,15 @@
grid-template-columns: 1fr;
}
.project-latest-exports ul {
grid-template-columns: 1fr;
}
.latest-exports-empty > div {
width: 100%;
flex-direction: column;
}
.project-current > .project-placeholder {
min-height: 360px;
}