Skip to content

Instantly share code, notes, and snippets.

@shivam-deepsource
Last active September 5, 2022 08:04
Show Gist options
  • Select an option

  • Save shivam-deepsource/a536b174febfec5014046e710f1cea55 to your computer and use it in GitHub Desktop.

Select an option

Save shivam-deepsource/a536b174febfec5014046e710f1cea55 to your computer and use it in GitHub Desktop.
CSS for DeepSource status page on betteruptime
:root {
--ink-50: #303540;
--ink-100: #2a2e37;
--ink-200: #23262e;
--ink-300: #16181d;
--ink-400: #121317;
--cherry: #da5565;
--vanilla-100: #ffffff;
--vanilla-200: #f5f5f5;
--vanilla-300: #eeeeee;
--vanilla-400: #c0c1c3;
--juniper: #33cb9a;
--juniper-600: #2eb78b;
--juniper-500: #33cb9a;
--juniper-400: #53d4aa;
--juniper-300: #74dcba;
--juniper-200: #94e4ca;
--juniper-150: #a5e8d2;
--juniper-100: #b5ecda;
}
/* ------------------------- Status main card ------------------------- */
.card {
border: 1px solid var(--ink-200) !important;
}
.status-page .card .card-header {
background: var(--ink-200);
}
.card--status-reports .card-body,
.status-page .status-page__resources-card .card-body {
background: var(--ink-300);
}
.status-page__resource {
border: 0;
}
.status-page__resource-name {
color: var(--vanilla-200);
}
.status-page__legend-item {
color: var(--ink-300);
}
.status-page__legend-item path[stroke=white] {
stroke: var(--ink-50) !important;
}
.status-page__legend-item circle[fill=white] {
fill: var(--ink-50) !important;
}
.status-page .card .card-title {
color: var(--vanilla-200);
}
body.status-page {
background: var(--ink-400);
}
.status-header__label {
color: var(--vanilla-400);
}
.footer__copyright,
.text-muted {
color: var(--vanilla-400) !important;
}
.status-page__overview .status-page__title {
color: var(--vanilla-100);
}
/* ------------------------- Incident history ------------------------- */
.status-page__resource-tick-inner[style="background:#21AF63"] {
background: var(--juniper-500) !important;
}
.status-page__resource-tick-inner[style="background:#DFE0E1"] {
background: var(--ink-100) !important;
}
.status-page__resource-tick-inner[style="background:#DE3618"] {
background: var(--cherry-500) !important;
}
/* ------------------------- Incidents list ------------------------- */
.status-report-day .status-report-header {
border-bottom: 1px solid var(--ink-100);
}
.status-report-day .status-report-row .status-report__headline {
color: var(--vanilla-100);
}
.status-report-day .status-report-row .status-report__type,
.status-report-day .status-report-row .status-report__description {
color: var(--vanilla-200);
}
.status-reports-list a.status-reports__previous,
.status-report-day .status-report-header,
.status-report-day .status-report-row .status-report__meta,
.status-report-day .status-report-row .status-report__description+p {
color: var(--vanilla-400) !important;
}
/* ------------------------- INCIDENTS PAGE ------------------------- */
.status-report__type {
color: var(--vanilla-200);
}
.status-page-container .status-reports-list .status-report-day .status-report-header {
border-bottom: 1px solid var(--ink-100);
}
.status-reports-page .status-reports__header .status-reports__services .status-reports__service-item {
border-radius: 4px;
color: var(--vanilla-400);
background: var(--ink-100);
background-opacity: 0.1;
}
.status-reports-page .status-reports__services label,
.status-reports-page .status-reports__subtitle,
.status-reports-page label.status-reports__pagination-label,
.status-reports-page a.status-reports__back {
color: var(--vanilla-400) !important;
}
.status-reports-page .status-reports__pagination-link {
display: flex;
align-items: center;
justify-content: center;
width: 24px;
height: 24px;
color: var(--vanilla-400);
padding: 0.4rem;
border-radius: 3px;
border: 1px solid var(--ink-100);
transition: background .2s;
}
.status-reports-page .status-reports__pagination-link:hover {
background-color: var(--ink-100);
}
.status-reports-page .status-reports__title {
color: var(--vanilla-100) !important;
}
.status-reports-page .card.status-reports__timeline-card,
.status-reports__timeline .timeline-item__mark .icon,
.status-reports__timeline .timeline-item__mark .icon-small,
.status-reports-page .card.status-reports__timeline-card .timeline-item .timeline-item__mark span {
background-color: var(--ink-200);
box-shadow: unset;
}
.status-reports__timeline .timeline-item h5.timeline-item__title {
color: var(--vanilla-200);
}
.status-reports__timeline .timeline-item__time,
.status-reports__timeline .timeline-item__text,
.status-reports__timeline .timeline-item__text+p {
color: var(--vanilla-400);
}
.status-reports-page .card.status-reports__timeline-card .timeline-item:before {
background-color: var(--ink-100);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment