add list page and multiples optis
All checks were successful
Deploy Sokko G / deploy (push) Successful in 7s
All checks were successful
Deploy Sokko G / deploy (push) Successful in 7s
This commit is contained in:
parent
d9d22683dc
commit
959fa42454
30 changed files with 1015 additions and 45 deletions
|
|
@ -15,25 +15,14 @@
|
|||
}
|
||||
|
||||
.diablo4-home-mark {
|
||||
display: grid;
|
||||
width: 100%;
|
||||
height: 120px;
|
||||
margin: 0;
|
||||
place-items: center;
|
||||
border-bottom: 1px solid rgba(246, 196, 83, 0.42);
|
||||
background: rgba(5, 7, 17, 0.28);
|
||||
color: var(--color-text-primary);
|
||||
}
|
||||
|
||||
.game-home-card .diablo4-home-mark {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.diablo4-home-mark::before {
|
||||
content: "";
|
||||
display: block;
|
||||
width: 72px;
|
||||
height: 72px;
|
||||
width: 82px;
|
||||
height: 82px;
|
||||
background: currentColor;
|
||||
filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.44));
|
||||
mask: url("/static/img/diablo4/cube.svg") center / contain no-repeat;
|
||||
|
|
|
|||
|
|
@ -48,16 +48,32 @@
|
|||
background: rgba(5, 7, 17, 0.28);
|
||||
}
|
||||
|
||||
.game-home-card strong,
|
||||
.game-home-card span {
|
||||
.game-home-card-icon {
|
||||
display: grid;
|
||||
width: 100%;
|
||||
height: 120px;
|
||||
place-items: center;
|
||||
border-bottom: 1px solid rgba(246, 196, 83, 0.42);
|
||||
background: rgba(5, 7, 17, 0.28);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.game-home-card-icon .module-icon-svg {
|
||||
width: 72px;
|
||||
height: 72px;
|
||||
filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.36));
|
||||
}
|
||||
|
||||
.game-home-card > strong,
|
||||
.game-home-card > span:not(.game-home-card-icon) {
|
||||
margin-inline: var(--space-5);
|
||||
}
|
||||
|
||||
.game-home-card strong {
|
||||
.game-home-card > strong {
|
||||
margin-top: var(--space-4);
|
||||
}
|
||||
|
||||
.game-home-card span {
|
||||
.game-home-card > span:not(.game-home-card-icon) {
|
||||
margin-bottom: var(--space-5);
|
||||
}
|
||||
|
||||
|
|
@ -76,6 +92,39 @@
|
|||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.game-breadcrumb {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 9px;
|
||||
margin-bottom: 8px;
|
||||
color: var(--color-accent-gold);
|
||||
font-size: var(--font-size-xs);
|
||||
font-weight: 900;
|
||||
letter-spacing: 0.06em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.game-breadcrumb a {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
color: inherit;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.game-breadcrumb .ui-icon {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
color: var(--color-accent-gold);
|
||||
filter:
|
||||
drop-shadow(0 0 0 currentColor)
|
||||
drop-shadow(0 0 4px rgba(246, 196, 83, 0.22));
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.game-breadcrumb a:hover {
|
||||
color: var(--color-text-primary);
|
||||
}
|
||||
|
||||
.results-count {
|
||||
display: inline-flex;
|
||||
min-height: 28px;
|
||||
|
|
@ -95,6 +144,215 @@
|
|||
min-height: 32px;
|
||||
}
|
||||
|
||||
.game-list-help-link {
|
||||
display: inline-flex;
|
||||
width: fit-content;
|
||||
min-height: 36px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-top: var(--space-3);
|
||||
border-color: rgba(165, 180, 252, 0.18);
|
||||
background: rgba(5, 7, 17, 0.24);
|
||||
color: var(--color-text-secondary);
|
||||
font-size: var(--font-size-sm);
|
||||
font-weight: 800;
|
||||
padding: 7px 12px;
|
||||
}
|
||||
|
||||
.game-list-help-link:hover {
|
||||
border-color: rgba(246, 196, 83, 0.44);
|
||||
background:
|
||||
linear-gradient(135deg, rgba(246, 196, 83, 0.1), rgba(139, 92, 246, 0.08)) padding-box,
|
||||
linear-gradient(135deg, rgba(246, 196, 83, 0.42), rgba(196, 181, 253, 0.22)) border-box;
|
||||
color: var(--color-text-primary);
|
||||
}
|
||||
|
||||
.game-list-selector {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(220px, 300px));
|
||||
justify-content: center;
|
||||
gap: var(--space-4);
|
||||
margin-top: var(--space-6);
|
||||
}
|
||||
|
||||
.game-list-selector-item {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
min-height: 68px;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 8px;
|
||||
border: 1px solid rgba(165, 180, 252, 0.14);
|
||||
border-radius: var(--radius-md);
|
||||
background: rgba(16, 20, 38, 0.58);
|
||||
box-shadow: var(--shadow-sm);
|
||||
}
|
||||
|
||||
.game-list-selector-item:hover,
|
||||
.game-list-selector-item.active {
|
||||
border-color: rgba(246, 196, 83, 0.42);
|
||||
background: rgba(31, 37, 68, 0.72);
|
||||
box-shadow:
|
||||
var(--shadow-sm),
|
||||
0 0 14px rgba(246, 196, 83, 0.1);
|
||||
}
|
||||
|
||||
.game-list-selector-item > button:not(.game-list-create-button) {
|
||||
display: grid;
|
||||
min-height: 48px;
|
||||
align-content: center;
|
||||
gap: 3px;
|
||||
padding: 0 8px;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.game-list-selector-item strong {
|
||||
font-size: var(--font-size-lg);
|
||||
}
|
||||
|
||||
.game-list-selector-item small {
|
||||
color: var(--color-text-muted);
|
||||
font-size: var(--font-size-sm);
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.game-list-selector-item .game-list-create-button {
|
||||
width: 40px;
|
||||
min-width: 40px;
|
||||
min-height: 40px;
|
||||
}
|
||||
|
||||
.game-list-panel {
|
||||
margin-top: var(--space-5);
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.game-list-panel > header,
|
||||
.game-list-category header {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: var(--space-3);
|
||||
padding: var(--space-4);
|
||||
border-bottom: 1px solid rgba(246, 196, 83, 0.32);
|
||||
}
|
||||
|
||||
.game-list-category header {
|
||||
padding: 0 0 var(--space-3);
|
||||
}
|
||||
|
||||
.game-list-panel h2 {
|
||||
margin: 0;
|
||||
font-size: var(--font-size-lg);
|
||||
}
|
||||
|
||||
.game-list-categories {
|
||||
display: grid;
|
||||
gap: var(--space-4);
|
||||
padding: var(--space-4);
|
||||
}
|
||||
|
||||
.game-list-category {
|
||||
display: grid;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
|
||||
.game-list-category:not(:last-child) {
|
||||
padding-bottom: var(--space-4);
|
||||
border-bottom: 1px solid rgba(165, 180, 252, 0.1);
|
||||
}
|
||||
|
||||
.game-list-category h3 {
|
||||
margin: 0;
|
||||
color: var(--color-accent-gold);
|
||||
font-size: var(--font-size-md);
|
||||
}
|
||||
|
||||
.game-list-category ul {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: 8px;
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.game-list-category li {
|
||||
display: grid;
|
||||
gap: 3px;
|
||||
min-height: 58px;
|
||||
align-content: start;
|
||||
padding: 10px 12px;
|
||||
border: 1px solid rgba(165, 180, 252, 0.07);
|
||||
border-radius: var(--radius-md);
|
||||
background: rgba(5, 7, 17, 0.14);
|
||||
}
|
||||
|
||||
.game-list-item-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.game-list-category li strong {
|
||||
color: var(--color-text-primary);
|
||||
}
|
||||
|
||||
.game-list-category li span {
|
||||
color: var(--color-text-muted);
|
||||
font-size: var(--font-size-sm);
|
||||
}
|
||||
|
||||
.game-list-category li em {
|
||||
display: inline-flex;
|
||||
min-height: 20px;
|
||||
align-items: center;
|
||||
padding: 2px 7px;
|
||||
border: 1px solid rgba(246, 196, 83, 0.28);
|
||||
border-radius: var(--radius-pill);
|
||||
background: rgba(246, 196, 83, 0.08);
|
||||
color: var(--color-accent-gold);
|
||||
font-size: var(--font-size-xs);
|
||||
font-style: normal;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.game-list-actions {
|
||||
display: inline-flex;
|
||||
flex: 0 0 auto;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.game-list-create-button {
|
||||
width: 40px;
|
||||
min-width: 40px;
|
||||
min-height: 40px;
|
||||
padding: 0;
|
||||
border-radius: var(--radius-md);
|
||||
}
|
||||
|
||||
.game-list-create-button:disabled {
|
||||
opacity: 0.45;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.game-list-create-button .module-icon {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.game-list-create-button .module-icon-svg {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.game-layout {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
|
||||
|
|
|
|||
|
|
@ -319,7 +319,7 @@ span {
|
|||
}
|
||||
|
||||
.about-story-item > div > p {
|
||||
max-width: 78ch;
|
||||
max-width: 108ch;
|
||||
margin: 0;
|
||||
color: var(--color-text-secondary);
|
||||
line-height: 1.62;
|
||||
|
|
@ -331,6 +331,70 @@ span {
|
|||
padding: var(--space-6);
|
||||
}
|
||||
|
||||
.about-contribute-section {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
|
||||
gap: var(--space-6);
|
||||
scroll-margin-top: var(--space-6);
|
||||
padding: var(--space-6);
|
||||
}
|
||||
|
||||
.about-contribute-content {
|
||||
display: grid;
|
||||
gap: var(--space-4);
|
||||
}
|
||||
|
||||
.about-contribute-content > p {
|
||||
max-width: 112ch;
|
||||
margin: 0;
|
||||
color: var(--color-text-secondary);
|
||||
line-height: 1.62;
|
||||
}
|
||||
|
||||
.about-contribute-content pre,
|
||||
.about-prompt-box {
|
||||
margin: 0;
|
||||
border: 1px solid rgba(165, 180, 252, 0.12);
|
||||
border-radius: var(--radius-md);
|
||||
background: rgba(5, 7, 17, 0.28);
|
||||
}
|
||||
|
||||
.about-contribute-content pre {
|
||||
overflow: auto;
|
||||
padding: var(--space-4);
|
||||
white-space: pre-wrap;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.about-contribute-content code {
|
||||
color: var(--color-text-primary);
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
|
||||
font-size: var(--font-size-sm);
|
||||
line-height: 1.55;
|
||||
white-space: inherit;
|
||||
}
|
||||
|
||||
.about-prompt-box {
|
||||
padding: var(--space-4);
|
||||
}
|
||||
|
||||
.about-prompt-box h3 {
|
||||
margin: 0 0 8px;
|
||||
color: var(--color-accent-gold);
|
||||
font-size: var(--font-size-md);
|
||||
}
|
||||
|
||||
.about-prompt-box p {
|
||||
margin: 0 0 var(--space-3);
|
||||
color: var(--color-text-secondary);
|
||||
line-height: 1.58;
|
||||
}
|
||||
|
||||
.about-prompt-box pre {
|
||||
border-color: rgba(246, 196, 83, 0.16);
|
||||
background: rgba(5, 7, 17, 0.34);
|
||||
}
|
||||
|
||||
.about-tools-list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
|
|
|
|||
|
|
@ -16,6 +16,11 @@
|
|||
-webkit-mask-image: url("/static/icons/open.svg");
|
||||
}
|
||||
|
||||
.ui-icon-home {
|
||||
mask-image: url("/static/icons/home.svg");
|
||||
-webkit-mask-image: url("/static/icons/home.svg");
|
||||
}
|
||||
|
||||
.ui-icon-enter {
|
||||
mask-image: url("/static/icons/enter.svg");
|
||||
-webkit-mask-image: url("/static/icons/enter.svg");
|
||||
|
|
|
|||
|
|
@ -306,6 +306,27 @@ body.is-resizing-drawer * {
|
|||
gap: 10px;
|
||||
}
|
||||
|
||||
.notification-toast {
|
||||
position: fixed;
|
||||
right: var(--space-5);
|
||||
bottom: var(--space-5);
|
||||
z-index: 360;
|
||||
max-width: min(360px, calc(100vw - 32px));
|
||||
padding: 11px 14px;
|
||||
border: 1px solid rgba(246, 196, 83, 0.34);
|
||||
border-radius: var(--radius-md);
|
||||
background:
|
||||
linear-gradient(135deg, rgba(16, 20, 38, 0.94), rgba(24, 20, 42, 0.94)) padding-box,
|
||||
linear-gradient(135deg, rgba(246, 196, 83, 0.48), rgba(139, 92, 246, 0.28)) border-box;
|
||||
color: var(--color-text-primary);
|
||||
box-shadow:
|
||||
var(--shadow-sm),
|
||||
0 0 18px rgba(139, 92, 246, 0.16);
|
||||
font-size: var(--font-size-sm);
|
||||
font-weight: 800;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.tool-add-modal {
|
||||
width: min(560px, calc(100vw - 32px));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,7 +30,8 @@
|
|||
justify-content: center;
|
||||
}
|
||||
|
||||
.about-story-section {
|
||||
.about-story-section,
|
||||
.about-contribute-section {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
|
|
@ -74,6 +75,7 @@
|
|||
.page-hero,
|
||||
.origin-section,
|
||||
.about-story-section,
|
||||
.about-contribute-section,
|
||||
.about-tools-list,
|
||||
.section-grid,
|
||||
.info-grid {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue