stzkjsr
This commit is contained in:
parent
dcff0e7f59
commit
b8ce014f6b
2
app.js
2
app.js
@ -346,7 +346,7 @@ app.use("/api/mine", mineRoute);
|
|||||||
app.use("/api", carddeckRoutes);
|
app.use("/api", carddeckRoutes);
|
||||||
app.use("/arena", arenaRoutes);
|
app.use("/arena", arenaRoutes);
|
||||||
app.use("/api", boosterRoutes);
|
app.use("/api", boosterRoutes);
|
||||||
|
app.use("/api", require("./routes/daily"));
|
||||||
/* ========================
|
/* ========================
|
||||||
404 Handler
|
404 Handler
|
||||||
======================== */
|
======================== */
|
||||||
|
|||||||
@ -80,32 +80,54 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@keyframes eventDetailIn {
|
@keyframes eventDetailIn {
|
||||||
from { opacity: 0; transform: translateY(6px); }
|
from {
|
||||||
to { opacity: 1; transform: translateY(0); }
|
opacity: 0;
|
||||||
|
transform: translateY(6px);
|
||||||
|
}
|
||||||
|
to {
|
||||||
|
opacity: 1;
|
||||||
|
transform: translateY(0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#event-detail-popup .edp-close {
|
#event-detail-popup .edp-close {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 6px; right: 8px;
|
top: 6px;
|
||||||
background: none; border: none;
|
right: 8px;
|
||||||
color: #888; font-size: 11px; cursor: pointer; line-height: 1;
|
background: none;
|
||||||
|
border: none;
|
||||||
|
color: #888;
|
||||||
|
font-size: 11px;
|
||||||
|
cursor: pointer;
|
||||||
|
line-height: 1;
|
||||||
transition: color 0.1s;
|
transition: color 0.1s;
|
||||||
}
|
}
|
||||||
#event-detail-popup .edp-close:hover { color: #fff; }
|
#event-detail-popup .edp-close:hover {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
#event-detail-popup .edp-img {
|
#event-detail-popup .edp-img {
|
||||||
display: block; margin: 0 auto 8px;
|
display: block;
|
||||||
width: 44px; height: 44px;
|
margin: 0 auto 8px;
|
||||||
object-fit: contain; image-rendering: pixelated;
|
width: 44px;
|
||||||
|
height: 44px;
|
||||||
|
object-fit: contain;
|
||||||
|
image-rendering: pixelated;
|
||||||
}
|
}
|
||||||
|
|
||||||
#event-detail-popup .edp-title {
|
#event-detail-popup .edp-title {
|
||||||
text-align: center; font-size: 11px; font-weight: bold;
|
text-align: center;
|
||||||
color: #f5c842; margin-bottom: 6px;
|
font-size: 11px;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #f5c842;
|
||||||
|
margin-bottom: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#event-detail-popup .edp-body {
|
#event-detail-popup .edp-body {
|
||||||
font-size: 10px; color: #cccccc; line-height: 1.6; text-align: center;
|
font-size: 10px;
|
||||||
|
color: #cccccc;
|
||||||
|
line-height: 1.6;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ================================
|
/* ================================
|
||||||
@ -128,7 +150,9 @@
|
|||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-family: "Cinzel", serif;
|
font-family: "Cinzel", serif;
|
||||||
transition: background 0.15s, color 0.15s;
|
transition:
|
||||||
|
background 0.15s,
|
||||||
|
color 0.15s;
|
||||||
}
|
}
|
||||||
.booster-back-btn:hover {
|
.booster-back-btn:hover {
|
||||||
background: rgba(200, 150, 12, 0.15);
|
background: rgba(200, 150, 12, 0.15);
|
||||||
@ -160,7 +184,9 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
image-rendering: pixelated;
|
image-rendering: pixelated;
|
||||||
filter: drop-shadow(0 4px 12px rgba(200, 150, 12, 0.4));
|
filter: drop-shadow(0 4px 12px rgba(200, 150, 12, 0.4));
|
||||||
transition: transform 0.15s ease, filter 0.15s ease;
|
transition:
|
||||||
|
transform 0.15s ease,
|
||||||
|
filter 0.15s ease;
|
||||||
border: 2px solid rgba(255, 255, 255, 0.1);
|
border: 2px solid rgba(255, 255, 255, 0.1);
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
display: block;
|
display: block;
|
||||||
@ -227,9 +253,18 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@keyframes revealPop {
|
@keyframes revealPop {
|
||||||
0% { transform: scale(0.85); opacity: 0.5; }
|
0% {
|
||||||
60% { transform: scale(1.06); opacity: 1; }
|
transform: scale(0.85);
|
||||||
100% { transform: scale(1); opacity: 1; }
|
opacity: 0.5;
|
||||||
|
}
|
||||||
|
60% {
|
||||||
|
transform: scale(1.06);
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
transform: scale(1);
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.booster-slot-img {
|
.booster-slot-img {
|
||||||
@ -334,3 +369,25 @@
|
|||||||
z-index: 5;
|
z-index: 5;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.event-done {
|
||||||
|
opacity: 0.5;
|
||||||
|
cursor: not-allowed;
|
||||||
|
}
|
||||||
|
.event-done-overlay {
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
font-size: 2rem;
|
||||||
|
color: #4caf50;
|
||||||
|
font-weight: bold;
|
||||||
|
background: rgba(0, 0, 0, 0.35);
|
||||||
|
border-radius: inherit;
|
||||||
|
}
|
||||||
|
.event-done-label {
|
||||||
|
font-size: 0.7rem;
|
||||||
|
color: #888;
|
||||||
|
margin-top: 2px;
|
||||||
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user