From 6e0e271294a1426a22a602e1264a50231c12b023 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Sun, 16 May 2021 01:06:57 +0200 Subject: [PATCH] replace bookmark button with svg --- htdocs/css/openwebrx.css | 2 +- htdocs/gfx/svg-defs.svg | 1 + htdocs/index.html | 2 +- htdocs/lib/BookmarkBar.js | 4 +- inkscape files/openwebrx-bookmark.svg | 56 +++++++++++++++++++++++++++ 5 files changed, 61 insertions(+), 4 deletions(-) create mode 100644 inkscape files/openwebrx-bookmark.svg diff --git a/htdocs/css/openwebrx.css b/htdocs/css/openwebrx.css index 71e9359..4492b2b 100644 --- a/htdocs/css/openwebrx.css +++ b/htdocs/css/openwebrx.css @@ -1386,6 +1386,6 @@ img.openwebrx-mirror-img display: none; } -.openwebrx-bookmark-button svg { +.bookmark .bookmark-actions .openwebrx-button svg { height: 14px; } \ No newline at end of file diff --git a/htdocs/gfx/svg-defs.svg b/htdocs/gfx/svg-defs.svg index 21c59ac..8c9c7b8 100644 --- a/htdocs/gfx/svg-defs.svg +++ b/htdocs/gfx/svg-defs.svg @@ -17,5 +17,6 @@ + \ No newline at end of file diff --git a/htdocs/index.html b/htdocs/index.html index 16220d3..3f67df7 100644 --- a/htdocs/index.html +++ b/htdocs/index.html @@ -121,7 +121,7 @@
diff --git a/htdocs/lib/BookmarkBar.js b/htdocs/lib/BookmarkBar.js index e0cbd91..e0993a5 100644 --- a/htdocs/lib/BookmarkBar.js +++ b/htdocs/lib/BookmarkBar.js @@ -87,8 +87,8 @@ BookmarkBar.prototype.render = function(){ var $bookmark = $( '
' + '
' + - '
' + - '
' + + '
' + + '
' + '
' + '
' + b.name + '
' + '
' diff --git a/inkscape files/openwebrx-bookmark.svg b/inkscape files/openwebrx-bookmark.svg new file mode 100644 index 0000000..39b786e --- /dev/null +++ b/inkscape files/openwebrx-bookmark.svg @@ -0,0 +1,56 @@ + + + + + + image/svg+xml + + + + + + + + +