# HG changeset patch # User veltr # Date 1352395487 -3600 # Node ID 3ec2343f2b85a371e776b24c222126df3977ec29 # Parent 76efa2333f3163169042420837060bda75ef2f40 Refactoring to have common code between editor and player diff -r 76efa2333f31 -r 3ec2343f2b85 integration/css/common.css --- a/integration/css/common.css Tue Nov 06 18:49:13 2012 +0100 +++ b/integration/css/common.css Thu Nov 08 18:24:47 2012 +0100 @@ -380,17 +380,17 @@ /* content */ .left-content, .right-content{ - padding-top: 8px; float: left; } .left-content h2, .right-content h2{ padding: 6px 0; - margin-bottom: 14px; + margin: 8px 0 14px; border-bottom: 1px solid #333333; color: #30036d; font-size: 18px; font-weight: 600; + clear: both; } /* left-content */ .left-content{ @@ -499,6 +499,7 @@ background: #CCCCCC; } .frise-segment{ + cursor: pointer; height: 22px; position: absolute; background-image: url(../img/border-right-segment.png); diff -r 76efa2333f31 -r 3ec2343f2b85 integration/css/edition.css --- a/integration/css/edition.css Tue Nov 06 18:49:13 2012 +0100 +++ b/integration/css/edition.css Thu Nov 08 18:24:47 2012 +0100 @@ -46,27 +46,12 @@ .update-title .form-left{ float: left; } -.update-title textarea{ - width: 200px; - height: 66px; - max-width: 530px; -} .update-title .form-left{ margin-right: 12px; } .update-title .pointer{ left: 110px; } -.update-title label{ - display: block; - margin-bottom: 4px; -} -.update-title input[type=text]{ - width: 200px; -} -.update-title p.titre-wrap{ - margin-bottom: 6px; -} /* col */ .col-middle, .col-left, @@ -140,7 +125,7 @@ font-size: 14px; font-weight: 600; color:#de2500; - margin: 5px 0 10px; + margin: 5px 0 2px; } .time-tangle { @@ -173,31 +158,34 @@ float: left; } .segmentation .form-segment-left{ - width: 228px; + width: 230px; } -.segmentation form p{ - margin-bottom: 8px; -} -.segmentation label{ + +.segmentation label, .update-title label { display: block; font-size: 12px; font-weight: 600; - margin-bottom: 4px; + margin: 8px 0 4px; } -.segmentation textarea{ +.segmentation textarea, .update-title textarea { width: 200px; - height: 66px; + height: 69px; max-width: 200px; font-size: 12px; } -.segmentation input[type=text]{ + +.segmentation textarea { + margin-bottom: 32px; +} + +.segmentation input[type=text], .update-title input[type=text]{ font-size: 12px; width: 200px; height: 20px; } .add-segment { - float: right; margin: 4px 0; + position: absolute; right: 10px; bottom: 10px; } .media-segments h2{ color: #30036d; @@ -536,3 +524,21 @@ left: 0; position: absolute; width: 100%; background: url(../img/tooltip.png) bottom no-repeat; } + +.tagit { + border: 1px solid #867A97; + padding: 0 4px; width: 200px; + font-size: 12px; font-family: OpenSans; +} + +ul.tagit li.tagit-choice { + padding: 3px 18px 3px 3px; +} + +ul.tagit li.tagit-new { + padding: 0; +} + +ul.tagit input[type="text"] { + width: 100px; +} diff -r 76efa2333f31 -r 3ec2343f2b85 integration/css/hashcut.css --- a/integration/css/hashcut.css Tue Nov 06 18:49:13 2012 +0100 +++ b/integration/css/hashcut.css Thu Nov 08 18:24:47 2012 +0100 @@ -35,10 +35,11 @@ color: #7628df; } .cloner{ - float: right; + float: right; margin-bottom: 8px; } .list-video{ - height: 450px; + height: auto; + margin-left: -10px; } .item-video:hover, .item-video.active{ diff -r 76efa2333f31 -r 3ec2343f2b85 integration/data/moon.json --- a/integration/data/moon.json Tue Nov 06 18:49:13 2012 +0100 +++ b/integration/data/moon.json Thu Nov 08 18:24:47 2012 +0100 @@ -1,20 +1,20 @@ [ { - "id": "melies", + "id": "f72aa2f4-29bb-11e2-a193-08002791f1b7", "video": "http://www.iri.centrepompidou.fr/dev/~veltr/mashup/moon/melies.mp4", "title": "Le voyage à la lune", "author": "Georges Méliès", "thumbnail": "http://www.iri.centrepompidou.fr/dev/~veltr/mashup/moon/melies.jpg", "duration": 674000 }, { - "id": "apollo", + "id": "7e96d10c-29be-11e2-a481-08002791f1b7", "video": "http://www.iri.centrepompidou.fr/dev/~veltr/mashup/moon/apollo.mp4", "title": "Apollo 11 Overview", "author": "NASA", "thumbnail": "http://www.iri.centrepompidou.fr/dev/~veltr/mashup/moon/apollo.jpg", "duration": 137000 }, { - "id": "juno", + "id": "7c3f5e0e-29c0-11e2-8017-08002791f1b7", "video": "http://www.iri.centrepompidou.fr/dev/~veltr/mashup/moon/juno.mp4", "title": "Launch of Juno!", "author": "NASA", diff -r 76efa2333f31 -r 3ec2343f2b85 integration/edition.html --- a/integration/edition.html Tue Nov 06 18:49:13 2012 +0100 +++ b/integration/edition.html Thu Nov 08 18:24:47 2012 +0100 @@ -8,6 +8,7 @@
- +
Aucun segment