summaryrefslogtreecommitdiffstats
path: root/theme/stylesheets/website
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2014-08-08 23:15:04 -0700
committerSamy Pessé <samypesse@gmail.com>2014-08-11 07:36:48 -0700
commit0fe54fbd57dd96a2c4eac57b954ceaa6fdbbde20 (patch)
treef965cb23b90a772f3ce03757d00561996be32341 /theme/stylesheets/website
parent1bec19029f250182ef3c919663c57b8cf1f78912 (diff)
downloadgitbook-0fe54fbd57dd96a2c4eac57b954ceaa6fdbbde20.zip
gitbook-0fe54fbd57dd96a2c4eac57b954ceaa6fdbbde20.tar.gz
gitbook-0fe54fbd57dd96a2c4eac57b954ceaa6fdbbde20.tar.bz2
Fix navigation color for sepia and night
Diffstat (limited to 'theme/stylesheets/website')
-rwxr-xr-xtheme/stylesheets/website/navigation.less10
-rw-r--r--theme/stylesheets/website/variables.less8
2 files changed, 14 insertions, 4 deletions
diff --git a/theme/stylesheets/website/navigation.less b/theme/stylesheets/website/navigation.less
index 15da0c4..3743381 100755
--- a/theme/stylesheets/website/navigation.less
+++ b/theme/stylesheets/website/navigation.less
@@ -49,14 +49,20 @@
}
}
.book.color-theme-1 .book-body {
+ .navigation {
+ color: @navigation-color-1;
+ &:hover {
+ color: @navigation-hover-color-1;
+ }
+ }
}
.book.color-theme-2 .book-body {
.navigation {
- color: rgba(255, 255, 255, 0.4);
+ color: @navigation-color-2;
&:hover {
- color: rgba(255, 255, 255, 0.9);
+ color: @navigation-hover-color-2;
}
}
} \ No newline at end of file
diff --git a/theme/stylesheets/website/variables.less b/theme/stylesheets/website/variables.less
index e03caea..648a0fc 100644
--- a/theme/stylesheets/website/variables.less
+++ b/theme/stylesheets/website/variables.less
@@ -153,8 +153,12 @@
@bar-background-1: #F3EACB;
@bar-background-2: #1d1f21;
-/*@bar-progress-background-1: #704214;
-@bar-progress-background-2: hsl(120, 60%, 50%);*/
+
+// Navigation
+@navigation-color-1: @header-button-color-1;
+@navigation-color-2: @header-button-color-2;
+@navigation-hover-color-1: @header-button-hover-color-1;
+@navigation-hover-color-2: @header-button-hover-color-2;
// Basics of a navbar
@navbar-default-border-1: #d5d5d5;