Succbone HMI Updates #10

Merged
q3k merged 4 commits from succd-style into main 2024-10-05 17:37:12 +00:00
Showing only changes of commit e4fa961ef0 - Show all commits

View file

@ -70,6 +70,13 @@ td > span {
row-gap: 2em; row-gap: 2em;
} }
.has-hidden .hidden-text {
display: none;
}
.has-hidden:hover .hidden-text {
display: block;
@media only screen and (max-width: 700px) { @media only screen and (max-width: 700px) {
body { body {
font-size: 6px; font-size: 6px;
@ -115,13 +122,13 @@ td > span {
<table> <table>
<tr> <tr>
<th rowspan="2">Pirani Gauge</th> <th>Pirani Pressure</th>
<th>Voltage</th> <td class="has-hidden">
<td id="volts">{{ .Pirani.Volts }}</td> <div id="mbar">{{ .Pirani.Mbar }}</div>
</tr> <div class="hidden-text" style="color: #606060;">
<tr> <span>Voltage: </span><span id="volts">{{ .Pirani.Volts }}</span>
<th>Pressure</th> </div>
<td id="mbar">{{ .Pirani.Mbar }}</td> </td>
</tr> </tr>
</table> </table>