spt-launcher/src/renderer/styles.css

182 lines
2.2 KiB
CSS

* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: "Segoe UI", sans-serif;
background: #0f1218;
color: #f5f7fb;
}
.app {
padding: 20px;
}
.app-header {
margin-bottom: 16px;
}
.app-header h1 {
margin: 0;
font-size: 20px;
}
.card {
background: #171b22;
border-radius: 12px;
padding: 14px;
border: 1px solid #242a35;
}
.card h2 {
margin-top: 0;
}
.status {
display: inline-block;
padding: 4px 10px;
border-radius: 999px;
font-size: 12px;
margin-bottom: 12px;
}
.status.ok {
background: #1f3d2b;
color: #8ee3a5;
}
.status.idle {
background: #2b2f3a;
color: #c0c7d4;
}
.status.blocked {
background: #3a2525;
color: #f2a7a7;
}
input {
border-radius: 8px;
border: 1px solid #2c3340;
background: #0f1218;
color: #f5f7fb;
padding: 8px 12px;
}
input::placeholder {
color: #7c8597;
}
button {
background: #2c78ff;
color: #fff;
border: none;
padding: 8px 14px;
border-radius: 8px;
cursor: pointer;
}
button:hover {
background: #2566db;
}
button:disabled {
cursor: not-allowed;
background: #2b3a55;
}
.ghost {
background: transparent;
border: 1px solid #2c78ff;
color: #b8d1ff;
}
.ghost:hover {
background: #17233a;
}
.hero {
max-width: 460px;
}
.helper {
color: #a8b0c1;
}
.login-form {
display: grid;
gap: 10px;
margin: 12px 0 16px;
}
.link-row {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 12px;
}
.notice {
color: #d5d9e6;
background: #202635;
border: 1px solid #2f3646;
padding: 10px 12px;
border-radius: 8px;
}
.main-layout {
display: grid;
gap: 12px;
grid-template-columns: 1.2fr 1fr;
}
.profile {
display: grid;
gap: 12px;
}
.profile-actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.action {
display: grid;
gap: 12px;
}
.checkbox {
display: flex;
gap: 8px;
align-items: center;
font-size: 14px;
}
.footer {
grid-column: 1 / -1;
display: flex;
justify-content: space-between;
align-items: center;
background: #141923;
border-radius: 12px;
padding: 10px 12px;
border: 1px solid #242a35;
}
.footer-left {
display: flex;
gap: 12px;
align-items: center;
}
.label {
color: #a8b0c1;
font-size: 13px;
}
.muted {
color: #a8b0c1;
}