commit 0ef7c6f1fa6abc5ffeff455be0143efce0adb207 Author: David Fifield david@bamsoftware.com Date: Mon Aug 19 12:44:30 2019 -0600
Bug 31453: use only SVG for the status images. --- proxy/static/assets/status-off-dark.png | Bin 3626 -> 0 bytes proxy/static/assets/status-off-dark@2x.png | Bin 8891 -> 0 bytes proxy/static/assets/status-off-dark@3x.png | Bin 13339 -> 0 bytes proxy/static/assets/status-off.png | Bin 3389 -> 0 bytes proxy/static/assets/status-off@2x.png | Bin 8022 -> 0 bytes proxy/static/assets/status-off@3x.png | Bin 12459 -> 0 bytes proxy/static/assets/status-on-dark.png | Bin 3209 -> 0 bytes proxy/static/assets/status-on-dark@2x.png | Bin 7268 -> 0 bytes proxy/static/assets/status-on-dark@3x.png | Bin 11360 -> 0 bytes proxy/static/assets/status-on.png | Bin 3077 -> 0 bytes proxy/static/assets/status-on@2x.png | Bin 7185 -> 0 bytes proxy/static/assets/status-on@3x.png | Bin 10844 -> 0 bytes proxy/static/assets/status-running.png | Bin 3333 -> 0 bytes proxy/static/assets/status-running@2x.png | Bin 7912 -> 0 bytes proxy/static/assets/status-running@3x.png | Bin 12441 -> 0 bytes proxy/static/embed.css | 12 ++++++------ 16 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/proxy/static/assets/status-off-dark.png b/proxy/static/assets/status-off-dark.png deleted file mode 100644 index 75cf163..0000000 Binary files a/proxy/static/assets/status-off-dark.png and /dev/null differ diff --git a/proxy/static/assets/status-off-dark@2x.png b/proxy/static/assets/status-off-dark@2x.png deleted file mode 100644 index 374881e..0000000 Binary files a/proxy/static/assets/status-off-dark@2x.png and /dev/null differ diff --git a/proxy/static/assets/status-off-dark@3x.png b/proxy/static/assets/status-off-dark@3x.png deleted file mode 100644 index a1e3fff..0000000 Binary files a/proxy/static/assets/status-off-dark@3x.png and /dev/null differ diff --git a/proxy/static/assets/status-off.png b/proxy/static/assets/status-off.png deleted file mode 100644 index 3cc438e..0000000 Binary files a/proxy/static/assets/status-off.png and /dev/null differ diff --git a/proxy/static/assets/status-off@2x.png b/proxy/static/assets/status-off@2x.png deleted file mode 100644 index a102a80..0000000 Binary files a/proxy/static/assets/status-off@2x.png and /dev/null differ diff --git a/proxy/static/assets/status-off@3x.png b/proxy/static/assets/status-off@3x.png deleted file mode 100644 index 4e119b6..0000000 Binary files a/proxy/static/assets/status-off@3x.png and /dev/null differ diff --git a/proxy/static/assets/status-on-dark.png b/proxy/static/assets/status-on-dark.png deleted file mode 100644 index 09435c2..0000000 Binary files a/proxy/static/assets/status-on-dark.png and /dev/null differ diff --git a/proxy/static/assets/status-on-dark@2x.png b/proxy/static/assets/status-on-dark@2x.png deleted file mode 100644 index 18efcf5..0000000 Binary files a/proxy/static/assets/status-on-dark@2x.png and /dev/null differ diff --git a/proxy/static/assets/status-on-dark@3x.png b/proxy/static/assets/status-on-dark@3x.png deleted file mode 100644 index 026f6be..0000000 Binary files a/proxy/static/assets/status-on-dark@3x.png and /dev/null differ diff --git a/proxy/static/assets/status-on.png b/proxy/static/assets/status-on.png deleted file mode 100644 index 94aee66..0000000 Binary files a/proxy/static/assets/status-on.png and /dev/null differ diff --git a/proxy/static/assets/status-on@2x.png b/proxy/static/assets/status-on@2x.png deleted file mode 100644 index 227ca77..0000000 Binary files a/proxy/static/assets/status-on@2x.png and /dev/null differ diff --git a/proxy/static/assets/status-on@3x.png b/proxy/static/assets/status-on@3x.png deleted file mode 100644 index f1b7f70..0000000 Binary files a/proxy/static/assets/status-on@3x.png and /dev/null differ diff --git a/proxy/static/assets/status-running.png b/proxy/static/assets/status-running.png deleted file mode 100644 index 9dfe9fc..0000000 Binary files a/proxy/static/assets/status-running.png and /dev/null differ diff --git a/proxy/static/assets/status-running@2x.png b/proxy/static/assets/status-running@2x.png deleted file mode 100644 index fe1163c..0000000 Binary files a/proxy/static/assets/status-running@2x.png and /dev/null differ diff --git a/proxy/static/assets/status-running@3x.png b/proxy/static/assets/status-running@3x.png deleted file mode 100644 index 29f8b90..0000000 Binary files a/proxy/static/assets/status-running@3x.png and /dev/null differ diff --git a/proxy/static/embed.css b/proxy/static/embed.css index 860d2b0..162521a 100644 --- a/proxy/static/embed.css +++ b/proxy/static/embed.css @@ -12,16 +12,16 @@ body { }
#statusimg { - background-image: url("assets/status-off.png"); + background-image: url("assets/status-off.svg"); background-repeat: no-repeat; background-position: center center; min-height: 60px; } #statusimg.on { - background-image: url("assets/status-on.png"); + background-image: url("assets/status-on.svg"); } #statusimg.on.running { - background-image: url("assets/status-running.png"); + background-image: url("assets/status-running.svg"); }
.b { @@ -130,13 +130,13 @@ input:checked + .slider:before { background-color: #38383d; } #statusimg { - background-image: url("assets/status-off-dark.png"); + background-image: url("assets/status-off-dark.svg"); } #statusimg.on { - background-image: url("assets/status-on-dark.png"); + background-image: url("assets/status-on-dark.svg"); } #statusimg.on.running { - background-image: url("assets/status-running.png"); + background-image: url("assets/status-running.svg"); } input:checked + .slider { background-color: #cc80ff;