281 lines
4.5 KiB
SCSS
281 lines
4.5 KiB
SCSS
body {
|
|
min-height: 100vh;
|
|
margin: 0;
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr);
|
|
place-items: center;
|
|
padding: 24px;
|
|
box-sizing: border-box;
|
|
background:
|
|
radial-gradient(ellipse at 15% 10%, rgba(31, 111, 235, 0.2), transparent 38%),
|
|
#0b1220;
|
|
color: #e6edf7;
|
|
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
}
|
|
|
|
main {
|
|
width: 100%;
|
|
max-width: 1200px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.status-card {
|
|
width: min(100%, 480px);
|
|
box-sizing: border-box;
|
|
margin-inline: auto;
|
|
padding: clamp(28px, 7vw, 48px);
|
|
border: 1px solid rgba(148, 163, 184, 0.2);
|
|
border-radius: 24px;
|
|
background: rgba(17, 27, 45, 0.92);
|
|
box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
|
|
text-align: left;
|
|
}
|
|
|
|
.eyebrow {
|
|
margin: 0 0 12px;
|
|
color: #7cb3ff;
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.16em;
|
|
}
|
|
|
|
h1 {
|
|
margin: 0;
|
|
font-size: clamp(2rem, 8vw, 2.6rem);
|
|
letter-spacing: -0.04em;
|
|
}
|
|
|
|
.intro {
|
|
margin: 12px 0 32px;
|
|
color: #a9b6c9;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.status-controls {
|
|
display: grid;
|
|
gap: 12px;
|
|
}
|
|
|
|
.submit-form {
|
|
display: grid;
|
|
gap: 12px;
|
|
}
|
|
|
|
.history-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
}
|
|
|
|
.history-actions .status-button {
|
|
flex: 1;
|
|
}
|
|
|
|
.key-label {
|
|
color: #d3dceb;
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.key-input {
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
padding: 13px 15px;
|
|
border: 1px solid #35445c;
|
|
border-radius: 10px;
|
|
outline: none;
|
|
background: #0c1524;
|
|
color: #f5f8fc;
|
|
font: inherit;
|
|
transition: border-color 150ms ease, box-shadow 150ms ease;
|
|
}
|
|
|
|
.key-input::placeholder {
|
|
color: #74839a;
|
|
}
|
|
|
|
.key-input:focus {
|
|
border-color: #65a4ff;
|
|
box-shadow: 0 0 0 3px rgba(101, 164, 255, 0.18);
|
|
}
|
|
|
|
.status-button {
|
|
margin-top: 8px;
|
|
padding: 14px 18px;
|
|
border: 0;
|
|
border-radius: 10px;
|
|
color: white;
|
|
font: inherit;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
transition: background 150ms ease, transform 150ms ease, opacity 150ms ease;
|
|
}
|
|
|
|
.status-button.go-live {
|
|
background: #16804a;
|
|
}
|
|
|
|
.status-button.go-live:hover:not(:disabled) {
|
|
background: #1b9959;
|
|
}
|
|
|
|
.status-button.take-offline {
|
|
background: #b54739;
|
|
}
|
|
|
|
.status-button.take-offline:hover:not(:disabled) {
|
|
background: #d05242;
|
|
}
|
|
|
|
.clear-history-button {
|
|
background: #8f3030;
|
|
}
|
|
|
|
.clear-history-button:hover:not(:disabled) {
|
|
background: #ad3939;
|
|
}
|
|
|
|
.status-button:hover:not(:disabled) {
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.status-button:disabled {
|
|
opacity: 0.65;
|
|
cursor: wait;
|
|
}
|
|
|
|
.status-indicator {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
margin: 14px 0 0;
|
|
color: #a9b6c9;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.status-indicator strong {
|
|
color: #d3dceb;
|
|
}
|
|
|
|
.status-dot {
|
|
width: 9px;
|
|
height: 9px;
|
|
border-radius: 50%;
|
|
background: #8491a5;
|
|
}
|
|
|
|
.status-indicator.is-live .status-dot {
|
|
background: #37d488;
|
|
box-shadow: 0 0 12px rgba(55, 212, 136, 0.65);
|
|
}
|
|
|
|
.status-indicator.is-live strong {
|
|
color: #6ee7a8;
|
|
}
|
|
|
|
.loading {
|
|
color: #a9b6c9;
|
|
}
|
|
|
|
.error-message {
|
|
margin: 8px 0 0;
|
|
color: #ff9387;
|
|
font-size: 0.9rem;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.home-link {
|
|
display: inline-block;
|
|
color: #8bbaff;
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.download-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
margin: 24px 0;
|
|
padding: 18px 20px;
|
|
border: 1px solid rgba(124, 179, 255, 0.35);
|
|
border-radius: 14px;
|
|
background: rgba(31, 111, 235, 0.12);
|
|
color: #e6edf7;
|
|
text-decoration: none;
|
|
transition: background-color 150ms ease, border-color 150ms ease;
|
|
}
|
|
|
|
.download-card:hover {
|
|
border-color: rgba(124, 179, 255, 0.7);
|
|
background: rgba(31, 111, 235, 0.2);
|
|
}
|
|
|
|
.download-title {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.download-description {
|
|
color: #a9b6c9;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.page-nav {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 24px;
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.home-link:hover {
|
|
color: #b3d2ff;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.history-card {
|
|
width: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.history-table-wrap {
|
|
margin-top: 28px;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.history-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
text-align: left;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.history-table th,
|
|
.history-table td {
|
|
padding: 12px 14px;
|
|
border-bottom: 1px solid rgba(148, 163, 184, 0.16);
|
|
}
|
|
|
|
.history-table th {
|
|
color: #a9b6c9;
|
|
font-size: 0.78rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.06em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.history-table td {
|
|
color: #e6edf7;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.history-table tbody tr:last-child td {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
* {
|
|
transition-duration: 0.01ms !important;
|
|
}
|
|
} |