# HG changeset patch # User veltr # Date 1369932468 -7200 # Node ID 2e1053dff5f253a08a43a6de9235081a7d331a21 # Parent e8faf97d2a4089527107c4ed8114f70306a02ed7 Some corrections diff -r e8faf97d2a40 -r 2e1053dff5f2 player/css/styles.css --- a/player/css/styles.css Wed May 29 17:05:34 2013 +0200 +++ b/player/css/styles.css Thu May 30 18:47:48 2013 +0200 @@ -56,6 +56,12 @@ url('../fonts/Futura-Medium.svg#Futura-Medium') format('svg'); } +@font-face { + font-family: 'Futura-CondensedExtraBold'; + src: url('../fonts/Futura-CondensedExtraBold.woff') format('woff'), + url('../fonts/Futura-CondensedExtraBold.ttf') format('truetype'), + url('../fonts/Futura-CondensedExtraBold.svg#Futura-CondensedExtraBold') format('svg'); +} /* End of the reset part */ body { @@ -146,8 +152,8 @@ .pictolist li { line-height: 38px; opacity: 0; display: none; height: 0; padding: 6px; width: 38px; overflow: hidden; - -webkit-transition: width 0.5s; - transition: width 0.5s; + -webkit-transition: width 0.8s; + transition: width 0.8s; } .pictolist li.hover { @@ -157,19 +163,18 @@ .picto { float: left; padding: 7px; background:black; border-radius: 19px; cursor: pointer; - -webkit-transition: box-shadow 0.5s, background 0.5s; - transition: box-shadow 0.5s, background 0.5s; -} - -.found .picto { - box-shadow: 0 0 8px #ffffff; - border: 1px solid #cccccc; padding: 6px; + -webkit-transition: background 0.8s; + transition: background 0.8s; } .picto-title { margin-left: 8px; font-size: 12px; text-transform: uppercase; - padding: 4px 6px; background: rgba(0, 0, 0, .5); text-shadow: 1px 1px 1px #000000; - font-family: 'Futura-Medium'; + padding: 4px 6px; background: rgba(0, 0, 0, .7); + font-family: 'Futura-CondensedExtraBold'; +} + +.found .picto-title { + background: rgba(255, 255, 255, .7); } .picto a { @@ -256,6 +261,12 @@ background-position: -24px -120px; } +.found .picto, +.current.found picto, +.hover.found .picto { + background: #ffffff; +} + /* Annotations */ .annotation-templates { @@ -271,8 +282,7 @@ } .close-annotation { - float: right; text-decoration: none; margin: 0 5px; - font-weight: bold; font-size: 20px; + float: right; margin: 10px 10px 0 0; width: 11px; height: 10px; background-image: url(../img/sprites.png); } .annotation { @@ -299,8 +309,12 @@ color: #000000; } +.white-annotation .close-annotation { + background-position: -24px -160px; +} + .white-annotation .close-annotation:hover { - color: #666666; + background-position: -36px -160px; } .white-annotation .annotation-title { @@ -310,7 +324,7 @@ /* Black annotations */ .black-annotation .annotation-main { - position: relative; background: rgba(0,0,0,.7); + background: rgba(0,0,0,.7); } .black-annotation .annotation-title { @@ -318,11 +332,11 @@ } .black-annotation .close-annotation { - color: #ffffff; margin-right: 10px; + background-position: -24px -170px; } .black-annotation .close-annotation:hover { - color: #cccccc; + background-position: -36px -170px; } .black-annotation p { @@ -391,11 +405,11 @@ .link-contents { font-family: Georgia, 'Times New Roman', serif; - margin: 0 80px 35px; + margin: 40px 80px 80px; } .link-contents p { - text-align: center; font-size: 23px; margin: 30px 0; + text-align: center; font-size: 23px; margin: 25px 0; } .link-contents a { @@ -405,7 +419,7 @@ /* Audio annotation */ .audio-annotation .media-description { - margin: 25px 0 0; font-size: 15px; + margin: 25px 0 0; font-size: 15px; font-weight: bold; } .audio-annotation .annotation-main { @@ -437,7 +451,7 @@ /* Slideshow annotation */ .slideshow-frame { - float: left; + float: left; width: 650px; height: 452px; position: relative; background: #000000; } .slideshow-image { max-width: 650px; max-height: 452px; margin: 0 auto; display: block; @@ -446,8 +460,8 @@ .slideshow-play-pause { float: left; padding: 10px 15px 11px; background: #404040; cursor: pointer; - -webkit-transition: background 0.5s; - transition: background 0.5s; + -webkit-transition: background 0.8s; + transition: background 0.8s; } .slideshow-play-pause a { @@ -468,7 +482,7 @@ } .slideshow-description { - max-height: 452px; overflow: auto; + height: 452px; overflow: auto; } .slideshow-title { @@ -477,8 +491,8 @@ .slideshow-arrow { position: absolute; top: 50%; margin-top: -22px; padding: 10px; cursor: pointer; - -webkit-transition: background 0.5s; - transition: background 0.5s; + -webkit-transition: background 0.8s; + transition: background 0.8s; } .slideshow-arrow a { @@ -516,8 +530,8 @@ padding: 8px; border-radius: 15px; background: #555555; cursor: pointer; margin: 8px 0 0 15px; - -webkit-transition: background 0.5s; - transition: background 0.5s; + -webkit-transition: background 0.8s; + transition: background 0.8s; } .play-button:hover { @@ -535,7 +549,7 @@ .chapters-bar { margin: 0 20px 0 60px; height: 45px; position: relative; cursor: pointer; - transition: opacity 0.5s; + transition: opacity 0.8s; } .chapter { @@ -547,8 +561,8 @@ margin: 0 -1px; border-style: none solid; border-width: 1px; border-color: #000000; - -webkit-transition: box-shadow 0.5s, background 0.5s; - transition: box-shadow 0.5s, background 0.5s; + -webkit-transition: background 0.8s, opacity 0.8s; + transition: background 0.8s, opacity 0.8s; } .chapter.active .chapter-block { @@ -556,7 +570,7 @@ } .chapter.found .chapter-block { - box-shadow: 0 0 20px rgba(255, 255, 255, .6) inset; + background: #ffffff; } .annotation-onscreen .chapter-block { @@ -568,8 +582,8 @@ font-size: 9px; text-transform: uppercase; text-align: center; color: #909090; opacity: 0; font-family: 'Futura-Medium'; - -webkit-transition: background 0.5s; - transition: opacity 0.5s; + -webkit-transition: background 0.8s; + transition: opacity 0.8s; } .chapter.active .chapter-title { @@ -582,12 +596,12 @@ .chip-circle { width: 11px; height: 11px; top: 17px; left: -5px; border-radius: 6px; position: absolute; - -webkit-transition: box-shadow 0.5s, opacity 0.5s; - transition: box-shadow 0.5s, opacity 0.5s; + -webkit-transition: background 0.8s, opacity 0.8s; + transition: background 0.8s, opacity 0.8s; } .chip-pole { - position: absolute; top: 2px; left: 0; width: 0; height: 13px; border-left: 1px solid; display: none; + position: absolute; top: 0; left: 0; width: 0; height: 17px; border-left: 1px solid; display: none; } .chip.hover .chip-pole { @@ -595,10 +609,10 @@ } .chip-title { - position: absolute; top: 2px; left: 3px; font-size: 9px; line-height: 9px; height: 9px; text-transform: uppercase; - display: block; font-family: 'Futura-Medium'; width: 0; overflow: hidden; - -webkit-transition: width 0.5s; - transition: width 0.5s; + position: absolute; top: 1px; left: 3px; font-size: 9px; line-height: 13px; height: 13px; + display: block; width: 0; overflow: hidden; + -webkit-transition: width 0.8s; + transition: width 0.8s; } .chip.hover .chip-title { @@ -618,33 +632,33 @@ opacity: 1; } -.found .chip-circle { - box-shadow: 0 0 8px #ffffff; - border: 1px solid #cccccc; width: 9px; height: 9px; -} - .video .chip-circle { - background: #be4477; + background: #be4477; color: #be4477; } .audio .chip-circle { - background: #63be6c; + background: #63be6c; color: #63be6c; } .slideshow .chip-circle { - background: #f69058; + background: #f69058; color: #f69058; } .text .chip-circle { - background: #5e90cb; + background: #5e90cb; color: #5e90cb; } .quote .chip-circle { - background: #00aeb5; + background: #00aeb5; color: #00aeb5; } .link .chip-circle { - background: #8985bb; + background: #8985bb; color: #8985bb; +} + +.found .chip-circle { + background: #ffffff; + border: 2px solid; left: -6px; top: 16px; width: 9px; height: 9px; } .left-hiding-block, .right-hiding-block { diff -r e8faf97d2a40 -r 2e1053dff5f2 player/data/rigoletto.json --- a/player/data/rigoletto.json Wed May 29 17:05:34 2013 +0200 +++ b/player/data/rigoletto.json Thu May 30 18:47:48 2013 +0200 @@ -252,8 +252,7 @@ "id-ref": "tag-duc-de-mantoue" }, { "id-ref": "tag-gilda" - }, - { + }, { "id-ref": "tag-air" } ], @@ -317,7 +316,7 @@ ] }, "begin": 80000, - "end": 200000, + "end": 100000, "media": "media-01", "meta": { "dc:contributor": "perso", @@ -337,7 +336,7 @@ "url": "http://www.iri.centrepompidou.fr/dev/~veltr/mashup/moon/melies.webm" }, "begin": 200000, - "end": 320000, + "end": 220000, "media": "media-01", "meta": { "dc:contributor": "perso", @@ -352,12 +351,12 @@ "content": { "mimetype": "application/x-ldt-video", "description": "Giuseppe Verdi\nRigoletto\nDirected by Jean-Pierre Ponnelle\n1982\nVienna Philharmonic Orchestra and Vienna State Opera Chorus\nConductor: Riccardo Chailly\nRigoletto: Ingvar Wixell\nDuke of Mantua: Luciano Pavarotti\nGilda: Edita Gruberova\nSparafucile: Ferruccio Furlanetto\nMaddalena: Victoria Vergara", - "title": "Cortigiani vil razza sur Youtube", + "title": "Povero Rigoletto sur Youtube", "autostart": true, "url": "http://youtu.be/JULs5RoCEgM?t=3m36s" }, "begin": 20000, - "end": 140000, + "end": 40000, "media": "media-01", "meta": { "dc:contributor": "perso", @@ -369,18 +368,20 @@ "tags": [ { "id-ref": "tag-giuseppe-verdi" - }, - { + }, { "id-ref": "tag-air" }, { "id-ref": "tag-rigoletto" - }], + } + ], "id": "annotation-08" }, { "content": { - "mimetype": "application/x-ldt-structured", - "description": "Ceci est un exemple d'annotation basique, n'utilisant pas les nouveaux types définis pour Aix.", - "title": "Annotation basique (LDT-Structured)" + "mimetype": "application/x-ldt-text", + "description": "", + "title": "Annotation texte non-formaté", + "markup": "text", + "text": "Ceci est un exemple d'annotation texte basique, n'utilisant pas de balisage HTML." }, "begin": 40000, "meta": { @@ -390,7 +391,7 @@ "dc:modified": "2012-05-07T10:11:06.721324", "dc:creator": "perso" }, - "end": 160000, + "end": 60000, "tags": [], "color": "3355443", "media": "media-01", @@ -404,7 +405,7 @@ "text": "
Paragraphe de l'annotation enrichie
Autre paragraphe de l'annotation enrichie
Un paragraphe avec des balises strong, em, i, u et b
Paragraphe avec un lien vers Wikipédia
" }, "begin": 70000, - "end": 190000, + "end": 90000, "media": "media-01", "meta": { "dc:contributor": "perso", @@ -446,10 +447,10 @@ "tags": [ { "id-ref": "tag-giuseppe-verdi" - }, - { + }, { "id-ref": "victor-hugo" - }], + } + ], "id": "annotation-11" }, { "content": { @@ -460,7 +461,7 @@ "url": "http://www.iri.centrepompidou.fr/wp-content/uploads/2012/01/CitationCocteau.mp3" }, "begin": 250000, - "end": 340000, + "end": 270000, "media": "media-01", "meta": { "dc:contributor": "perso", @@ -480,7 +481,7 @@ "url": "https://soundcloud.com/dimitri-platanias/cortigiani-rigoletto-verdi" }, "begin": 110000, - "end": 230000, + "end": 130000, "media": "media-01", "meta": { "dc:contributor": "perso", @@ -489,7 +490,13 @@ "dc:modified": "2012-05-07T10:11:06.721324", "dc:creator": "perso" }, - "tags": [], + "tags": [ + { + "id-ref": "tag-air" + }, { + "id-ref": "tag-rigoletto" + } + ], "id": "annotation-13" }, { "content": { @@ -500,7 +507,7 @@ "url": "http://vimeo.com/23268865" }, "begin": 160000, - "end": 280000, + "end": 180000, "media": "media-01", "meta": { "dc:contributor": "perso", @@ -509,7 +516,13 @@ "dc:modified": "2012-05-07T10:11:06.721324", "dc:creator": "perso" }, - "tags": [], + "tags": [ + { + "id-ref": "tag-air" + }, { + "id-ref": "tag-rigoletto" + } + ], "id": "annotation-14" }, { "content": { @@ -520,7 +533,7 @@ "url": "http://www.dailymotion.com/video/xgs10f_the-three-tenors-la-donna-e-mobile_music" }, "begin": 180000, - "end": 300000, + "end": 200000, "media": "media-01", "meta": { "dc:contributor": "perso", @@ -529,7 +542,13 @@ "dc:modified": "2012-05-07T10:11:06.721324", "dc:creator": "perso" }, - "tags": [], + "tags": [ + { + "id-ref": "tag-air" + }, { + "id-ref": "tag-duc-de-mantoue" + } + ], "id": "annotation-15" }, { "content": { @@ -547,7 +566,7 @@ ] }, "begin": 260000, - "end": 340000, + "end": 280000, "media": "media-01", "meta": { "dc:contributor": "perso", @@ -556,7 +575,11 @@ "dc:modified": "2012-05-07T10:11:06.721324", "dc:creator": "perso" }, - "tags": [], + "tags": [ + { + "id-ref": "giuseppe-verdi" + } + ], "id": "annotation-16" } ], diff -r e8faf97d2a40 -r 2e1053dff5f2 player/fonts/Futura-CondensedExtraBold.svg --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/player/fonts/Futura-CondensedExtraBold.svg Thu May 30 18:47:48 2013 +0200 @@ -0,0 +1,2842 @@ + + + diff -r e8faf97d2a40 -r 2e1053dff5f2 player/fonts/Futura-CondensedExtraBold.ttf Binary file player/fonts/Futura-CondensedExtraBold.ttf has changed diff -r e8faf97d2a40 -r 2e1053dff5f2 player/fonts/Futura-CondensedExtraBold.woff Binary file player/fonts/Futura-CondensedExtraBold.woff has changed diff -r e8faf97d2a40 -r 2e1053dff5f2 player/img/sprites.png Binary file player/img/sprites.png has changed diff -r e8faf97d2a40 -r 2e1053dff5f2 player/index.html --- a/player/index.html Wed May 29 17:05:34 2013 +0200 +++ b/player/index.html Thu May 30 18:47:48 2013 +0200 @@ -49,13 +49,13 @@