You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2021/06/03 09:51:49 UTC

[dubbo-website] branch master updated: Optimize sidebar nav active style (#816)

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

albumenj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 0f07d53  Optimize sidebar nav active style (#816)
0f07d53 is described below

commit 0f07d533e490f81f1ec8ffab8d4c60d537d55e14
Author: passer <wh...@gmail.com>
AuthorDate: Thu Jun 3 17:51:41 2021 +0800

    Optimize sidebar nav active style (#816)
---
 assets/scss/_styles_project.scss    | 9 ++++++++-
 assets/scss/_variables_project.scss | 3 ++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/assets/scss/_styles_project.scss b/assets/scss/_styles_project.scss
index f285bc0..a6fb42e 100644
--- a/assets/scss/_styles_project.scss
+++ b/assets/scss/_styles_project.scss
@@ -34,4 +34,11 @@ assets/scss/_styles_project.scss
     margin-bottom: 5px !important;
     height: 25px !important;
   }
-}
\ No newline at end of file
+}
+.td-sidebar-nav {
+  a {
+    &.active {
+      color: $sidebar-nav-active;
+    }
+  }
+}
diff --git a/assets/scss/_variables_project.scss b/assets/scss/_variables_project.scss
index a605fab..12630f6 100644
--- a/assets/scss/_variables_project.scss
+++ b/assets/scss/_variables_project.scss
@@ -3,4 +3,5 @@ $secondary: #835be3;
 
 $enable-gradients: false;
 $enable-rounded: true;
-$enable-shadows: false;
\ No newline at end of file
+$enable-shadows: false;
+$sidebar-nav-active: #3176d9