This commit is contained in:
user
2013-03-26 14:01:05 +01:00
parent 6a8865e91a
commit 94ab55352e
4 changed files with 55 additions and 11 deletions

View File

@@ -23,7 +23,13 @@ html body{
#wrapper { #wrapper {
width: 100%; width: 100%;
height: 100%; height: 100%;
background:linear-gradient(to bottom, rgba(0,0,0,0) 80%,rgba(0,0,0,0.65) 100%); background: -moz-linear-gradient(top, rgba(0,0,0,0) 80%, rgba(0,0,0,0.65) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(80%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.65))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(0,0,0,0) 80%,rgba(0,0,0,0.65) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(0,0,0,0) 80%,rgba(0,0,0,0.65) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(0,0,0,0) 80%,rgba(0,0,0,0.65) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(0,0,0,0) 80%,rgba(0,0,0,0.65) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 ); /* IE6-9 */
} }
#mlibheader{ #mlibheader{
@@ -37,7 +43,14 @@ html body{
font-size: 48px; font-size: 48px;
font-weight: 500; font-weight: 500;
color: #FFF; color: #FFF;
background: linear-gradient(to right, rgba(207,231,250,1) 0%,rgba(99,147,193,1) 100%); background: rgb(207,231,250); /* Old browsers */
background: -moz-linear-gradient(top, rgba(207,231,250,1) 0%, rgba(99,147,193,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(207,231,250,1)), color-stop(100%,rgba(99,147,193,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(207,231,250,1) 0%,rgba(99,147,193,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(207,231,250,1) 0%,rgba(99,147,193,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(207,231,250,1) 0%,rgba(99,147,193,1) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(207,231,250,1) 0%,rgba(99,147,193,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cfe7fa', endColorstr='#6393c1',GradientType=0 ); /* IE6-9 */
} }
@@ -63,7 +76,15 @@ html body{
width: 48%; width: 48%;
float:left; float:left;
margin-right: 2%; margin-right: 2%;
background: linear-gradient(to bottom, rgba(155,155,155,1) 0%,rgba(14,14,14,1) 100%); background: rgb(155,155,155); /* Old browsers */
background: -moz-linear-gradient(top, rgba(155,155,155,1) 0%, rgba(14,14,14,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(155,155,155,1)), color-stop(100%,rgba(14,14,14,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(155,155,155,1) 0%,rgba(14,14,14,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(155,155,155,1) 0%,rgba(14,14,14,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(155,155,155,1) 0%,rgba(14,14,14,1) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(155,155,155,1) 0%,rgba(14,14,14,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9b9b9b', endColorstr='#0e0e0e',GradientType=0 ); /* IE6-9 */
height:100%; height:100%;
max-height: 100%; max-height: 100%;
} }
@@ -109,7 +130,15 @@ footer{
text-align: center; text-align: center;
vertical-align: middle; vertical-align: middle;
margin-bottom: 1%; margin-bottom: 1%;
background: linear-gradient(to bottom, rgba(207,231,250,1) 0%,rgba(99,147,193,1) 100%); background: rgb(207,231,250); /* Old browsers */
background: -moz-linear-gradient(top, rgba(207,231,250,1) 0%, rgba(99,147,193,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(207,231,250,1)), color-stop(100%,rgba(99,147,193,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(207,231,250,1) 0%,rgba(99,147,193,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(207,231,250,1) 0%,rgba(99,147,193,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(207,231,250,1) 0%,rgba(99,147,193,1) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(207,231,250,1) 0%,rgba(99,147,193,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cfe7fa', endColorstr='#6393c1',GradientType=0 ); /* IE6-9 */
cursor: pointer; cursor: pointer;
float: left; float: left;
@@ -127,7 +156,15 @@ footer{
text-align: center; text-align: center;
vertical-align: middle; vertical-align: middle;
margin-bottom: 1%; margin-bottom: 1%;
background: linear-gradient(to bottom, rgba(250,207,207,1) 0%,rgba(198,99,99,1) 100%);; background: rgb(250,207,207); /* Old browsers */
background: -moz-linear-gradient(top, rgba(250,207,207,1) 0%, rgba(198,99,99,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(250,207,207,1)), color-stop(100%,rgba(198,99,99,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(250,207,207,1) 0%,rgba(198,99,99,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(250,207,207,1) 0%,rgba(198,99,99,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(250,207,207,1) 0%,rgba(198,99,99,1) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(250,207,207,1) 0%,rgba(198,99,99,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#facfcf', endColorstr='#c66363',GradientType=0 ); /* IE6-9 */
cursor: pointer; cursor: pointer;
float: left; float: left;
} }
@@ -138,4 +175,4 @@ footer{
height: 30px; height: 30px;
width: 100px; width: 100px;
margin-left: 50px; margin-left: 50px;
} }

View File

@@ -7,9 +7,9 @@
<meta http-equiv="content-type" content="text/html; charset=UTF-8" > <meta http-equiv="content-type" content="text/html; charset=UTF-8" >
<link rel="stylesheet" type="text/css" href="css/style.css" title="style"> <link rel="stylesheet" type="text/css" href="css/style.css" title="style">
<script type="text/javascript" src="js/json_sans_eval.js"></script> <script type="text/javascript" src="js/json_sans_eval.js"></script>
<script type="text/javascript" src="js/mlib.js"></script> <script type="text/javascript" src="js/mlib"></script>
</head> </head>
<body onload="pageLoad();"> <body onload="pageLoad();">
<div id="wrapper"> <div id="wrapper">
<header id="mlibheader"> <header id="mlibheader">
mlib5 mlib5
@@ -24,8 +24,8 @@
<section id="trackInfo"></section> <section id="trackInfo"></section>
<section id="chapterInfo"></section> <section id="chapterInfo"></section>
</div> </div>
<audio controls autoplay id="player"> <audio controls id="player" autoplay preload="none">
<source id ="playersource" src="audio.ogg">; <source id ="playersource" type="audio/ogg" src="audio.ogg">;
</audio> </audio>
</section> </section>
@@ -37,7 +37,7 @@
<footer></footer> <footer></footer>
</div> </div>
<object data="js/episode.json" type="application/json" id="episode" hidden> <object data="js/episode.json" type="application/json" id="episode">
</object> </object>
</body> </body>
</html> </html>

View File

@@ -15,6 +15,7 @@ function pageLoad() {
var episodeHTML = document.getElementById('episode'); var episodeHTML = document.getElementById('episode');
var episodeJson = episodeHTML.contentDocument.body.firstChild.innerHTML; var episodeJson = episodeHTML.contentDocument.body.firstChild.innerHTML;
episodeObj = jsonParse(episodeJson); episodeObj = jsonParse(episodeJson);
// episodeHTML.style.display="none";
actTitle = episodeObj.title; actTitle = episodeObj.title;
actTrack = 0; actTrack = 0;
actChapter = 0; actChapter = 0;

View File

@@ -1,5 +1,11 @@
browser.autorefresh.SL__Browsers_ChromeBrowser=true
browser.highlightselection.SL__Browsers_ChromeBrowser=true
config.folder= config.folder=
external.project.url=
file.reference.html5-mlib5=. file.reference.html5-mlib5=.
files.encoding=UTF-8 files.encoding=UTF-8
server=INTERNAL
site.root.folder=${file.reference.html5-mlib5} site.root.folder=${file.reference.html5-mlib5}
start.file=index.html
test.folder= test.folder=
web.context.root=/mlib5