tenfourfox/browser/extensions/shumway/content/web/viewer.html
Cameron Kaiser c9b2922b70 hello FPR
2017-04-19 00:56:45 -07:00

111 lines
2.6 KiB
HTML

<!DOCTYPE html>
<!--
Copyright 2013 Mozilla Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<base href=""/>
<style>
body {
margin: 0;
overflow: hidden;
background-color: transparent;
}
body.started #playerIframe {
display: none;
}
#gfxIframe {
position:fixed !important;
left:0; top:0;
width: 100%; height: 100%;
overflow: hidden;
border: 0 none;
}
#overlay {
display: none;
}
#overlay.enabled {
display: block;
position:fixed;
top: 0;
right: 0;
}
#report, #fallback {
float: right;
width: 70px; height: 16px;
padding: 8px 4px 4px;
color: white;
background-color: rgba(218, 56, 7, 0.63);
font: bold 10px sans-serif;
text-align: center;
text-decoration: none;
}
#report {
display: none;
width: 100px;
}
#overlay:hover #report {
display: block;
}
#fallback .icon {
display: none;
color: white;
}
#fallback:hover .icon {
display: inline-block;
}
#report:hover, #fallback:hover {
background-color: black;
}
#playerIframe {
position: absolute;
top: 0;
right: 0;
}
@media screen and (max-width: 100px), screen and (max-height: 40px) {
body.started #overlay {
display: none;
}
}
</style>
</head>
<body>
<iframe id="playerIframe" width="9" height="9" src="" sandbox="allow-scripts"></iframe>
<iframe id="gfxIframe" src="" sandbox="allow-scripts"></iframe>
<section>
<div id="overlay">
<a id="fallback" href="#">Shumway <span class="icon">&times;</span></a>
<a id="report" href="#">Report Problems</a>
</div>
</section>
<script src='resource://shumway/web/viewer.js'></script>
</body>
</html>