mirror of
https://github.com/Nezumi-2711/uptime-monitoring.git
synced 2026-09-22 05:41:59 +00:00
2216 lines
41 KiB
CSS
2216 lines
41 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');
|
|
@import 'tailwindcss';
|
|
@import 'tw-animate-css';
|
|
@import 'shadcn/tailwind.css';
|
|
|
|
@custom-variant dark (&:is(.dark *));
|
|
|
|
:root {
|
|
font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
|
|
color: #171717;
|
|
background: #fff;
|
|
font-synthesis: none;
|
|
text-rendering: optimizeLegibility;
|
|
--primary: #3ecf8e;
|
|
--shadcn-primary: oklch(0.205 0 0);
|
|
--primary-deep: #24b47e;
|
|
--ink: #171717;
|
|
--muted: #707070;
|
|
--shadcn-muted: oklch(0.97 0 0);
|
|
--faint: #9a9a9a;
|
|
--hairline: #dfdfdf;
|
|
--soft: #fafafa;
|
|
--night: #1c1c1c;
|
|
--background: oklch(1 0 0);
|
|
--foreground: oklch(0.145 0 0);
|
|
--card: oklch(1 0 0);
|
|
--card-foreground: oklch(0.145 0 0);
|
|
--popover: oklch(1 0 0);
|
|
--popover-foreground: oklch(0.145 0 0);
|
|
--primary-foreground: oklch(0.985 0 0);
|
|
--secondary: oklch(0.97 0 0);
|
|
--secondary-foreground: oklch(0.205 0 0);
|
|
--muted-foreground: oklch(0.556 0 0);
|
|
--accent: oklch(0.97 0 0);
|
|
--accent-foreground: oklch(0.205 0 0);
|
|
--destructive: oklch(0.577 0.245 27.325);
|
|
--border: oklch(0.922 0 0);
|
|
--input: oklch(0.922 0 0);
|
|
--ring: oklch(0.708 0 0);
|
|
--chart-1: oklch(0.87 0 0);
|
|
--chart-2: oklch(0.556 0 0);
|
|
--chart-3: oklch(0.439 0 0);
|
|
--chart-4: oklch(0.371 0 0);
|
|
--chart-5: oklch(0.269 0 0);
|
|
--radius: 0.625rem;
|
|
--sidebar: oklch(0.985 0 0);
|
|
--sidebar-foreground: oklch(0.145 0 0);
|
|
--sidebar-primary: oklch(0.205 0 0);
|
|
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
--sidebar-accent: oklch(0.97 0 0);
|
|
--sidebar-accent-foreground: oklch(0.205 0 0);
|
|
--sidebar-border: oklch(0.922 0 0);
|
|
--sidebar-ring: oklch(0.708 0 0);
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
body {
|
|
margin: 0;
|
|
min-width: 320px;
|
|
min-height: 100vh;
|
|
background: #fff;
|
|
}
|
|
button,
|
|
input,
|
|
select {
|
|
font: inherit;
|
|
}
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
button:focus-visible,
|
|
a:focus-visible,
|
|
input:focus-visible,
|
|
select:focus-visible {
|
|
outline: 2px solid var(--primary-deep);
|
|
outline-offset: 3px;
|
|
}
|
|
button {
|
|
color: inherit;
|
|
}
|
|
|
|
.full-page-loading {
|
|
display: grid;
|
|
place-items: center;
|
|
align-content: center;
|
|
gap: 14px;
|
|
min-height: 100dvh;
|
|
color: var(--muted);
|
|
}
|
|
.full-page-loading p {
|
|
margin: 0;
|
|
font-size: 13px;
|
|
}
|
|
.loading-mark {
|
|
width: 32px;
|
|
height: 32px;
|
|
color: var(--primary-deep);
|
|
animation: loading-pulse 1.2s ease-in-out infinite;
|
|
}
|
|
|
|
.dashboard-shell {
|
|
min-height: 100dvh;
|
|
background: linear-gradient(#fff 0, #fff 68px, #fcfcfc 68px);
|
|
}
|
|
.dashboard-header {
|
|
position: sticky;
|
|
z-index: 20;
|
|
top: 0;
|
|
border-bottom: 1px solid #ededed;
|
|
background: rgb(255 255 255 / 0.94);
|
|
backdrop-filter: blur(14px);
|
|
}
|
|
.dashboard-header-inner {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
width: min(1280px, calc(100% - 48px));
|
|
height: 68px;
|
|
margin: 0 auto;
|
|
}
|
|
.brand {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
letter-spacing: -0.6px;
|
|
}
|
|
.brand-button {
|
|
padding: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
}
|
|
.brand-mark {
|
|
width: 26px;
|
|
height: 26px;
|
|
color: var(--primary-deep);
|
|
}
|
|
.nav-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 20px;
|
|
}
|
|
.header-context {
|
|
padding-right: 20px;
|
|
border-right: 1px solid #e5e5e5;
|
|
font-size: 13px;
|
|
color: var(--muted);
|
|
}
|
|
.nav-auth {
|
|
padding: 0;
|
|
border: 0;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: #525252;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
transition: color 160ms ease;
|
|
}
|
|
.nav-auth:hover:not(:disabled) {
|
|
color: var(--primary-deep);
|
|
}
|
|
.nav-auth:disabled {
|
|
cursor: wait;
|
|
opacity: 0.55;
|
|
}
|
|
|
|
.dashboard-main {
|
|
width: min(1280px, calc(100% - 48px));
|
|
margin: 0 auto;
|
|
padding: 56px 0 72px;
|
|
}
|
|
.dashboard-intro {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
gap: 32px;
|
|
}
|
|
.overline {
|
|
margin: 0 0 8px;
|
|
font:
|
|
500 12px/1.4 'IBM Plex Mono',
|
|
monospace;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
color: #55816e;
|
|
}
|
|
.dashboard-intro h1 {
|
|
margin: 0;
|
|
font-size: 40px;
|
|
font-weight: 500;
|
|
line-height: 1.1;
|
|
letter-spacing: -1.5px;
|
|
}
|
|
.dashboard-intro > div > p:last-child {
|
|
margin: 12px 0 0;
|
|
font-size: 16px;
|
|
color: var(--muted);
|
|
}
|
|
.primary-button,
|
|
.secondary-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 9px;
|
|
min-height: 42px;
|
|
padding: 8px 16px;
|
|
border-radius: 6px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
transition:
|
|
border-color 160ms ease,
|
|
background 160ms ease,
|
|
transform 160ms ease;
|
|
}
|
|
.primary-button {
|
|
border: 1px solid #35c586;
|
|
color: var(--ink);
|
|
background: var(--primary);
|
|
box-shadow:
|
|
0 1px 2px rgb(0 0 0 / 0.08),
|
|
inset 0 1px rgb(255 255 255 / 0.2);
|
|
}
|
|
.primary-button:hover:not(:disabled) {
|
|
background: #36c487;
|
|
transform: translateY(-1px);
|
|
}
|
|
.secondary-button {
|
|
border: 1px solid #cfcfcf;
|
|
color: #444;
|
|
background: #fff;
|
|
}
|
|
.secondary-button:hover:not(:disabled) {
|
|
border-color: #aaa;
|
|
background: var(--soft);
|
|
}
|
|
.primary-button:active:not(:disabled),
|
|
.secondary-button:active:not(:disabled) {
|
|
transform: translateY(1px);
|
|
}
|
|
.primary-button:disabled,
|
|
.secondary-button:disabled {
|
|
cursor: wait;
|
|
opacity: 0.6;
|
|
}
|
|
.primary-button svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
.metric-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 16px;
|
|
margin-top: 40px;
|
|
}
|
|
.metric-card {
|
|
min-height: 142px;
|
|
padding: 24px;
|
|
border: 1px solid #e3e3e3;
|
|
border-radius: 8px;
|
|
background: #fff;
|
|
}
|
|
.metric-card p {
|
|
margin: 0 0 20px;
|
|
font-size: 13px;
|
|
color: var(--muted);
|
|
}
|
|
.metric-card strong {
|
|
display: block;
|
|
font-size: 32px;
|
|
font-weight: 500;
|
|
line-height: 1;
|
|
letter-spacing: -1px;
|
|
}
|
|
.metric-card span {
|
|
display: block;
|
|
margin-top: 10px;
|
|
font-size: 13px;
|
|
color: var(--faint);
|
|
}
|
|
|
|
.monitor-form {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 20px 16px;
|
|
margin-top: 24px;
|
|
}
|
|
.field {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
.field-name {
|
|
grid-column: span 1;
|
|
}
|
|
.field-url {
|
|
grid-column: span 3;
|
|
}
|
|
.field > span {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: #353535;
|
|
}
|
|
.field input,
|
|
.field select {
|
|
width: 100%;
|
|
min-height: 42px;
|
|
padding: 8px 12px;
|
|
border: 1px solid #cfcfcf;
|
|
border-radius: 6px;
|
|
font-size: 14px;
|
|
color: var(--ink);
|
|
background: #fff;
|
|
box-shadow: inset 0 1px 2px rgb(0 0 0 / 0.025);
|
|
}
|
|
.field input:hover,
|
|
.field select:hover {
|
|
border-color: #aaa;
|
|
}
|
|
.field input:focus,
|
|
.field select:focus {
|
|
border-color: var(--primary-deep);
|
|
outline: 0;
|
|
box-shadow: 0 0 0 3px rgb(36 180 126 / 0.14);
|
|
}
|
|
.toggle-field {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
align-self: end;
|
|
min-height: 42px;
|
|
font-size: 13px;
|
|
color: #444;
|
|
cursor: pointer;
|
|
}
|
|
.toggle-field input {
|
|
width: 16px;
|
|
height: 16px;
|
|
accent-color: var(--primary-deep);
|
|
}
|
|
.form-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
align-self: end;
|
|
grid-column: span 3;
|
|
}
|
|
.form-actions.compact-actions {
|
|
grid-column: span 2;
|
|
}
|
|
.form-error {
|
|
grid-column: 1 / -1;
|
|
margin: 0;
|
|
padding: 10px 12px;
|
|
border: 1px solid #efcaca;
|
|
border-radius: 6px;
|
|
font-size: 13px;
|
|
color: #9f2f2f;
|
|
background: #fff6f6;
|
|
}
|
|
|
|
.services-panel {
|
|
margin-top: 24px;
|
|
border: 1px solid #dedede;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
background: #fff;
|
|
}
|
|
.panel-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
min-height: 78px;
|
|
padding: 16px 20px;
|
|
border-bottom: 1px solid #e8e8e8;
|
|
}
|
|
.panel-heading h2 {
|
|
margin: 0;
|
|
font-size: 18px;
|
|
font-weight: 500;
|
|
}
|
|
.panel-heading p {
|
|
margin: 4px 0 0;
|
|
font-size: 13px;
|
|
color: var(--muted);
|
|
}
|
|
.icon-button {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 34px;
|
|
height: 34px;
|
|
padding: 0;
|
|
border: 1px solid #d8d8d8;
|
|
border-radius: 6px;
|
|
color: #666;
|
|
background: #fff;
|
|
cursor: pointer;
|
|
}
|
|
.icon-button:hover:not(:disabled) {
|
|
color: #222;
|
|
border-color: #aaa;
|
|
}
|
|
.icon-button:disabled {
|
|
cursor: wait;
|
|
opacity: 0.6;
|
|
}
|
|
.icon-button svg {
|
|
width: 15px;
|
|
height: 15px;
|
|
}
|
|
.is-spinning {
|
|
animation: spin 900ms linear infinite;
|
|
}
|
|
.services-title,
|
|
.service-row {
|
|
display: grid;
|
|
grid-template-columns: minmax(320px, 1.35fr) minmax(220px, 0.8fr) minmax(340px, 1fr);
|
|
align-items: center;
|
|
column-gap: 20px;
|
|
}
|
|
.services-title {
|
|
min-height: 40px;
|
|
padding: 0 20px;
|
|
border-bottom: 1px solid #e8e8e8;
|
|
font-size: 12px;
|
|
color: #888;
|
|
background: #fafafa;
|
|
}
|
|
.services-title span:last-child {
|
|
justify-self: start;
|
|
}
|
|
.service-row {
|
|
min-height: 112px;
|
|
padding: 18px 20px;
|
|
transition:
|
|
opacity 160ms ease,
|
|
background 160ms ease;
|
|
}
|
|
.service-row + .service-row {
|
|
border-top: 1px solid #ededed;
|
|
}
|
|
.service-row:hover {
|
|
background: #fdfdfd;
|
|
}
|
|
.service-row.is-disabled {
|
|
opacity: 0.55;
|
|
background: #fafafa;
|
|
}
|
|
.service-name {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
min-width: 0;
|
|
}
|
|
.service-name > div {
|
|
min-width: 0;
|
|
}
|
|
.service-icon {
|
|
display: grid;
|
|
place-items: center;
|
|
flex: 0 0 auto;
|
|
width: 40px;
|
|
height: 40px;
|
|
border: 1px solid #dedede;
|
|
border-radius: 6px;
|
|
color: #555;
|
|
background: #fafafa;
|
|
}
|
|
.service-icon svg {
|
|
width: 19px;
|
|
height: 19px;
|
|
}
|
|
.service-icon img {
|
|
width: 22px;
|
|
height: 22px;
|
|
border-radius: 4px;
|
|
object-fit: contain;
|
|
}
|
|
.service-name strong,
|
|
.service-name small {
|
|
display: block;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.service-name strong {
|
|
font-size: 15px;
|
|
font-weight: 500;
|
|
}
|
|
.monitor-name-link {
|
|
display: block;
|
|
max-width: 100%;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
border: 0;
|
|
font-size: 15px;
|
|
font-weight: 500;
|
|
text-align: left;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
}
|
|
.monitor-name-link:hover {
|
|
color: #16885b;
|
|
text-decoration: underline;
|
|
text-underline-offset: 3px;
|
|
}
|
|
.service-name small {
|
|
margin-top: 4px;
|
|
font:
|
|
400 12px/1.4 'IBM Plex Mono',
|
|
monospace;
|
|
color: #888;
|
|
}
|
|
.monitor-meta {
|
|
display: block;
|
|
margin-top: 5px;
|
|
font-size: 12px;
|
|
color: #aaa;
|
|
}
|
|
.monitor-result {
|
|
display: grid;
|
|
justify-items: start;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
}
|
|
.monitor-result code {
|
|
font:
|
|
400 12px/1.4 'IBM Plex Mono',
|
|
monospace;
|
|
color: #606060;
|
|
}
|
|
.monitor-result small {
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 12px;
|
|
color: #999;
|
|
}
|
|
.row-status {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
color: #777;
|
|
}
|
|
.row-status i {
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 50%;
|
|
background: #d05a5a;
|
|
}
|
|
.row-status.online {
|
|
color: #16885b;
|
|
}
|
|
.row-status.online i {
|
|
background: var(--primary-deep);
|
|
box-shadow: 0 0 0 3px rgb(62 207 142 / 0.12);
|
|
}
|
|
.row-status.offline {
|
|
color: #ae3d3d;
|
|
}
|
|
.row-status.checking {
|
|
color: #8b7722;
|
|
}
|
|
.row-status.checking i {
|
|
background: #d7bd53;
|
|
animation: blink 1.1s ease-in-out infinite;
|
|
}
|
|
.row-actions {
|
|
display: grid;
|
|
grid-template-columns: auto auto repeat(3, 38px);
|
|
justify-content: space-between;
|
|
justify-self: stretch;
|
|
width: 100%;
|
|
gap: 4px;
|
|
}
|
|
.row-action {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
min-height: 38px;
|
|
padding: 7px 12px;
|
|
border: 1px solid transparent;
|
|
border-radius: 6px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
line-height: 1;
|
|
color: #626262;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
transition:
|
|
color 140ms ease,
|
|
background 140ms ease,
|
|
box-shadow 140ms ease,
|
|
transform 140ms ease;
|
|
}
|
|
.row-action svg {
|
|
flex: 0 0 auto;
|
|
width: 15px;
|
|
height: 15px;
|
|
stroke-width: 1.8;
|
|
}
|
|
.row-action-icon {
|
|
width: 38px;
|
|
padding: 0;
|
|
}
|
|
.row-action:hover:not(:disabled) {
|
|
border-color: #e1e1e1;
|
|
color: #222;
|
|
background: #f8f8f8;
|
|
}
|
|
.row-action:active:not(:disabled) {
|
|
transform: translateY(1px);
|
|
box-shadow: none;
|
|
}
|
|
.row-action:disabled {
|
|
cursor: wait;
|
|
opacity: 0.48;
|
|
}
|
|
.row-action-accent {
|
|
color: #11764e;
|
|
background: #eef9f4;
|
|
}
|
|
.row-action-accent:hover:not(:disabled) {
|
|
border-color: #c9eadb;
|
|
color: #0d6542;
|
|
background: #e4f6ed;
|
|
}
|
|
.row-actions .danger-action {
|
|
color: #a33d3d;
|
|
}
|
|
.row-actions .danger-action:hover:not(:disabled) {
|
|
border-color: #efd1d1;
|
|
color: #922f2f;
|
|
background: #fff2f2;
|
|
}
|
|
|
|
.panel-state {
|
|
display: grid;
|
|
justify-items: center;
|
|
padding: 72px 24px;
|
|
text-align: center;
|
|
}
|
|
.panel-state strong {
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
}
|
|
.panel-state p {
|
|
max-width: 420px;
|
|
margin: 8px 0 20px;
|
|
font-size: 13px;
|
|
line-height: 1.55;
|
|
color: var(--muted);
|
|
}
|
|
.empty-icon {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 48px;
|
|
height: 48px;
|
|
margin-bottom: 18px;
|
|
border: 1px solid #dcdcdc;
|
|
border-radius: 8px;
|
|
color: #666;
|
|
background: #fafafa;
|
|
}
|
|
.empty-icon svg {
|
|
width: 22px;
|
|
height: 22px;
|
|
}
|
|
.error-state {
|
|
background: #fffafa;
|
|
}
|
|
.error-state strong {
|
|
color: #8b3434;
|
|
}
|
|
.monitor-skeleton > div {
|
|
display: grid;
|
|
grid-template-columns: 40px 1fr 180px;
|
|
align-items: center;
|
|
gap: 16px;
|
|
min-height: 104px;
|
|
padding: 18px 20px;
|
|
}
|
|
.monitor-skeleton > div + div {
|
|
border-top: 1px solid #ededed;
|
|
}
|
|
.monitor-skeleton i,
|
|
.monitor-skeleton span,
|
|
.monitor-skeleton b {
|
|
display: block;
|
|
border-radius: 5px;
|
|
background: linear-gradient(90deg, #f1f1f1 20%, #f8f8f8 50%, #f1f1f1 80%);
|
|
background-size: 220% 100%;
|
|
animation: skeleton 1.4s ease-in-out infinite;
|
|
}
|
|
.monitor-skeleton i {
|
|
width: 40px;
|
|
height: 40px;
|
|
}
|
|
.monitor-skeleton span {
|
|
width: min(360px, 80%);
|
|
height: 32px;
|
|
}
|
|
.monitor-skeleton b {
|
|
width: 180px;
|
|
height: 32px;
|
|
}
|
|
.dashboard-page-footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
width: min(1280px, calc(100% - 48px));
|
|
margin: 0 auto;
|
|
padding: 24px 0 32px;
|
|
border-top: 1px solid #ededed;
|
|
font-size: 12px;
|
|
color: #999;
|
|
}
|
|
|
|
.auth-page {
|
|
display: grid;
|
|
grid-template-rows: auto 1fr auto;
|
|
justify-items: center;
|
|
min-height: 100dvh;
|
|
padding: 32px 24px 24px;
|
|
background: radial-gradient(circle at 50% 38%, rgb(62 207 142 / 0.08), transparent 34%), linear-gradient(#fff, #fcfcfc);
|
|
}
|
|
.auth-page::before {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 0;
|
|
pointer-events: none;
|
|
background-image: radial-gradient(#dcdcdc 0.65px, transparent 0.65px);
|
|
background-size: 16px 16px;
|
|
mask-image: linear-gradient(to bottom, transparent, black 24%, transparent 76%);
|
|
content: '';
|
|
}
|
|
.auth-brand {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
letter-spacing: -0.6px;
|
|
}
|
|
.auth-brand-mark {
|
|
width: 26px;
|
|
height: 26px;
|
|
color: var(--primary-deep);
|
|
}
|
|
.auth-card {
|
|
position: relative;
|
|
z-index: 1;
|
|
align-self: center;
|
|
width: min(100%, 420px);
|
|
padding: 36px;
|
|
border: 1px solid var(--hairline);
|
|
border-radius: 12px;
|
|
background: rgb(255 255 255 / 0.96);
|
|
box-shadow:
|
|
0 18px 55px rgb(24 74 52 / 0.08),
|
|
0 2px 8px rgb(0 0 0 / 0.04);
|
|
animation: enter 500ms cubic-bezier(0.16, 1, 0.3, 1) both;
|
|
}
|
|
.auth-heading p {
|
|
margin: 0 0 12px;
|
|
font:
|
|
500 10px/1.4 'IBM Plex Mono',
|
|
monospace;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
color: #55816e;
|
|
}
|
|
.auth-heading h1 {
|
|
margin: 0;
|
|
font-size: 30px;
|
|
font-weight: 500;
|
|
line-height: 1.16;
|
|
letter-spacing: -1.2px;
|
|
}
|
|
.auth-heading > span {
|
|
display: block;
|
|
margin-top: 12px;
|
|
font-size: 14px;
|
|
line-height: 1.55;
|
|
color: #626262;
|
|
}
|
|
.auth-form {
|
|
display: grid;
|
|
gap: 20px;
|
|
margin-top: 30px;
|
|
}
|
|
.auth-field {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
.auth-field label {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: #353535;
|
|
}
|
|
.auth-field input {
|
|
width: 100%;
|
|
min-height: 42px;
|
|
padding: 8px 12px;
|
|
border: 1px solid #cfcfcf;
|
|
border-radius: 6px;
|
|
font-size: 14px;
|
|
color: var(--ink);
|
|
background: #fff;
|
|
box-shadow: inset 0 1px 2px rgb(0 0 0 / 0.025);
|
|
}
|
|
.auth-field input:hover {
|
|
border-color: #a9a9a9;
|
|
}
|
|
.auth-field input:focus {
|
|
border-color: var(--primary-deep);
|
|
outline: 0;
|
|
box-shadow: 0 0 0 3px rgb(36 180 126 / 0.14);
|
|
}
|
|
.auth-error {
|
|
margin: -4px 0 0;
|
|
padding: 10px 12px;
|
|
border: 1px solid #efcaca;
|
|
border-radius: 6px;
|
|
font-size: 12px;
|
|
line-height: 1.45;
|
|
color: #9f2f2f;
|
|
background: #fff6f6;
|
|
}
|
|
.auth-submit {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
min-height: 42px;
|
|
padding: 8px 16px;
|
|
border: 1px solid #35c586;
|
|
border-radius: 6px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--ink);
|
|
background: var(--primary);
|
|
box-shadow:
|
|
0 1px 2px rgb(0 0 0 / 0.08),
|
|
inset 0 1px rgb(255 255 255 / 0.2);
|
|
cursor: pointer;
|
|
}
|
|
.auth-submit:hover:not(:disabled) {
|
|
background: #36c487;
|
|
transform: translateY(-1px);
|
|
}
|
|
.auth-submit:active:not(:disabled) {
|
|
background: var(--primary-deep);
|
|
transform: translateY(1px);
|
|
}
|
|
.auth-submit:disabled {
|
|
cursor: wait;
|
|
opacity: 0.62;
|
|
}
|
|
.auth-footnote {
|
|
position: relative;
|
|
z-index: 1;
|
|
margin: 0;
|
|
font-size: 11px;
|
|
color: #858585;
|
|
}
|
|
|
|
.detail-main {
|
|
padding-top: 34px;
|
|
}
|
|
.back-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
padding: 0;
|
|
border: 0;
|
|
font-size: 13px;
|
|
color: var(--muted);
|
|
background: transparent;
|
|
cursor: pointer;
|
|
}
|
|
.back-link:hover {
|
|
color: var(--ink);
|
|
}
|
|
.back-link svg {
|
|
width: 15px;
|
|
height: 15px;
|
|
}
|
|
.detail-hero {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
gap: 32px;
|
|
margin-top: 34px;
|
|
padding-bottom: 36px;
|
|
border-bottom: 1px solid #e7e7e7;
|
|
}
|
|
.detail-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 18px;
|
|
min-width: 0;
|
|
}
|
|
.status-orb {
|
|
flex: 0 0 auto;
|
|
width: 16px;
|
|
height: 16px;
|
|
border: 4px solid #f2d4d4;
|
|
border-radius: 50%;
|
|
background: #c74f4f;
|
|
box-shadow: 0 0 0 8px #fff;
|
|
}
|
|
.status-orb.online {
|
|
border-color: #c5f1df;
|
|
background: var(--primary-deep);
|
|
}
|
|
.status-orb.checking {
|
|
border-color: #eee5bd;
|
|
background: #c6aa38;
|
|
}
|
|
.detail-title h1 {
|
|
margin: 0;
|
|
overflow: hidden;
|
|
font-size: 40px;
|
|
font-weight: 500;
|
|
line-height: 1.1;
|
|
letter-spacing: -1.5px;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.detail-title a {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
max-width: min(70vw, 680px);
|
|
margin-top: 9px;
|
|
overflow: hidden;
|
|
font:
|
|
400 13px/1.4 'IBM Plex Mono',
|
|
monospace;
|
|
color: var(--muted);
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.detail-title a:hover {
|
|
color: var(--primary-deep);
|
|
}
|
|
.detail-title a svg {
|
|
flex: 0 0 auto;
|
|
width: 13px;
|
|
height: 13px;
|
|
}
|
|
.detail-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 18px;
|
|
}
|
|
.muted-alert {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
}
|
|
.muted-alert svg {
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
.sla-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(5, 1fr);
|
|
gap: 12px;
|
|
margin-top: 24px;
|
|
}
|
|
.sla-card {
|
|
min-width: 0;
|
|
padding: 20px;
|
|
border: 1px solid #e3e3e3;
|
|
border-radius: 8px;
|
|
background: #fff;
|
|
}
|
|
.sla-card p {
|
|
margin: 0 0 17px;
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
}
|
|
.sla-card strong {
|
|
display: block;
|
|
font:
|
|
500 23px/1 'IBM Plex Mono',
|
|
monospace;
|
|
letter-spacing: -1px;
|
|
}
|
|
.sla-card span {
|
|
display: block;
|
|
margin-top: 11px;
|
|
overflow: hidden;
|
|
font-size: 11px;
|
|
color: var(--faint);
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.sla-card.incident-summary {
|
|
background: #fafafa;
|
|
}
|
|
.sla-card.incident-summary.has-incident {
|
|
border-color: #e8c3c3;
|
|
background: #fff8f8;
|
|
}
|
|
.sla-card.incident-summary.has-incident strong {
|
|
color: #a83e3e;
|
|
}
|
|
.detail-grid {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.75fr);
|
|
gap: 16px;
|
|
margin-top: 16px;
|
|
}
|
|
.detail-grid.lower-grid {
|
|
align-items: stretch;
|
|
}
|
|
.lower-grid > .data-panel {
|
|
height: 100%;
|
|
}
|
|
.data-panel {
|
|
overflow: hidden;
|
|
border: 1px solid #dedede;
|
|
border-radius: 8px;
|
|
background: #fff;
|
|
}
|
|
.data-panel-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
min-height: 82px;
|
|
padding: 18px 22px;
|
|
border-bottom: 1px solid #ededed;
|
|
}
|
|
.data-panel-heading .overline {
|
|
margin-bottom: 5px;
|
|
}
|
|
.data-panel-heading h2 {
|
|
margin: 0;
|
|
font-size: 18px;
|
|
font-weight: 500;
|
|
}
|
|
.data-panel-heading > span {
|
|
font:
|
|
400 11px/1.4 'IBM Plex Mono',
|
|
monospace;
|
|
color: var(--faint);
|
|
}
|
|
.chart-panel {
|
|
min-height: 330px;
|
|
}
|
|
.sparkline-wrap {
|
|
position: relative;
|
|
height: 245px;
|
|
padding: 26px 24px 24px;
|
|
background: linear-gradient(180deg, #fdfefe, #fff);
|
|
}
|
|
.sparkline-wrap .recharts-wrapper:focus,
|
|
.sparkline-wrap .recharts-wrapper:focus-visible,
|
|
.sparkline-wrap .recharts-surface:focus,
|
|
.sparkline-wrap .recharts-surface:focus-visible,
|
|
.uptime-bar .recharts-wrapper:focus,
|
|
.uptime-bar .recharts-wrapper:focus-visible,
|
|
.uptime-bar .recharts-surface:focus,
|
|
.uptime-bar .recharts-surface:focus-visible {
|
|
outline: none;
|
|
}
|
|
.chart-scale {
|
|
position: absolute;
|
|
inset: 19px 22px 20px auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
pointer-events: none;
|
|
font:
|
|
400 9px/1 'IBM Plex Mono',
|
|
monospace;
|
|
color: #aaa;
|
|
}
|
|
.chart-tooltip {
|
|
display: grid;
|
|
min-width: 144px;
|
|
gap: 5px;
|
|
padding: 10px 12px;
|
|
border: 1px solid var(--hairline);
|
|
border-radius: 6px;
|
|
color: var(--ink);
|
|
background: rgb(255 255 255 / 0.97);
|
|
box-shadow:
|
|
0 8px 24px rgb(24 74 52 / 0.1),
|
|
0 2px 6px rgb(0 0 0 / 0.04);
|
|
backdrop-filter: blur(8px);
|
|
}
|
|
.chart-tooltip time {
|
|
font-size: 10px;
|
|
line-height: 1.35;
|
|
color: var(--muted);
|
|
}
|
|
.chart-tooltip strong {
|
|
font:
|
|
500 15px/1.3 'IBM Plex Mono',
|
|
monospace;
|
|
letter-spacing: -0.3px;
|
|
}
|
|
.chart-tooltip > span {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
width: max-content;
|
|
font-size: 10px;
|
|
font-weight: 500;
|
|
color: #16885b;
|
|
}
|
|
.chart-tooltip > span::before {
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
background: var(--primary-deep);
|
|
content: '';
|
|
}
|
|
.chart-tooltip > span.is-down {
|
|
color: #ae3d3d;
|
|
}
|
|
.chart-tooltip > span.is-down::before {
|
|
background: #d95c5c;
|
|
}
|
|
.chart-tooltip-compact {
|
|
min-width: 134px;
|
|
}
|
|
.chart-empty,
|
|
.table-empty {
|
|
display: grid;
|
|
min-height: 150px;
|
|
place-items: center;
|
|
padding: 24px;
|
|
font-size: 13px;
|
|
color: var(--muted);
|
|
text-align: center;
|
|
}
|
|
.uptime-panel {
|
|
min-height: 330px;
|
|
}
|
|
.uptime-bar {
|
|
height: 132px;
|
|
padding: 28px 22px 14px;
|
|
}
|
|
.uptime-legend {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 14px 22px 0;
|
|
border-top: 1px solid #f0f0f0;
|
|
font-size: 10px;
|
|
color: #999;
|
|
}
|
|
.uptime-legend span {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
}
|
|
.uptime-legend i {
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
background: var(--primary-deep);
|
|
}
|
|
.uptime-legend i.legend-down {
|
|
margin-left: 5px;
|
|
background: #d95c5c;
|
|
}
|
|
.data-table-wrap {
|
|
overflow-x: auto;
|
|
}
|
|
.recent-checks-panel {
|
|
display: flex;
|
|
min-height: 0;
|
|
flex-direction: column;
|
|
}
|
|
.recent-checks-scroll {
|
|
max-height: clamp(320px, 52vh, 556px);
|
|
overflow: auto;
|
|
overscroll-behavior: contain;
|
|
scrollbar-color: #b8c7c0 #f4f6f5;
|
|
scrollbar-gutter: stable;
|
|
scrollbar-width: thin;
|
|
}
|
|
.recent-checks-scroll:focus-visible {
|
|
outline: 2px solid rgb(36 180 126 / 0.45);
|
|
outline-offset: -2px;
|
|
}
|
|
.recent-checks-scroll::-webkit-scrollbar {
|
|
width: 9px;
|
|
height: 9px;
|
|
}
|
|
.recent-checks-scroll::-webkit-scrollbar-track {
|
|
background: #f4f6f5;
|
|
}
|
|
.recent-checks-scroll::-webkit-scrollbar-thumb {
|
|
border: 2px solid #f4f6f5;
|
|
border-radius: 999px;
|
|
background: #b8c7c0;
|
|
}
|
|
.recent-checks-scroll::-webkit-scrollbar-thumb:hover {
|
|
background: #91a69d;
|
|
}
|
|
.recent-checks-scroll .data-table {
|
|
min-width: 600px;
|
|
}
|
|
.recent-checks-scroll .data-table th {
|
|
position: sticky;
|
|
z-index: 1;
|
|
top: 0;
|
|
box-shadow: 0 1px #e5e5e5;
|
|
}
|
|
.data-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 12px;
|
|
}
|
|
.data-table th {
|
|
padding: 11px 16px;
|
|
font-weight: 400;
|
|
text-align: left;
|
|
color: #888;
|
|
background: #fafafa;
|
|
}
|
|
.data-table td {
|
|
padding: 14px 16px;
|
|
border-top: 1px solid #ededed;
|
|
color: #555;
|
|
white-space: nowrap;
|
|
}
|
|
.data-table code {
|
|
max-width: 260px;
|
|
overflow: hidden;
|
|
font:
|
|
400 11px/1.4 'IBM Plex Mono',
|
|
monospace;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.incident-list {
|
|
max-height: 556px;
|
|
overflow: auto;
|
|
}
|
|
.incident-list article {
|
|
display: flex;
|
|
gap: 13px;
|
|
padding: 18px 20px;
|
|
}
|
|
.incident-list article + article {
|
|
border-top: 1px solid #ededed;
|
|
}
|
|
.incident-list article > span {
|
|
display: grid;
|
|
flex: 0 0 auto;
|
|
width: 30px;
|
|
height: 30px;
|
|
place-items: center;
|
|
border-radius: 50%;
|
|
color: #16885b;
|
|
background: #eaf9f2;
|
|
}
|
|
.incident-list article.open > span {
|
|
color: #aa4141;
|
|
background: #fff0f0;
|
|
}
|
|
.incident-list article svg {
|
|
width: 15px;
|
|
height: 15px;
|
|
}
|
|
.incident-list strong {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
}
|
|
.incident-list p {
|
|
margin: 4px 0 6px;
|
|
font-size: 12px;
|
|
line-height: 1.45;
|
|
color: var(--muted);
|
|
}
|
|
.incident-list small {
|
|
font:
|
|
400 10px/1.4 'IBM Plex Mono',
|
|
monospace;
|
|
color: #aaa;
|
|
}
|
|
.detail-error {
|
|
display: grid;
|
|
min-height: 100dvh;
|
|
place-content: center;
|
|
justify-items: center;
|
|
padding: 24px;
|
|
text-align: center;
|
|
}
|
|
.detail-error p {
|
|
color: var(--muted);
|
|
}
|
|
|
|
.settings-main {
|
|
width: min(760px, calc(100% - 48px));
|
|
margin: 0 auto;
|
|
padding: 34px 0 80px;
|
|
}
|
|
.settings-heading {
|
|
margin-top: 42px;
|
|
}
|
|
.settings-heading h1 {
|
|
margin: 0;
|
|
font-size: 40px;
|
|
font-weight: 500;
|
|
letter-spacing: -1.5px;
|
|
}
|
|
.settings-heading > p:last-child {
|
|
margin: 12px 0 0;
|
|
color: var(--muted);
|
|
}
|
|
.settings-card {
|
|
margin-top: 38px;
|
|
overflow: hidden;
|
|
border: 1px solid #dedede;
|
|
border-radius: 10px;
|
|
background: #fff;
|
|
box-shadow: 0 8px 24px rgb(0 0 0 / 0.035);
|
|
}
|
|
.settings-card-intro {
|
|
display: flex;
|
|
gap: 16px;
|
|
padding: 26px;
|
|
border-bottom: 1px solid #ededed;
|
|
}
|
|
.settings-card-intro > span {
|
|
display: grid;
|
|
flex: 0 0 auto;
|
|
width: 42px;
|
|
height: 42px;
|
|
place-items: center;
|
|
border: 1px solid #bcead6;
|
|
border-radius: 8px;
|
|
color: #16885b;
|
|
background: #f0fbf6;
|
|
}
|
|
.settings-card-intro svg {
|
|
width: 19px;
|
|
height: 19px;
|
|
}
|
|
.settings-card-intro h2 {
|
|
margin: 0;
|
|
font-size: 18px;
|
|
font-weight: 500;
|
|
}
|
|
.settings-card-intro p {
|
|
margin: 6px 0 0;
|
|
font-size: 13px;
|
|
line-height: 1.55;
|
|
color: var(--muted);
|
|
}
|
|
.settings-form {
|
|
display: grid;
|
|
gap: 24px;
|
|
padding: 26px;
|
|
}
|
|
.settings-toggle {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 11px;
|
|
cursor: pointer;
|
|
}
|
|
.settings-toggle input {
|
|
width: 17px;
|
|
height: 17px;
|
|
margin-top: 2px;
|
|
accent-color: var(--primary-deep);
|
|
}
|
|
.settings-toggle strong,
|
|
.settings-toggle small {
|
|
display: block;
|
|
}
|
|
.settings-toggle strong {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
}
|
|
.settings-toggle small {
|
|
margin-top: 4px;
|
|
color: var(--muted);
|
|
}
|
|
.settings-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
padding-top: 20px;
|
|
border-top: 1px solid #ededed;
|
|
}
|
|
.settings-actions svg {
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
.settings-success {
|
|
margin: -8px 0 0;
|
|
padding: 10px 12px;
|
|
border: 1px solid #bde9d5;
|
|
border-radius: 6px;
|
|
font-size: 12px;
|
|
color: #16754f;
|
|
background: #f2fbf7;
|
|
}
|
|
.payload-preview {
|
|
margin-top: 18px;
|
|
padding: 24px 26px;
|
|
border-radius: 9px;
|
|
color: #fff;
|
|
background: var(--night);
|
|
}
|
|
.payload-preview .overline {
|
|
color: #83dcb4;
|
|
}
|
|
.payload-preview pre {
|
|
margin: 16px 0 0;
|
|
overflow-x: auto;
|
|
font:
|
|
400 12px/1.7 'IBM Plex Mono',
|
|
monospace;
|
|
color: #d7d7d7;
|
|
}
|
|
|
|
.status-page-shell {
|
|
min-height: 100dvh;
|
|
background:
|
|
radial-gradient(circle at 12% 22%, rgb(62 207 142 / 0.07), transparent 28rem), linear-gradient(180deg, #fff 0, #fff 36%, #fafcfb 100%);
|
|
}
|
|
.status-header {
|
|
position: relative;
|
|
}
|
|
.status-header-inner {
|
|
width: min(960px, calc(100% - 48px));
|
|
}
|
|
.status-header-action {
|
|
min-height: 34px;
|
|
padding: 6px 13px;
|
|
border: 1px solid #d5d5d5;
|
|
border-radius: 6px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
color: #444;
|
|
background: rgb(255 255 255 / 0.86);
|
|
cursor: pointer;
|
|
transition:
|
|
border-color 160ms ease,
|
|
color 160ms ease,
|
|
transform 160ms ease;
|
|
}
|
|
.status-header-action:hover {
|
|
border-color: #9bcdb7;
|
|
color: #16885b;
|
|
transform: translateY(-1px);
|
|
}
|
|
.status-main {
|
|
width: min(960px, calc(100% - 48px));
|
|
margin: 0 auto;
|
|
padding: 72px 0 56px;
|
|
}
|
|
.status-intro {
|
|
max-width: 620px;
|
|
}
|
|
.status-intro h1 {
|
|
margin: 0;
|
|
font-size: clamp(38px, 6vw, 56px);
|
|
font-weight: 500;
|
|
line-height: 1.02;
|
|
letter-spacing: -2.5px;
|
|
}
|
|
.status-intro > p:last-child {
|
|
max-width: 560px;
|
|
margin: 18px 0 0;
|
|
font-size: 16px;
|
|
line-height: 1.6;
|
|
color: var(--muted);
|
|
}
|
|
.status-banner {
|
|
display: grid;
|
|
grid-template-columns: auto 1fr auto;
|
|
align-items: center;
|
|
gap: 18px;
|
|
min-height: 116px;
|
|
margin-top: 42px;
|
|
padding: 24px 26px;
|
|
border: 1px solid #b9e6d2;
|
|
border-radius: 10px;
|
|
color: #125c41;
|
|
background: linear-gradient(110deg, #edfaf4, #f8fdfb);
|
|
box-shadow: 0 12px 32px rgb(24 110 76 / 0.06);
|
|
animation: enter 450ms cubic-bezier(0.16, 1, 0.3, 1) both;
|
|
}
|
|
.status-banner.degraded {
|
|
border-color: #e7d796;
|
|
color: #705d0f;
|
|
background: linear-gradient(110deg, #fff9e8, #fffdf6);
|
|
box-shadow: 0 12px 32px rgb(130 105 14 / 0.06);
|
|
}
|
|
.status-banner.down {
|
|
border-color: #ebc1c1;
|
|
color: #8e3030;
|
|
background: linear-gradient(110deg, #fff2f2, #fffafa);
|
|
box-shadow: 0 12px 32px rgb(130 34 34 / 0.06);
|
|
}
|
|
.status-banner-icon {
|
|
display: grid;
|
|
width: 46px;
|
|
height: 46px;
|
|
place-items: center;
|
|
border: 1px solid rgb(36 180 126 / 0.22);
|
|
border-radius: 50%;
|
|
background: rgb(255 255 255 / 0.72);
|
|
}
|
|
.status-banner-icon svg {
|
|
width: 21px;
|
|
height: 21px;
|
|
}
|
|
.status-banner.degraded .status-banner-icon {
|
|
border-color: rgb(178 145 24 / 0.25);
|
|
}
|
|
.status-banner.down .status-banner-icon {
|
|
border-color: rgb(174 61 61 / 0.22);
|
|
}
|
|
.status-banner h2 {
|
|
margin: 0;
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
letter-spacing: -0.3px;
|
|
}
|
|
.status-banner p {
|
|
margin: 6px 0 0;
|
|
font-size: 13px;
|
|
color: currentColor;
|
|
opacity: 0.75;
|
|
}
|
|
.status-banner time {
|
|
justify-self: end;
|
|
font:
|
|
400 10px/1.4 'IBM Plex Mono',
|
|
monospace;
|
|
opacity: 0.66;
|
|
white-space: nowrap;
|
|
}
|
|
.public-services-panel {
|
|
margin-top: 18px;
|
|
overflow: hidden;
|
|
border: 1px solid #dedede;
|
|
border-radius: 10px;
|
|
background: #fff;
|
|
box-shadow: 0 14px 40px rgb(28 65 49 / 0.04);
|
|
animation: enter 500ms 60ms cubic-bezier(0.16, 1, 0.3, 1) both;
|
|
}
|
|
.public-services-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 24px;
|
|
min-height: 88px;
|
|
padding: 18px 22px;
|
|
border-bottom: 1px solid #e8e8e8;
|
|
}
|
|
.public-services-heading h2 {
|
|
margin: 0;
|
|
font-size: 18px;
|
|
font-weight: 500;
|
|
}
|
|
.public-services-heading p {
|
|
margin: 5px 0 0;
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
}
|
|
.public-service-row {
|
|
display: grid;
|
|
grid-template-columns: minmax(190px, 0.7fr) 120px minmax(320px, 1.2fr);
|
|
align-items: center;
|
|
gap: 24px;
|
|
min-height: 128px;
|
|
padding: 22px;
|
|
}
|
|
.public-service-row + .public-service-row {
|
|
border-top: 1px solid #ededed;
|
|
}
|
|
.public-service-row:hover {
|
|
background: #fdfefd;
|
|
}
|
|
.public-service-summary {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
min-width: 0;
|
|
}
|
|
.public-service-summary > div {
|
|
min-width: 0;
|
|
}
|
|
.public-service-summary strong {
|
|
display: block;
|
|
overflow: hidden;
|
|
font-size: 15px;
|
|
font-weight: 500;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.public-service-summary .row-status {
|
|
margin-top: 7px;
|
|
}
|
|
.public-service-uptime {
|
|
text-align: right;
|
|
}
|
|
.public-service-uptime span {
|
|
display: block;
|
|
font-size: 10px;
|
|
color: var(--faint);
|
|
}
|
|
.public-service-uptime strong {
|
|
display: block;
|
|
margin-top: 5px;
|
|
font:
|
|
500 17px/1.2 'IBM Plex Mono',
|
|
monospace;
|
|
letter-spacing: -0.5px;
|
|
}
|
|
.status-history {
|
|
min-width: 0;
|
|
}
|
|
.uptime-days {
|
|
display: flex;
|
|
align-items: stretch;
|
|
width: 100%;
|
|
height: 32px;
|
|
gap: 2px;
|
|
}
|
|
.uptime-day {
|
|
flex: 1 1 0;
|
|
min-width: 1px;
|
|
border-radius: 2px;
|
|
background: #e6e8e7;
|
|
transition:
|
|
filter 140ms ease,
|
|
transform 140ms ease;
|
|
}
|
|
.uptime-day:hover {
|
|
z-index: 1;
|
|
filter: saturate(1.15) brightness(0.92);
|
|
transform: scaleY(1.12);
|
|
}
|
|
.uptime-day.is-up {
|
|
background: #3ecf8e;
|
|
}
|
|
.uptime-day.is-partial {
|
|
background: #e1bc45;
|
|
}
|
|
.uptime-day.is-down {
|
|
background: #dc6262;
|
|
}
|
|
.uptime-day.is-empty {
|
|
background: #e8ebe9;
|
|
}
|
|
.uptime-days-caption {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
margin-top: 8px;
|
|
font:
|
|
400 9px/1.3 'IBM Plex Mono',
|
|
monospace;
|
|
color: #a0a0a0;
|
|
}
|
|
.uptime-days-caption i {
|
|
flex: 1;
|
|
height: 1px;
|
|
background: #ededed;
|
|
}
|
|
.status-panel-state {
|
|
display: grid;
|
|
justify-items: center;
|
|
min-height: 280px;
|
|
place-content: center;
|
|
padding: 48px 24px;
|
|
text-align: center;
|
|
}
|
|
.status-panel-state > span {
|
|
display: grid;
|
|
width: 44px;
|
|
height: 44px;
|
|
margin-bottom: 16px;
|
|
place-items: center;
|
|
border: 1px solid #dcdcdc;
|
|
border-radius: 50%;
|
|
color: #666;
|
|
background: #fafafa;
|
|
}
|
|
.status-panel-state svg {
|
|
width: 19px;
|
|
height: 19px;
|
|
}
|
|
.status-panel-state strong {
|
|
font-size: 15px;
|
|
font-weight: 500;
|
|
}
|
|
.status-panel-state p {
|
|
max-width: 400px;
|
|
margin: 8px 0 18px;
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
color: var(--muted);
|
|
}
|
|
.status-error-state {
|
|
margin-top: 42px;
|
|
border: 1px solid #ebd1d1;
|
|
border-radius: 10px;
|
|
background: #fffafa;
|
|
}
|
|
.status-error-state > span {
|
|
border-color: #ebcaca;
|
|
color: #a34242;
|
|
background: #fff3f3;
|
|
}
|
|
.status-loading {
|
|
margin-top: 42px;
|
|
}
|
|
.status-banner-skeleton {
|
|
height: 116px;
|
|
border-radius: 10px;
|
|
background: linear-gradient(90deg, #eef2f0 20%, #f8faf9 50%, #eef2f0 80%);
|
|
background-size: 220% 100%;
|
|
animation: skeleton 1.4s ease-in-out infinite;
|
|
}
|
|
.status-service-skeleton {
|
|
margin-top: 18px;
|
|
overflow: hidden;
|
|
border: 1px solid #e4e4e4;
|
|
border-radius: 10px;
|
|
background: #fff;
|
|
}
|
|
.status-service-skeleton > div {
|
|
display: grid;
|
|
grid-template-columns: 42px 1fr minmax(240px, 0.8fr);
|
|
align-items: center;
|
|
gap: 16px;
|
|
min-height: 116px;
|
|
padding: 22px;
|
|
}
|
|
.status-service-skeleton > div + div {
|
|
border-top: 1px solid #ededed;
|
|
}
|
|
.status-service-skeleton i,
|
|
.status-service-skeleton span,
|
|
.status-service-skeleton b {
|
|
display: block;
|
|
border-radius: 5px;
|
|
background: linear-gradient(90deg, #f0f2f1 20%, #fafafa 50%, #f0f2f1 80%);
|
|
background-size: 220% 100%;
|
|
animation: skeleton 1.4s ease-in-out infinite;
|
|
}
|
|
.status-service-skeleton i {
|
|
width: 42px;
|
|
height: 42px;
|
|
}
|
|
.status-service-skeleton span {
|
|
width: min(220px, 75%);
|
|
height: 34px;
|
|
}
|
|
.status-service-skeleton b {
|
|
height: 32px;
|
|
}
|
|
.status-footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
width: min(960px, calc(100% - 48px));
|
|
margin: 0 auto;
|
|
padding: 28px 0 36px;
|
|
border-top: 1px solid #e7ebe9;
|
|
font-size: 11px;
|
|
color: #939393;
|
|
}
|
|
.status-footer span:last-child {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
}
|
|
.status-footer i {
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
background: var(--primary-deep);
|
|
box-shadow: 0 0 0 3px rgb(62 207 142 / 0.12);
|
|
}
|
|
|
|
@keyframes spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
@keyframes blink {
|
|
50% {
|
|
opacity: 0.35;
|
|
}
|
|
}
|
|
@keyframes loading-pulse {
|
|
50% {
|
|
opacity: 0.4;
|
|
transform: scale(0.94);
|
|
}
|
|
}
|
|
@keyframes skeleton {
|
|
to {
|
|
background-position: -220% 0;
|
|
}
|
|
}
|
|
@keyframes enter {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(18px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1000px) {
|
|
.monitor-form {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
.field-name,
|
|
.field-url {
|
|
grid-column: span 1;
|
|
}
|
|
.form-actions {
|
|
grid-column: span 1;
|
|
}
|
|
.form-actions.compact-actions {
|
|
grid-column: span 2;
|
|
}
|
|
.services-title {
|
|
display: none;
|
|
}
|
|
.service-row {
|
|
grid-template-columns: minmax(280px, 1fr) minmax(200px, 0.7fr);
|
|
}
|
|
.row-actions {
|
|
display: flex;
|
|
grid-column: 1 / -1;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
justify-self: stretch;
|
|
gap: 4px;
|
|
width: calc(100% + 40px);
|
|
max-width: none;
|
|
margin: 4px -20px -18px;
|
|
padding: 12px 20px 12px 74px;
|
|
border-top: 1px solid #ededed;
|
|
background: linear-gradient(90deg, #fcfcfc, #fff);
|
|
}
|
|
.row-actions::before {
|
|
margin-right: auto;
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
color: #999;
|
|
content: 'Actions';
|
|
}
|
|
.sla-grid {
|
|
grid-template-columns: repeat(3, 1fr);
|
|
}
|
|
.detail-grid,
|
|
.detail-grid.lower-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 760px) {
|
|
.dashboard-header-inner,
|
|
.dashboard-main,
|
|
.dashboard-page-footer {
|
|
width: min(100% - 32px, 1280px);
|
|
}
|
|
.status-header-inner,
|
|
.status-main,
|
|
.status-footer {
|
|
width: min(100% - 32px, 960px);
|
|
}
|
|
.header-context {
|
|
display: none;
|
|
}
|
|
.dashboard-main {
|
|
padding: 40px 0 56px;
|
|
}
|
|
.dashboard-intro {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
}
|
|
.dashboard-intro h1 {
|
|
font-size: 34px;
|
|
}
|
|
.metric-grid {
|
|
grid-template-columns: 1fr;
|
|
gap: 10px;
|
|
margin-top: 28px;
|
|
}
|
|
.metric-card {
|
|
min-height: auto;
|
|
padding: 20px;
|
|
}
|
|
.metric-card p {
|
|
margin-bottom: 12px;
|
|
}
|
|
.monitor-form {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.field-name,
|
|
.field-url,
|
|
.form-actions {
|
|
grid-column: auto;
|
|
}
|
|
.form-actions {
|
|
justify-content: stretch;
|
|
}
|
|
.form-actions.compact-actions {
|
|
grid-column: auto;
|
|
}
|
|
.form-actions button {
|
|
flex: 1;
|
|
}
|
|
.service-row {
|
|
grid-template-columns: 1fr;
|
|
gap: 18px;
|
|
}
|
|
.row-actions {
|
|
grid-column: auto;
|
|
}
|
|
.dashboard-page-footer {
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
.detail-hero {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
}
|
|
.detail-actions {
|
|
flex-wrap: wrap;
|
|
}
|
|
.detail-title h1 {
|
|
font-size: 34px;
|
|
}
|
|
.sla-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
.sla-card.incident-summary {
|
|
grid-column: 1 / -1;
|
|
}
|
|
.settings-main {
|
|
width: min(100% - 32px, 760px);
|
|
}
|
|
.status-main {
|
|
padding: 52px 0 44px;
|
|
}
|
|
.status-banner {
|
|
grid-template-columns: auto 1fr;
|
|
}
|
|
.status-banner time {
|
|
grid-column: 2;
|
|
justify-self: start;
|
|
}
|
|
.public-service-row {
|
|
grid-template-columns: 1fr auto;
|
|
gap: 20px;
|
|
}
|
|
.status-history {
|
|
grid-column: 1 / -1;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 520px) {
|
|
.auth-page {
|
|
padding: 24px 16px;
|
|
}
|
|
.auth-card {
|
|
padding: 28px 22px;
|
|
}
|
|
.auth-heading h1 {
|
|
font-size: 27px;
|
|
}
|
|
.dashboard-header-inner {
|
|
height: 62px;
|
|
}
|
|
.status-header-action {
|
|
min-height: 36px;
|
|
padding: 6px 14px;
|
|
}
|
|
.public-services-heading .icon-button {
|
|
flex: 0 0 44px;
|
|
width: 44px;
|
|
height: 44px;
|
|
}
|
|
.dashboard-main {
|
|
padding-top: 32px;
|
|
}
|
|
.dashboard-intro > div > p:last-child {
|
|
font-size: 14px;
|
|
line-height: 1.5;
|
|
}
|
|
.panel-heading {
|
|
min-height: 70px;
|
|
padding: 14px 16px;
|
|
}
|
|
.service-row {
|
|
padding: 18px 16px;
|
|
}
|
|
.row-actions {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) repeat(3, 40px);
|
|
justify-content: space-between;
|
|
justify-self: stretch;
|
|
width: 100%;
|
|
max-width: none;
|
|
margin: 0;
|
|
padding: 3px;
|
|
border: 1px solid #dedede;
|
|
border-radius: 9px;
|
|
background: #f8f8f8;
|
|
box-shadow: 0 1px 2px rgb(0 0 0 / 0.035);
|
|
}
|
|
.row-actions::before {
|
|
display: none;
|
|
}
|
|
.row-action {
|
|
min-height: 40px;
|
|
}
|
|
.row-action-icon {
|
|
width: 40px;
|
|
}
|
|
.nav-actions {
|
|
gap: 12px;
|
|
}
|
|
.detail-title {
|
|
align-items: flex-start;
|
|
}
|
|
.status-orb {
|
|
margin-top: 11px;
|
|
}
|
|
.sla-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.sla-card.incident-summary {
|
|
grid-column: auto;
|
|
}
|
|
.data-panel-heading {
|
|
padding: 16px;
|
|
}
|
|
.settings-heading h1 {
|
|
font-size: 34px;
|
|
}
|
|
.settings-card-intro,
|
|
.settings-form {
|
|
padding: 20px;
|
|
}
|
|
.settings-actions {
|
|
align-items: stretch;
|
|
flex-direction: column-reverse;
|
|
}
|
|
.status-intro h1 {
|
|
letter-spacing: -1.8px;
|
|
}
|
|
.status-intro > p:last-child {
|
|
font-size: 14px;
|
|
}
|
|
.status-banner {
|
|
grid-template-columns: 1fr;
|
|
gap: 12px;
|
|
padding: 22px 20px;
|
|
}
|
|
.status-banner-icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
}
|
|
.status-banner time {
|
|
grid-column: auto;
|
|
}
|
|
.public-services-heading {
|
|
padding: 17px 16px;
|
|
}
|
|
.public-services-heading p {
|
|
max-width: 250px;
|
|
}
|
|
.public-service-row {
|
|
padding: 20px 16px;
|
|
}
|
|
.public-service-uptime strong {
|
|
font-size: 15px;
|
|
}
|
|
.uptime-days {
|
|
height: 28px;
|
|
gap: 1px;
|
|
}
|
|
.status-footer {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 380px) {
|
|
.row-action-labeled svg {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
scroll-behavior: auto !important;
|
|
animation-duration: 0.01ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
transition-duration: 0.01ms !important;
|
|
}
|
|
}
|
|
|
|
@theme inline {
|
|
--color-sidebar-ring: var(--sidebar-ring);
|
|
--color-sidebar-border: var(--sidebar-border);
|
|
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
--color-sidebar-accent: var(--sidebar-accent);
|
|
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
--color-sidebar-primary: var(--sidebar-primary);
|
|
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
--color-sidebar: var(--sidebar);
|
|
--color-chart-5: var(--chart-5);
|
|
--color-chart-4: var(--chart-4);
|
|
--color-chart-3: var(--chart-3);
|
|
--color-chart-2: var(--chart-2);
|
|
--color-chart-1: var(--chart-1);
|
|
--color-ring: var(--ring);
|
|
--color-input: var(--input);
|
|
--color-border: var(--border);
|
|
--color-destructive: var(--destructive);
|
|
--color-accent-foreground: var(--accent-foreground);
|
|
--color-accent: var(--accent);
|
|
--color-muted-foreground: var(--muted-foreground);
|
|
--color-muted: var(--shadcn-muted);
|
|
--color-secondary-foreground: var(--secondary-foreground);
|
|
--color-secondary: var(--secondary);
|
|
--color-primary-foreground: var(--primary-foreground);
|
|
--color-primary: var(--shadcn-primary);
|
|
--color-popover-foreground: var(--popover-foreground);
|
|
--color-popover: var(--popover);
|
|
--color-card-foreground: var(--card-foreground);
|
|
--color-card: var(--card);
|
|
--color-foreground: var(--foreground);
|
|
--color-background: var(--background);
|
|
--radius-sm: calc(var(--radius) * 0.6);
|
|
--radius-md: calc(var(--radius) * 0.8);
|
|
--radius-lg: var(--radius);
|
|
--radius-xl: calc(var(--radius) * 1.4);
|
|
--radius-2xl: calc(var(--radius) * 1.8);
|
|
--radius-3xl: calc(var(--radius) * 2.2);
|
|
--radius-4xl: calc(var(--radius) * 2.6);
|
|
}
|
|
|
|
.dark {
|
|
--background: oklch(0.145 0 0);
|
|
--foreground: oklch(0.985 0 0);
|
|
--card: oklch(0.205 0 0);
|
|
--card-foreground: oklch(0.985 0 0);
|
|
--popover: oklch(0.205 0 0);
|
|
--popover-foreground: oklch(0.985 0 0);
|
|
--shadcn-primary: oklch(0.922 0 0);
|
|
--primary-foreground: oklch(0.205 0 0);
|
|
--secondary: oklch(0.269 0 0);
|
|
--secondary-foreground: oklch(0.985 0 0);
|
|
--shadcn-muted: oklch(0.269 0 0);
|
|
--muted-foreground: oklch(0.708 0 0);
|
|
--accent: oklch(0.269 0 0);
|
|
--accent-foreground: oklch(0.985 0 0);
|
|
--destructive: oklch(0.704 0.191 22.216);
|
|
--border: oklch(1 0 0 / 10%);
|
|
--input: oklch(1 0 0 / 15%);
|
|
--ring: oklch(0.556 0 0);
|
|
--chart-1: oklch(0.87 0 0);
|
|
--chart-2: oklch(0.556 0 0);
|
|
--chart-3: oklch(0.439 0 0);
|
|
--chart-4: oklch(0.371 0 0);
|
|
--chart-5: oklch(0.269 0 0);
|
|
--sidebar: oklch(0.205 0 0);
|
|
--sidebar-foreground: oklch(0.985 0 0);
|
|
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
--sidebar-accent: oklch(0.269 0 0);
|
|
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
--sidebar-border: oklch(1 0 0 / 10%);
|
|
--sidebar-ring: oklch(0.556 0 0);
|
|
}
|