From 979f11f40a2ce981a22167eae94a43f8255e82eb Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Sun, 16 May 2021 17:47:02 +0200 Subject: [PATCH] move play button to svg-defs --- htdocs/css/openwebrx.css | 3 +- htdocs/gfx/openwebrx-play-button.svg | 1 - htdocs/gfx/svg-defs.svg | 1 + htdocs/index.html | 6 +++ htdocs/openwebrx.js | 11 +--- inkscape files/openwebrx-play-button.svg | 67 ++++++++++++++++++++++++ 6 files changed, 77 insertions(+), 12 deletions(-) delete mode 100644 htdocs/gfx/openwebrx-play-button.svg create mode 100644 inkscape files/openwebrx-play-button.svg diff --git a/htdocs/css/openwebrx.css b/htdocs/css/openwebrx.css index 2021331..da93283 100644 --- a/htdocs/css/openwebrx.css +++ b/htdocs/css/openwebrx.css @@ -781,8 +781,7 @@ img.openwebrx-mirror-img transition: opacity 0.3s linear; } -#openwebrx-autoplay-overlay img -{ +#openwebrx-autoplay-overlay svg { width: 150px; } diff --git a/htdocs/gfx/openwebrx-play-button.svg b/htdocs/gfx/openwebrx-play-button.svg deleted file mode 100644 index 6e16734..0000000 --- a/htdocs/gfx/openwebrx-play-button.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/htdocs/gfx/svg-defs.svg b/htdocs/gfx/svg-defs.svg index 2ed1d29..5b5c6d7 100644 --- a/htdocs/gfx/svg-defs.svg +++ b/htdocs/gfx/svg-defs.svg @@ -21,5 +21,6 @@ + \ No newline at end of file diff --git a/htdocs/index.html b/htdocs/index.html index 3f67df7..5fa9fbc 100644 --- a/htdocs/index.html +++ b/htdocs/index.html @@ -166,6 +166,12 @@ +