mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-01 00:42:49 +08:00
Design store: reserved author names, screenshots, ratings, descriptions
Möpchi/Moepchi can only be used as an author name with a matching STORE_ADMIN_TOKEN bearer token. Submissions can now include an optional description and a manually uploaded screenshot (data URL, capped size), shown on browse cards, plus a simple 1-5 star rating (one vote per IP per theme). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
This commit is contained in:
1 parent
dd8528d3cb
commit
eb7cb78042
7 files changed
+363
-7
No files matched your search
@@ -3378,6 +3378,41 @@
|
||||
background: conic-gradient(from 180deg, #7fb0e8, #ff8fab, #ffd166, #7fb0e8);
|
||||
}
|
||||
|
||||
.ts-design-theme-card-screenshot {
|
||||
width: 100%;
|
||||
border-radius: 4px;
|
||||
border: 1px solid var(--border-soft);
|
||||
object-fit: cover;
|
||||
max-height: 120px;
|
||||
}
|
||||
|
||||
.ts-design-theme-card-rating {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.1rem;
|
||||
margin-top: 0.3rem;
|
||||
}
|
||||
|
||||
.ts-design-theme-card-star {
|
||||
padding: 0;
|
||||
border: none;
|
||||
background: transparent;
|
||||
color: var(--accent);
|
||||
cursor: pointer;
|
||||
font-size: 16px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.ts-design-theme-card-star:disabled {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.ts-design-theme-card-rating-count {
|
||||
margin-left: 0.3rem;
|
||||
font-size: 11px;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.ts-design-theme-card-actions {
|
||||
display: flex;
|
||||
gap: 0.3rem;
|
||||
|
||||
Reference in new issue
Block a user