Launch directly into Worldshaper Studio
This commit is contained in:
parent
b4dbd4ee8e
commit
932a638daf
3 changed files with 337 additions and 2 deletions
110
src/index.css
110
src/index.css
|
|
@ -26,6 +26,102 @@ body {
|
|||
min-height: 100dvh;
|
||||
}
|
||||
|
||||
.launcher-shell {
|
||||
min-height: 100dvh;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.launcher-card {
|
||||
width: min(560px, 100%);
|
||||
padding: 28px 30px;
|
||||
border: 1px solid rgba(120, 170, 230, 0.2);
|
||||
border-radius: 20px;
|
||||
background:
|
||||
radial-gradient(circle at top left, rgba(92, 200, 255, 0.12), transparent 38%),
|
||||
linear-gradient(180deg, rgba(24, 31, 44, 0.96) 0%, rgba(18, 24, 35, 0.96) 100%);
|
||||
box-shadow:
|
||||
0 24px 60px rgba(0, 0, 0, 0.34),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.04);
|
||||
}
|
||||
|
||||
.launcher-eyebrow {
|
||||
margin: 0 0 10px;
|
||||
font-size: 0.76rem;
|
||||
letter-spacing: 0.14em;
|
||||
text-transform: uppercase;
|
||||
color: #9fd8ff;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.launcher-title {
|
||||
margin: 0;
|
||||
font-size: clamp(2rem, 4vw, 3rem);
|
||||
line-height: 0.95;
|
||||
}
|
||||
|
||||
.launcher-status {
|
||||
margin: 14px 0 0;
|
||||
font-size: 1rem;
|
||||
color: #ebf3ff;
|
||||
}
|
||||
|
||||
.launcher-hint {
|
||||
margin: 10px 0 0;
|
||||
color: var(--muted);
|
||||
font-size: 0.95rem;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.launcher-error {
|
||||
margin: 12px 0 0;
|
||||
color: var(--danger);
|
||||
font-size: 0.95rem;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.launcher-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
margin-top: 18px;
|
||||
}
|
||||
|
||||
.launcher-primary-btn,
|
||||
.launcher-secondary-btn {
|
||||
min-height: 46px;
|
||||
padding: 12px 16px;
|
||||
border-radius: 12px;
|
||||
font-size: 0.96rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.launcher-primary-btn {
|
||||
border: 1px solid rgba(110, 255, 173, 0.5);
|
||||
background:
|
||||
linear-gradient(135deg, rgba(33, 146, 86, 0.92) 0%, rgba(24, 108, 123, 0.92) 100%);
|
||||
color: #f3fff8;
|
||||
box-shadow:
|
||||
0 0 0 1px rgba(161, 255, 206, 0.14),
|
||||
0 0 18px rgba(52, 211, 153, 0.22);
|
||||
}
|
||||
|
||||
.launcher-primary-btn:not(:disabled):hover {
|
||||
background:
|
||||
linear-gradient(135deg, rgba(38, 163, 96, 0.96) 0%, rgba(27, 122, 139, 0.96) 100%);
|
||||
}
|
||||
|
||||
.launcher-secondary-btn {
|
||||
border: 1px solid #364154;
|
||||
background: #1d2432;
|
||||
color: var(--ink);
|
||||
}
|
||||
|
||||
.launcher-secondary-btn:not(:disabled):hover {
|
||||
background: #263149;
|
||||
}
|
||||
|
||||
.page-shell {
|
||||
width: min(960px, 93vw);
|
||||
margin: 24px auto;
|
||||
|
|
@ -1107,6 +1203,20 @@ button.danger:not(:disabled):hover {
|
|||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.launcher-card {
|
||||
padding: 22px 20px;
|
||||
border-radius: 16px;
|
||||
}
|
||||
|
||||
.launcher-actions {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.launcher-primary-btn,
|
||||
.launcher-secondary-btn {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.page-shell {
|
||||
width: 96vw;
|
||||
margin: 1rem auto;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue