Open Source

This commit is contained in:
2025-04-22 09:11:40 +08:00
commit a4bf39a958
14 changed files with 1043 additions and 0 deletions

115
frontend/v2/style.css Normal file
View File

@@ -0,0 +1,115 @@
body {
margin: 0;
font-family: "Segoe UI", sans-serif;
background-color: #f0f2f5;
}
.container {
display: flex;
height: 100vh;
}
.sidebar {
width: 320px;
background: #fff;
border-right: 1px solid #ddd;
padding: 1rem;
overflow-y: auto;
}
.sidebar input {
width: 100%;
padding: 0.5rem;
margin-bottom: 1rem;
font-size: 1rem;
}
.sidebar ul {
list-style: none;
padding: 0;
margin: 0;
}
.sidebar li {
padding: 0.5rem;
margin-bottom: 0.5rem;
cursor: pointer;
border-radius: 6px;
display: flex;
align-items: center;
gap: 1rem;
transition: background 0.2s;
}
.sidebar li:hover,
.sidebar li.active {
background-color: #e6f7ff;
}
.sidebar img.thumb {
width: 48px;
height: 48px;
object-fit: cover;
border-radius: 4px;
}
.content {
flex: 1;
padding: 2rem;
overflow-y: auto;
}
.placeholder {
font-size: 1.2rem;
color: #999;
}
.hidden {
display: none;
}
#galleryWrapper {
margin-top: 1rem;
}
#galleryWrapper a img {
height: 120px;
margin: 5px;
object-fit: cover;
border-radius: 4px;
}
#detailTags {
margin-bottom: 1rem;
color: #666;
font-size: 0.9rem;
}
#downloadBlock {
margin: 1rem 0;
}
.download-btn {
padding: 0.5rem 1rem;
background-color: #4caf50;
color: white;
border-radius: 6px;
text-decoration: none;
font-size: 0.95rem;
}
.download-btn:hover {
background-color: #45a049;
}
#versionTableWrapper table {
margin-top: 1rem;
width: 100%;
border-collapse: collapse;
}
#versionTableWrapper th,
#versionTableWrapper td {
padding: 0.5rem;
border: 1px solid #ccc;
}