Commit 23e52f02 by Kyle Fiedler

Fix odd movement on hover for the next button on hover

parent 64361759
...@@ -3,9 +3,9 @@ nav.sequence-nav { ...@@ -3,9 +3,9 @@ nav.sequence-nav {
// import from external sources. // import from external sources.
@extend .topbar; @extend .topbar;
border-bottom: 1px solid $border-color; border-bottom: 1px solid $border-color;
@include border-top-right-radius(4px);
margin: (-(lh())) (-(lh())) lh() (-(lh())); margin: (-(lh())) (-(lh())) lh() (-(lh()));
position: relative; position: relative;
@include border-top-right-radius(4px);
ol { ol {
@include box-sizing(border-box); @include box-sizing(border-box);
...@@ -242,9 +242,11 @@ nav.sequence-bottom { ...@@ -242,9 +242,11 @@ nav.sequence-bottom {
border: 1px solid $border-color; border: 1px solid $border-color;
@include border-radius(3px); @include border-radius(3px);
@include inline-block(); @include inline-block();
width: 100px;
li { li {
float: left; float: left;
width: 50%;
&.prev, &.next { &.prev, &.next {
margin-bottom: 0; margin-bottom: 0;
...@@ -252,12 +254,11 @@ nav.sequence-bottom { ...@@ -252,12 +254,11 @@ nav.sequence-bottom {
a { a {
background-position: center center; background-position: center center;
background-repeat: no-repeat; background-repeat: no-repeat;
border-bottom: none; border: none;
display: block; display: block;
padding: lh(.5) 4px; padding: lh(.5) 4px;
text-indent: -9999px; text-indent: -9999px;
@include transition(all, .2s, $ease-in-out-quad); @include transition(all, .2s, $ease-in-out-quad);
width: 45px;
&:hover { &:hover {
background-color: #ddd; background-color: #ddd;
...@@ -275,7 +276,7 @@ nav.sequence-bottom { ...@@ -275,7 +276,7 @@ nav.sequence-bottom {
&.prev { &.prev {
a { a {
background-image: url('../images/sequence-nav/previous-icon.png'); background-image: url('../images/sequence-nav/previous-icon.png');
border-right: 1px solid lighten($border-color, 10%); border-right: 1px solid lighten(#c6c6c6, 10%);
&:hover { &:hover {
background-color: none; background-color: none;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment