This commit is contained in:
Magnus Åhall 2024-05-28 07:37:22 +02:00
parent 8dd4fcd197
commit c82c770246
10 changed files with 52 additions and 16 deletions

View File

@ -26,9 +26,12 @@ body {
}
h1,
h2 {
margin-top: 0px;
margin-bottom: 4px;
}
h1:first-child,
h2:first-child {
margin-top: 0px;
}
h1 {
font-size: 1.5em;
color: #fb4934;
@ -36,10 +39,11 @@ h1 {
}
h2 {
font-size: 1.25em;
color: #b8bb26;
font-weight: 500;
}
a {
color: #fabd2f;
color: #3f9da1;
text-decoration: none;
}
a:hover {
@ -107,9 +111,11 @@ label {
#datapoints .group {
font-size: 1.1em;
font-weight: bold;
color: #fabd2f;
color: #b8bb26;
margin-top: 1.5em;
padding-bottom: 4px;
}
#datapoints h2 {
border-bottom: unset;
}
#datapoints .header {

View File

@ -26,9 +26,12 @@ body {
}
h1,
h2 {
margin-top: 0px;
margin-bottom: 4px;
}
h1:first-child,
h2:first-child {
margin-top: 0px;
}
h1 {
font-size: 1.5em;
color: #fb4934;
@ -36,10 +39,11 @@ h1 {
}
h2 {
font-size: 1.25em;
color: #b8bb26;
font-weight: 500;
}
a {
color: #fabd2f;
color: #3f9da1;
text-decoration: none;
}
a:hover {
@ -178,6 +182,10 @@ label {
margin-top: 12px;
margin-bottom: 20px;
}
#areas .area .section.configuration {
margin-top: 8px;
margin-bottom: 8px;
}
#areas .area .section:last-child {
margin-bottom: 12px;
}

View File

@ -26,9 +26,12 @@ body {
}
h1,
h2 {
margin-top: 0px;
margin-bottom: 4px;
}
h1:first-child,
h2:first-child {
margin-top: 0px;
}
h1 {
font-size: 1.5em;
color: #fb4934;
@ -36,10 +39,11 @@ h1 {
}
h2 {
font-size: 1.25em;
color: #b8bb26;
font-weight: 500;
}
a {
color: #fabd2f;
color: #3f9da1;
text-decoration: none;
}
a:hover {

View File

@ -26,9 +26,12 @@ body {
}
h1,
h2 {
margin-top: 0px;
margin-bottom: 4px;
}
h1:first-child,
h2:first-child {
margin-top: 0px;
}
h1 {
font-size: 1.5em;
color: #fb4934;
@ -36,10 +39,11 @@ h1 {
}
h2 {
font-size: 1.25em;
color: #b8bb26;
font-weight: 500;
}
a {
color: #fabd2f;
color: #3f9da1;
text-decoration: none;
}
a:hover {

View File

@ -26,9 +26,12 @@ body {
}
h1,
h2 {
margin-top: 0px;
margin-bottom: 4px;
}
h1:first-child,
h2:first-child {
margin-top: 0px;
}
h1 {
font-size: 1.5em;
color: #fb4934;
@ -36,10 +39,11 @@ h1 {
}
h2 {
font-size: 1.25em;
color: #b8bb26;
font-weight: 500;
}
a {
color: #fabd2f;
color: #3f9da1;
text-decoration: none;
}
a:hover {

View File

@ -9,9 +9,11 @@
.group {
font-size: 1.10em;
font-weight: bold;
color: @color2;
color: @color3;
margin-top: 1.5em;
padding-bottom: 4px;
}
h2 {
border-bottom: unset;
}

View File

@ -94,6 +94,11 @@
margin-top: 12px;
margin-bottom: 20px;
&.configuration {
margin-top: 8px;
margin-bottom: 8px;
}
&:last-child {
margin-bottom: 12px;
}

View File

@ -52,8 +52,10 @@ body {
h1,
h2 {
margin-top: 0px;
margin-bottom: 4px;
&:first-child {
margin-top: 0px;
}
}
h1 {
@ -64,11 +66,12 @@ h1 {
h2 {
font-size: 1.25em;
color: @color3;
font-weight: @bold;
}
a {
color: @color2;
color: @color4;
text-decoration: none;
&:hover {

View File

@ -64,7 +64,7 @@
<a href="#" onclick="newSection({{ .ID }})">Create</a>
</div>
{{ range .SortedSections }}
<div class="section">
<div class="section configuration">
<div class="name" onclick="renameSection({{ .ID }}, {{ .Name }})">{{ .Name }}</div>
</div>
{{ end }}

View File

@ -10,7 +10,7 @@
{{ $prevGroup := "kalle" }}
{{ range .Data.Datapoints }}
{{ if ne $prevGroup .Group }}
<div class="line group">{{ .Group }}</div>
<h2 class="line">{{ .Group }}</h2>
<div class="header">Name</div>
<div class="header">Datatype</div>
<div class="header">Last value</div>