From 53b4f0e0d5f15e9c0f54d9acfe9b9dfd07377d4a Mon Sep 17 00:00:00 2001 From: Matt Date: Sun, 26 Mar 2023 19:29:52 +0000 Subject: [PATCH] Add svg icons --- images/icon-black.svg | 12 ++++++++++++ images/icon-color.svg | 12 ++++++++++++ images/icon-grey.svg | 12 ++++++++++++ src/public/app/widgets/buttons/global_menu.js | 4 ++-- src/public/stylesheets/theme-dark.css | 2 +- 5 files changed, 39 insertions(+), 3 deletions(-) create mode 100644 images/icon-black.svg create mode 100644 images/icon-color.svg create mode 100644 images/icon-grey.svg diff --git a/images/icon-black.svg b/images/icon-black.svg new file mode 100644 index 000000000..f3427da82 --- /dev/null +++ b/images/icon-black.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/images/icon-color.svg b/images/icon-color.svg new file mode 100644 index 000000000..bd266dab6 --- /dev/null +++ b/images/icon-color.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/images/icon-grey.svg b/images/icon-grey.svg new file mode 100644 index 000000000..92bc0906e --- /dev/null +++ b/images/icon-grey.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/src/public/app/widgets/buttons/global_menu.js b/src/public/app/widgets/buttons/global_menu.js index 8108655b7..73fa681d3 100644 --- a/src/public/app/widgets/buttons/global_menu.js +++ b/src/public/app/widgets/buttons/global_menu.js @@ -16,7 +16,7 @@ const TPL = ` } .global-menu-button { - background-image: url("${window.glob.assetPath}/images/icon-black.png"); + background-image: url("${window.glob.assetPath}/images/icon-black.svg"); background-repeat: no-repeat; background-position: 50% 45%; width: 100%; @@ -25,7 +25,7 @@ const TPL = ` } .global-menu-button:hover { - background-image: url("${window.glob.assetPath}/images/icon-color.png"); + background-image: url("${window.glob.assetPath}/images/icon-color.svg"); border: 0; } diff --git a/src/public/stylesheets/theme-dark.css b/src/public/stylesheets/theme-dark.css index e8b1de4b3..535282c30 100644 --- a/src/public/stylesheets/theme-dark.css +++ b/src/public/stylesheets/theme-dark.css @@ -72,7 +72,7 @@ } body .global-menu-button { - background-image: url("../images/icon-grey.png"); + background-image: url("../images/icon-grey.svg"); } body ::-webkit-calendar-picker-indicator {