1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-24 06:59:52 +01:00

frames ui: update frames to use <!DOCTYPE html>, improved css and html5 compatibility

This commit is contained in:
Ilya Kreymer 2015-02-25 13:25:05 -08:00
parent 60f33412ff
commit 1d4c54deaa
2 changed files with 17 additions and 1 deletions

View File

@ -23,13 +23,14 @@
#_wb_frame_top_banner #_wb_frame_top_banner
{ {
position: fixed !important; position: absolute !important;
border: 0px; border: 0px;
height: 40px !important; height: 40px !important;
} }
.wb_iframe_div .wb_iframe_div
{ {
position: absolute;
width: 100%; width: 100%;
height: 100%; height: 100%;
padding: 40px 4px 4px 0px; padding: 40px 4px 4px 0px;
@ -37,6 +38,7 @@
box-sizing: border-box; box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
overflow: hidden;
} }
.wb_iframe .wb_iframe
@ -44,4 +46,6 @@
width: 100%; width: 100%;
height: 100%; height: 100%;
border: 2px solid tan; border: 2px solid tan;
padding: 0px 0px 0px 0px;
overflow: scroll;
} }

View File

@ -1,5 +1,17 @@
<!DOCTYPE html>
<html> <html>
<head> <head>
<style>
html, body
{
height: 100%;
margin: 0px;
padding: 0px;
border: 0px;
overflow: hidden;
}
</style>
<script> <script>
wbinfo = {} wbinfo = {}
wbinfo.prefix = "{{ wbrequest.wb_prefix }}"; wbinfo.prefix = "{{ wbrequest.wb_prefix }}";