259 lines
4.0 KiB
CSS
259 lines
4.0 KiB
CSS
:root {
|
|
color-scheme: light;
|
|
font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
background:
|
|
radial-gradient(circle at top left, rgba(253, 224, 71, 0.16), transparent 26%),
|
|
linear-gradient(180deg, #f7fafc 0%, #edf2f7 100%);
|
|
color: #0f172a;
|
|
}
|
|
|
|
.mining-app {
|
|
display: grid;
|
|
gap: 20px;
|
|
min-height: 100vh;
|
|
padding: 20px;
|
|
}
|
|
|
|
.mining-hero,
|
|
.mining-panel {
|
|
border: 1px solid rgba(148, 163, 184, 0.24);
|
|
border-radius: 24px;
|
|
background: rgba(255, 255, 255, 0.88);
|
|
box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
|
|
backdrop-filter: blur(14px);
|
|
}
|
|
|
|
.mining-hero {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
padding: 24px;
|
|
}
|
|
|
|
.mining-kicker {
|
|
margin: 0 0 10px;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.16em;
|
|
text-transform: uppercase;
|
|
color: #92400e;
|
|
}
|
|
|
|
.mining-hero h1,
|
|
.panel-header h2 {
|
|
margin: 0;
|
|
}
|
|
|
|
.mining-copy,
|
|
.panel-header p {
|
|
margin: 8px 0 0;
|
|
color: #475569;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.mining-hero-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.preset-button,
|
|
.primary-button,
|
|
.secondary-button {
|
|
border: 0;
|
|
border-radius: 999px;
|
|
padding: 11px 16px;
|
|
font: inherit;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.preset-button,
|
|
.secondary-button {
|
|
background: #e2e8f0;
|
|
color: #0f172a;
|
|
}
|
|
|
|
.primary-button {
|
|
background: linear-gradient(180deg, #facc15, #f59e0b);
|
|
color: #111827;
|
|
}
|
|
|
|
.mining-layout {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
|
|
gap: 20px;
|
|
}
|
|
|
|
.mining-form,
|
|
.mining-sidebar {
|
|
display: grid;
|
|
gap: 20px;
|
|
}
|
|
|
|
.mining-panel {
|
|
padding: 22px;
|
|
}
|
|
|
|
.panel-header {
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.form-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.form-grid label,
|
|
.stat-card,
|
|
.history-item {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.form-grid span {
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
color: #334155;
|
|
}
|
|
|
|
.form-grid input,
|
|
.form-grid select,
|
|
.form-grid textarea {
|
|
width: 100%;
|
|
border: 1px solid #cbd5e1;
|
|
border-radius: 14px;
|
|
padding: 12px 14px;
|
|
font: inherit;
|
|
background: #fff;
|
|
color: #0f172a;
|
|
}
|
|
|
|
.form-grid textarea {
|
|
resize: vertical;
|
|
}
|
|
|
|
.form-span-2 {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.form-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
margin-top: 18px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.stats-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 14px;
|
|
}
|
|
|
|
.stat-card {
|
|
padding: 16px;
|
|
border-radius: 18px;
|
|
background: #f8fafc;
|
|
border: 1px solid rgba(148, 163, 184, 0.18);
|
|
}
|
|
|
|
.stat-label,
|
|
.stat-meta {
|
|
color: #64748b;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.stat-value {
|
|
font-size: 22px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.history-list {
|
|
display: grid;
|
|
gap: 12px;
|
|
}
|
|
|
|
.history-empty {
|
|
padding: 18px;
|
|
border-radius: 18px;
|
|
background: #f8fafc;
|
|
color: #64748b;
|
|
}
|
|
|
|
.history-item {
|
|
padding: 16px;
|
|
border-radius: 18px;
|
|
background: #f8fafc;
|
|
border: 1px solid rgba(148, 163, 184, 0.16);
|
|
}
|
|
|
|
.history-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.history-title {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.history-note {
|
|
margin: 0;
|
|
color: #475569;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.history-meta {
|
|
display: flex;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
color: #64748b;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.toast {
|
|
position: fixed;
|
|
right: 18px;
|
|
bottom: 18px;
|
|
z-index: 30;
|
|
padding: 12px 16px;
|
|
border-radius: 14px;
|
|
background: rgba(15, 23, 42, 0.92);
|
|
color: #fff;
|
|
box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
|
|
}
|
|
|
|
@media (max-width: 1100px) {
|
|
.mining-layout {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 760px) {
|
|
.mining-app {
|
|
padding: 14px;
|
|
}
|
|
|
|
.mining-hero {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.form-grid,
|
|
.stats-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|