diff --git a/Gulpfile.js b/Gulpfile.js index ce683f4..99ef292 100644 --- a/Gulpfile.js +++ b/Gulpfile.js @@ -6,7 +6,8 @@ var playerFiles = [ 'window.html', 'TemplateData/*', 'Release/*', - 'vendors/**/*' + 'vendors/**/*', + 'js/*' ]; gulp.task('chrome', function() { diff --git a/player/TemplateData/style.css b/player/TemplateData/style.css index 94c4232..4946b37 100644 --- a/player/TemplateData/style.css +++ b/player/TemplateData/style.css @@ -1,6 +1,6 @@ /**************************************** - ==== RESETS + ==== Player Styling ****************************************/ html,body,div,canvas { margin: 0; padding: 0; } @@ -10,10 +10,6 @@ html,body,div,canvas { margin: 0; padding: 0; } .clear { display: inline-table; clear: both; } /* Hides from IE-mac \*/ * html .clear { height: 1%; } .clear { display: block; } /* End hide from IE-mac */ -/**************************************** - ==== LAYOUT -****************************************/ - html, body { width: 100%; height: 100%; font-family: Helvetica, Verdana, Arial, sans-serif; } body { } p.header, p.footer { display: none; } @@ -26,3 +22,43 @@ div.title { height: 38px; line-height: 38px; padding: 0 10px; margin: 0 1px 0 0; body.template { } .template .template-wrap { } .template .template-wrap canvas { } + +/**************************************** + ==== Overriding +****************************************/ +html, #canvas, .template, .template-wrap { + width: 100%; + height: 100%; + margin: 0; + overflow: hidden; +} + +#loading-screen { + position: absolute; + top: 0; + left: 0; + display: none; + width: 100%; + height: 100%; + z-index: 9999; +} + +.message { + position: fixed; + top: 0; + left: 0; + width: 100%; + padding: 1em 0.5em; +} + +.message .info { + background-color: #3b8bba; +} + +.message .hidden { + display: none; +} + +.message .warning { + background-color: #f08a24; +} \ No newline at end of file diff --git a/player/window.html b/player/window.html index f3df4f5..bcb7ba2 100644 --- a/player/window.html +++ b/player/window.html @@ -9,49 +9,20 @@ - - - +
-