You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2019/08/24 20:13:04 UTC
[camel-website] branch master updated: feat: make the quick
component search position ...
This is an automated email from the ASF dual-hosted git repository.
zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git
The following commit(s) were added to refs/heads/master by this push:
new 5807af5 feat: make the quick component search position ...
5807af5 is described below
commit 5807af5561d2556f2fac3db29def304cd5c6f171
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Sat Aug 24 17:38:05 2019 +0200
feat: make the quick component search position ...
...fixed
---
antora-ui-camel/src/css/nav.css | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/antora-ui-camel/src/css/nav.css b/antora-ui-camel/src/css/nav.css
index 6ab3891..53310d6 100644
--- a/antora-ui-camel/src/css/nav.css
+++ b/antora-ui-camel/src/css/nav.css
@@ -97,10 +97,12 @@ html.is-clipped--nav {
}
.nav-panel-menu input.search {
+ position: absolute;
+ width: 14.3rem;
border: 1px solid var(--nav-background);
- padding: 0.3rem 0.5rem 0.3rem 1.7rem;
- margin: 0.45rem 0.75rem;
- background: no-repeat 0.2rem/1.2rem url(../img/search.svg);
+ padding: 0.5rem 1.23rem 0.5rem 1.7rem;
+ margin: 0;
+ background: var(--panel-background) no-repeat 0.3rem/1.2rem url(../img/search.svg);
z-index: var(--z-index-nav-search);
font-size: calc(17 / var(--rem-base) * 1rem);
font-family: var(--body-font-family);
@@ -114,6 +116,7 @@ html.is-clipped--nav {
}
.nav-menu {
+ top: 2.5rem;
flex-grow: 1;
min-height: 0;
width: 100%;