aboutsummaryrefslogtreecommitdiffstats
path: root/webstats/static/uPlot.min.css
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2025-04-28 18:20:27 +0200
committerOscar Najera <hi@oscarnajera.com>2025-04-28 18:20:27 +0200
commitd0a76b844210d7d84fb997a446948a50e1d268cd (patch)
treee7edbd915de286f064983d98f78eebaa4b366d6d /webstats/static/uPlot.min.css
parentd23c5887921a4af9982aadf8a09141ef226ce573 (diff)
downloadscratch-d0a76b844210d7d84fb997a446948a50e1d268cd.tar.gz
scratch-d0a76b844210d7d84fb997a446948a50e1d268cd.tar.bz2
scratch-d0a76b844210d7d84fb997a446948a50e1d268cd.zip
Diffstat (limited to 'webstats/static/uPlot.min.css')
-rw-r--r--webstats/static/uPlot.min.css131
1 files changed, 131 insertions, 0 deletions
diff --git a/webstats/static/uPlot.min.css b/webstats/static/uPlot.min.css
new file mode 100644
index 0000000..655a65a
--- /dev/null
+++ b/webstats/static/uPlot.min.css
@@ -0,0 +1,131 @@
+.uplot,
+.uplot *,
+.uplot *::before,
+.uplot *::after {
+ box-sizing: border-box;
+}
+.uplot {
+ font-family:
+ system-ui,
+ -apple-system,
+ "Segoe UI",
+ Roboto,
+ "Helvetica Neue",
+ Arial,
+ "Noto Sans",
+ sans-serif,
+ "Apple Color Emoji",
+ "Segoe UI Emoji",
+ "Segoe UI Symbol",
+ "Noto Color Emoji";
+ line-height: 1.5;
+ width: min-content;
+}
+.u-title {
+ text-align: center;
+ font-size: 18px;
+ font-weight: bold;
+}
+.u-wrap {
+ position: relative;
+ user-select: none;
+}
+.u-over,
+.u-under {
+ position: absolute;
+}
+.u-under {
+ overflow: hidden;
+}
+.uplot canvas {
+ display: block;
+ position: relative;
+ width: 100%;
+ height: 100%;
+}
+.u-axis {
+ position: absolute;
+}
+.u-legend {
+ font-size: 14px;
+ margin: auto;
+ text-align: center;
+}
+.u-inline {
+ display: block;
+}
+.u-inline * {
+ display: inline-block;
+}
+.u-inline tr {
+ margin-right: 16px;
+}
+.u-legend th {
+ font-weight: 600;
+}
+.u-legend th > * {
+ vertical-align: middle;
+ display: inline-block;
+}
+.u-legend .u-marker {
+ width: 1em;
+ height: 1em;
+ margin-right: 4px;
+ background-clip: padding-box !important;
+}
+.u-inline.u-live th::after {
+ content: ":";
+ vertical-align: middle;
+}
+.u-inline:not(.u-live) .u-value {
+ display: none;
+}
+.u-series > * {
+ padding: 4px;
+}
+.u-series th {
+ cursor: pointer;
+}
+.u-legend .u-off > * {
+ opacity: 0.3;
+}
+.u-select {
+ background: rgba(0, 0, 0, 0.07);
+ position: absolute;
+ pointer-events: none;
+}
+.u-cursor-x,
+.u-cursor-y {
+ position: absolute;
+ left: 0;
+ top: 0;
+ pointer-events: none;
+ will-change: transform;
+}
+.u-hz .u-cursor-x,
+.u-vt .u-cursor-y {
+ height: 100%;
+ border-right: 1px dashed #607d8b;
+}
+.u-hz .u-cursor-y,
+.u-vt .u-cursor-x {
+ width: 100%;
+ border-bottom: 1px dashed #607d8b;
+}
+.u-cursor-pt {
+ position: absolute;
+ top: 0;
+ left: 0;
+ border-radius: 50%;
+ border: 0 solid;
+ pointer-events: none;
+ will-change: transform; /*this has to be !important since we set inline "background" shorthand */
+ background-clip: padding-box !important;
+}
+.u-axis.u-off,
+.u-select.u-off,
+.u-cursor-x.u-off,
+.u-cursor-y.u-off,
+.u-cursor-pt.u-off {
+ display: none;
+}