help3xsl/default.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
New commits: commit 2d01e2aa1ef6949780e771ff6412df040d10e44c Author: Olivier Hallot <[email protected]> AuthorDate: Wed Sep 2 11:59:40 2026 -0300 Commit: Olivier Hallot <[email protected]> CommitDate: Wed Sep 2 17:15:32 2026 +0200 Remove inline SVG's from CSS Change-Id: I42e62cf9774a256792bfd92ea4586a1ea1283f00 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/210433 Tested-by: Jenkins Reviewed-by: Olivier Hallot <[email protected]> diff --git a/help3xsl/default.css b/help3xsl/default.css index a3053270e2..fe5d281990 100644 --- a/help3xsl/default.css +++ b/help3xsl/default.css @@ -1368,8 +1368,7 @@ input[type="search"]:not(#omega-autofocus) { color: var(--widget-color); outline: none; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); - - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 2a9 9 0 1 1 0 18 9 9 0 0 1 0-18zm0 2a7 7 0 1 0 0 14A7 7 0 0 0 11 4zm6.707 12.707L21 21l-1.414 1.414-3.293-3.293 1.414-1.414z' fill='currentColor'/%3E%3C/svg%3E"); + background-image: url(media/helpimg/search-line-dark.svg); background-repeat: no-repeat; background-position: 14px center; background-size: 22px 22px; @@ -1377,7 +1376,7 @@ input[type="search"]:not(#omega-autofocus) { [data-theme="dark"] #search-bar, html.dark-mode #search-bar { - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 2a9 9 0 1 1 0 18 9 9 0 0 1 0-18zm0 2a7 7 0 1 0 0 14A7 7 0 0 0 11 4zm6.707 12.707L21 21l-1.414 1.414-3.293-3.293 1.414-1.414z' fill='%23ddd'/%3E%3C/svg%3E"); + background-image: url(media/helpimg/search-line-light.svg); } #search-bar:focus,
