# HG changeset patch # User cavaliet # Date 1370617248 -7200 # Node ID b701cc8df7360a149b3f012c0ce08aae9bef65b3 # Parent aa57d0d436d6450b416d725fff9cb0528035fb7c update and debug diff -r aa57d0d436d6 -r b701cc8df736 src/metadatacomposer/static/metadatacomposer/css/styles_player.css --- a/src/metadatacomposer/static/metadatacomposer/css/styles_player.css Fri Jun 07 16:17:28 2013 +0200 +++ b/src/metadatacomposer/static/metadatacomposer/css/styles_player.css Fri Jun 07 17:00:48 2013 +0200 @@ -287,10 +287,11 @@ .annotation { left: 45px; top: 800px; right: 35px; + transition: top 0.8s; -webkit-transition: top 0.8s; } .annotation-main:after { - content: "."; visibility: hidden; display: block; height: 1px; clear: both; + content: "."; visibility: hidden; display: block; height: 0; line-height: 0; clear: both; } /* Narrow annotations */ @@ -348,23 +349,30 @@ .text-contents { font-family: Georgia, 'Times New Roman', serif; - margin: 0 45px 35px; + margin: 0 45px 35px; font-size: 15px; + +} + +.text-contents p, .text-contents ul, .text-contents ol { +/* column-break-inside:avoid; -moz-column-break-inside:avoid; -webkit-column-break-inside:avoid; */ + margin-bottom: 10px; +} + +.text-contents h2, .text-contents h3, .text-contents h4 { +/* text-align: center; */ + font-family: 'Futura-Medium'; margin-bottom: 10px; line-height: 1.1em; +} + +.text-contents img { + float: left; margin: 0 5px 2px 0; +} +/* +.column-group { column-count: 2; column-gap: 60px; -moz-column-count: 2; -moz-column-gap: 60px; -webkit-column-count: 2; -webkit-column-gap: 60px; } - -.text-contents p, .text-contents ul, .text-contents ol { - column-break-inside:avoid; -moz-column-break-inside:avoid; -webkit-column-break-inside:avoid; - margin-bottom: 10px; font-size: 15px; -} - -.text-contents h2, .text-contents h3, .text-contents h4 { - font-family: 'Futura-Medium'; margin-bottom: 10px; line-height: 1.1em; - column-break-after:avoid; -moz-column-break-after:avoid; -webkit-column-break-after:avoid; - column-break-inside:avoid; -moz-column-break-inside:avoid; -webkit-column-break-inside:avoid; -} - +*/ .text-contents h2 { font-size: 21px; } @@ -419,7 +427,7 @@ /* Audio annotation */ .audio-annotation .media-description { - margin: 25px 0 0; font-size: 15px; font-weight: bold; + margin: 25px 0 0; font-size: 15px; } .audio-annotation .annotation-main { diff -r aa57d0d436d6 -r b701cc8df736 src/metadatacomposer/static/metadatacomposer/js/metadataplayer-core.js --- a/src/metadatacomposer/static/metadatacomposer/js/metadataplayer-core.js Fri Jun 07 16:17:28 2013 +0200 +++ b/src/metadatacomposer/static/metadatacomposer/js/metadataplayer-core.js Fri Jun 07 17:00:48 2013 +0200 @@ -1180,10 +1180,7 @@ return (_e.elementType === _listId); }); } else { - if (typeof this.contents[_listId] === "undefined") { - this.contents[_listId] = new IriSP.List(this.directory); - } - return this.contents[_listId]; + return this.contents[_listId] || new IriSP.List(this.directory); } }; diff -r aa57d0d436d6 -r b701cc8df736 src/metadatacomposer/templates/metadatacomposer_project_list.html --- a/src/metadatacomposer/templates/metadatacomposer_project_list.html Fri Jun 07 16:17:28 2013 +0200 +++ b/src/metadatacomposer/templates/metadatacomposer_project_list.html Fri Jun 07 17:00:48 2013 +0200 @@ -52,7 +52,7 @@ - + diff -r aa57d0d436d6 -r b701cc8df736 src/metadatacomposer/templates/partial/library_image_list.html --- a/src/metadatacomposer/templates/partial/library_image_list.html Fri Jun 07 16:17:28 2013 +0200 +++ b/src/metadatacomposer/templates/partial/library_image_list.html Fri Jun 07 17:00:48 2013 +0200 @@ -6,7 +6,7 @@
{% for i in image_results %}
- {% thumbnail i.image_file "140x140" crop="center" format="PNG" as im %}{% empty %}{% endthumbnail %} diff -r aa57d0d436d6 -r b701cc8df736 src/metadatacomposer/templates/partial/metadatacomposer_partial_player.html --- a/src/metadatacomposer/templates/partial/metadatacomposer_partial_player.html Fri Jun 07 16:17:28 2013 +0200 +++ b/src/metadatacomposer/templates/partial/metadatacomposer_partial_player.html Fri Jun 07 17:00:48 2013 +0200 @@ -92,12 +92,14 @@
- - \ No newline at end of file + + \ No newline at end of file