Commit 163eb9d4 by Tom Giannattasio

fixed bottom sequence nav buttons and firefox outling bug

parent bc005e5f
...@@ -298,14 +298,16 @@ nav.sequence-bottom { ...@@ -298,14 +298,16 @@ nav.sequence-bottom {
ul { ul {
@extend .clearfix; @extend .clearfix;
border: 1px solid $border-color;
@include border-radius(3px);
@include inline-block(); @include inline-block();
width: 100px; width: 103px;
li { li {
float: left; float: left;
width: 50%; width: 50px;
height: 44px;
border: 1px solid #ccc;
@include linear-gradient(top, #eee, #ddd);
@include box-shadow(0 1px 0 rgba(255, 255, 255, .7) inset);
&.prev, &.next { &.prev, &.next {
margin-bottom: 0; margin-bottom: 0;
...@@ -318,38 +320,39 @@ nav.sequence-bottom { ...@@ -318,38 +320,39 @@ nav.sequence-bottom {
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);
outline: 0;
&:hover { &:hover {
background-color: #ddd;
color: #000;
opacity: .5; opacity: .5;
text-decoration: none; background-position: center 15px;
} }
&.disabled { &.disabled {
opacity: .4; opacity: .4;
} }
&:focus {
outline: 0;
}
} }
} }
&.prev { &.prev {
border-radius: 35px 0 0 35px;
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(#c6c6c6, 10%); background-position: center 15px;
&:hover {
background-color: none;
}
} }
} }
&.next { &.next {
border-radius: 0 35px 35px 0;
border-left: none;
a { a {
background-image: url('../images/sequence-nav/next-icon.png'); background-image: url('../images/sequence-nav/next-icon.png');
background-position: center 15px;
&:hover {
background-color: none;
}
} }
} }
} }
...@@ -360,5 +363,12 @@ div.course-wrapper section.course-content ol.vert-mod > li ul.sequence-nav-butto ...@@ -360,5 +363,12 @@ div.course-wrapper section.course-content ol.vert-mod > li ul.sequence-nav-butto
list-style: none !important; list-style: none !important;
} }
.xmodule_SequenceModule nav.sequence-bottom ul li.next a,
.xmodule_SequenceModule nav.sequence-bottom ul li.prev a {
outline: 0;
&:focus {
outline: 0;
}
}
...@@ -86,7 +86,7 @@ header.global.slim { ...@@ -86,7 +86,7 @@ header.global.slim {
height: 40px; height: 40px;
position: absolute; position: absolute;
right: 3px; right: 3px;
top: -8px; top: 0;
width: 1px; width: 1px;
} }
...@@ -97,7 +97,7 @@ header.global.slim { ...@@ -97,7 +97,7 @@ header.global.slim {
height: 40px; height: 40px;
position: absolute; position: absolute;
right: 0px; right: 0px;
top: -12px; top: 0;
width: 1px; width: 1px;
} }
} }
......
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