From 600eb02fee5729ea49aa900ffc307daa3e7c59d1 Mon Sep 17 00:00:00 2001 From: Mathieu David Date: Wed, 30 Dec 2015 16:48:46 +0100 Subject: [PATCH] Fix bug introduced earlier, where navigation arrows would become blue when visited + make the tooltip on nvigation arrows a little clearer --- src/theme/book.css | 20 ++++++++++++++++---- src/theme/index.hbs | 4 ++-- src/theme/stylus/themes/base.styl | 5 ++++- 3 files changed, 22 insertions(+), 7 deletions(-) diff --git a/src/theme/book.css b/src/theme/book.css index 33d98d12..7a9ff0ca 100644 --- a/src/theme/book.css +++ b/src/theme/book.css @@ -328,8 +328,11 @@ h5 { background-color: #f4f4f4; } .light .menu-bar, +.light .menu-bar:visited, .light .nav-chapters, -.light .mobile-nav-chapters { +.light .nav-chapters:visited, +.light .mobile-nav-chapters, +.light .mobile-nav-chapters:visited { color: #ccc; } .light .menu-bar i:hover, @@ -398,8 +401,11 @@ h5 { background-color: #393939; } .coal .menu-bar, +.coal .menu-bar:visited, .coal .nav-chapters, -.coal .mobile-nav-chapters { +.coal .nav-chapters:visited, +.coal .mobile-nav-chapters, +.coal .mobile-nav-chapters:visited { color: #43484d; } .coal .menu-bar i:hover, @@ -468,8 +474,11 @@ h5 { background-color: #2d334f; } .navy .menu-bar, +.navy .menu-bar:visited, .navy .nav-chapters, -.navy .mobile-nav-chapters { +.navy .nav-chapters:visited, +.navy .mobile-nav-chapters, +.navy .mobile-nav-chapters:visited { color: #737480; } .navy .menu-bar i:hover, @@ -538,8 +547,11 @@ h5 { background-color: #45373a; } .rust .menu-bar, +.rust .menu-bar:visited, .rust .nav-chapters, -.rust .mobile-nav-chapters { +.rust .nav-chapters:visited, +.rust .mobile-nav-chapters, +.rust .mobile-nav-chapters:visited { color: #737480; } .rust .menu-bar i:hover, diff --git a/src/theme/index.hbs b/src/theme/index.hbs index 38b18f99..e4340673 100644 --- a/src/theme/index.hbs +++ b/src/theme/index.hbs @@ -84,13 +84,13 @@ {{#previous}} - {{/previous}} {{#next}} - {{/next}} diff --git a/src/theme/stylus/themes/base.styl b/src/theme/stylus/themes/base.styl index ebbf2aac..9befa8d7 100644 --- a/src/theme/stylus/themes/base.styl +++ b/src/theme/stylus/themes/base.styl @@ -48,8 +48,11 @@ } .menu-bar, + .menu-bar:visited, .nav-chapters, - .mobile-nav-chapters { + .nav-chapters:visited, + .mobile-nav-chapters, + .mobile-nav-chapters:visited { color: $icons }