Hide instance IDs and config/delete controls on overview cards; keep service/system restart only, with edit still available from detail.
1653 lines
34 KiB
CSS
1653 lines
34 KiB
CSS
:root {
|
|
font-family: 'PingFang SC', 'Microsoft YaHei', ui-rounded, system-ui, sans-serif;
|
|
color: #725d42;
|
|
background: #f8f8f0;
|
|
--mint: #19c8b9;
|
|
--mint-dark: #10a99d;
|
|
--brown: #794f27;
|
|
--text: #725d42;
|
|
--muted: #9f927d;
|
|
--canvas: #f8f8f0;
|
|
--surface: rgb(247, 243, 223);
|
|
--surface-raised: #fffdf5;
|
|
--border: #ded3bd;
|
|
--danger: #c95e55;
|
|
--warning: #f5c31c;
|
|
--radius: 18px;
|
|
--radius-sm: 12px;
|
|
--space: clamp(0.75rem, 2vw, 1.5rem);
|
|
--shadow: 0 10px 30px rgba(121, 79, 39, 0.1);
|
|
--shadow-hover: 0 18px 40px rgba(121, 79, 39, 0.14);
|
|
--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
|
|
--accent: #19c8b9;
|
|
--accent-strong: #0f8f86;
|
|
font-synthesis: none;
|
|
}
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
html {
|
|
background: var(--canvas);
|
|
}
|
|
body {
|
|
margin: 0;
|
|
min-width: 20rem;
|
|
background: var(--canvas);
|
|
}
|
|
body::before {
|
|
content: '';
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: -1;
|
|
opacity: 0.32;
|
|
pointer-events: none;
|
|
background-image: radial-gradient(circle, rgba(121, 79, 39, 0.12) 1px, transparent 1.5px);
|
|
background-size: 24px 24px;
|
|
}
|
|
a {
|
|
color: #187f77;
|
|
text-underline-offset: 3px;
|
|
}
|
|
button,
|
|
input,
|
|
select {
|
|
font: inherit;
|
|
color: inherit;
|
|
}
|
|
button,
|
|
input,
|
|
select,
|
|
a {
|
|
outline-offset: 3px;
|
|
}
|
|
:focus-visible {
|
|
outline: 3px solid var(--warning);
|
|
outline-offset: 3px;
|
|
}
|
|
button,
|
|
input,
|
|
select {
|
|
min-height: 2.75rem;
|
|
padding: 0.5rem 0.75rem;
|
|
border: 2px solid #c4b89e;
|
|
border-radius: 999px;
|
|
background: var(--surface-raised);
|
|
}
|
|
button {
|
|
cursor: pointer;
|
|
font-weight: 700;
|
|
transition:
|
|
transform 120ms ease,
|
|
box-shadow 120ms ease,
|
|
background 120ms ease;
|
|
box-shadow: 0 2px 4px rgba(61, 52, 40, 0.06);
|
|
}
|
|
button:hover:not(:disabled) {
|
|
background: #fff;
|
|
transform: translateY(-1px);
|
|
}
|
|
button:active:not(:disabled) {
|
|
transform: translateY(2px);
|
|
}
|
|
button:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.48;
|
|
}
|
|
button[type='submit'],
|
|
.fleet-actions button,
|
|
.fleet-heading > button,
|
|
.form-actions button:first-child {
|
|
color: #fff;
|
|
border-color: var(--mint-dark);
|
|
background: var(--mint);
|
|
box-shadow: 0 5px 0 var(--mint-dark);
|
|
}
|
|
input:focus,
|
|
select:focus {
|
|
border-color: var(--mint);
|
|
}
|
|
h1,
|
|
h2,
|
|
h3 {
|
|
color: var(--brown);
|
|
letter-spacing: -0.02em;
|
|
}
|
|
h1 {
|
|
margin: 0 0 0.35rem;
|
|
font-size: clamp(1.5rem, 3vw, 2.2rem);
|
|
}
|
|
h2 {
|
|
font-size: 1.05rem;
|
|
}
|
|
p {
|
|
line-height: 1.6;
|
|
}
|
|
.skip-link {
|
|
position: fixed;
|
|
top: -6rem;
|
|
left: 1rem;
|
|
z-index: 100;
|
|
color: #fff;
|
|
background: var(--brown);
|
|
padding: 0.75rem 1rem;
|
|
border-radius: 12px;
|
|
}
|
|
.skip-link:focus {
|
|
top: 1rem;
|
|
}
|
|
.app-topbar {
|
|
min-height: 4.5rem;
|
|
padding: 0.75rem var(--space);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.8rem;
|
|
color: var(--text);
|
|
background: rgba(255, 253, 245, 0.92);
|
|
border-bottom: 1px solid var(--border);
|
|
backdrop-filter: blur(12px);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 20;
|
|
}
|
|
.product-name {
|
|
margin-right: auto;
|
|
color: var(--brown);
|
|
text-decoration: none;
|
|
font-size: 1.15rem;
|
|
font-weight: 900;
|
|
}
|
|
.product-name::before {
|
|
content: '◉';
|
|
display: inline-grid;
|
|
place-items: center;
|
|
width: 2rem;
|
|
height: 2rem;
|
|
margin-right: 0.55rem;
|
|
color: #fff;
|
|
background: var(--mint);
|
|
border-radius: 45% 55% 50% 50%;
|
|
box-shadow: 0 3px 0 var(--mint-dark);
|
|
}
|
|
.connection-status,
|
|
.version-badge {
|
|
padding: 0.25rem 0.65rem;
|
|
border-radius: 999px;
|
|
background: var(--surface);
|
|
color: var(--muted);
|
|
font-size: 0.82rem;
|
|
}
|
|
.connection-status::before {
|
|
content: '';
|
|
display: inline-block;
|
|
width: 0.5rem;
|
|
height: 0.5rem;
|
|
margin-right: 0.35rem;
|
|
border-radius: 50%;
|
|
background: var(--mint);
|
|
box-shadow: 0 0 0 0 rgba(25, 200, 185, 0.45);
|
|
animation: pulse-dot 2.4s var(--ease-out) infinite;
|
|
}
|
|
.topbar-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.55rem;
|
|
margin-left: auto;
|
|
flex-wrap: wrap;
|
|
}
|
|
.topbar-settings {
|
|
min-height: 2.5rem;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 0.4rem 0.95rem;
|
|
border: 1px solid var(--border);
|
|
border-radius: 999px;
|
|
color: var(--brown);
|
|
background: var(--surface-raised);
|
|
text-decoration: none;
|
|
font-weight: 800;
|
|
box-shadow: 0 2px 0 #d4c9b4;
|
|
transition:
|
|
transform 160ms var(--ease-out),
|
|
box-shadow 160ms var(--ease-out),
|
|
background 160ms var(--ease-out);
|
|
}
|
|
.topbar-settings:hover {
|
|
transform: translateY(-1px);
|
|
background: #fff;
|
|
}
|
|
.topbar-settings[aria-current='page'] {
|
|
color: #fff;
|
|
border-color: var(--mint-dark);
|
|
background: var(--mint);
|
|
box-shadow: 0 4px 0 var(--mint-dark);
|
|
}
|
|
.app-layout {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr);
|
|
gap: var(--space);
|
|
min-height: calc(100vh - 4.5rem);
|
|
padding: var(--space);
|
|
}
|
|
.app-layout-single {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
.global-navigation {
|
|
display: none;
|
|
}
|
|
.instance-context ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
display: grid;
|
|
gap: 0.35rem;
|
|
}
|
|
.instance-context nav a {
|
|
display: block;
|
|
padding: 0.7rem 0.8rem;
|
|
border-radius: 12px;
|
|
color: var(--text);
|
|
text-decoration: none;
|
|
font-weight: 700;
|
|
}
|
|
a[aria-current='page'] {
|
|
color: var(--brown);
|
|
background: #fff;
|
|
box-shadow: 0 3px 0 #d4c9b4;
|
|
}
|
|
main {
|
|
min-width: 0;
|
|
padding: clamp(0.75rem, 2vw, 1.4rem);
|
|
border: 1px solid #ebe1ce;
|
|
border-radius: 22px;
|
|
background:
|
|
linear-gradient(180deg, rgba(255, 253, 245, 0.96), rgba(255, 253, 245, 0.88)),
|
|
var(--surface-raised);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
main > section > header,
|
|
.fleet-heading {
|
|
display: flex;
|
|
align-items: end;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
flex-wrap: wrap;
|
|
padding-bottom: 1rem;
|
|
border-bottom: 1px dashed var(--border);
|
|
}
|
|
.fleet-heading p,
|
|
main > section > header p {
|
|
margin: 0.25rem 0 0;
|
|
color: var(--muted);
|
|
}
|
|
.fleet-actions,
|
|
.form-actions,
|
|
.pagination {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
.selection-summary,
|
|
small {
|
|
color: var(--muted);
|
|
}
|
|
.primary-action {
|
|
min-height: 2.75rem;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 0.5rem 1rem;
|
|
border: 2px solid var(--mint-dark);
|
|
border-radius: 999px;
|
|
color: #fff;
|
|
background: var(--mint);
|
|
box-shadow: 0 5px 0 var(--mint-dark);
|
|
font-weight: 800;
|
|
text-decoration: none;
|
|
}
|
|
.fleet-card-section {
|
|
margin: 1rem 0 1.5rem;
|
|
}
|
|
.fleet-card-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
|
|
gap: 1.1rem;
|
|
}
|
|
.fleet-status-summary {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 0.75rem;
|
|
margin: 1rem 0;
|
|
}
|
|
.fleet-status-summary > div {
|
|
display: grid;
|
|
gap: 0.25rem;
|
|
padding: 0.9rem 1rem;
|
|
border: 1px solid var(--border);
|
|
border-radius: 14px;
|
|
background:
|
|
linear-gradient(180deg, rgba(255, 253, 245, 0.98), rgba(247, 243, 223, 0.85));
|
|
box-shadow: 0 6px 16px rgba(121, 79, 39, 0.06);
|
|
animation: rise-in 420ms var(--ease-out) both;
|
|
}
|
|
.fleet-status-summary > div:nth-child(2) {
|
|
animation-delay: 40ms;
|
|
}
|
|
.fleet-status-summary > div:nth-child(3) {
|
|
animation-delay: 80ms;
|
|
}
|
|
.fleet-status-summary strong {
|
|
font-size: 1.4rem;
|
|
color: var(--brown);
|
|
letter-spacing: -0.03em;
|
|
}
|
|
.fleet-card-entry-label {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
margin-top: 0.55rem;
|
|
padding: 0.2rem 0.55rem;
|
|
border-radius: 999px;
|
|
font-weight: 800;
|
|
font-size: 0.78rem;
|
|
color: #0f6f68;
|
|
background: rgba(25, 200, 185, 0.14);
|
|
transition: background 160ms var(--ease-out), transform 160ms var(--ease-out);
|
|
}
|
|
.fleet-card meter {
|
|
width: min(7rem, 45%);
|
|
margin-right: 0.5rem;
|
|
accent-color: var(--mint-dark);
|
|
}
|
|
.fleet-card {
|
|
position: relative;
|
|
isolation: isolate;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
padding: 1.05rem 1.1rem 1rem;
|
|
border: 1px solid color-mix(in srgb, var(--border) 80%, #fff);
|
|
border-radius: calc(var(--radius) + 2px);
|
|
background:
|
|
radial-gradient(120% 90% at 0% 0%, rgba(25, 200, 185, 0.1), transparent 55%),
|
|
linear-gradient(165deg, #fffef9 0%, #fff9ec 52%, #f7f2e2 100%);
|
|
box-shadow: var(--shadow);
|
|
transition:
|
|
transform 220ms var(--ease-out),
|
|
box-shadow 220ms var(--ease-out),
|
|
border-color 220ms var(--ease-out);
|
|
animation: rise-in 460ms var(--ease-out) both;
|
|
}
|
|
.fleet-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0 auto 0 0;
|
|
width: 4px;
|
|
background: linear-gradient(180deg, var(--mint), color-mix(in srgb, var(--mint) 20%, var(--brown)));
|
|
opacity: 0.9;
|
|
}
|
|
.fleet-card::after {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: -1;
|
|
background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.45) 48%, transparent 65%);
|
|
transform: translateX(-120%);
|
|
transition: transform 700ms var(--ease-out);
|
|
pointer-events: none;
|
|
}
|
|
.fleet-card:hover {
|
|
transform: translateY(-3px);
|
|
border-color: color-mix(in srgb, var(--mint) 35%, var(--border));
|
|
box-shadow: var(--shadow-hover);
|
|
}
|
|
.fleet-card:hover::after {
|
|
transform: translateX(120%);
|
|
}
|
|
.fleet-card:hover .fleet-card-entry-label {
|
|
background: rgba(25, 200, 185, 0.22);
|
|
transform: translateX(2px);
|
|
}
|
|
.fleet-card > header {
|
|
display: flex;
|
|
align-items: start;
|
|
justify-content: space-between;
|
|
gap: 0.75rem;
|
|
}
|
|
.fleet-card h2 {
|
|
margin: 0;
|
|
font-size: 1.18rem;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
.fleet-card-metrics {
|
|
margin: 1rem 0;
|
|
display: grid;
|
|
gap: 0.55rem;
|
|
}
|
|
.fleet-card-metrics div {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
padding: 0.45rem 0.55rem;
|
|
border: 1px solid transparent;
|
|
border-radius: 12px;
|
|
background: rgba(255, 253, 245, 0.55);
|
|
}
|
|
.fleet-card-metrics dt {
|
|
color: var(--muted);
|
|
font-size: 0.78rem;
|
|
font-weight: 700;
|
|
}
|
|
.fleet-card-metrics dd {
|
|
margin: 0;
|
|
font-weight: 800;
|
|
color: var(--brown);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.fleet-card-sms {
|
|
margin: 0.8rem 0;
|
|
padding: 0.8rem 0.85rem;
|
|
border: 1px solid color-mix(in srgb, #b7d8b2 70%, var(--border));
|
|
border-radius: 14px;
|
|
background:
|
|
linear-gradient(180deg, rgba(245, 250, 241, 0.98), rgba(236, 246, 230, 0.9));
|
|
}
|
|
.fleet-card-sms h3 {
|
|
margin: 0 0 0.55rem;
|
|
color: var(--brown);
|
|
font-size: 0.82rem;
|
|
}
|
|
.fleet-card-sms dl {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 0.35rem 0.75rem;
|
|
margin: 0;
|
|
}
|
|
.fleet-card-sms dl div {
|
|
min-width: 0;
|
|
}
|
|
.fleet-card-sms dt {
|
|
color: var(--muted);
|
|
font-size: 0.72rem;
|
|
}
|
|
.fleet-card-sms dd {
|
|
margin: 0.1rem 0 0;
|
|
text-align: left;
|
|
}
|
|
.fleet-card-sms dl div:nth-child(3) {
|
|
grid-column: 1 / -1;
|
|
}
|
|
.fleet-card-sms-empty {
|
|
margin: 0;
|
|
color: var(--muted);
|
|
}
|
|
.capability-tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.4rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
.capability-tags span {
|
|
padding: 0.2rem 0.55rem;
|
|
border-radius: 999px;
|
|
color: #0f6f68;
|
|
background: rgba(25, 200, 185, 0.14);
|
|
border: 1px solid rgba(25, 200, 185, 0.18);
|
|
font-size: 0.78rem;
|
|
font-weight: 700;
|
|
}
|
|
.fleet-card-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 0.55rem;
|
|
}
|
|
.fleet-card-actions a {
|
|
min-height: 2.75rem;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 0.4rem 0.7rem;
|
|
border-radius: 999px;
|
|
font-weight: 700;
|
|
}
|
|
@keyframes rise-in {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(10px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
@keyframes pulse-dot {
|
|
0%,
|
|
100% {
|
|
box-shadow: 0 0 0 0 rgba(25, 200, 185, 0.45);
|
|
}
|
|
50% {
|
|
box-shadow: 0 0 0 6px rgba(25, 200, 185, 0);
|
|
}
|
|
}
|
|
.danger-button {
|
|
color: #a4423b;
|
|
border-color: #db938d;
|
|
}
|
|
.card-delete-confirmation {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: grid;
|
|
gap: 0.65rem;
|
|
margin-top: 1rem;
|
|
padding-top: 0.8rem;
|
|
border-top: 1px solid #db938d;
|
|
}
|
|
.card-delete-confirmation p {
|
|
margin: 0;
|
|
}
|
|
.card-delete-confirmation label {
|
|
display: grid;
|
|
gap: 0.35rem;
|
|
}
|
|
.card-operation-success {
|
|
color: #087b70;
|
|
}
|
|
.card-operation-error {
|
|
color: #a4423b;
|
|
}
|
|
.fleet-details > h2 {
|
|
margin-top: 0;
|
|
}
|
|
.fleet-toolbar,
|
|
.jobs-toolbar {
|
|
display: flex;
|
|
align-items: end;
|
|
gap: 0.65rem;
|
|
flex-wrap: wrap;
|
|
padding: 1rem;
|
|
margin: 1rem 0;
|
|
border-radius: var(--radius);
|
|
background: var(--surface);
|
|
}
|
|
.fleet-toolbar label,
|
|
.jobs-toolbar label {
|
|
display: grid;
|
|
gap: 0.3rem;
|
|
min-width: min(100%, 10rem);
|
|
font-size: 0.82rem;
|
|
font-weight: 700;
|
|
}
|
|
.fleet-toolbar label:first-child {
|
|
flex: 1;
|
|
min-width: min(100%, 15rem);
|
|
}
|
|
.fleet-toolbar {
|
|
display: grid;
|
|
gap: 0.75rem;
|
|
padding: 0.9rem 1rem 1rem;
|
|
border: 1px solid color-mix(in srgb, var(--border) 88%, #fff);
|
|
box-shadow: 0 8px 24px rgba(121, 79, 39, 0.06);
|
|
background:
|
|
linear-gradient(180deg, rgba(255, 253, 245, 0.96), rgba(247, 243, 223, 0.92));
|
|
}
|
|
.visually-hidden {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
white-space: nowrap;
|
|
border: 0;
|
|
}
|
|
.fleet-search-row {
|
|
min-width: 0;
|
|
}
|
|
.fleet-search-field {
|
|
position: relative;
|
|
display: block;
|
|
min-width: 0;
|
|
width: 100%;
|
|
}
|
|
.fleet-search-field input[type='search'] {
|
|
width: 100%;
|
|
min-height: 3rem;
|
|
padding: 0.65rem 4.5rem 0.65rem 2.6rem;
|
|
border-radius: 999px;
|
|
border: 2px solid color-mix(in srgb, var(--border) 70%, #b7a88a);
|
|
background: #fffdf8;
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
|
|
transition:
|
|
border-color 140ms var(--ease-out),
|
|
box-shadow 140ms var(--ease-out);
|
|
}
|
|
.fleet-search-field input[type='search']::-webkit-search-cancel-button {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
}
|
|
.fleet-search-field input[type='search']:focus {
|
|
border-color: color-mix(in srgb, var(--mint) 55%, #b7a88a);
|
|
box-shadow:
|
|
0 0 0 4px rgba(25, 200, 185, 0.14),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.9);
|
|
}
|
|
.fleet-search-glyph {
|
|
position: absolute;
|
|
left: 0.95rem;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: var(--muted);
|
|
font-size: 1.05rem;
|
|
font-weight: 700;
|
|
pointer-events: none;
|
|
}
|
|
.fleet-search-clear {
|
|
position: absolute;
|
|
right: 0.4rem;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
min-height: 2.15rem;
|
|
padding: 0.25rem 0.75rem;
|
|
border-width: 1px;
|
|
border-color: transparent;
|
|
background: rgba(121, 79, 39, 0.08);
|
|
color: var(--brown);
|
|
font-size: 0.82rem;
|
|
}
|
|
.fleet-status-chips {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.45rem;
|
|
}
|
|
.fleet-status-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.45rem;
|
|
min-height: 2.35rem;
|
|
padding: 0.3rem 0.75rem;
|
|
border-radius: 999px;
|
|
border: 1px solid color-mix(in srgb, var(--border) 80%, #fff);
|
|
background: rgba(255, 253, 245, 0.9);
|
|
color: var(--brown);
|
|
font-weight: 700;
|
|
transition:
|
|
transform 120ms var(--ease-out),
|
|
background 140ms var(--ease-out),
|
|
border-color 140ms var(--ease-out),
|
|
box-shadow 140ms var(--ease-out);
|
|
}
|
|
.fleet-status-chip strong {
|
|
min-width: 1.25rem;
|
|
padding: 0.05rem 0.4rem;
|
|
border-radius: 999px;
|
|
background: rgba(121, 79, 39, 0.08);
|
|
font-variant-numeric: tabular-nums;
|
|
font-size: 0.8rem;
|
|
}
|
|
.fleet-status-chip:hover {
|
|
transform: translateY(-1px);
|
|
border-color: color-mix(in srgb, var(--mint) 40%, var(--border));
|
|
}
|
|
.fleet-status-chip.is-active {
|
|
color: #0c5f59;
|
|
border-color: color-mix(in srgb, var(--mint) 55%, #9fd9d1);
|
|
background:
|
|
linear-gradient(180deg, rgba(232, 250, 246, 0.98), rgba(214, 244, 238, 0.95));
|
|
box-shadow: 0 6px 16px rgba(25, 200, 185, 0.16);
|
|
}
|
|
.fleet-status-chip.is-active strong {
|
|
background: rgba(25, 200, 185, 0.18);
|
|
color: #0c5f59;
|
|
}
|
|
.fleet-toolbar-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 0.75rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
.fleet-result-count {
|
|
margin: 0;
|
|
color: var(--muted);
|
|
font-size: 0.88rem;
|
|
font-weight: 600;
|
|
}
|
|
.fleet-result-count strong {
|
|
color: var(--brown);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.fleet-toolbar-controls {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.55rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
.fleet-sort-field {
|
|
min-width: 10rem;
|
|
}
|
|
.fleet-sort-field select {
|
|
min-width: 11rem;
|
|
width: 100%;
|
|
}
|
|
.fleet-active-filters {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 0.45rem;
|
|
}
|
|
.fleet-active-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
min-height: 2rem;
|
|
padding: 0.2rem 0.65rem;
|
|
border-radius: 999px;
|
|
border: 1px solid color-mix(in srgb, var(--mint) 35%, var(--border));
|
|
background: rgba(25, 200, 185, 0.1);
|
|
color: #0f6f68;
|
|
font-size: 0.82rem;
|
|
font-weight: 700;
|
|
}
|
|
.fleet-clear-filters {
|
|
min-height: 2rem;
|
|
padding: 0.2rem 0.7rem;
|
|
border-width: 1px;
|
|
border-color: transparent;
|
|
background: transparent;
|
|
color: var(--brown);
|
|
text-decoration: underline;
|
|
text-underline-offset: 3px;
|
|
font-size: 0.82rem;
|
|
}
|
|
.fleet-advanced-filters {
|
|
margin-top: 0.1rem;
|
|
}
|
|
.fleet-advanced-filters > summary {
|
|
width: fit-content;
|
|
min-height: 2.35rem;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.45rem;
|
|
color: var(--brown);
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
list-style: none;
|
|
}
|
|
.fleet-advanced-filters > summary::-webkit-details-marker {
|
|
display: none;
|
|
}
|
|
.fleet-advanced-count {
|
|
min-width: 1.25rem;
|
|
padding: 0.05rem 0.4rem;
|
|
border-radius: 999px;
|
|
background: rgba(25, 200, 185, 0.16);
|
|
color: #0c5f59;
|
|
font-size: 0.78rem;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.fleet-advanced-filter-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
|
|
align-items: end;
|
|
gap: 0.65rem;
|
|
padding-top: 0.75rem;
|
|
}
|
|
.column-picker {
|
|
position: relative;
|
|
}
|
|
.column-picker fieldset {
|
|
position: absolute;
|
|
right: 0;
|
|
z-index: 5;
|
|
width: 14rem;
|
|
padding: 0.75rem;
|
|
border: 1px solid var(--border);
|
|
border-radius: 14px;
|
|
background: #fffdf5;
|
|
box-shadow: 0 12px 30px rgba(121, 79, 39, 0.16);
|
|
}
|
|
.column-picker fieldset label {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.batch-entry,
|
|
.state-panel {
|
|
margin: 0.8rem 0;
|
|
padding: 1rem;
|
|
border: 1px dashed #cdbfa5;
|
|
border-radius: var(--radius);
|
|
background: var(--surface);
|
|
}
|
|
.state-panel {
|
|
background-image: radial-gradient(circle, rgba(121, 79, 39, 0.1) 1px, transparent 1px);
|
|
background-size: 18px 18px;
|
|
}
|
|
.state-error {
|
|
color: #a4423b;
|
|
border-color: #db938d;
|
|
background-color: #fff0e8;
|
|
}
|
|
.table-scroll {
|
|
max-width: 100%;
|
|
overflow-x: auto;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
background: #fffdf5;
|
|
box-shadow: 0 5px 16px rgba(121, 79, 39, 0.07);
|
|
}
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
white-space: nowrap;
|
|
}
|
|
caption {
|
|
padding: 0.8rem;
|
|
text-align: left;
|
|
font-weight: 800;
|
|
color: var(--brown);
|
|
}
|
|
th,
|
|
td {
|
|
padding: 0.65rem 0.75rem;
|
|
border-top: 1px solid #e9dfca;
|
|
text-align: left;
|
|
}
|
|
thead th {
|
|
color: var(--brown);
|
|
background: var(--surface);
|
|
font-size: 0.8rem;
|
|
}
|
|
thead button {
|
|
min-height: auto;
|
|
padding: 0.25rem;
|
|
border: 0;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
}
|
|
input[type='checkbox'],
|
|
input[type='radio'] {
|
|
width: 1.25rem;
|
|
height: 1.25rem;
|
|
min-height: auto;
|
|
padding: 0;
|
|
border-radius: 0.25rem;
|
|
}
|
|
label:has(> input[type='checkbox']),
|
|
label:has(> input[type='radio']),
|
|
.touch-target {
|
|
min-width: 2.75rem;
|
|
min-height: 2.75rem;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
cursor: pointer;
|
|
}
|
|
.touch-target {
|
|
justify-content: center;
|
|
}
|
|
tbody tr {
|
|
transition: background 120ms ease;
|
|
}
|
|
tbody tr:hover,
|
|
tr[aria-selected='true'] {
|
|
background: #f2f8e9;
|
|
}
|
|
tbody th small {
|
|
display: block;
|
|
font-weight: normal;
|
|
}
|
|
.select-column {
|
|
width: 3rem;
|
|
}
|
|
.status {
|
|
display: inline-block;
|
|
padding: 0.25rem 0.55rem;
|
|
border-radius: 999px;
|
|
background: #eee5d2;
|
|
font-size: 0.78rem;
|
|
font-weight: 800;
|
|
}
|
|
.status-online {
|
|
color: #087b70;
|
|
background: #d8f5ec;
|
|
}
|
|
.status-offline,
|
|
.status-auth {
|
|
color: #9c6423;
|
|
background: #fff0c9;
|
|
}
|
|
.pagination {
|
|
justify-content: flex-end;
|
|
padding-top: 1rem;
|
|
}
|
|
.fleet-card-entry {
|
|
display: block;
|
|
min-width: 0;
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
.fleet-card-entry::after {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 0;
|
|
border-radius: var(--radius);
|
|
}
|
|
.fleet-card-entry:focus-visible {
|
|
outline: none;
|
|
}
|
|
.fleet-card-entry:focus-visible::after {
|
|
outline: 3px solid var(--warning);
|
|
outline-offset: 3px;
|
|
}
|
|
.fleet-card-entry:hover h2,
|
|
.fleet-card-entry:focus-visible h2 {
|
|
color: var(--accent-strong);
|
|
text-decoration: underline;
|
|
text-underline-offset: 0.2em;
|
|
}
|
|
.fleet-card-admin-actions {
|
|
position: relative;
|
|
z-index: 1;
|
|
justify-content: flex-end;
|
|
padding-top: 0.25rem;
|
|
border-top: 1px solid #e9dfca;
|
|
}
|
|
.instance-detail {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr);
|
|
gap: 1rem;
|
|
}
|
|
.instance-context {
|
|
min-width: 0;
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 0.8rem 1.25rem;
|
|
padding: 1.15rem 1.25rem 0;
|
|
border: 1px solid var(--border);
|
|
border-radius: 18px;
|
|
background: var(--surface-raised);
|
|
box-shadow: 0 8px 24px rgba(121, 79, 39, 0.08);
|
|
}
|
|
.instance-breadcrumb {
|
|
grid-column: 1 / -1;
|
|
width: fit-content;
|
|
font-size: 0.85rem;
|
|
font-weight: 800;
|
|
text-decoration: none;
|
|
}
|
|
.instance-identity {
|
|
min-width: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
.instance-identity h1 {
|
|
margin: 0;
|
|
}
|
|
.instance-context-badges,
|
|
.instance-header-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.45rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
.instance-context-badges span {
|
|
padding: 0.25rem 0.55rem;
|
|
border-radius: 999px;
|
|
color: #187f77;
|
|
background: #d8f5ec;
|
|
font-size: 0.76rem;
|
|
font-weight: 800;
|
|
}
|
|
.instance-header-actions {
|
|
justify-content: flex-end;
|
|
}
|
|
.instance-header-actions span {
|
|
color: var(--muted);
|
|
font-size: 0.8rem;
|
|
}
|
|
.instance-context nav {
|
|
grid-column: 1 / -1;
|
|
margin-top: 0.2rem;
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
.instance-context nav ul {
|
|
display: flex;
|
|
gap: 0.25rem;
|
|
}
|
|
.instance-context nav a {
|
|
border-radius: 0;
|
|
border-bottom: 3px solid transparent;
|
|
}
|
|
.instance-context nav a[aria-current='page'] {
|
|
border-bottom-color: var(--mint-dark);
|
|
box-shadow: none;
|
|
}
|
|
.instance-context code {
|
|
display: block;
|
|
overflow-wrap: anywhere;
|
|
color: var(--muted);
|
|
}
|
|
.instance-context dl div,
|
|
.overview-card dl div,
|
|
.cellular-card dl div,
|
|
[class$='-card'] dl div {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
padding: 0.35rem 0;
|
|
border-bottom: 1px dashed #ddd0b8;
|
|
}
|
|
dd {
|
|
margin-inline-start: 1rem;
|
|
text-align: right;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.instance-module-detail {
|
|
min-width: 0;
|
|
}
|
|
.messages-workbench {
|
|
display: grid;
|
|
grid-template-columns: minmax(16rem, 21rem) minmax(24rem, 1fr);
|
|
min-height: 36rem;
|
|
overflow: hidden;
|
|
border: 1px solid #e2d6bf;
|
|
border-radius: var(--radius);
|
|
background: var(--surface-raised);
|
|
}
|
|
.conversation-panel {
|
|
min-width: 0;
|
|
border-right: 1px solid #e2d6bf;
|
|
background: #fffdf5;
|
|
}
|
|
.conversation-panel-header,
|
|
.conversation-detail-header,
|
|
.conversation-entry-title,
|
|
.composer-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 0.75rem;
|
|
}
|
|
.conversation-panel-header,
|
|
.conversation-detail-header {
|
|
min-height: 4.5rem;
|
|
padding: 0.8rem 1rem;
|
|
border-bottom: 1px solid #e2d6bf;
|
|
}
|
|
.conversation-panel-header h2,
|
|
.conversation-detail-header h2,
|
|
.conversation-panel-header span,
|
|
.conversation-detail-header small {
|
|
margin: 0;
|
|
}
|
|
.conversation-panel-header span,
|
|
.conversation-detail-header span,
|
|
.conversation-entry small,
|
|
.conversation-entry time,
|
|
.composer-footer small {
|
|
color: var(--muted);
|
|
font-size: 0.78rem;
|
|
}
|
|
.conversation-list,
|
|
.message-thread {
|
|
padding: 0;
|
|
margin: 0;
|
|
list-style: none;
|
|
}
|
|
.conversation-entry {
|
|
width: 100%;
|
|
display: grid;
|
|
gap: 0.3rem;
|
|
padding: 0.85rem 1rem;
|
|
border: 0;
|
|
border-bottom: 1px solid #eee4d2;
|
|
border-radius: 0;
|
|
color: inherit;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
text-align: left;
|
|
}
|
|
.conversation-entry > span:not(.conversation-entry-title) {
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.conversation-entry:hover,
|
|
.conversation-entry[aria-pressed='true'] {
|
|
background: #f2f8e9;
|
|
}
|
|
.conversation-state,
|
|
.conversation-empty-state {
|
|
padding: 1.2rem;
|
|
}
|
|
.conversation-detail {
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: #fffaf0;
|
|
}
|
|
.conversation-empty-state {
|
|
margin: auto;
|
|
max-width: 24rem;
|
|
text-align: center;
|
|
color: var(--muted);
|
|
}
|
|
.message-thread {
|
|
flex: 1 1 auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.65rem;
|
|
max-height: 32rem;
|
|
padding: 1rem;
|
|
overflow-y: auto;
|
|
}
|
|
.message-bubble {
|
|
max-width: min(78%, 36rem);
|
|
padding: 0.75rem 0.9rem;
|
|
border: 1px solid #e2d6bf;
|
|
border-radius: 14px;
|
|
background: #fffdf5;
|
|
}
|
|
.message-bubble header {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
gap: 0.5rem;
|
|
}
|
|
.message-bubble p {
|
|
white-space: pre-wrap;
|
|
}
|
|
.message-发送 {
|
|
align-self: flex-end;
|
|
background: #eaf4dd;
|
|
}
|
|
.message-composer {
|
|
display: grid;
|
|
gap: 0.6rem;
|
|
padding: 0.8rem 1rem;
|
|
border-top: 1px solid #e2d6bf;
|
|
background: #fffdf5;
|
|
}
|
|
.message-composer label {
|
|
display: grid;
|
|
gap: 0.35rem;
|
|
}
|
|
.message-composer textarea {
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
min-height: 5rem;
|
|
resize: vertical;
|
|
}
|
|
.send-confirmation {
|
|
margin: 0 1rem 1rem;
|
|
padding: 0.8rem;
|
|
border: 1px solid #dca66d;
|
|
border-radius: 14px;
|
|
background: #fff5dc;
|
|
}
|
|
.dialog-backdrop {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 20;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 1rem;
|
|
background: rgba(72, 52, 33, 0.36);
|
|
}
|
|
.new-conversation-dialog {
|
|
width: min(100%, 26rem);
|
|
padding: 1.2rem;
|
|
border: 1px solid #e2d6bf;
|
|
border-radius: var(--radius);
|
|
background: #fffdf5;
|
|
box-shadow: 0 20px 60px rgba(72, 52, 33, 0.24);
|
|
}
|
|
.new-conversation-dialog label {
|
|
display: grid;
|
|
gap: 0.4rem;
|
|
}
|
|
.new-conversation-dialog input {
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
}
|
|
.overview-grid,
|
|
.cellular-grid,
|
|
.device-network-grid,
|
|
.messages-grid,
|
|
.calls-grid,
|
|
.notifications-grid,
|
|
.automation-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
|
|
gap: 0.8rem;
|
|
}
|
|
.overview-operations {
|
|
margin-bottom: 1rem;
|
|
padding: 1rem;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
background: var(--surface);
|
|
}
|
|
.overview-operations h2 {
|
|
margin-top: 0;
|
|
}
|
|
.overview-resource-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
|
|
gap: 0.7rem;
|
|
}
|
|
.overview-resource-card {
|
|
min-width: 0;
|
|
display: grid;
|
|
gap: 0.45rem;
|
|
padding: 0.85rem;
|
|
border: 1px solid var(--border);
|
|
border-radius: 14px;
|
|
background: var(--surface-raised);
|
|
}
|
|
.overview-resource-card span {
|
|
color: var(--muted);
|
|
font-size: 0.78rem;
|
|
font-weight: 700;
|
|
}
|
|
.overview-resource-card strong {
|
|
color: var(--brown);
|
|
font-size: 1.1rem;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.overview-resource-card meter {
|
|
width: 100%;
|
|
accent-color: var(--mint-dark);
|
|
}
|
|
.system-operation-note {
|
|
color: var(--muted);
|
|
}
|
|
.overview-card,
|
|
.cellular-card,
|
|
.device-network-card,
|
|
.messages-card,
|
|
.calls-card,
|
|
.esim-card,
|
|
.notifications-card,
|
|
.automation-card,
|
|
.ota-card,
|
|
main li[aria-label] {
|
|
padding: 1rem;
|
|
border: 1px solid #e2d6bf;
|
|
border-radius: var(--radius);
|
|
background: var(--surface-raised);
|
|
}
|
|
.instance-editor {
|
|
max-width: 48rem;
|
|
}
|
|
.instance-editor form,
|
|
.instance-editor form label,
|
|
.danger-zone label {
|
|
display: grid;
|
|
gap: 0.35rem;
|
|
}
|
|
.instance-editor form {
|
|
gap: 1rem;
|
|
padding: 1rem;
|
|
border-radius: var(--radius);
|
|
background: var(--surface);
|
|
}
|
|
.danger-zone {
|
|
margin-top: 2rem;
|
|
padding: 1rem;
|
|
border: 1px solid #db938d;
|
|
border-radius: var(--radius);
|
|
background: #fff4ed;
|
|
}
|
|
.danger-zone div {
|
|
display: grid;
|
|
gap: 0.75rem;
|
|
}
|
|
main ul[aria-label='已配置实例'] {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
|
|
gap: 0.8rem;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
@media (max-width: 48rem) {
|
|
.app-topbar {
|
|
position: static;
|
|
flex-wrap: wrap;
|
|
}
|
|
.product-name {
|
|
width: 100%;
|
|
}
|
|
.app-layout {
|
|
display: block;
|
|
padding: 0.65rem;
|
|
}
|
|
.topbar-actions {
|
|
width: 100%;
|
|
justify-content: flex-end;
|
|
}
|
|
.global-navigation {
|
|
display: none;
|
|
}
|
|
main {
|
|
padding: 0.8rem;
|
|
border-radius: 16px;
|
|
}
|
|
.instance-detail {
|
|
display: block;
|
|
}
|
|
.instance-context {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr);
|
|
margin-bottom: 1rem;
|
|
}
|
|
.instance-breadcrumb,
|
|
.instance-context nav {
|
|
grid-column: 1;
|
|
}
|
|
.instance-header-actions {
|
|
justify-content: flex-start;
|
|
}
|
|
.messages-workbench {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
min-height: 0;
|
|
}
|
|
.conversation-panel {
|
|
border-right: 0;
|
|
border-bottom: 1px solid #e2d6bf;
|
|
}
|
|
.message-thread {
|
|
max-height: none;
|
|
}
|
|
.instance-context ul {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
overflow: visible;
|
|
}
|
|
.instance-context li {
|
|
min-width: 0;
|
|
}
|
|
.instance-context nav a,
|
|
.instance-context nav span {
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.fleet-toolbar label,
|
|
.jobs-toolbar label {
|
|
width: 100%;
|
|
}
|
|
.fleet-heading {
|
|
align-items: flex-start;
|
|
}
|
|
.fleet-heading > div:first-child p,
|
|
.selection-summary,
|
|
.fleet-actions > button {
|
|
display: none;
|
|
}
|
|
.fleet-toolbar {
|
|
margin: 0.55rem 0;
|
|
padding: 0.7rem;
|
|
gap: 0.65rem;
|
|
}
|
|
.fleet-search-field input[type='search'] {
|
|
min-height: 2.85rem;
|
|
padding-right: 4.1rem;
|
|
}
|
|
.fleet-status-chips {
|
|
gap: 0.35rem;
|
|
}
|
|
.fleet-status-chip {
|
|
min-height: 2.15rem;
|
|
padding: 0.25rem 0.6rem;
|
|
font-size: 0.82rem;
|
|
}
|
|
.fleet-toolbar-meta {
|
|
align-items: stretch;
|
|
}
|
|
.fleet-toolbar-controls,
|
|
.fleet-sort-field,
|
|
.fleet-select-all {
|
|
width: 100%;
|
|
}
|
|
.fleet-sort-field select {
|
|
width: 100%;
|
|
}
|
|
.fleet-select-all {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
.fleet-advanced-filters > summary {
|
|
min-height: 2.25rem;
|
|
font-size: 0.82rem;
|
|
}
|
|
.fleet-card-section {
|
|
margin-top: 0.55rem;
|
|
}
|
|
.fleet-status-summary {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
.table-scroll {
|
|
overflow-x: auto;
|
|
border: 1px solid var(--border);
|
|
box-shadow: none;
|
|
background: var(--surface-raised);
|
|
}
|
|
.dense-table,
|
|
.dense-table tbody {
|
|
min-width: 48rem;
|
|
}
|
|
.dense-table th,
|
|
.dense-table td {
|
|
white-space: nowrap;
|
|
}
|
|
.dense-table button,
|
|
.pagination button,
|
|
.global-navigation a,
|
|
.instance-context nav a,
|
|
.fleet-actions a {
|
|
min-height: 2.75rem;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
}
|
|
}
|
|
@media (max-width: 24.375rem) {
|
|
body {
|
|
min-width: 20rem;
|
|
}
|
|
.connection-status,
|
|
.version-badge {
|
|
font-size: 0.72rem;
|
|
}
|
|
.fleet-heading > *,
|
|
.fleet-actions,
|
|
.form-actions,
|
|
.pagination {
|
|
width: 100%;
|
|
}
|
|
button {
|
|
max-width: 100%;
|
|
white-space: normal;
|
|
}
|
|
.fleet-card-actions > * {
|
|
flex: 1 1 auto;
|
|
justify-content: center;
|
|
}
|
|
.fleet-card {
|
|
padding: 0.8rem;
|
|
}
|
|
.fleet-card-sms dl {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
.fleet-card-sms dl div:nth-child(3) {
|
|
grid-column: auto;
|
|
}
|
|
}
|
|
|
|
.auth-screen {
|
|
min-height: 100vh;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 1.5rem;
|
|
background:
|
|
radial-gradient(circle at 15% 10%, rgba(242, 169, 59, 0.18), transparent 34%), var(--background);
|
|
}
|
|
.auth-card {
|
|
width: min(100%, 27rem);
|
|
padding: 2rem;
|
|
border: 1px solid var(--border);
|
|
border-radius: 1.5rem;
|
|
background: var(--surface-raised);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
.auth-card form,
|
|
.auth-password-fields {
|
|
display: grid;
|
|
gap: 0.75rem;
|
|
margin-top: 1.25rem;
|
|
}
|
|
.auth-card input,
|
|
.auth-settings input[type='password'] {
|
|
width: 100%;
|
|
}
|
|
.auth-settings {
|
|
max-width: 45rem;
|
|
display: grid;
|
|
gap: 1.25rem;
|
|
}
|
|
.toggle-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 1.5rem;
|
|
}
|
|
.toggle-row span {
|
|
display: grid;
|
|
gap: 0.375rem;
|
|
}
|
|
.toggle-row input[type='checkbox'] {
|
|
width: 2.875rem;
|
|
height: 1.5rem;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
|
|
.fleet-card.is-selected {
|
|
border-color: color-mix(in srgb, var(--mint) 45%, var(--border));
|
|
box-shadow:
|
|
0 0 0 1px color-mix(in srgb, var(--mint) 28%, transparent),
|
|
var(--shadow-hover);
|
|
}
|
|
.fleet-card header {
|
|
display: grid;
|
|
grid-template-columns: auto 1fr auto;
|
|
gap: 0.75rem;
|
|
align-items: start;
|
|
}
|
|
.fleet-card-select {
|
|
display: grid;
|
|
place-items: center;
|
|
padding-top: 0.2rem;
|
|
}
|
|
.fleet-card-select input {
|
|
width: 1.1rem;
|
|
height: 1.1rem;
|
|
}
|
|
.fleet-card-metrics {
|
|
display: grid;
|
|
gap: 0.65rem;
|
|
margin: 0.85rem 0 0.5rem;
|
|
}
|
|
.fleet-card-metrics meter {
|
|
width: 100%;
|
|
height: 0.55rem;
|
|
margin-right: 0.4rem;
|
|
}
|
|
.fleet-card-admin-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
margin-top: 0.75rem;
|
|
}
|
|
.fleet-card-admin-actions button,
|
|
.fleet-card-admin-actions a {
|
|
min-height: 2.25rem;
|
|
}
|
|
.batch-entry {
|
|
display: grid;
|
|
gap: 0.75rem;
|
|
padding: 1rem 1.1rem;
|
|
border: 1px solid var(--border);
|
|
border-radius: 1rem;
|
|
background: color-mix(in srgb, var(--surface-raised, #fff) 92%, var(--accent, #f2a93b));
|
|
}
|
|
.batch-entry-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
}
|
|
.batch-progress {
|
|
margin: 0;
|
|
font-size: 0.925rem;
|
|
}
|
|
@media (max-width: 720px) {
|
|
.fleet-status-summary {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.fleet-card header {
|
|
grid-template-columns: auto 1fr;
|
|
}
|
|
.fleet-card header .status {
|
|
grid-column: 2;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
scroll-behavior: auto !important;
|
|
transition-duration: 0.01ms !important;
|
|
animation-duration: 0.01ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
}
|
|
}
|
|
|
|
.fleet-select-all {
|
|
display: inline-flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.4rem;
|
|
align-items: center;
|
|
}
|
|
.fleet-select-all button {
|
|
min-height: 2.35rem;
|
|
padding: 0.35rem 0.75rem;
|
|
font-size: 0.86rem;
|
|
}
|
|
.fleet-card-section + .pagination {
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.fleet-card-origin {
|
|
margin: 0.15rem 0 0;
|
|
color: var(--muted, #6b7280);
|
|
font-size: 0.85rem;
|
|
word-break: break-all;
|
|
}
|
|
.fleet-card-anomalies {
|
|
margin: 0.25rem 0 0;
|
|
color: var(--danger, #b45309);
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
|
|
/* Card entrance stagger (respects reduced-motion block above) */
|
|
.fleet-card-grid .fleet-card:nth-child(1) { animation-delay: 0ms; }
|
|
.fleet-card-grid .fleet-card:nth-child(2) { animation-delay: 40ms; }
|
|
.fleet-card-grid .fleet-card:nth-child(3) { animation-delay: 80ms; }
|
|
.fleet-card-grid .fleet-card:nth-child(4) { animation-delay: 120ms; }
|
|
.fleet-card-grid .fleet-card:nth-child(5) { animation-delay: 160ms; }
|
|
.fleet-card-grid .fleet-card:nth-child(6) { animation-delay: 200ms; }
|
|
.fleet-card-grid .fleet-card:nth-child(n + 7) { animation-delay: 220ms; }
|