removed more images from the templates to put them in the css. popcorn-port
authorhamidouk
Mon, 13 Feb 2012 15:32:51 +0100
branchpopcorn-port
changeset 806 4ae02249c3ac
parent 805 48cd2b83c7c5
child 807 9f6c136ddc03
removed more images from the templates to put them in the css.
src/css/LdtPlayer.css
src/templates/annotationsListWidget.html
src/templates/createAnnotationWidget.html
--- a/src/css/LdtPlayer.css	Mon Feb 13 15:29:11 2012 +0100
+++ b/src/css/LdtPlayer.css	Mon Feb 13 15:32:51 2012 +0100
@@ -801,6 +801,24 @@
 .Ldt-createAnnotation-polemic-question.Ldt-createAnnotation-polemic-active {
     background-position: -114px -52px;
 }
+
+.Ldt-createAnnotation-endScreen-TweetLink {
+	width: 54px;
+	height: 20px;
+	background-image('imgs/tweet_button.png');
+}
+
+.Ldt-createAnnotation-endScreen-FbLink {
+	width: 55px;
+	height: 20px;
+	background-image('imgs/facebook_button.png');
+}
+
+.Ldt-createAnnotation-endScreen-GplusLink {
+	width: 50px;
+	height: 20px;
+	background-image('imgs/gplus_button.png');
+}
 /* AnnotationsListWidget */
 
 .Ldt-AnnotationsListWidget {
@@ -834,7 +852,10 @@
 .Ldt-AnnotationsList-Caption {
   float: left;
   display: table-cell;
-  vertical-align: middle;  
+  vertical-align: middle;
+  height: 64px;
+  width: 64px;
+  background-image: url('imgs/video_sequence.png');
 }
 
 .Ldt-AnnotationsList-Duration {  
--- a/src/templates/annotationsListWidget.html	Mon Feb 13 15:29:11 2012 +0100
+++ b/src/templates/annotationsListWidget.html	Mon Feb 13 15:32:51 2012 +0100
@@ -16,7 +16,6 @@
         {{/url}}
           <div style='overflow: auto; margin-top: 5px; margin-bottom: 5px;'>
             <div class='Ldt-AnnotationsList-Caption'>
-              <img src='{{img_dir}}/video_sequence.png'></img>
             </div>
             <div class='Ldt-AnnotationsList-Duration'>{{begin}} - {{end}}</div>
             <div class='Ldt-AnnotationsList-Title'>{{title}}</div>
--- a/src/templates/createAnnotationWidget.html	Mon Feb 13 15:29:11 2012 +0100
+++ b/src/templates/createAnnotationWidget.html	Mon Feb 13 15:32:51 2012 +0100
@@ -52,9 +52,9 @@
       Thank you, your annotation has been saved.<br>
       Would you like to share it on social networks ?
       <div style='margin-top: 12px; text-align: center;'>
-          <a target='_blank' class='Ldt-createAnnotation-endScreen-TweetLink'><img src='{{img_dir}}/tweet_button.png' style='margin-right: 20px;'></img></a>
-          <a target='_blank' class='Ldt-createAnnotation-endScreen-FbLink'><img src='{{img_dir}}/facebook_button.png' style='margin-right: 20px;'></img></a>
-          <a target='_blank' class='Ldt-createAnnotation-endScreen-GplusLink'><img src='{{img_dir}}/gplus_button.png' style='margin-right: 20px;'></img></a>                    
+          <a target='_blank' class='Ldt-createAnnotation-endScreen-TweetLink'></a>
+          <a target='_blank' class='Ldt-createAnnotation-endScreen-FbLink'></a>
+          <a target='_blank' class='Ldt-createAnnotation-endScreen-GplusLink'></a>                    
       </div>
     </div>
   </div>