From: Daniel Hodgin Date: Tue, 29 Jun 2010 02:28:57 +0000 (-0400) Subject: current work in progress on summit demo layout X-Git-Tag: v0.1~62 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=895ad7623333a503a14f761cb12a1379a2a4feec;p=popcorn-js.git current work in progress on summit demo layout --- diff --git a/images/body_bg.jpg b/images/body_bg.jpg new file mode 100644 index 0000000..93d84ae Binary files /dev/null and b/images/body_bg.jpg differ diff --git a/images/bubble_pointer.png b/images/bubble_pointer.png new file mode 100644 index 0000000..a872790 Binary files /dev/null and b/images/bubble_pointer.png differ diff --git a/images/drumbeat_logo.png b/images/drumbeat_logo.png new file mode 100644 index 0000000..2505ed6 Binary files /dev/null and b/images/drumbeat_logo.png differ diff --git a/images/expand_collapse.png b/images/expand_collapse.png new file mode 100644 index 0000000..30307cb Binary files /dev/null and b/images/expand_collapse.png differ diff --git a/images/footer.jpg b/images/footer.jpg new file mode 100644 index 0000000..89020f8 Binary files /dev/null and b/images/footer.jpg differ diff --git a/images/footer_bg.jpg b/images/footer_bg.jpg new file mode 100644 index 0000000..c352020 Binary files /dev/null and b/images/footer_bg.jpg differ diff --git a/images/footer_border.jpg b/images/footer_border.jpg new file mode 100644 index 0000000..3b81f37 Binary files /dev/null and b/images/footer_border.jpg differ diff --git a/images/footer_drumbeat.png b/images/footer_drumbeat.png new file mode 100644 index 0000000..8429e16 Binary files /dev/null and b/images/footer_drumbeat.png differ diff --git a/images/footer_webmade.png b/images/footer_webmade.png new file mode 100644 index 0000000..1a89437 Binary files /dev/null and b/images/footer_webmade.png differ diff --git a/images/footnote.png b/images/footnote.png new file mode 100644 index 0000000..cb4dfe1 Binary files /dev/null and b/images/footnote.png differ diff --git a/images/header.jpg b/images/header.jpg new file mode 100644 index 0000000..df6db9f Binary files /dev/null and b/images/header.jpg differ diff --git a/images/logo_flickr.png b/images/logo_flickr.png new file mode 100644 index 0000000..4c32e04 Binary files /dev/null and b/images/logo_flickr.png differ diff --git a/images/logo_google_news.png b/images/logo_google_news.png new file mode 100644 index 0000000..b21b4e5 Binary files /dev/null and b/images/logo_google_news.png differ diff --git a/images/logo_tumblr.png b/images/logo_tumblr.png new file mode 100644 index 0000000..cf8c239 Binary files /dev/null and b/images/logo_tumblr.png differ diff --git a/images/logo_twitter.png b/images/logo_twitter.png new file mode 100644 index 0000000..341b78b Binary files /dev/null and b/images/logo_twitter.png differ diff --git a/images/logo_wiki.png b/images/logo_wiki.png new file mode 100644 index 0000000..f9ad73a Binary files /dev/null and b/images/logo_wiki.png differ diff --git a/layout.htm b/layout.htm new file mode 100644 index 0000000..88921f5 --- /dev/null +++ b/layout.htm @@ -0,0 +1,230 @@ + + + html5 video demo + + + + + + + + + + + +
+ +
+ +
+ + + + +
+ +
+ +
+ +
+ +
+ +
+

+ Choose your language

+ +
+ with help from +
+ Google Translate and + jQuery +
+
+ + +
+

+ This video's footnotes

+

+

+
+ +
+ +
+ +

+ In this video: +

+ +
+
+

Twitter Updates +  

+ Collapse +
+
+
+ +
+ + +
+
+

Flickr Images + +  

+ Collapse +
+ more +
+
+
+ +
+ + +
+

+ Related to this video

+ +
+
+
+

Filmed in:

+ + +
+ +
+
+ +
+
+

Twitter +

+ Collapse +
+
+
+
+ + +
+
+

Wikipedia +

+ Collapse + +
+ Use the #Evernote Fx Add-on to save, organize, & search info you find on the Web http://bit.ly/evernotewebclipper /via @rockyourfirefox + more +
+
+
+

Flickr Images +

+ Collapse + +
+ more +
+
+
+

Google News +

+ Collapse + +
+ Use the #Evernote Fx Add-on to save, organize, & search info you find on the Web http://bit.ly/evernotewebclipper /via @rockyourfirefox + more +
+
+
+ +

+ This videos copyright information

+
+
+ Attribution +
+
+
+ +
+ +
+ + + + + + +
+
+ +
+ +
+ + + diff --git a/popcorn.js b/popcorn.js index 03621ae..d5ae59d 100644 --- a/popcorn.js +++ b/popcorn.js @@ -201,12 +201,10 @@ this.onIn = function() { MapCommand.map.setCenter(this.location); MapCommand.map.setZoom(this.params.zoom); - var txt = document.createTextNode("Filmed in: "); var link = document.createElement("a"); link.setAttribute("href", this.params.src); link.setAttribute("target", "_new"); link.appendChild(document.createTextNode(this.params.description)); - document.getElementById('mapinfo').appendChild(txt); document.getElementById('mapinfo').appendChild(link); }; this.onOut = function() { @@ -226,6 +224,7 @@ this.target = document.createElement('div'); this.target.setAttribute('id', this.id); document.getElementById(this.params.target).appendChild(this.target); + // Div is hidden by default this.target.setAttribute('style', 'display:none'); new TWTR.Widget({ @@ -237,8 +236,8 @@ title: this.params.title || null, subject: this.params.subject || null, rpp: 30, - width: 250, - height: 200, + width: this.params.width || 250, + height: this.params.height || 200, interval: 6000, theme: { shell: { diff --git a/style.css b/style.css new file mode 100644 index 0000000..b7f2750 --- /dev/null +++ b/style.css @@ -0,0 +1,499 @@ +html, body, div, span, object, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, font, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +b, u, i, center, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td { + margin: 0; + padding: 0; + border: 0; + outline: 0; + font-size: 100%; + vertical-align: baseline; + background: transparent; + +} +body { + line-height: 1; + font-family: Helvetica, Arial, "Lucida Grande"; + font-size: 12px; +} +ol, ul { + list-style: none; +} +blockquote, q { + quotes: none; +} +blockquote:before, blockquote:after, +q:before, q:after { + content: ''; + content: none; +} + +/* remember to define focus styles! */ +:focus { + outline: 0; +} + +/* remember to highlight inserts somehow! */ +ins { + text-decoration: none; +} +del { + text-decoration: line-through; +} + +/* tables still need 'cellspacing="0"' in the markup */ +table { + border-collapse: collapse; + border-spacing: 0; +} + +a{ +text-decoration: none; +color: #cc433d; +} + +a:hover{ +color: #f27c77; +} + +input[type="button"], input[type="submit"], input[type="reset"], button{ +cursor: pointer; +} + +input[type="text"], textarea{ +-moz-border-radius:13px; +-webkit-border-radius:13px; +border-radius:13px; +border:1px solid #E2E2E2; +padding: 5px; +-webkit-box-shadow: 1px 1px 0px #f9f9f9; +-moz-box-shadow:inset 1px 1px 0px #f9f9f9; +box-shadow:inset 1px 1px 0px #f9f9f9; +font-size: 13px; +} + +input[type="text"]{ +padding: 0 5px; +height: 28px; +line-height: 28px; +} + +input[type="text"]:hover, textarea:hover{ +border-color: #CCC; +-moz-box-shadow:inset 1px 1px 0px #e2e2e2; +box-shadow:inset 1px 1px 0px #e2e2e2; +} + +input[type="text"]:focus, textarea:focus{ +-webkit-box-shadow: 0px 0px 5px #d6ecd6; +-moz-box-shadow: 0px 0px 5px #d6ecd6; +box-shadow: 0px 0px 5px #d6ecd6; +} + +header, footer, nav, article, section {display:block;} + +select{ +font-size: 14px; +} + +h2{ +font-size:15px; +} + +/* Layout */ + +body{ +background: #f8f8f8 url(images/body_bg.jpg) repeat-x center top; +} + +.wrapper{ +width:1090px; +margin:0 auto; +min-height:880px; +background: url(images/header.jpg) no-repeat center top; +} + +.container-bot, .container-top{ +width:100%; +overflow: hidden; +} + +.container-top{ +background: url(images/footer_bg.jpg) repeat-x center bottom; +} + +.container-bot{ +background: url(images/footer.jpg) repeat-x center bottom; +} + + +/* Header */ + +header#global-header{ +overflow: hidden; +padding: 10px 0; +} + + +a.logo{ +float: left; +display: block; +} + +nav#primary-links{ +width:835px; +float: right; +padding: 20px 0 0 0; +} + + +nav#primary-links ul li{ +float: left; +padding:0 0 0 10px; +} + +nav#primary-links ul li a{ +display: block; +-moz-border-radius:8px; +border-radius:8px; +-webkit-border-radius:8px; +background:none repeat scroll 0 0 #969089; +color:#FFFFFF; +font-size: 20px; +padding: 5px 10px; +text-transform: lowercase; +} + +nav#primary-links ul li a:hover{ +opacity:.8; +} + +nav#primary-links ul{ +float: right; +} + +nav#login{ +float:right; +font-size:12px; +width:90px; +} + +nav#login a{ +color: #333; +} + +nav#login a:hover{ +color: #000; +} + +nav#login ul li{ +float: left; +padding-left: 10px; +} + +.left-content, .right-content{ +width:534px; +float: left; +} + +.right-content{ +float: right; +} + +#contents h1{ +padding-bottom: 15px; +background: url(images/bubble_pointer.png) no-repeat 10px 24px; +clear: both; +} + +#contents h1 span{ +border: 1px solid #9f9f9f; +background-color:#1c749d; +-moz-border-radius:8px; +border-radius:8px; +-webkit-border-radius:8px; +background-image: -moz-linear-gradient(top, #3d96c0, #1a729b);/* Firefox 3.6 */ +background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, #1a729b),color-stop(1, #3d96c0));/* Safari & Chrome */ +padding: 4px 20px 4px 12px; +min-width:300px; +font-size:15px; +color: #FFF; +font-weight: normal; +display: inline-block; +border-bottom-color: #1c749d; +box-shadow:inset 0 0 1px #FFF; +-moz-box-shadow:inset 0 1px 0 #6fb9db; +} + +#contents h1 span p{ +display: inline; +} + +/* Left Content */ + +.video-div{ +border: 2px solid #cc433c; +margin-bottom: 15px; +-webkit-box-shadow: -1px 1px 1px #d9d9d9; +-moz-box-shadow: -1px 1px 1px #d9d9d9; +box-shadow: -1px 1px 1px #d9d9d9; +} + +.video-div .video-info{ +padding: 10px; +background-color: #cc433c; +background-image: -moz-linear-gradient(top, #e9726d, #cc433c);/* Firefox 3.6 */ +background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, #cc433c),color-stop(1, #e9726d));/* Safari & Chrome */ +position: relative; +} + +.video-div .video-info .foot-notes{ +width:332px; +height:90px; +position: absolute; +right:-9px; +top:3px; +background: url(images/footnote.png) no-repeat 0 0; +} + +.video-div .video-info .foot-notes h2{ +color:#cc5236; +padding:13px 10px 0; +} + +.video-div .video-info .foot-notes p{ +padding: 10px 27px 10px 10px; +} + +.choose-language h2, .choose-language div{ +color: #FFF; +opacity:.8; +} + +.choose-language h2{ +font-size: 15px; +padding-bottom: 5px; +} + +.choose-language a{ +font-weight: bold; +color: #FFF; +text-decoration: underline; +} + +.choose-language a:hover{ +opacity:1; +} + +#credit{ +padding: 5px 0; +} + +.choose-language select, .choose-language select *{ +color: #000; +} + +/* Sections */ + +.columna, .columnb{ +width:260px; +float: left; +} + +.columnb{ +float: right; +} + +section{ +padding: 10px; +background: #FFF; +position: relative; +-webkit-box-shadow: -1px 1px 1px #d9d9d9; +-moz-box-shadow: -1px 1px 1px #d9d9d9; +box-shadow: -1px 1px 1px #d9d9d9; +border: 1px solid #d9d9d9; +margin-bottom: 15px; +} + +section:hover{ +-webkit-box-shadow: -1px 1px 1px #bdc7c6; +-moz-box-shadow: -1px 1px 1px #bdc7c6; +box-shadow: -1px 1px 1px #bdc7c6; +border: 1px solid #333; +-moz-transform: scale(1.02);-webkit-transform: scale(1.02); +z-index: 999; +background: #FFF; +} + +section h3{ +padding-bottom: 8px; +min-height:18px; +} + +section .content{ +padding-top: 8px; +border-top:1px dotted #dddddd; +line-height: 15px; +color: #666; +} + +section:hover .content{ +color: #000; +} + +section h3 img{ +display: block; +} + +a.more{ +font-weight: bold; +font-style: italic; +display: block; +text-align: right; +} + +section h3 span{ +font-weight: normal; +padding: 3px 0 0 0; +display: block; +color: #666; +font-size: 11px; +} + +section a.collapse, section a.expand{ +display: block; +position: absolute; +text-transform: uppercase; +font-size: 8px; +top:10px; +right:10px; +padding: 5px 0 5px 5px; +letter-spacing: 1px; +border: 1px solid #e3e3e3; +background-image: -moz-linear-gradient(top, #FFFFFF, #f5f5f5);/* Firefox 3.6 */ +background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, #f5f5f5),color-stop(1, #FFFFFF));/* Safari & Chrome */ +-moz-border-radius:8px; +border-radius:8px; +-webkit-border-radius:8px; +line-height: 7px; +color: #333; +} + +section a.collapse:hover, section a.expand:hover{ +background-image: -moz-linear-gradient(top, #FFFFFF, #FAFAFA);/* Firefox 3.6 */ +background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, #FAFAFA),color-stop(1, #FFFFFF));/* Safari & Chrome */ +color: #000; +} + + +section a.collapse:active, +section a.expand:active{ +background-image: -moz-linear-gradient(top, #f5f5f5, #FFFFFF);/* Firefox 3.6 */ +background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, #FFFFFF),color-stop(1, #f5f5f5));/* Safari & Chrome */ +} + +section a.collapse span, section a.expand span{ +padding: 0 15px 0 0; +background: url(images/expand_collapse.png) no-repeat 93% 1px; +} + +section a.expand span{ +background: url(images/expand_collapse.png) no-repeat 93% -12px; +} + +.google-map-title h4{ +font-size:14px; +float: left; +padding-right: 15px; +} + +.google-map-title span{ +float: left; +display: block; +} + +.google-map-title{ +height: 35px; +clear: both; +} + +.google-map{ +clear: both; +height:250px; +border:1px solid #E2E2E2; +background: #F2F2F2; +} + +/*Footer */ + +footer{ +clear: both; +} + +footer .copyright{ +padding: 20px; +text-align: center; +clear: both; +background: url(images/footer_border.jpg) no-repeat center top; +} + +footer .footer_webmade, footer .footer_drumbeat{ +float: left; +padding: 10px; +} + +footer .footer_webmade{ +width:570px; +} + +footer .footer_webmade *{ +font-size:18px; +} + +footer .footer_drumbeat *{ +font-size:15px; +} + +footer .footer_webmade a{ +display: block; +font-size:14px; +} + +footer .footer_webmade a span{ +font-family: Arial, Helvetica, Verdana; +} + +footer img{ +float: left; +margin-right: 15px; +} + +footer .footer_webmade img{ +margin-top: -15px; +margin-left: 50px; +} + +footer p{ +padding: 20px; +} + +footer .footer_drumbeat{ +width:480px; +} + +#sub { +position:absolute; +top:350px; +left:300px; +color:white; +font-weight:bold; +font-family:sans-serif; +text-shadow:black 1px 1px 3px; +width:820px; +font-size:22px; +} \ No newline at end of file diff --git a/xml/webMadeMovies.xml b/xml/webMadeMovies.xml index 33ca285..f6c1a7e 100644 --- a/xml/webMadeMovies.xml +++ b/xml/webMadeMovies.xml @@ -58,10 +58,11 @@ This video made exclusively for drumbeat.org - - - - A Shared Culture, Jesse Dylan + + + + A Shared Culture, Jesse Dylan + Celine Celine @@ -73,11 +74,8 @@ Celine Celine - - + + - - -