You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2019/11/15 06:35:10 UTC

[isis-antora] branch master updated: fixes colors in nav bar, also moves toc on right

This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis-antora.git


The following commit(s) were added to refs/heads/master by this push:
     new 7f06904  fixes colors in nav bar, also moves toc on right
7f06904 is described below

commit 7f06904948fbd6d3a4b5fbc25edef48fca01c206
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Fri Nov 15 06:34:58 2019 +0000

    fixes colors in nav bar, also moves toc on right
---
 build/ui-bundle.zip           | Bin 312881 -> 313123 bytes
 src/css/extensions/colors.css |   4 +++-
 src/css/extensions/toc.css    |   7 ++++---
 src/css/nav.css               |   4 ++--
 src/img/isis-logo-48x48.png   | Bin 2622 -> 2544 bytes
 5 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/build/ui-bundle.zip b/build/ui-bundle.zip
index 8d43531..c077cf5 100644
Binary files a/build/ui-bundle.zip and b/build/ui-bundle.zip differ
diff --git a/src/css/extensions/colors.css b/src/css/extensions/colors.css
index d1797f8..c0f9b06 100644
--- a/src/css/extensions/colors.css
+++ b/src/css/extensions/colors.css
@@ -1,5 +1,7 @@
 div.body aside.nav,
-.nav-menu a {
+.nav-menu a,
+.nav-menu span,
+div.body aside.nav .nav-panel-explore {
   color: var(--color-isis-blue);
 }
 
diff --git a/src/css/extensions/toc.css b/src/css/extensions/toc.css
index 764f0f8..05849c3 100644
--- a/src/css/extensions/toc.css
+++ b/src/css/extensions/toc.css
@@ -7,11 +7,13 @@
     right: 0;
     font-size: 0.9em;
     border-left: dotted 1px #e1e1e1;
-    width: 20rem;
+    width: 14rem;
+    margin-right: 4em;
   }
 
-  .article-toc {
+  #article-toc {
     padding-left: 0;
+    margin-right: 4rem;
   }
 
   .article-aside.hidden {
@@ -25,7 +27,6 @@
 }
 
 .tocify {
-  width: 20%;
   position: fixed;
 }
 
diff --git a/src/css/nav.css b/src/css/nav.css
index e705bb5..23451ae 100644
--- a/src/css/nav.css
+++ b/src/css/nav.css
@@ -79,7 +79,7 @@ html.is-clipped--nav {
 
 .nav-panel-menu:not(.is-active)::after {
   content: "";
-  background: rgba(0, 0, 0, 0.5);
+  background: rgba(128, 128, 128, 0.5);
   display: block;
   position: absolute;
   top: 0;
@@ -175,7 +175,7 @@ html.is-clipped--nav {
   right: 0;
   bottom: 0;
   left: 0;
-  max-height: calc(50% + var(--drawer-height));
+  max-height: calc(75% + var(--drawer-height));
 }
 
 .nav-panel-explore .context {
diff --git a/src/img/isis-logo-48x48.png b/src/img/isis-logo-48x48.png
index 08e012c..36e019b 100644
Binary files a/src/img/isis-logo-48x48.png and b/src/img/isis-logo-48x48.png differ