This is an automated email from the ASF dual-hosted git repository.
michaelo 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 262f587 [MSKINS-193] Remove third party JS for Google Site Search
262f587 is described below
commit 262f5874603d72fddadf9f20fc46cf610977fe6b
Author: Konrad Windszus <[email protected]>
AuthorDate: Mon Jun 13 08:38:07 2022 +0200
[MSKINS-193] Remove third party JS for Google Site Search
This closes #36
---
src/main/resources/META-INF/maven/site-macros.vm | 3 +--
src/main/resources/css/maven-theme.css | 3 ---
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/main/resources/META-INF/maven/site-macros.vm
b/src/main/resources/META-INF/maven/site-macros.vm
index 78085ad..0418f30 100644
--- a/src/main/resources/META-INF/maven/site-macros.vm
+++ b/src/main/resources/META-INF/maven/site-macros.vm
@@ -629,9 +629,8 @@ $indent </ul>##
#* *##set( $sitesearchValue = $project.url.substring( $startIndex,
$project.url.length() ) )
#**##end
<input value="$sitesearchValue" name="sitesearch" type="hidden"/>
- <input class="search-query" name="q" id="query" type="text" />
+ <input class="search-query" name="q" id="query" type="text"
placeholder="Search with Google..." />
</form>
-<script>asyncJs( 'https://cse.google.com/brand?form=search-form' )</script>
#end
##
#macro ( forkMeOnGitHub )
diff --git a/src/main/resources/css/maven-theme.css
b/src/main/resources/css/maven-theme.css
index 1ce0c98..a18b90b 100644
--- a/src/main/resources/css/maven-theme.css
+++ b/src/main/resources/css/maven-theme.css
@@ -63,9 +63,6 @@ li.none {
}
.search-query {
- background-image:
url(https://cse.google.com/cse/images/google_custom_search_watermark.gif);
- background-attachment: initial; background-origin: initial; background-clip:
initial;
- background-color: rgb(255, 255, 255); background-position: 0% 50%;
background-repeat: no-repeat no-repeat;
width:95%;
}