From 3aeb3dd0cf59ddb5c627184eeddcec6bd84aac68 Mon Sep 17 00:00:00 2001 From: Damien Vitrac Date: Fri, 15 Sep 2023 14:46:59 +0200 Subject: [PATCH] Add link in modal search to search page --- src/css/vendor/search.css | 15 +++++++++++++++ src/partials/search.hbs | 1 + 2 files changed, 16 insertions(+) diff --git a/src/css/vendor/search.css b/src/css/vendor/search.css index 88541c3..c2b0920 100644 --- a/src/css/vendor/search.css +++ b/src/css/vendor/search.css @@ -241,6 +241,21 @@ a.ais-Hits-item:hover { position: absolute; top: 62px; right: 15px; + line-height: 25px; + z-index: 999; +} + +.search-link { + display: inline-block; + position: absolute; + top: -3px; + white-space: nowrap; + left: -200px; + color: var(--asciidoctor-link-font-color);; +} + +.search-link:hover { + color: var(--link_hover-font-color); } .search-by .dark { diff --git a/src/partials/search.hbs b/src/partials/search.hbs index e24709e..87736e3 100644 --- a/src/partials/search.hbs +++ b/src/partials/search.hbs @@ -7,6 +7,7 @@
+ Search in all Spring Docs