Skip to content

Commit

Permalink
Merge pull request #513 from rtfd/fix-459
Browse files Browse the repository at this point in the history
Do not add border to active links with level >1
  • Loading branch information
davidfischer committed Jan 15, 2018
2 parents 5062c20 + e6c8a71 commit 2e09b4f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sass/_theme_layout.sass
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@
position: relative
background: $menu-vertical-background-color
border: none
border-bottom: solid 1px darken($menu-vertical-background-color, 20%)
border-top: solid 1px darken($menu-vertical-background-color, 20%)
padding-left: $gutter -4px
+font-smooth
&:hover
Expand All @@ -94,6 +92,10 @@
line-height: 1.6em
color: darken($menu-link-medium, 30%)

li.toctree-l1.current > a
border-bottom: solid 1px darken($menu-vertical-background-color, 20%)
border-top: solid 1px darken($menu-vertical-background-color, 20%)

// This is the on state for pages beyond second level
li.toctree-l1.current li.toctree-l2, li.toctree-l2.current li.toctree-l3
> ul
Expand Down Expand Up @@ -123,8 +125,6 @@
display: block
background: darken($menu-vertical-background-color, 25%)
padding: $gutter / 4 $gutter * 3.5
border-top: none
border-bottom: none
a:hover span.toctree-expand
color: $menu-link-medium
span.toctree-expand
Expand Down

0 comments on commit 2e09b4f

Please sign in to comment.