Files
minecraft_launcher/installer/styles.css

178 lines
2.8 KiB
CSS

:root {
color-scheme: dark;
--bg: #0b100d;
--panel: #141b17;
--soft: #1d2721;
--line: #2a362f;
--text: #f2f4f3;
--muted: #a9b2ad;
--accent: #f0bf57;
--warn: #ffb36b;
}
* { box-sizing: border-box; }
body {
margin: 0;
font-family: "Segoe UI", sans-serif;
background:
radial-gradient(circle at top left, rgba(240, 191, 87, 0.16), transparent 28%),
linear-gradient(180deg, #0b100d 0%, #121914 100%);
color: var(--text);
}
.shell {
display: grid;
grid-template-columns: 280px 1fr;
min-height: 100vh;
}
.steps {
padding: 30px 24px;
background: rgba(10, 14, 12, 0.78);
border-right: 1px solid var(--line);
}
.steps h1 {
margin: 0 0 20px;
font-size: 28px;
}
.steps ol {
list-style: none;
padding: 0;
margin: 0;
display: grid;
gap: 12px;
}
.steps li {
padding: 14px 16px;
border-radius: 16px;
background: rgba(255, 255, 255, 0.02);
color: var(--muted);
}
.steps li.active {
background: var(--accent);
color: #1b1408;
font-weight: 700;
}
.content {
padding: 34px;
}
.panel {
display: none;
max-width: 920px;
background: rgba(20, 27, 23, 0.92);
border: 1px solid var(--line);
border-radius: 28px;
padding: 28px;
}
.panel.active { display: block; }
.eyebrow {
margin: 0 0 10px;
color: var(--accent);
letter-spacing: 0.28em;
font-size: 12px;
font-weight: 700;
}
h2 { margin: 0 0 20px; font-size: 34px; }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field input {
width: 100%;
min-height: 48px;
padding: 12px 14px;
border-radius: 16px;
border: 1px solid var(--line);
background: var(--soft);
color: var(--text);
}
.inputRow,
.buttonRow {
display: flex;
gap: 12px;
flex-wrap: wrap;
}
.buttonRow { margin-top: 18px; }
.buttonRow.end { justify-content: flex-end; }
.buttonRow.between { justify-content: space-between; }
button {
min-height: 44px;
padding: 0 18px;
border-radius: 999px;
border: 1px solid var(--line);
background: transparent;
color: var(--text);
cursor: pointer;
}
button.primary {
background: var(--accent);
border: none;
color: #1c1509;
font-weight: 700;
}
.packList {
display: grid;
gap: 12px;
margin-top: 18px;
}
.packOption {
display: flex;
align-items: center;
gap: 12px;
padding: 16px;
border-radius: 18px;
border: 1px solid var(--line);
background: rgba(255,255,255,0.02);
}
.packOption strong {
display: block;
font-size: 18px;
}
.warningText {
color: var(--warn);
min-height: 20px;
}
.infoBox,
.logView,
.eulaBlock {
margin-top: 16px;
padding: 16px;
border-radius: 18px;
border: 1px solid var(--line);
background: var(--soft);
}
.logView {
height: 320px;
overflow: auto;
font-family: Consolas, monospace;
white-space: pre-wrap;
}
.hidden { display: none; }
.toggleRow {
display: flex;
align-items: center;
gap: 12px;
margin-top: 16px;
}