Skip to content

Commit 8a20696

Browse files
committed
Change the position of thermostat animation
1 parent 2fdfd62 commit 8a20696

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

glowdash/glowdash.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ var CommSSEHost string = ""
140140
var CommSSEPort int = 8085
141141
var BackgroudDevQueryNetDialerTimeout time.Duration = time.Duration(1200) * time.Millisecond
142142
var BackgroudDevQueryNetKeepaliveTimeout time.Duration = time.Duration(1200) * time.Millisecond
143-
var AssetVer string = "111"
143+
var AssetVer string = "112"
144144

145145
var Panels []PanelInterface
146146
var Pages []PageInterface

glowdash/thermostat.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,6 @@ func (p PanelThermostat) PanelHtml(withContainer bool) string {
107107
</div>
108108
</div>
109109
110-
<div class="sendthermsign"></div>
111-
112110
{{if .ShowTitle}}
113111
<div class="title-container mt-s">
114112
<p class="title text-bold body-small-styles">{{.Title}}</p>
@@ -129,6 +127,8 @@ func (p PanelThermostat) PanelHtml(withContainer bool) string {
129127
</div>
130128
{{end}}
131129
</div>
130+
131+
<div class="sendthermsign"></div>
132132
133133
<div class="bottom-slot-container d-flex justify-content-center">
134134
<button id="b-{{.Id}}-down"

static/glowdash.css

+1-5
Original file line numberDiff line numberDiff line change
@@ -2406,23 +2406,19 @@ body {
24062406
height: 99999px;
24072407
background-repeat: no-repeat;
24082408
background-position: 0 0;
2409-
/*border color, change middle color*/
24102409
background-image: conic-gradient(rgba(0,0,0,0), #1976ed, rgba(0,0,0,0) 45%);
2411-
/* change speed here */
24122410
animation: rotate 2s linear infinite;
24132411
}
24142412

24152413
.animated-border-box:after {
24162414
content: '';
24172415
position: absolute;
24182416
z-index: -1;
2419-
/* border width */
24202417
left: 5px;
24212418
top: 5px;
24222419
/* double the px from the border width left */
24232420
width: calc(100% - 10px);
24242421
height: calc(100% - 10px);
2425-
/*bg color*/
24262422
background: #292a2e;
24272423
/*box border radius*/
24282424
border-radius: 7px;
@@ -2435,7 +2431,7 @@ body {
24352431
}
24362432

24372433
.sendthermsign {
2438-
margin: 0;
2434+
margin: 2px 0px 0px 0px;
24392435
padding: 0;
24402436
display: block;
24412437
width: 0%;

0 commit comments

Comments
 (0)