Updating game data to mid season patch and made card gallery nicer
This commit is contained in:
@@ -183,7 +183,74 @@
|
||||
|
||||
.filter-select {
|
||||
width: auto;
|
||||
min-width: 140px;
|
||||
min-width: 120px;
|
||||
}
|
||||
|
||||
/* ── Syndicate Toggle Group ── */
|
||||
.syndicate-toggle-group {
|
||||
display: flex;
|
||||
gap: 0.25rem;
|
||||
background: var(--bg-surface);
|
||||
padding: 0.25rem;
|
||||
border-radius: var(--radius-sm);
|
||||
border: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.syndicate-btn {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.4rem 0.75rem;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 4px;
|
||||
background: transparent;
|
||||
color: var(--text-secondary);
|
||||
font-size: 0.8rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.syndicate-btn:hover {
|
||||
background: var(--bg-hover);
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.syndicate-btn.active {
|
||||
background: var(--bg-elevated);
|
||||
border-color: var(--border);
|
||||
color: var(--text-primary);
|
||||
box-shadow: 0 2px 8px rgba(0,0,0,0.2);
|
||||
}
|
||||
|
||||
/* Syndicate Colors */
|
||||
.syndicate-btn.active.singularity { border-color: #ffffff; color: #ffffff; }
|
||||
.syndicate-btn.active.phasetide { border-color: #2196f3; color: #2196f3; }
|
||||
.syndicate-btn.active.silence { border-color: #9c27b0; color: #9c27b0; }
|
||||
.syndicate-btn.active.lifeblood { border-color: #4caf50; color: #4caf50; }
|
||||
.syndicate-btn.active.sungrace { border-color: #ff9800; color: #ff9800; }
|
||||
.syndicate-btn.active.splittergleam { border-color: #f44336; color: #f44336; }
|
||||
.syndicate-btn.active.eclipse { border-color: #ffea00; color: #ffea00; }
|
||||
|
||||
.syn-icon {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 50%;
|
||||
background: currentColor;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.syndicate-btn.active .syn-icon {
|
||||
opacity: 1;
|
||||
box-shadow: 0 0 8px currentColor;
|
||||
}
|
||||
|
||||
@media (max-width: 1100px) {
|
||||
.syndicate-toggle-group {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
}
|
||||
}
|
||||
|
||||
/* ── Active Filter Chips ── */
|
||||
@@ -262,14 +329,27 @@
|
||||
/* ── Card Grid ── */
|
||||
.card-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
|
||||
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
@media (min-width: 1400px) {
|
||||
.card-grid {
|
||||
grid-template-columns: repeat(6, 1fr);
|
||||
}
|
||||
}
|
||||
|
||||
.card-grid.detailed-view {
|
||||
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
||||
}
|
||||
|
||||
.card-grid.detailed-view .card-name-overlay,
|
||||
.card-grid.detailed-view .card-info-overlay,
|
||||
.card-grid.detailed-view .card-cost-badge,
|
||||
.card-grid.detailed-view .card-immortalize-badge {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.card-grid.detailed-view .card-cell {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
@@ -437,25 +517,114 @@
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.card-name-overlay {
|
||||
padding: 0 0 0.25rem;
|
||||
color: white;
|
||||
font-size: 0.85rem;
|
||||
font-weight: 700;
|
||||
text-align: center;
|
||||
text-shadow: 0 1px 3px rgba(0,0,0,0.8);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.name-text {
|
||||
white-space: normal;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
line-height: 1.1;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.card-info-overlay {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
padding: 2.5rem 0.5rem 0.5rem;
|
||||
background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.7) 60%, transparent 100%);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.25rem;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.card-description {
|
||||
font-size: 0.7rem;
|
||||
color: rgba(255, 255, 255, 0.9);
|
||||
line-height: 1.25;
|
||||
text-align: center;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 3;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
text-shadow: 0 1px 2px rgba(0,0,0,0.8);
|
||||
}
|
||||
|
||||
.card-immortalize-info {
|
||||
font-size: 0.65rem;
|
||||
color: var(--gold);
|
||||
font-weight: 600;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.02em;
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
padding: 0.15rem 0.3rem;
|
||||
border-radius: 4px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.card-stats-row {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
align-items: center;
|
||||
margin-top: 0.1rem;
|
||||
}
|
||||
|
||||
.card-stats-row .stat {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.25rem;
|
||||
font-weight: 800;
|
||||
font-size: 1rem;
|
||||
text-shadow: 0 1px 3px rgba(0,0,0,0.9);
|
||||
}
|
||||
|
||||
.card-stats-row .stat.attack {
|
||||
color: #ffcc80;
|
||||
}
|
||||
|
||||
.card-stats-row .stat.health {
|
||||
color: #ef9a9a;
|
||||
}
|
||||
|
||||
.card-stats-row .stat i {
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.card-cost-badge {
|
||||
position: absolute;
|
||||
top: 0.4rem;
|
||||
left: 0.4rem;
|
||||
background: rgba(0, 0, 0, 0.75);
|
||||
top: 0.3rem;
|
||||
left: 0.3rem;
|
||||
background: rgba(0, 0, 0, 0.7);
|
||||
backdrop-filter: blur(4px);
|
||||
color: var(--gold);
|
||||
font-weight: 700;
|
||||
font-size: 0.8rem;
|
||||
padding: 0.15rem 0.5rem;
|
||||
border-radius: 100px;
|
||||
border: 1px solid rgba(255, 215, 0, 0.3);
|
||||
z-index: 2;
|
||||
line-height: 1.4;
|
||||
color: #fff;
|
||||
font-weight: 800;
|
||||
font-size: 0.75rem;
|
||||
padding: 0.1rem 0.4rem;
|
||||
border-radius: 4px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
||||
z-index: 3;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.card-cost-badge::before {
|
||||
content: "⚡";
|
||||
margin-right: 0.15rem;
|
||||
margin-right: 0.1rem;
|
||||
color: #ffd700;
|
||||
}
|
||||
|
||||
.card-immortalize-badge {
|
||||
@@ -558,6 +727,10 @@
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.syndicate-toggle-group {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
|
||||
.filter-select {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
|
||||
Reference in New Issue
Block a user