-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathcapture.html
99 lines (91 loc) · 2.7 KB
/
capture.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<html>
<head>
<title>Captured</title>
<script src="lib/jquery.js"></script>
<script src="lib/pusher.color.js"></script>
<script type="text/javascript" src="lib/syntaxhighlighter/scripts/shCore.js"></script>
<script type="text/javascript" src="lib/syntaxhighlighter/scripts/shBrushCss.js"></script>
<script type="text/javascript" src="lib/syntaxhighlighter/scripts/shBrushXml.js"></script>
<script type="text/javascript" src="lib/syntaxhighlighter/scripts/shBrushJScript.js"></script>
<script src="simplify.js"></script>
<script src="copycsss.js"></script>
<script src="capture.js"></script>
<link type="text/css" rel="stylesheet" href="lib/syntaxhighlighter/styles/shCore.css"/>
<link type="text/css" rel="stylesheet" href="lib/syntaxhighlighter/styles/shThemeDefault.css"/>
<style>
<!-- SyntaxHighlighter Issue Patch : remove unusable vertical scrollbar -->
.syntaxhighlighter {
overflow-y: hidden !important;
overflow-x: auto !important;
}
</style>
<style>
body {
width : 100%;
height : 100%;
margin : 0;
border : 0;
padding : 0;
}
.captured {
//border : 1px dashed skyblue;
//width : 99%;
//height : 99%;
//min-height : 99%;
}
.captured#layout {
padding : 20px 10px;
}
.captured#markup {
display: none;
}
#controls {
position : fixed;
bottom : 0;
right : 0;
}
#controls div {
width : 64px;
height : 64px;
}
#controls #source.close {
background-image : url('image/source_green_default.png');
}
#controls #source.close:hover {
background-image : url('image/source_green_actived.png');
}
#controls #source.open {
background-image : url('image/layout_green_default.png');
}
#controls #source.open:hover {
background-image : url('image/layout_green_actived.png');
}
#controls #clipboard {
display : none;
background-image : url('image/clipboard_green_default.png');
}
#controls #clipboard:hover, #controls #clipboard.copied {
background-image : url('image/clipboard_green_actived.png');
}
#controls #download {
display : none;
background-image : url('image/download_green_default.png');
}
#controls #download:hover, #controls #download.downloaded {
background-image : url('image/download_green_actived.png');
}
</style>
</head>
<body>
<div class='captured' id='layout'></div>
<div class='captured' id='markup'>
<pre class="brush: css;"></pre>
<pre class="brush: html;"></pre>
</div>
<div id='controls'>
<div id='download'><a style='display:block;width:100%;height:100%;'></a></div>
<div id='clipboard'> </div>
<div id='source' class='close'> </div>
</div>
</body>
</html>