Skip to content

Commit

Permalink
Fix bug introduced earlier, where navigation arrows would become blue…
Browse files Browse the repository at this point in the history
… when visited + make the tooltip on nvigation arrows a little clearer
  • Loading branch information
azerupi committed Dec 30, 2015
1 parent 41462e8 commit 600eb02
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 7 deletions.
20 changes: 16 additions & 4 deletions src/theme/book.css
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions src/theme/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,13 @@
</div>

{{#previous}}
<a href="{{link}}" class="nav-chapters previous" title="&larr;">
<a href="{{link}}" class="nav-chapters previous" title="You can navigate through the chapters using the arrow keys">
<i class="fa fa-angle-left"></i>
</a>
{{/previous}}

{{#next}}
<a href="{{link}}" class="nav-chapters next" title="&rarr;">
<a href="{{link}}" class="nav-chapters next" title="You can navigate through the chapters using the arrow keys">
<i class="fa fa-angle-right"></i>
</a>
{{/next}}
Expand Down
5 changes: 4 additions & 1 deletion src/theme/stylus/themes/base.styl
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 600eb02

Please sign in to comment.