initial commit
This commit is contained in:
+387
@@ -0,0 +1,387 @@
|
||||
:root {
|
||||
--porcelain-ink: #18344f;
|
||||
--porcelain-muted: #55718c;
|
||||
--porcelain-blue: #5b8ecf;
|
||||
--porcelain-blue-deep: #356fa8;
|
||||
--porcelain-line: rgba(104, 154, 199, 0.24);
|
||||
--porcelain-surface: rgba(255, 255, 255, 0.84);
|
||||
--porcelain-frost: rgba(235, 247, 255, 0.76);
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
min-height: 100%;
|
||||
color: var(--porcelain-ink);
|
||||
background:
|
||||
radial-gradient(circle at 18% 8%, rgba(183, 226, 245, 0.58), transparent 27rem),
|
||||
radial-gradient(circle at 84% 16%, rgba(212, 233, 248, 0.78), transparent 24rem),
|
||||
linear-gradient(145deg, #fafdff 0%, #edf7ff 48%, #f8fbff 100%);
|
||||
font-family: Inter, "Noto Sans SC", "Microsoft YaHei", sans-serif;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--porcelain-blue-deep);
|
||||
}
|
||||
|
||||
h1:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.porcelain-main {
|
||||
position: relative;
|
||||
min-height: 100vh;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.porcelain-main::before {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 0;
|
||||
pointer-events: none;
|
||||
content: "";
|
||||
background-image:
|
||||
linear-gradient(120deg, rgba(94, 142, 195, 0.07) 1px, transparent 1px),
|
||||
linear-gradient(30deg, rgba(94, 142, 195, 0.05) 1px, transparent 1px);
|
||||
background-size: 58px 58px, 74px 74px;
|
||||
mask-image: linear-gradient(to bottom, black, transparent 92%);
|
||||
}
|
||||
|
||||
.content-shell {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
width: min(1180px, calc(100% - 32px));
|
||||
margin: 0 auto;
|
||||
padding: 88px 0 56px;
|
||||
}
|
||||
|
||||
.decor {
|
||||
position: fixed;
|
||||
z-index: 0;
|
||||
pointer-events: none;
|
||||
border: 1px solid rgba(91, 142, 207, 0.2);
|
||||
background: rgba(255, 255, 255, 0.28);
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
|
||||
.decor-a {
|
||||
top: 112px;
|
||||
right: 9vw;
|
||||
width: 98px;
|
||||
height: 98px;
|
||||
box-shadow: 0 0 34px rgba(148, 205, 232, 0.26);
|
||||
}
|
||||
|
||||
.decor-b {
|
||||
bottom: 120px;
|
||||
left: 5vw;
|
||||
width: 62px;
|
||||
height: 62px;
|
||||
}
|
||||
|
||||
.page-heading {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) 220px;
|
||||
gap: 24px;
|
||||
align-items: end;
|
||||
margin-bottom: 22px;
|
||||
}
|
||||
|
||||
.page-heading.compact {
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.page-heading h1,
|
||||
.page-heading .mud-typography-h1 {
|
||||
margin-bottom: 6px;
|
||||
font-size: 2.45rem;
|
||||
line-height: 1.12;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
.asset-slot {
|
||||
min-height: 128px;
|
||||
border: 1px solid var(--porcelain-line);
|
||||
border-radius: 8px;
|
||||
color: var(--porcelain-muted);
|
||||
background:
|
||||
linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(227, 244, 253, 0.72)),
|
||||
repeating-linear-gradient(120deg, transparent 0 12px, rgba(91, 142, 207, 0.08) 12px 13px);
|
||||
}
|
||||
|
||||
.character-slot {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
gap: 4px;
|
||||
text-align: center;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.character-slot .mud-icon-root {
|
||||
color: var(--porcelain-blue);
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.search-panel,
|
||||
.admin-panel,
|
||||
.admin-login-panel,
|
||||
.song-card,
|
||||
.empty-state {
|
||||
border: 1px solid var(--porcelain-line);
|
||||
border-radius: 8px;
|
||||
background: var(--porcelain-surface);
|
||||
box-shadow: 0 18px 50px rgba(61, 111, 154, 0.11);
|
||||
backdrop-filter: blur(16px);
|
||||
}
|
||||
|
||||
.search-panel {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
margin-bottom: 22px;
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
.active-filter,
|
||||
.tag-cloud,
|
||||
.song-tags {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.song-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.song-card {
|
||||
display: grid;
|
||||
gap: 16px;
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
.song-card-main {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.song-card-main h6,
|
||||
.song-card-main .mud-typography-h6 {
|
||||
overflow-wrap: anywhere;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
.song-card-actions,
|
||||
.viewer-tag-row,
|
||||
.admin-add-row,
|
||||
.admin-actions,
|
||||
.panel-title-row {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.viewer-tag-row,
|
||||
.admin-add-row {
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.viewer-tag-row .mud-input-control,
|
||||
.admin-add-row .mud-input-control {
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
.loading-row,
|
||||
.empty-state {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
gap: 12px;
|
||||
min-height: 220px;
|
||||
padding: 28px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.admin-page,
|
||||
.song-page {
|
||||
display: grid;
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
.admin-panel {
|
||||
display: grid;
|
||||
gap: 16px;
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
.panel-title-row {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.admin-list,
|
||||
.tag-admin-list {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.admin-list-item,
|
||||
.tag-admin-item {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
padding: 14px;
|
||||
border: 1px solid rgba(104, 154, 199, 0.18);
|
||||
border-radius: 8px;
|
||||
background: rgba(248, 252, 255, 0.68);
|
||||
}
|
||||
|
||||
.admin-list-item.is-hidden {
|
||||
opacity: 0.68;
|
||||
}
|
||||
|
||||
.admin-song-tags {
|
||||
min-height: 32px;
|
||||
}
|
||||
|
||||
.admin-muted {
|
||||
padding: 12px 0;
|
||||
}
|
||||
|
||||
.admin-login-page {
|
||||
min-height: calc(100vh - 180px);
|
||||
display: grid;
|
||||
place-items: center;
|
||||
}
|
||||
|
||||
.admin-login-panel {
|
||||
display: grid;
|
||||
gap: 18px;
|
||||
width: min(420px, 100%);
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.native-form {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.native-field {
|
||||
display: grid;
|
||||
gap: 7px;
|
||||
color: var(--porcelain-muted);
|
||||
font-size: 0.92rem;
|
||||
}
|
||||
|
||||
.native-field input {
|
||||
min-height: 48px;
|
||||
width: 100%;
|
||||
padding: 0 14px;
|
||||
border: 1px solid rgba(85, 113, 140, 0.44);
|
||||
border-radius: 8px;
|
||||
color: var(--porcelain-ink);
|
||||
background: rgba(255, 255, 255, 0.72);
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
.native-field input:focus {
|
||||
outline: 2px solid rgba(91, 142, 207, 0.24);
|
||||
border-color: var(--porcelain-blue);
|
||||
}
|
||||
|
||||
.valid.modified:not([type=checkbox]) {
|
||||
outline: 1px solid #26b050;
|
||||
}
|
||||
|
||||
.invalid {
|
||||
outline: 1px solid #e50000;
|
||||
}
|
||||
|
||||
.validation-message {
|
||||
color: #e50000;
|
||||
}
|
||||
|
||||
.blazor-error-boundary {
|
||||
padding: 1rem;
|
||||
color: white;
|
||||
background: #b32121;
|
||||
}
|
||||
|
||||
.blazor-error-boundary::after {
|
||||
content: "An error has occurred.";
|
||||
}
|
||||
|
||||
#blazor-error-ui {
|
||||
display: none;
|
||||
position: fixed;
|
||||
right: 16px;
|
||||
bottom: 16px;
|
||||
z-index: 10000;
|
||||
max-width: min(420px, calc(100% - 32px));
|
||||
padding: 12px 16px;
|
||||
border-radius: 8px;
|
||||
color: white;
|
||||
background: #8d2733;
|
||||
box-shadow: 0 12px 32px rgba(30, 50, 70, 0.24);
|
||||
}
|
||||
|
||||
#blazor-error-ui .reload {
|
||||
margin-left: 8px;
|
||||
color: white;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
#blazor-error-ui .dismiss {
|
||||
margin-left: 12px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.content-shell {
|
||||
width: min(100% - 24px, 720px);
|
||||
padding-top: 76px;
|
||||
}
|
||||
|
||||
.page-heading,
|
||||
.page-heading.compact {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.character-slot {
|
||||
min-height: 72px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.song-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 560px) {
|
||||
.content-shell {
|
||||
width: min(100% - 18px, 480px);
|
||||
padding-bottom: 34px;
|
||||
}
|
||||
|
||||
.page-heading h1,
|
||||
.page-heading .mud-typography-h1 {
|
||||
font-size: 1.85rem;
|
||||
}
|
||||
|
||||
.search-panel,
|
||||
.admin-panel,
|
||||
.song-card,
|
||||
.admin-login-panel {
|
||||
padding: 14px;
|
||||
}
|
||||
|
||||
.song-card-actions,
|
||||
.viewer-tag-row,
|
||||
.admin-add-row,
|
||||
.admin-actions {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.song-card-actions .mud-button-root,
|
||||
.admin-actions .mud-button-root {
|
||||
flex: 1 1 136px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user