2024-02-10 11:59:58 +00:00
|
|
|
.feather {
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
stroke: currentColor;
|
|
|
|
stroke-width: 2;
|
|
|
|
stroke-linecap: round;
|
|
|
|
stroke-linejoin: round;
|
|
|
|
fill: none;
|
|
|
|
}
|
|
|
|
|
2024-03-04 13:46:27 +00:00
|
|
|
/* https://stackoverflow.com/a/6202729 */
|
|
|
|
details summary::-webkit-details-marker {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
::marker {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
summary {
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
2024-02-10 11:59:58 +00:00
|
|
|
@tailwind base;
|
|
|
|
@tailwind components;
|
|
|
|
@tailwind utilities;
|
|
|
|
|
2024-02-23 13:56:00 +00:00
|
|
|
.link,
|
|
|
|
p > a {
|
|
|
|
@apply font-medium text-blue-700 hover:underline;
|
|
|
|
}
|
|
|
|
|
2024-02-23 14:16:51 +00:00
|
|
|
code {
|
|
|
|
@apply font-mono text-sm bg-gray-100 rounded-lg p-1;
|
|
|
|
}
|
|
|
|
|
2024-02-13 21:39:34 +00:00
|
|
|
.navbar a {
|
2024-05-28 20:22:29 +00:00
|
|
|
@apply font-medium px-5 py-2 rounded-lg;
|
|
|
|
@apply text-center text-black bg-gray-100 hover:bg-gray-300 focus:outline-none focus:ring-2 focus:ring-gray-400;
|
2024-02-13 21:39:34 +00:00
|
|
|
}
|
|
|
|
.navbar a.active {
|
2024-05-28 20:22:29 +00:00
|
|
|
@apply bg-white hover:bg-gray-300 shadow;
|
2024-02-10 11:59:58 +00:00
|
|
|
}
|
2024-02-12 10:22:14 +00:00
|
|
|
|
2024-05-28 17:59:44 +00:00
|
|
|
#page-index .targets .time-range > a {
|
|
|
|
@apply font-medium text-sm px-2.5 py-1 rounded-lg;
|
|
|
|
@apply text-black bg-gray-100 hover:bg-gray-300 focus:outline-none focus:ring-2 focus:ring-gray-400;
|
|
|
|
}
|
|
|
|
#page-index .targets .time-range > a.active {
|
|
|
|
@apply bg-white hover:bg-gray-300 shadow;
|
|
|
|
}
|
|
|
|
|
|
|
|
#page-index .history > .bar {
|
|
|
|
@apply h-full self-end;
|
|
|
|
}
|
|
|
|
#page-index .history.healthy > .bar {
|
|
|
|
@apply bg-green-400 hover:bg-green-500;
|
|
|
|
}
|
|
|
|
#page-index .history.unknown > .bar {
|
|
|
|
@apply bg-gray-200 h-1/3;
|
|
|
|
}
|
|
|
|
#page-index .history.unknown:hover > .bar {
|
|
|
|
@apply h-full bg-gray-300;
|
|
|
|
}
|
|
|
|
#page-index .history.down > .bar {
|
|
|
|
background: repeating-linear-gradient(
|
|
|
|
45deg,
|
|
|
|
var(--color-red-300),
|
2024-05-28 20:22:29 +00:00
|
|
|
var(--color-red-300) 10%,
|
|
|
|
var(--color-red-400) 10%,
|
|
|
|
var(--color-red-400) 20%
|
2024-05-28 17:59:44 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
#page-index .history.down:hover > .bar {
|
|
|
|
background: repeating-linear-gradient(
|
|
|
|
45deg,
|
|
|
|
var(--color-red-400),
|
2024-05-28 20:22:29 +00:00
|
|
|
var(--color-red-400) 10%,
|
|
|
|
var(--color-red-500) 10%,
|
|
|
|
var(--color-red-500) 20%
|
2024-05-28 17:59:44 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
#page-index .history.degraded > .bar {
|
|
|
|
background: repeating-linear-gradient(
|
|
|
|
0deg,
|
|
|
|
var(--color-orange-300),
|
2024-05-29 14:39:50 +00:00
|
|
|
var(--color-orange-300) 33%,
|
|
|
|
var(--color-orange-400) 33%,
|
|
|
|
var(--color-orange-400) 66%
|
2024-05-28 17:59:44 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
#page-index .history.degraded:hover > .bar {
|
|
|
|
background: repeating-linear-gradient(
|
|
|
|
0deg,
|
|
|
|
var(--color-orange-400),
|
2024-05-29 14:39:50 +00:00
|
|
|
var(--color-orange-400) 33%,
|
|
|
|
var(--color-orange-500) 33%,
|
|
|
|
var(--color-orange-500) 66%
|
2024-05-28 17:59:44 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
#page-settings .sidebar a {
|
2024-02-13 21:39:34 +00:00
|
|
|
@apply w-full block rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-blue-700 focus:text-blue-700;
|
2024-02-12 10:22:14 +00:00
|
|
|
}
|
2024-05-28 17:59:44 +00:00
|
|
|
#page-settings .sidebar a:focus {
|
2024-02-13 21:39:34 +00:00
|
|
|
@apply outline-none ring-2 ring-blue-700 text-blue-700;
|
2024-02-12 10:22:14 +00:00
|
|
|
}
|
2024-05-28 17:59:44 +00:00
|
|
|
#page-settings .sidebar a:hover {
|
2024-02-13 21:39:34 +00:00
|
|
|
@apply shadow-inner bg-gray-200 text-blue-700;
|
2024-02-12 10:22:14 +00:00
|
|
|
}
|
2024-05-28 17:59:44 +00:00
|
|
|
#page-settings .sidebar a.active {
|
2024-02-12 10:22:14 +00:00
|
|
|
@apply bg-blue-700 text-white;
|
|
|
|
}
|
2024-02-12 13:20:38 +00:00
|
|
|
|
2024-05-28 17:59:44 +00:00
|
|
|
#page-settings section {
|
2024-05-14 19:38:45 +00:00
|
|
|
@apply relative overflow-x-auto shadow-md sm:rounded-lg text-gray-700 bg-white h-min;
|
2024-02-23 11:18:02 +00:00
|
|
|
}
|
2024-02-24 21:07:49 +00:00
|
|
|
|
2024-05-28 17:59:44 +00:00
|
|
|
#page-settings section h2 {
|
2024-02-28 11:06:24 +00:00
|
|
|
@apply text-lg font-semibold text-gray-900;
|
2024-02-23 11:18:02 +00:00
|
|
|
}
|
2024-02-24 21:07:49 +00:00
|
|
|
|
2024-05-28 17:59:44 +00:00
|
|
|
#page-settings section form {
|
2024-02-23 13:42:24 +00:00
|
|
|
@apply grid gap-4 grid-cols-1 sm:grid-cols-[2fr_1fr];
|
2024-02-23 11:18:02 +00:00
|
|
|
}
|
2024-05-28 17:59:44 +00:00
|
|
|
#page-settings section form select,
|
|
|
|
#page-settings section form input {
|
2024-02-23 11:18:02 +00:00
|
|
|
@apply h-min bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5;
|
|
|
|
}
|
2024-05-28 17:59:44 +00:00
|
|
|
#page-settings section form label {
|
2024-02-23 13:42:24 +00:00
|
|
|
@apply sm:col-span-2 block text-sm font-medium text-gray-900;
|
2024-02-23 11:18:02 +00:00
|
|
|
}
|
2024-05-28 17:59:44 +00:00
|
|
|
#page-settings section form p {
|
2024-02-23 11:18:02 +00:00
|
|
|
@apply text-sm font-normal text-gray-500;
|
|
|
|
}
|
2024-05-28 17:59:44 +00:00
|
|
|
#page-settings section form button[type="submit"] {
|
2024-02-23 13:42:24 +00:00
|
|
|
@apply text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center;
|
|
|
|
@apply sm:col-span-2;
|
|
|
|
}
|
2024-02-24 21:07:49 +00:00
|
|
|
|
2024-05-28 17:59:44 +00:00
|
|
|
#page-settings section table {
|
2024-02-27 22:47:20 +00:00
|
|
|
@apply w-full text-sm text-left rtl:text-right text-gray-500;
|
|
|
|
}
|
2024-05-28 17:59:44 +00:00
|
|
|
#page-settings section table caption {
|
2024-02-27 22:47:20 +00:00
|
|
|
@apply p-5 text-lg font-semibold text-left rtl:text-right text-gray-900 bg-white;
|
|
|
|
}
|
2024-05-28 17:59:44 +00:00
|
|
|
#page-settings section table caption p {
|
2024-05-14 19:38:45 +00:00
|
|
|
@apply mt-1 text-sm font-normal text-gray-700;
|
2024-02-27 22:47:20 +00:00
|
|
|
}
|
2024-05-28 17:59:44 +00:00
|
|
|
#page-settings section table thead {
|
2024-02-24 21:07:49 +00:00
|
|
|
@apply text-xs text-gray-700 uppercase bg-gray-50;
|
|
|
|
}
|
2024-05-28 17:59:44 +00:00
|
|
|
#page-settings section table thead th {
|
2024-02-27 22:47:20 +00:00
|
|
|
@apply px-6 py-4 text-center text-xs font-semibold text-gray-600 uppercase tracking-wider;
|
2024-02-24 21:07:49 +00:00
|
|
|
}
|
2024-05-28 17:59:44 +00:00
|
|
|
#page-settings section table tbody tr {
|
2024-03-03 14:28:25 +00:00
|
|
|
@apply odd:bg-white even:bg-gray-50;
|
|
|
|
}
|
2024-05-28 17:59:44 +00:00
|
|
|
#page-settings section table tbody tr th {
|
2024-02-24 21:07:49 +00:00
|
|
|
@apply px-6 py-4 font-medium text-gray-900 whitespace-nowrap text-center;
|
|
|
|
}
|
2024-05-28 17:59:44 +00:00
|
|
|
#page-settings section table tbody tr td {
|
2024-02-27 22:47:20 +00:00
|
|
|
@apply px-6 py-4 text-center whitespace-nowrap;
|
2024-02-24 21:07:49 +00:00
|
|
|
}
|
2024-05-28 17:59:44 +00:00
|
|
|
#page-settings section table tbody tr.row-special {
|
2024-03-03 14:28:25 +00:00
|
|
|
@apply bg-gray-100;
|
|
|
|
@apply font-semibold text-xs uppercase tracking-wider;
|
|
|
|
}
|