summaryrefslogtreecommitdiffstats
path: root/app/assets
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-12-09 00:10:29 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-12-09 00:10:29 +0000
commit40e32861c770828669b1a4e9da31abab9e32f956 (patch)
tree1842a2e2f2ceb7bf9f0f916d6de6d373fa1379fe /app/assets
parent899a93af2a5a9a3889fabed4289769cf66e0b0dd (diff)
downloadredmine-40e32861c770828669b1a4e9da31abab9e32f956.tar.gz
redmine-40e32861c770828669b1a4e9da31abab9e32f956.zip
Replaces background image for autocomplete fields from legacy magnifier to SVG icon (#41714).
git-svn-id: https://svn.redmine.org/redmine/trunk@23369 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/images/search.svg1
-rw-r--r--app/assets/stylesheets/application.css2
2 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/images/search.svg b/app/assets/images/search.svg
new file mode 100644
index 000000000..c8142072b
--- /dev/null
+++ b/app/assets/images/search.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0" /><path d="M21 21l-6 -6" /></svg> \ No newline at end of file
diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css
index f0044fc66..a45f821b6 100644
--- a/app/assets/stylesheets/application.css
+++ b/app/assets/stylesheets/application.css
@@ -1142,7 +1142,7 @@ input#principal_search, input#user_search {width:90%}
.roles-selection label {display:inline-block; width:210px;}
input.autocomplete {
- background: #fff url(/magnifier.png) no-repeat 2px 50%; padding-left:20px !important;
+ background: #fff url(/search.svg) no-repeat 2px 50%; padding-left:20px !important;
}
input.autocomplete.ajax-loading {
background-image: url(/loading.gif);