2012-08-31 07:27:17 +00:00
|
|
|
/* Base CSS */
|
2012-09-23 16:42:04 +00:00
|
|
|
/* Copyright 2012 Lu Wang <coolwanglu@gmail.com> */
|
2013-01-28 13:01:02 +00:00
|
|
|
#pdf-outline { /* PDF Outline */
|
2012-08-14 12:30:18 +00:00
|
|
|
position:absolute;
|
|
|
|
top:0;
|
|
|
|
left:0;
|
|
|
|
bottom:0;
|
2013-01-28 13:38:21 +00:00
|
|
|
width:193px;
|
2013-01-28 13:01:02 +00:00
|
|
|
overflow:auto;
|
2013-01-28 13:38:21 +00:00
|
|
|
margin:0px;
|
|
|
|
padding:0 0 0 7px;
|
|
|
|
background-color:#707070;
|
2013-01-28 16:38:07 +00:00
|
|
|
display:none;
|
|
|
|
}
|
|
|
|
#pdf-outline.opened {
|
|
|
|
display:block;
|
2013-01-28 13:38:21 +00:00
|
|
|
}
|
|
|
|
#pdf-outline ul {
|
|
|
|
margin-left:13px;
|
|
|
|
margin-right:3px;
|
|
|
|
padding-left:3px;
|
|
|
|
}
|
|
|
|
#pdf-outline li {
|
|
|
|
list-style-type:disc;
|
|
|
|
list-style-position:outside;
|
|
|
|
}
|
|
|
|
#pdf-outline a {
|
|
|
|
font-size:13px;
|
|
|
|
color:#e8e8e8;
|
|
|
|
}
|
|
|
|
#pdf-outline a:visited {
|
|
|
|
color:#e8e8e8;
|
|
|
|
}
|
|
|
|
#pdf-outline a:hover{
|
|
|
|
color:#e8e8e8;
|
|
|
|
}
|
|
|
|
#pdf-outline a:active{
|
|
|
|
color:#e8e8e8;
|
2013-01-28 13:01:02 +00:00
|
|
|
}
|
|
|
|
#pdf-main { /* PDF container */
|
|
|
|
position:absolute;
|
|
|
|
top:0;
|
2013-01-28 16:38:07 +00:00
|
|
|
left:0px;
|
2013-01-28 13:01:02 +00:00
|
|
|
bottom:0;
|
2012-08-14 12:30:18 +00:00
|
|
|
right:0;
|
|
|
|
overflow:auto;
|
2013-01-28 13:38:21 +00:00
|
|
|
background-color:#808080;
|
2012-09-25 14:32:17 +00:00
|
|
|
/* margin & border-width have to be 0,
|
|
|
|
* otherwise pdf2htmlEX may not calculate the coordinates correctly
|
|
|
|
*/
|
|
|
|
margin:0;
|
|
|
|
border-width:0;
|
2012-08-14 12:30:18 +00:00
|
|
|
}
|
2013-01-28 16:38:07 +00:00
|
|
|
#pdf-outline.opened + #pdf-main {
|
|
|
|
left:200px;
|
|
|
|
}
|
2013-01-28 13:38:21 +00:00
|
|
|
#pdf-main .d { /* page decoration */
|
2012-09-18 18:13:26 +00:00
|
|
|
position:relative;
|
2012-09-11 13:04:55 +00:00
|
|
|
margin: 13px auto;
|
2012-09-25 16:06:41 +00:00
|
|
|
border-width: 0;
|
|
|
|
box-shadow: 1px 1px 3px 1px #333;
|
2012-09-11 13:04:55 +00:00
|
|
|
overflow: hidden;
|
|
|
|
}
|
2013-01-28 13:38:21 +00:00
|
|
|
#pdf-main .p { /* page */
|
2012-09-18 18:13:26 +00:00
|
|
|
position:absolute;
|
|
|
|
top:0;
|
|
|
|
left:0;
|
2012-09-25 13:56:48 +00:00
|
|
|
width:100%;
|
|
|
|
height:100%;
|
2012-08-14 12:30:18 +00:00
|
|
|
background-color:white;
|
2012-09-25 13:56:48 +00:00
|
|
|
overflow: hidden;
|
2012-09-25 14:32:17 +00:00
|
|
|
/* margin & border-width have to be 0,
|
|
|
|
* otherwise pdf2htmlEX may not calculate the coordinates correctly
|
|
|
|
*/
|
|
|
|
margin:0;
|
|
|
|
border-width:0;
|
2012-09-25 13:56:48 +00:00
|
|
|
}
|
2013-01-28 13:38:21 +00:00
|
|
|
#pdf-main .b { /* content of a page */
|
2012-09-25 13:56:48 +00:00
|
|
|
position:absolute;
|
|
|
|
border-width:0;
|
|
|
|
top:0;
|
|
|
|
left:0;
|
|
|
|
width:100%;
|
|
|
|
height:100%;
|
2012-08-14 12:30:18 +00:00
|
|
|
overflow:hidden;
|
2012-09-06 15:54:22 +00:00
|
|
|
display:block;
|
2012-09-22 14:47:44 +00:00
|
|
|
transform-origin:0% 0%;
|
|
|
|
-ms-transform-origin:0% 0%;
|
|
|
|
-moz-transform-origin:0% 0%;
|
|
|
|
-webkit-transform-origin:0% 0%;
|
|
|
|
-o-transform-origin:0% 0%;
|
2012-08-14 12:30:18 +00:00
|
|
|
}
|
2013-01-28 13:38:21 +00:00
|
|
|
#pdf-main .l { /* text line */
|
2012-08-14 12:30:18 +00:00
|
|
|
position:absolute;
|
|
|
|
white-space:pre;
|
2012-08-30 15:36:30 +00:00
|
|
|
font-size:1px;
|
2012-09-13 04:19:20 +00:00
|
|
|
transform-origin:0% 100%;
|
2012-08-30 12:08:42 +00:00
|
|
|
-ms-transform-origin:0% 100%;
|
|
|
|
-moz-transform-origin:0% 100%;
|
|
|
|
-webkit-transform-origin:0% 100%;
|
|
|
|
-o-transform-origin:0% 100%;
|
2012-08-29 17:01:45 +00:00
|
|
|
}
|
2013-01-28 13:38:21 +00:00
|
|
|
#pdf-main span {
|
2012-08-29 17:01:45 +00:00
|
|
|
position:relative;
|
2012-08-24 17:40:43 +00:00
|
|
|
vertical-align: baseline;
|
2012-11-30 09:59:36 +00:00
|
|
|
/* _<id> for spaces may need display:inline, which will override this */
|
|
|
|
display:inline-block;
|
2012-08-14 12:30:18 +00:00
|
|
|
}
|
2013-01-28 13:38:21 +00:00
|
|
|
#pdf-main ._ { /* text shift */
|
2012-08-16 10:44:42 +00:00
|
|
|
color:transparent;
|
2012-10-08 08:29:21 +00:00
|
|
|
z-index:-1;
|
2012-08-14 12:30:18 +00:00
|
|
|
}
|
2013-01-28 13:38:21 +00:00
|
|
|
#pdf-main ::selection{
|
2012-08-16 14:25:02 +00:00
|
|
|
background: rgba(127,255,255,1);
|
2012-08-14 12:30:18 +00:00
|
|
|
}
|
2013-01-28 13:38:21 +00:00
|
|
|
#pdf-main ::-moz-selection{
|
2012-08-16 14:25:02 +00:00
|
|
|
background: rgba(127,255,255,1);
|
2012-08-14 12:30:18 +00:00
|
|
|
}
|
2013-01-28 13:38:21 +00:00
|
|
|
#pdf-main .j { /* info for Javascript */
|
2012-09-25 11:29:59 +00:00
|
|
|
display:none;
|
|
|
|
}
|
2013-01-28 13:38:21 +00:00
|
|
|
#pdf-main .a {
|
2012-09-25 11:29:59 +00:00
|
|
|
}
|
2013-01-28 13:38:21 +00:00
|
|
|
#pdf-main .Cd { /* css drawing */
|
2012-10-01 17:59:04 +00:00
|
|
|
position:absolute;
|
|
|
|
transform-origin:0% 100%;
|
|
|
|
-ms-transform-origin:0% 100%;
|
|
|
|
-moz-transform-origin:0% 100%;
|
|
|
|
-webkit-transform-origin:0% 100%;
|
|
|
|
-o-transform-origin:0% 100%;
|
|
|
|
}
|
2012-08-31 07:27:17 +00:00
|
|
|
/* Base CSS END */
|