implemented a decent submit button. popcorn-port
authorhamidouk
Thu, 29 Dec 2011 16:46:10 +0100
branchpopcorn-port
changeset 546 be6b15bd7234
parent 545 992f92f35650
child 547 5b58a108086a
implemented a decent submit button.
assets/submit_annotation.psd
src/css/LdtPlayer.css
src/css/imgs/submit_annotation.png
src/templates/createAnnotationWidget.html
Binary file assets/submit_annotation.psd has changed
--- a/src/css/LdtPlayer.css	Thu Dec 29 15:19:13 2011 +0100
+++ b/src/css/LdtPlayer.css	Thu Dec 29 16:46:10 2011 +0100
@@ -643,6 +643,7 @@
   padding: 3px;
   padding-left: 4px;
   padding-right: 4px;
+  cursor: pointer;
 }
 
 .Ldt-createAnnotation-absent-keyword {
@@ -652,4 +653,16 @@
   padding: 3px;
   padding-left: 4px;
   padding-right: 4px;
+  cursor: pointer;
+}
+
+.Ldt-createAnnotation-submitButton {
+  float: right;
+  background-color: #d93c71;
+  color: #ffffff;
+  cursor: pointer;
+  background-image: url('imgs/submit_annotation.png');
+  background-repeat: no-repeat;
+  height: 48px;
+  width: 48px;
 }
\ No newline at end of file
Binary file src/css/imgs/submit_annotation.png has changed
--- a/src/templates/createAnnotationWidget.html	Thu Dec 29 15:19:13 2011 +0100
+++ b/src/templates/createAnnotationWidget.html	Thu Dec 29 16:46:10 2011 +0100
@@ -21,6 +21,8 @@
       Add keywords : <span class='Ldt-createAnnotation-present-keyword'>#faux-raccord</span>
                      <span class='Ldt-createAnnotation-absent-keyword'>#mot-clef</span>
     </div>          
-    <div class='Ldt-createAnnotation-submitButton'>Submit</div>
+    <div class='Ldt-createAnnotation-submitButton'>
+      <div style='position: absolute; bottom: 10pt; right: 11pt;'>Submit</div>
+    </div>
   </div>
 </div>