From 5f5c653a5d0ca5bb7c673b82ce20f193f532b5c6 Mon Sep 17 00:00:00 2001 From: Rahix Date: Sun, 10 Nov 2024 01:38:32 +0100 Subject: [PATCH] succd: Improve styling of temperature values HMI design goes brrrr... --- succbone/succd/index.html | 73 +++++++++++++++++++++------------------ 1 file changed, 40 insertions(+), 33 deletions(-) diff --git a/succbone/succd/index.html b/succbone/succd/index.html index c598f0c..d700e1e 100644 --- a/succbone/succd/index.html +++ b/succbone/succd/index.html @@ -9,19 +9,19 @@ body { padding: 2em; } table { - font-size: 40px; + font-size: 30px; } table.status td { width: 2em; } th, td { background-color: #e8e8e8; - padding: 0.4em; + padding: 0.3em; } th { font-weight: 100; text-align: right; - font-size: 30px; + font-size: 25px; } td { text-align: left; @@ -34,7 +34,7 @@ h2 { font-weight: 100; } button { - height: 4.5em; + height: 3.3em; padding-left: 1.5em; padding-right: 1.5em; } @@ -76,6 +76,7 @@ td > span { .has-hidden:hover .hidden-text { display: block; +} @media only screen and (max-width: 700px) { body { @@ -111,22 +112,6 @@ td > span { DP {{ if .Pumps.DPOn }}ON{{ else }}OFF{{ end }} - - Temperatures - SEM - {{ .Temperatures.SEM }} - DPBottom - {{ .Temperatures.DPBottom }} - DPTop - {{ .Temperatures.DPTop }} - DPInlet - {{ .Temperatures.DPInlet }} - - - Humidity - SEM - {{ .Humidity.SEM }} - Safety Pirani
Failsafe @@ -136,19 +121,6 @@ td > span { - - - - - -
Pirani Pressure -
{{ .Pirani.Mbar }}
-
- Voltage: {{ .Pirani.Volts }} -
-
- - @@ -179,6 +151,41 @@ td > span {
Control
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Pirani Pressure +
{{ .Pirani.Mbar }}
+
+ Voltage: {{ .Pirani.Volts }} +
+
TemperaturesDP Bottom{{ .Temperatures.DPBottom }}
DP Top{{ .Temperatures.DPTop }}
DP Inlet{{ .Temperatures.DPInlet }}
SEM Environment{{ .Temperatures.SEM }}
HumiditySEM Environment{{ .Humidity.SEM }}
+ +