From 2908b7b3baa3adabb6ec4a43495874f84e7225ee Mon Sep 17 00:00:00 2001
From: Kyle Fiedler <kfiedler@thoughtbot.com>
Date: Thu, 12 Apr 2012 16:07:45 -0400
Subject: [PATCH] More minor tweeks

---
 static/css/application.css            | 7 +++----
 templates/sass/courseware/_video.scss | 3 +--
 templates/video_init.js               | 2 +-
 3 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/static/css/application.css b/static/css/application.css
index acff119b110..2bb11efbc52 100644
--- a/static/css/application.css
+++ b/static/css/application.css
@@ -3189,10 +3189,9 @@ section.course-content div.video-subtitles div.video-wrapper section.video-contr
 section.course-content div.video-subtitles div.video-wrapper section.video-controls div.secondary-controls div.speeds a ol#video_speeds {
   background-color: #444;
   border: 1px solid #000;
-  border-bottom: 0;
-  -webkit-box-shadow: inset 1px 0 0 #555555, 0 2px 0 #444444, inset 0 -1px 0 black;
-  -moz-box-shadow: inset 1px 0 0 #555555, 0 2px 0 #444444, inset 0 -1px 0 black;
-  box-shadow: inset 1px 0 0 #555555, 0 2px 0 #444444, inset 0 -1px 0 black;
+  -webkit-box-shadow: inset 1px 0 0 #555555, 0 3px 0 #444444;
+  -moz-box-shadow: inset 1px 0 0 #555555, 0 3px 0 #444444;
+  box-shadow: inset 1px 0 0 #555555, 0 3px 0 #444444;
   left: -1px;
   display: none;
   position: absolute;
diff --git a/templates/sass/courseware/_video.scss b/templates/sass/courseware/_video.scss
index c2d99b7199d..1a73db69f7e 100644
--- a/templates/sass/courseware/_video.scss
+++ b/templates/sass/courseware/_video.scss
@@ -242,8 +242,7 @@ section.course-content {
               ol#video_speeds {
                 background-color: #444;
                 border: 1px solid #000;
-                border-bottom: 0;
-                @include box-shadow(inset 1px 0 0 #555, 0 2px 0 #444, inset 0 -1px 0 #000);
+                @include box-shadow(inset 1px 0 0 #555, 0 3px 0 #444);
                 left: -1px;
                 display: none;
                 position: absolute;
diff --git a/templates/video_init.js b/templates/video_init.js
index c01e27f3c9b..bcbaecd2492 100644
--- a/templates/video_init.js
+++ b/templates/video_init.js
@@ -131,7 +131,7 @@ $(document).ready(function() {
 
     var dropUpHeight = $('ol#video_speeds').height();
     console.log(dropUpHeight);
-    $('ol#video_speeds').css('top', -(dropUpHeight));
+    $('ol#video_speeds').css('top', -(dropUpHeight + 2));
 });
 
 function toggleVideo(){
-- 
GitLab