diff --git a/sass/_textbook.scss b/sass/_textbook.scss index f0e43cd523..d1747e9e3b 100644 --- a/sass/_textbook.scss +++ b/sass/_textbook.scss @@ -7,6 +7,7 @@ div.book-wrapper { @extend .tran; ul#booknav { + font-size: 12px; a { color: #000; diff --git a/sass/courseware/_courseware.scss b/sass/courseware/_courseware.scss index 52525a5a88..ec06c7e5a1 100644 --- a/sass/courseware/_courseware.scss +++ b/sass/courseware/_courseware.scss @@ -166,6 +166,13 @@ div.course-wrapper { } } } + + section.tutorials { + ul { + list-style: disc outside none; + margin-left: lh(); + } + } } &.closed { diff --git a/sass/courseware/_video.scss b/sass/courseware/_video.scss index cc176b71b1..b1cf792caf 100644 --- a/sass/courseware/_video.scss +++ b/sass/courseware/_video.scss @@ -165,6 +165,10 @@ section.course-content { li { cursor: pointer; @include inline-block(); + + &.active { + font-weight: bold; + } } } } diff --git a/video.html b/video.html index 3337ea45e3..e1548eade0 100644 --- a/video.html +++ b/video.html @@ -21,7 +21,7 @@
  • Pause
  • -
    0:00/0:00
    +
    0:00 / 0:00
  • diff --git a/video_init.js b/video_init.js index 897f4cfd85..63b7f055f4 100644 --- a/video_init.js +++ b/video_init.js @@ -33,15 +33,21 @@ ajax_video=good; loadNewVideo(streams["1.0"], ${ position }); function add_speed(key, stream) { - var id = 'speed_' + stream; + var id = 'speed_' + stream; + //TODO: this should be smarter and know which video is first selected when we have + // video speed as an option/parameter per user that is saved + if (key == 1.0) { + $("#video_speeds").append('
  • '+key+'x
  • '); + } else { $("#video_speeds").append('
  • '+key+'x
  • '); + } - $("#"+id).click(function(){ - change_video_speed(key, stream); - $(this).siblings().removeClass("active"); - $(this).addClass("active"); - }); + $("#"+id).click(function(){ + change_video_speed(key, stream); + $(this).siblings().removeClass("active"); + $(this).addClass("active"); + }); } var l=[]