Skip to content

Commit 600eb02

Browse files
committed
Fix bug introduced earlier, where navigation arrows would become blue when visited + make the tooltip on nvigation arrows a little clearer
1 parent 41462e8 commit 600eb02

File tree

3 files changed

+22
-7
lines changed

3 files changed

+22
-7
lines changed

src/theme/book.css

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -328,8 +328,11 @@ h5 {
328328
background-color: #f4f4f4;
329329
}
330330
.light .menu-bar,
331+
.light .menu-bar:visited,
331332
.light .nav-chapters,
332-
.light .mobile-nav-chapters {
333+
.light .nav-chapters:visited,
334+
.light .mobile-nav-chapters,
335+
.light .mobile-nav-chapters:visited {
333336
color: #ccc;
334337
}
335338
.light .menu-bar i:hover,
@@ -398,8 +401,11 @@ h5 {
398401
background-color: #393939;
399402
}
400403
.coal .menu-bar,
404+
.coal .menu-bar:visited,
401405
.coal .nav-chapters,
402-
.coal .mobile-nav-chapters {
406+
.coal .nav-chapters:visited,
407+
.coal .mobile-nav-chapters,
408+
.coal .mobile-nav-chapters:visited {
403409
color: #43484d;
404410
}
405411
.coal .menu-bar i:hover,
@@ -468,8 +474,11 @@ h5 {
468474
background-color: #2d334f;
469475
}
470476
.navy .menu-bar,
477+
.navy .menu-bar:visited,
471478
.navy .nav-chapters,
472-
.navy .mobile-nav-chapters {
479+
.navy .nav-chapters:visited,
480+
.navy .mobile-nav-chapters,
481+
.navy .mobile-nav-chapters:visited {
473482
color: #737480;
474483
}
475484
.navy .menu-bar i:hover,
@@ -538,8 +547,11 @@ h5 {
538547
background-color: #45373a;
539548
}
540549
.rust .menu-bar,
550+
.rust .menu-bar:visited,
541551
.rust .nav-chapters,
542-
.rust .mobile-nav-chapters {
552+
.rust .nav-chapters:visited,
553+
.rust .mobile-nav-chapters,
554+
.rust .mobile-nav-chapters:visited {
543555
color: #737480;
544556
}
545557
.rust .menu-bar i:hover,

src/theme/index.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,13 @@
8484
</div>
8585

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

9292
{{#next}}
93-
<a href="{{link}}" class="nav-chapters next" title="&rarr;">
93+
<a href="{{link}}" class="nav-chapters next" title="You can navigate through the chapters using the arrow keys">
9494
<i class="fa fa-angle-right"></i>
9595
</a>
9696
{{/next}}

src/theme/stylus/themes/base.styl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,11 @@
4848
}
4949

5050
.menu-bar,
51+
.menu-bar:visited,
5152
.nav-chapters,
52-
.mobile-nav-chapters {
53+
.nav-chapters:visited,
54+
.mobile-nav-chapters,
55+
.mobile-nav-chapters:visited {
5356
color: $icons
5457
}
5558

0 commit comments

Comments
 (0)