Skip to content

Commit b3c1331

Browse files
committed
Make button and thermostat animations more visible
1 parent 8a20696 commit b3c1331

File tree

2 files changed

+23
-25
lines changed

2 files changed

+23
-25
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 = "112"
143+
var AssetVer string = "113"
144144

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

static/glowdash.css

+22-24
Original file line numberDiff line numberDiff line change
@@ -2398,36 +2398,34 @@ body {
23982398
content: '';
23992399
z-index: -2;
24002400
text-align: center;
2401-
top: 50%;
2402-
left: 50%;
2403-
transform: translate(-50%, -50%) rotate(0deg);
2401+
top: 50%;
2402+
left: 50%;
2403+
transform: translate(-50%, -50%) rotate(0deg);
24042404
position: absolute;
2405-
width: 99999px;
2406-
height: 99999px;
2407-
background-repeat: no-repeat;
2408-
background-position: 0 0;
2409-
background-image: conic-gradient(rgba(0,0,0,0), #1976ed, rgba(0,0,0,0) 45%);
2410-
animation: rotate 2s linear infinite;
2405+
width: 99999px;
2406+
height: 99999px;
2407+
background-repeat: no-repeat;
2408+
background-position: 0 0;
2409+
background-image: conic-gradient(rgba(0,0,0,0) 0%,rgba(0,0,0,0) 25%,#ffcc22 40%,#ffaa55 70% ,rgba(0,0,0,0) 85%);
2410+
animation: rotate 1.5s linear infinite;
24112411
}
24122412

24132413
.animated-border-box:after {
2414-
content: '';
2415-
position: absolute;
2416-
z-index: -1;
2417-
left: 5px;
2418-
top: 5px;
2419-
/* double the px from the border width left */
2420-
width: calc(100% - 10px);
2421-
height: calc(100% - 10px);
2422-
background: #292a2e;
2423-
/*box border radius*/
2424-
border-radius: 7px;
2414+
content: '';
2415+
position: absolute;
2416+
z-index: -1;
2417+
left: 5px;
2418+
top: 5px;
2419+
width: calc(100% - 10px);
2420+
height: calc(100% - 10px);
2421+
background: #292a2e;
2422+
border-radius: 7px;
24252423
}
24262424

24272425
@keyframes rotate {
2428-
100% {
2429-
transform: translate(-50%, -50%) rotate(1turn);
2430-
}
2426+
100% {
2427+
transform: translate(-50%, -50%) rotate(1turn);
2428+
}
24312429
}
24322430

24332431
.sendthermsign {
@@ -2436,7 +2434,7 @@ body {
24362434
display: block;
24372435
width: 0%;
24382436
height: 2px;
2439-
background-color: #1976ed;
2437+
background: linear-gradient(to right,rgba(0,0,0,0) 0%,#fe2 5%,#fa5 50%,#fe2 95%,rgba(0,0,0,0) 100%);
24402438
}
24412439

24422440
.sendthermsign.animasendtherm {

0 commit comments

Comments
 (0)