This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-fluido-skin.git
The following commit(s) were added to refs/heads/master by this push:
new 8ca2040 Replace the Tango edit icon with an SVG and drop unused images
8ca2040 is described below
commit 8ca204059a606a80ad29add92f18d0456a16b89a
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Sun Nov 1 10:53:57 2026 +0000
Replace the Tango edit icon with an SVG and drop unused images
The 14x14 PNG edit icon blurs on high-density screens; images/edit.svg is a
drawn pencil. window-new.png only served the a.newWindow rule, which nothing
emits since MSKINS-262.
---
src/it/topbar/verify.groovy | 5 +++++
src/main/resources/META-INF/maven/site-macros.vm | 2 +-
src/main/resources/css/maven-theme.css | 5 -----
.../resources/images/accessories-text-editor.png | Bin 746 -> 0 bytes
src/main/resources/images/edit.svg | 22 +++++++++++++++++++++
src/main/resources/images/window-new.png | Bin 583 -> 0 bytes
6 files changed, 28 insertions(+), 6 deletions(-)
diff --git a/src/it/topbar/verify.groovy b/src/it/topbar/verify.groovy
index 0e840f8..a286085 100644
--- a/src/it/topbar/verify.groovy
+++ b/src/it/topbar/verify.groovy
@@ -33,3 +33,8 @@ assert html.contains( '<li><a
href="https://www.apache.org/">Apache</a><span cla
// MSKINS-263 - image without class in banner
assert html.contains('<div class="pull-left"><div id="bannerLeft"><h1><a
href="../../../"><img
src="../../../images/apache-maven-project-light-theme.svg" style="width:
489px;height: 83px;" /></a></h1></div></div>')
assert html.contains('<div class="pull-right"><div id="bannerRight"><h1><img
src="../../../images/logos/MavenLogoLeaf.svg" style="width: 340px;height:
83px;" /></h1></div></div>')
+
+// edit link after the page title: the SVG icon, copied with the site
+assert html =~ /<a href="[^"]+"><img src="\.\/images\/edit\.svg" alt="Edit"
width="14" height="14" \/><\/a><\/li>/
+assert new File( basedir, "target/site/images/edit.svg" ).exists()
+assert !new File( basedir, "target/site/images/accessories-text-editor.png"
).exists()
diff --git a/src/main/resources/META-INF/maven/site-macros.vm
b/src/main/resources/META-INF/maven/site-macros.vm
index 1197c7c..f5d177d 100644
--- a/src/main/resources/META-INF/maven/site-macros.vm
+++ b/src/main/resources/META-INF/maven/site-macros.vm
@@ -178,7 +178,7 @@
#**##end
#**### add Edit button if content is editable
#**##if( $site.edit && $docRenderingContext.editable )
-#* *##set( $edit = ' <a href="' + $docRenderingContext.getDoxiaSourcePath(
$site.edit ) + '"><img src="' + $relativePath +
'/images/accessories-text-editor.png" alt="' + $text.get( "template.edit" ) +
'" /></a>' )
+#* *##set( $edit = ' <a href="' + $docRenderingContext.getDoxiaSourcePath(
$site.edit ) + '"><img src="' + $relativePath + '/images/edit.svg" alt="' +
$text.get( "template.edit" ) + '" width="14" height="14" /></a>' )
#**##end
#**##if( $shortTitle )
<li class="active#if( $cssClass ) $cssClass#end">$esc.xml( $shortTitle
)$!edit</li>
diff --git a/src/main/resources/css/maven-theme.css
b/src/main/resources/css/maven-theme.css
index b49e872..41ac5e6 100644
--- a/src/main/resources/css/maven-theme.css
+++ b/src/main/resources/css/maven-theme.css
@@ -17,11 +17,6 @@
* under the License.
*/
-a.newWindow {
- background: url('../images/window-new.png') right center no-repeat;
- padding-right: 18px;
-}
-
li.none {
list-style: none;
}
diff --git a/src/main/resources/images/accessories-text-editor.png
b/src/main/resources/images/accessories-text-editor.png
deleted file mode 100644
index abc3366..0000000
Binary files a/src/main/resources/images/accessories-text-editor.png and
/dev/null differ
diff --git a/src/main/resources/images/edit.svg
b/src/main/resources/images/edit.svg
new file mode 100644
index 0000000..a61b8a3
--- /dev/null
+++ b/src/main/resources/images/edit.svg
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 16
16">
+ <path fill="#6a737d" d="M11.3 1.3a1.6 1.6 0 0 1 2.3 0l1.1 1.1a1.6 1.6 0 0 1
0 2.3l-1.2 1.2-3.4-3.4zM9.1 3.5l3.4 3.4-7.6 7.6-3.9.5.5-3.9z"/>
+</svg>
diff --git a/src/main/resources/images/window-new.png
b/src/main/resources/images/window-new.png
deleted file mode 100644
index 0e12ef9..0000000
Binary files a/src/main/resources/images/window-new.png and /dev/null differ