Bug 31453: use only SVG for the status images.

This commit is contained in:
David Fifield 2019-08-19 12:44:30 -06:00
parent f9173f61a2
commit 0ef7c6f1fa
16 changed files with 6 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

View file

@ -12,16 +12,16 @@ body {
} }
#statusimg { #statusimg {
background-image: url("assets/status-off.png"); background-image: url("assets/status-off.svg");
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center center; background-position: center center;
min-height: 60px; min-height: 60px;
} }
#statusimg.on { #statusimg.on {
background-image: url("assets/status-on.png"); background-image: url("assets/status-on.svg");
} }
#statusimg.on.running { #statusimg.on.running {
background-image: url("assets/status-running.png"); background-image: url("assets/status-running.svg");
} }
.b { .b {
@ -130,13 +130,13 @@ input:checked + .slider:before {
background-color: #38383d; background-color: #38383d;
} }
#statusimg { #statusimg {
background-image: url("assets/status-off-dark.png"); background-image: url("assets/status-off-dark.svg");
} }
#statusimg.on { #statusimg.on {
background-image: url("assets/status-on-dark.png"); background-image: url("assets/status-on-dark.svg");
} }
#statusimg.on.running { #statusimg.on.running {
background-image: url("assets/status-running.png"); background-image: url("assets/status-running.svg");
} }
input:checked + .slider { input:checked + .slider {
background-color: #cc80ff; background-color: #cc80ff;