2011-05-26 23:02:52 +09:00
|
|
|
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- /
|
|
|
|
/* vim: set shiftwidth=4 tabstop=8 autoindent cindent expandtab: */
|
|
|
|
|
|
|
|
body {
|
2011-07-29 02:48:05 +09:00
|
|
|
background-color: #929292;
|
|
|
|
font-family: 'Lucida Grande', 'Lucida Sans Unicode', Helvetica, Arial, Verdana, sans-serif;
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
2011-05-26 23:02:52 +09:00
|
|
|
}
|
|
|
|
|
2011-10-19 04:40:59 +09:00
|
|
|
[hidden] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2011-07-29 02:48:05 +09:00
|
|
|
/* === Toolbar === */
|
2011-05-26 23:02:52 +09:00
|
|
|
#controls {
|
2011-07-29 02:48:05 +09:00
|
|
|
background-color: #eee;
|
|
|
|
background: -moz-linear-gradient(center bottom, #eee 0%, #fff 100%);
|
|
|
|
background: -webkit-gradient(linear, left bottom, left top, color-stop(0.0, #ddd), color-stop(1.0, #fff));
|
|
|
|
border-bottom: 1px solid #666;
|
2011-11-01 07:23:03 +09:00
|
|
|
padding: 3px;
|
2011-07-29 02:48:05 +09:00
|
|
|
position: fixed;
|
|
|
|
left: 0px;
|
|
|
|
top: 0px;
|
2011-11-01 07:23:03 +09:00
|
|
|
height: 24px;
|
2011-07-29 02:48:05 +09:00
|
|
|
width: 100%;
|
2011-08-26 08:28:50 +09:00
|
|
|
z-index: 1;
|
2011-09-03 10:36:17 +09:00
|
|
|
white-space:nowrap;
|
|
|
|
overflow: hidden;
|
2011-05-26 23:02:52 +09:00
|
|
|
}
|
|
|
|
|
2011-07-29 02:48:05 +09:00
|
|
|
.separator {
|
|
|
|
display: inline;
|
|
|
|
border-left: 1px solid #d3d3d3;
|
|
|
|
border-right: 1px solid #fff;
|
2011-11-01 07:23:03 +09:00
|
|
|
height: 16px;
|
2011-07-29 02:48:05 +09:00
|
|
|
width:0px;
|
|
|
|
margin: 4px;
|
2011-05-26 23:02:52 +09:00
|
|
|
}
|
|
|
|
|
2011-10-15 11:05:57 +09:00
|
|
|
#controls > a > img {
|
2011-11-01 07:23:03 +09:00
|
|
|
margin: 4px;
|
|
|
|
height: 16px;
|
2011-10-15 11:05:57 +09:00
|
|
|
}
|
|
|
|
|
2011-07-29 02:48:05 +09:00
|
|
|
#controls > button {
|
2011-11-01 07:23:03 +09:00
|
|
|
line-height: 16px;
|
2011-06-30 12:43:59 +09:00
|
|
|
}
|
|
|
|
|
2011-08-29 05:10:14 +09:00
|
|
|
#controls > button > img {
|
2011-11-01 07:23:03 +09:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2011-08-29 05:10:14 +09:00
|
|
|
}
|
|
|
|
|
2011-07-29 02:48:05 +09:00
|
|
|
#controls > button[disabled] > img {
|
|
|
|
opacity: 0.5;
|
2011-05-26 23:02:52 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
#pageNumber {
|
2011-07-29 02:48:05 +09:00
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
#fileInput {
|
2011-11-01 07:23:03 +09:00
|
|
|
line-height: 16px;
|
2011-07-29 02:48:05 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
span#info {
|
|
|
|
display: none;
|
2011-05-26 23:02:52 +09:00
|
|
|
}
|
2011-07-29 02:48:05 +09:00
|
|
|
|
|
|
|
@-moz-document regexp("http:.*debug=1.*") {
|
|
|
|
span#info {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* === Sidebar === */
|
|
|
|
#sidebar {
|
|
|
|
position: fixed;
|
2011-08-22 11:05:10 +09:00
|
|
|
width: 350px;
|
2011-07-29 02:48:05 +09:00
|
|
|
top: 62px;
|
|
|
|
bottom: 18px;
|
2011-08-22 11:05:10 +09:00
|
|
|
left: -290px;
|
2011-07-29 02:48:05 +09:00
|
|
|
transition: left 0.25s ease-in-out 1s;
|
|
|
|
-moz-transition: left 0.25s ease-in-out 1s;
|
|
|
|
-webkit-transition: left 0.25s ease-in-out 1s;
|
2011-08-26 08:28:50 +09:00
|
|
|
z-index: 1;
|
2011-07-29 02:48:05 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar:hover {
|
|
|
|
left: 0px;
|
|
|
|
transition: left 0.25s ease-in-out 0s;
|
|
|
|
-moz-transition: left 0.25s ease-in-out 0s;
|
|
|
|
-webkit-transition: left 0.25s ease-in-out 0s;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebarBox {
|
|
|
|
background-color: rgba(0, 0, 0, 0.7);
|
2011-08-22 11:05:10 +09:00
|
|
|
width: 300px;
|
2011-07-29 02:48:05 +09:00
|
|
|
height: 100%;
|
|
|
|
border-top-right-radius: 8px;
|
|
|
|
border-bottom-right-radius: 8px;
|
|
|
|
-moz-border-radius-topright: 8px;
|
|
|
|
-moz-border-radius-bottomright: 8px;
|
|
|
|
-webkit-border-top-right-radius: 8px;
|
|
|
|
-webkit-border-bottom-right-radius: 8px;
|
|
|
|
box-shadow: 0px 2px 8px #000;
|
|
|
|
-moz-box-shadow: 0px 2px 8px #000;
|
|
|
|
-webkit-box-shadow: 0px 2px 8px #000;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebarScrollView {
|
|
|
|
position: absolute;
|
|
|
|
overflow: hidden;
|
|
|
|
overflow-y: auto;
|
|
|
|
top: 10px;
|
|
|
|
bottom: 10px;
|
|
|
|
left: 10px;
|
2011-08-22 11:05:10 +09:00
|
|
|
width: 280px;
|
2011-07-29 02:48:05 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
.thumbnail {
|
2011-08-31 21:22:48 +09:00
|
|
|
width: 134px;
|
2011-07-29 02:48:05 +09:00
|
|
|
height: 134px;
|
2011-08-22 11:05:10 +09:00
|
|
|
margin-top: 5px;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
margin-left:auto;
|
|
|
|
margin-right:auto;
|
2011-08-31 21:22:48 +09:00
|
|
|
line-height: 134px;
|
|
|
|
text-align: center;
|
2011-09-22 07:32:36 +09:00
|
|
|
overflow: hidden;
|
2011-08-31 21:22:48 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
.thumbnail:not([data-loaded]) {
|
|
|
|
background-color: gray;
|
|
|
|
}
|
|
|
|
|
|
|
|
.thumbnail > canvas {
|
|
|
|
vertical-align: middle;
|
|
|
|
display: inline-block;
|
2011-08-22 11:05:10 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
#outlineScrollView {
|
|
|
|
position: absolute;
|
|
|
|
background-color: #fff;
|
|
|
|
overflow: auto;
|
|
|
|
top: 10px;
|
|
|
|
bottom: 10px;
|
|
|
|
left: 10px;
|
|
|
|
width: 280px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#outlineView {
|
|
|
|
padding-top: 4px;
|
|
|
|
padding-bottom: 100px;
|
|
|
|
padding-left: 6px;
|
|
|
|
padding-right: 6px;
|
|
|
|
font-size: smaller;
|
|
|
|
}
|
|
|
|
|
|
|
|
.outlineItem > .outlineItems {
|
|
|
|
margin-left: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.outlineItem > a {
|
|
|
|
text-decoration: none;
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.outlineItem > a:hover {
|
|
|
|
background: #ff0;
|
|
|
|
box-shadow: 0px 2px 10px #ff0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebarControls {
|
|
|
|
position:absolute;
|
|
|
|
width: 120px;
|
|
|
|
height: 32px;
|
|
|
|
left: 15px;
|
|
|
|
bottom: 35px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebarControls > button {
|
|
|
|
box-shadow: 0px 4px 10px #000;
|
|
|
|
-moz-box-shadow: 0px 4px 10px #000;
|
|
|
|
-webkit-box-shadow: 0px 4px 10px #000;
|
|
|
|
}
|
|
|
|
|
2011-08-29 05:10:14 +09:00
|
|
|
#sidebarControls > button > img {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
}
|
|
|
|
|
2011-08-22 11:05:10 +09:00
|
|
|
#sidebarControls > button[disabled] > img {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebarControls > button[data-selected] {
|
|
|
|
box-shadow: 0px 4px 10px #ff0;
|
|
|
|
-moz-box-shadow: 0px 4px 10px #ff0;
|
|
|
|
-webkit-box-shadow: 0px 4px 10px #ff0;
|
2011-07-29 02:48:05 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
/* === Content view === */
|
|
|
|
canvas {
|
|
|
|
margin: auto;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page {
|
|
|
|
width: 816px;
|
|
|
|
height: 1056px;
|
|
|
|
margin: 10px auto;
|
2011-09-22 07:32:36 +09:00
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
box-shadow: 0px 4px 10px #000;
|
|
|
|
-moz-box-shadow: 0px 4px 10px #000;
|
|
|
|
-webkit-box-shadow: 0px 4px 10px #000;
|
2011-10-20 05:14:34 +09:00
|
|
|
background-color: white;
|
2011-08-26 08:28:50 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
.page > a {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page > a:hover {
|
|
|
|
opacity: 0.2;
|
|
|
|
background: #ff0;
|
|
|
|
box-shadow: 0px 2px 10px #ff0;
|
|
|
|
-moz-box-shadow: 0px 2px 10px #ff0;
|
|
|
|
-webkit-box-shadow: 0px 2px 10px #ff0;
|
2011-07-29 02:48:05 +09:00
|
|
|
}
|
|
|
|
|
2011-10-29 01:16:17 +09:00
|
|
|
.textLayer {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
color: #000;
|
|
|
|
}
|
|
|
|
|
|
|
|
.textLayer > div {
|
|
|
|
color: transparent;
|
|
|
|
position: absolute;
|
|
|
|
line-height:1.3;
|
|
|
|
}
|
|
|
|
|
2011-10-29 06:37:55 +09:00
|
|
|
/* TODO: file FF bug to support ::-moz-selection:window-inactive
|
|
|
|
so we can override the opaque grey background when the window is inactive;
|
2011-11-30 04:54:32 +09:00
|
|
|
see https://bugzilla.mozilla.org/show_bug.cgi?id=706209 */
|
|
|
|
::selection { background:rgba(0,0,255,0.3); }
|
|
|
|
::-moz-selection { background:rgba(0,0,255,0.3); }
|
2011-10-29 06:37:55 +09:00
|
|
|
|
2011-07-29 02:48:05 +09:00
|
|
|
#viewer {
|
|
|
|
margin: 44px 0px 0px;
|
|
|
|
padding: 8px 0px;
|
|
|
|
}
|
|
|
|
|
2011-08-22 11:05:10 +09:00
|
|
|
#sidebarView canvas:hover {
|
|
|
|
background: #ff0;
|
|
|
|
box-shadow: 0px 2px 10px #ff0;
|
|
|
|
-moz-box-shadow: 0px 2px 10px #ff0;
|
|
|
|
-webkit-box-shadow: 0px 2px 10px #ff0;
|
|
|
|
}
|
|
|
|
|
2011-09-03 10:16:52 +09:00
|
|
|
#pageWidthOption {
|
|
|
|
border-top: 1px solid black;
|
|
|
|
}
|
|
|
|
|
2011-09-03 23:10:24 +09:00
|
|
|
#customScaleOption {
|
2011-09-03 10:16:52 +09:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2011-11-29 09:55:09 +09:00
|
|
|
#errorWrapper {
|
|
|
|
background: none repeat scroll 0 0 #FF5555;
|
|
|
|
color: white;
|
|
|
|
left: 0;
|
|
|
|
position: fixed;
|
|
|
|
right: 0;
|
|
|
|
top: 30px;
|
|
|
|
z-index: 1000;
|
|
|
|
padding: 3px;
|
2011-11-30 02:36:50 +09:00
|
|
|
font-size: 0.8em;
|
2011-11-29 09:55:09 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
#errorMessageLeft {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
#errorMessageRight {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
#errorMoreInfo {
|
|
|
|
background-color: #FFFFFF;
|
|
|
|
color: black;
|
|
|
|
padding: 3px;
|
|
|
|
margin: 3px;
|
|
|
|
white-space: pre;
|
|
|
|
}
|
|
|
|
|
|
|
|
.clearBoth {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
2011-08-28 07:10:15 +09:00
|
|
|
/* === Printed media overrides === */
|
|
|
|
@media print {
|
|
|
|
#sidebar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#controls {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#viewer {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page {
|
|
|
|
display: none;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page canvas {
|
|
|
|
box-shadow: none;
|
|
|
|
-moz-box-shadow: none;
|
|
|
|
-webkit-box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page[data-loaded] {
|
|
|
|
display: block;
|
|
|
|
page-break-after: always;
|
|
|
|
}
|
|
|
|
}
|
2011-09-21 13:49:09 +09:00
|
|
|
|
|
|
|
#loading {
|
2011-09-21 21:25:29 +09:00
|
|
|
margin: 100px 0;
|
|
|
|
text-align: center;
|
2011-09-21 13:49:09 +09:00
|
|
|
}
|