Commit 77774431 by David Ormsbee

Merge pull request #322 from MITx/feature/kfiedler/courseware-style

Added fix for videos start to zero out colors and mit styles
parents b6511287 baa40394
...@@ -3,8 +3,9 @@ nav.sequence-nav { ...@@ -3,8 +3,9 @@ nav.sequence-nav {
// import from external sources. // import from external sources.
@extend .topbar; @extend .topbar;
border-bottom: 1px solid darken($cream, 20%); border-bottom: 1px solid #ddd;
margin-bottom: $body-line-height; margin: (-(lh())) (-(lh())) lh() (-(lh()));
background: #eee;
position: relative; position: relative;
@include border-top-right-radius(4px); @include border-top-right-radius(4px);
...@@ -12,6 +13,8 @@ nav.sequence-nav { ...@@ -12,6 +13,8 @@ nav.sequence-nav {
@include box-sizing(border-box); @include box-sizing(border-box);
display: table; display: table;
height: 100%; height: 100%;
margin: 0;
padding-left: 0;
padding-right: flex-grid(1, 9); padding-right: flex-grid(1, 9);
width: 100%; width: 100%;
...@@ -20,7 +23,7 @@ nav.sequence-nav { ...@@ -20,7 +23,7 @@ nav.sequence-nav {
} }
li { li {
border-left: 1px solid darken($cream, 20%); border-left: 1px solid #eee;
display: table-cell; display: table-cell;
min-width: 20px; min-width: 20px;
...@@ -32,17 +35,15 @@ nav.sequence-nav { ...@@ -32,17 +35,15 @@ nav.sequence-nav {
background-repeat: no-repeat; background-repeat: no-repeat;
&:hover { &:hover {
background-color: lighten($cream, 3%); background-color: #eee;
} }
} }
.visited { .visited {
background-color: #DCCDA2; background-color: #ddd;
background-repeat: no-repeat; background-repeat: no-repeat;
@include box-shadow(inset 0 0 3px darken(#dccda2, 10%));
&:hover { &:hover {
background-color: $cream;
background-position: center center; background-position: center center;
} }
} }
...@@ -214,7 +215,7 @@ nav.sequence-nav { ...@@ -214,7 +215,7 @@ nav.sequence-nav {
&.prev, &.next { &.prev, &.next {
a { a {
background-color: darken($cream, 5%); // background-color: darken($cream, 5%);
background-position: center center; background-position: center center;
background-repeat: no-repeat; background-repeat: no-repeat;
border-left: 1px solid darken(#f6efd4, 20%); border-left: 1px solid darken(#f6efd4, 20%);
...@@ -241,7 +242,7 @@ nav.sequence-nav { ...@@ -241,7 +242,7 @@ nav.sequence-nav {
background-image: url('../images/sequence-nav/previous-icon.png'); background-image: url('../images/sequence-nav/previous-icon.png');
&:hover { &:hover {
background-color: $cream; // background-color: $cream;
} }
} }
} }
...@@ -251,7 +252,7 @@ nav.sequence-nav { ...@@ -251,7 +252,7 @@ nav.sequence-nav {
background-image: url('../images/sequence-nav/next-icon.png'); background-image: url('../images/sequence-nav/next-icon.png');
&:hover { &:hover {
background-color: $cream; // background-color: $cream;
} }
} }
} }
...@@ -273,9 +274,8 @@ nav.sequence-bottom { ...@@ -273,9 +274,8 @@ nav.sequence-bottom {
ul { ul {
@extend .clearfix; @extend .clearfix;
background-color: darken(#F6EFD4, 5%); background-color: #eee;
background-color: darken($cream, 5%); border: 1px solid #ddd;
border: 1px solid darken(#f6efd4, 20%);
@include border-radius(3px); @include border-radius(3px);
@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(); @include inline-block();
...@@ -297,14 +297,13 @@ nav.sequence-bottom { ...@@ -297,14 +297,13 @@ nav.sequence-bottom {
width: 45px; width: 45px;
&:hover { &:hover {
background-color: $cream; background-color: #ddd;
color: darken($cream, 60%); color: #000;
opacity: .5; opacity: .5;
text-decoration: none; text-decoration: none;
} }
&.disabled { &.disabled {
background-color: lighten($cream, 10%);
opacity: .4; opacity: .4;
} }
} }
......
...@@ -114,14 +114,13 @@ div.video { ...@@ -114,14 +114,13 @@ div.video {
@extend .dullify; @extend .dullify;
float: left; float: left;
list-style: none; list-style: none;
margin-right: lh(); margin: 0 lh() 0 0;
padding: 0; padding: 0;
li { li {
float: left; float: left;
margin-bottom: 0; margin-bottom: 0;
a { a {
border-bottom: none; border-bottom: none;
border-right: 1px solid #000; border-right: 1px solid #000;
...@@ -183,6 +182,8 @@ div.video { ...@@ -183,6 +182,8 @@ div.video {
ol.video_speeds { ol.video_speeds {
display: block; display: block;
opacity: 1; opacity: 1;
padding: 0;
margin: 0;
} }
} }
...@@ -210,6 +211,7 @@ div.video { ...@@ -210,6 +211,7 @@ div.video {
font-weight: normal; font-weight: normal;
letter-spacing: 1px; letter-spacing: 1px;
padding: 0 lh(.25) 0 lh(.5); padding: 0 lh(.25) 0 lh(.5);
line-height: 46px;
text-transform: uppercase; text-transform: uppercase;
} }
...@@ -218,6 +220,7 @@ div.video { ...@@ -218,6 +220,7 @@ div.video {
font-weight: bold; font-weight: bold;
margin-bottom: 0; margin-bottom: 0;
padding: 0 lh(.5) 0 0; padding: 0 lh(.5) 0 0;
line-height: 46px;
} }
&:hover, &:active, &:focus { &:hover, &:active, &:focus {
...@@ -422,10 +425,12 @@ div.video { ...@@ -422,10 +425,12 @@ div.video {
} }
ol.subtitles { ol.subtitles {
padding-left: 0;
float: left; float: left;
max-height: 460px; max-height: 460px;
overflow: auto; overflow: auto;
width: flex-grid(3, 9); width: flex-grid(3, 9);
margin: 0;
li { li {
border: 0; border: 0;
......
...@@ -304,7 +304,7 @@ PIPELINE_CSS = { ...@@ -304,7 +304,7 @@ PIPELINE_CSS = {
'output_filename': 'css/lms-application.css', 'output_filename': 'css/lms-application.css',
}, },
'course': { 'course': {
'source_filenames': ['sass/course.scss', 'js/vendor/CodeMirror/codemirror.css', 'css/vendor/jquery.treeview.css', 'css/vendor/jquery-ui-1.8.22.custom.css', 'css/vendor/jquery.qtip.min.css'], 'source_filenames': ['sass/course.scss', 'js/vendor/CodeMirror/codemirror.css', 'css/vendor/jquery.treeview.css', 'css/vendor/ui-lightness/jquery-ui-1.8.22.custom.css', 'css/vendor/jquery.qtip.min.css'],
'output_filename': 'css/lms-course.css', 'output_filename': 'css/lms-course.css',
}, },
'ie-fixes': { 'ie-fixes': {
......
...@@ -59,6 +59,9 @@ div.course-wrapper { ...@@ -59,6 +59,9 @@ div.course-wrapper {
} }
ol.vert-mod { ol.vert-mod {
padding: 0;
margin: 0;
> li { > li {
@extend .clearfix; @extend .clearfix;
@extend .problem-set; @extend .problem-set;
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<html> <html>
<head> <head>
<%block name="title"><title>edX</title></%block> <%block name="title"><title>edX</title></%block>
<link rel="icon" type="image/x-icon" href="${static.url('images/favicon.ico')}" /> <link rel="icon" type="image/x-icon" href="${static.url('images/favicon.ico')}" />
<%static:css group='application'/> <%static:css group='application'/>
......
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