Commit 4cc3e30d by Kyle Fiedler

Redesign sequence bottom arrows

parent 2992fb3d
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -237,24 +237,18 @@ nav.sequence-nav { ...@@ -237,24 +237,18 @@ nav.sequence-nav {
section.course-content { section.course-content {
position: relative; position: relative;
div#seq_content {
margin-bottom: 60px;
}
nav.sequence-bottom { nav.sequence-bottom {
position: absolute; margin: lh(2) 0 0;
bottom: 0; text-align: center;
left: 50%;
margin-left: -50px;
ul { ul {
@extend .clearfix; @extend .clearfix;
background-color: darken(#F6EFD4, 5%); background-color: darken(#F6EFD4, 5%);
background-color: darken($cream, 5%); background-color: darken($cream, 5%);
border: 1px solid darken(#f6efd4, 20%); border: 1px solid darken(#f6efd4, 20%);
border-bottom: 0; @include border-radius(3px);
@include border-radius(3px 3px 0 0);
@include box-shadow(inset 0 0 0 1px lighten(#f6efd4, 5%)); @include box-shadow(inset 0 0 0 1px lighten(#f6efd4, 5%));
@include inline-block();
li { li {
float: left; float: left;
...@@ -267,15 +261,13 @@ section.course-content { ...@@ -267,15 +261,13 @@ section.course-content {
background-repeat: no-repeat; background-repeat: no-repeat;
border-bottom: none; border-bottom: none;
display: block; display: block;
display: block; padding: lh(.5) 4px;
padding: lh(.75) 4px;
text-indent: -9999px; text-indent: -9999px;
@include transition(all, .4s, $ease-in-out-quad); @include transition(all, .4s, $ease-in-out-quad);
width: 45px; width: 45px;
&:hover { &:hover {
background-color: darken($cream, 10%); background-color: darken($cream, 10%);
color: darken(#F6EFD4, 60%);
color: darken($cream, 60%); color: darken($cream, 60%);
opacity: .5; opacity: .5;
text-decoration: none; text-decoration: none;
...@@ -291,6 +283,7 @@ section.course-content { ...@@ -291,6 +283,7 @@ section.course-content {
&.prev { &.prev {
a { a {
background-image: url('/static/images/sequence-nav/previous-icon.png'); background-image: url('/static/images/sequence-nav/previous-icon.png');
border-right: 1px solid darken(#f6efd4, 20%);
&: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