From 39d49ca991b54214757d1f9be3fff235e53e45df Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Sun, 16 May 2021 00:39:53 +0200 Subject: [PATCH] replace trashcan icon with svg --- htdocs/css/openwebrx.css | 4 ++ htdocs/gfx/svg-defs.svg | 1 + htdocs/lib/BookmarkBar.js | 2 +- inkscape files/openwebrx-trashcan.svg | 63 +++++++++++++++++++++++++++ 4 files changed, 69 insertions(+), 1 deletion(-) create mode 100644 inkscape files/openwebrx-trashcan.svg diff --git a/htdocs/css/openwebrx.css b/htdocs/css/openwebrx.css index 30be9a9..71e9359 100644 --- a/htdocs/css/openwebrx.css +++ b/htdocs/css/openwebrx.css @@ -1384,4 +1384,8 @@ img.openwebrx-mirror-img .openwebrx-mute-button.muted svg.unmuted { display: none; +} + +.openwebrx-bookmark-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 a9bc05e..569eb02 100644 --- a/htdocs/gfx/svg-defs.svg +++ b/htdocs/gfx/svg-defs.svg @@ -15,5 +15,6 @@ + \ No newline at end of file diff --git a/htdocs/lib/BookmarkBar.js b/htdocs/lib/BookmarkBar.js index 2284ca5..8dceb62 100644 --- a/htdocs/lib/BookmarkBar.js +++ b/htdocs/lib/BookmarkBar.js @@ -88,7 +88,7 @@ BookmarkBar.prototype.render = function(){ '
' + '
' + '
' + - '
' + + '
' + '
' + '
' + b.name + '
' + '
' diff --git a/inkscape files/openwebrx-trashcan.svg b/inkscape files/openwebrx-trashcan.svg new file mode 100644 index 0000000..661fe50 --- /dev/null +++ b/inkscape files/openwebrx-trashcan.svg @@ -0,0 +1,63 @@ + + + + + + image/svg+xml + + + + + + + + + + +