viewerjs-rails 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +14 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +65 -0
- data/Rakefile +2 -0
- data/app/assets/AGPL-3.0.txt +661 -0
- data/app/assets/images/kogmbh.png +0 -0
- data/app/assets/images/nlnet.png +0 -0
- data/app/assets/images/texture.png +0 -0
- data/app/assets/images/toolbarButton-download.png +0 -0
- data/app/assets/images/toolbarButton-fullscreen.png +0 -0
- data/app/assets/images/toolbarButton-menuArrows.png +0 -0
- data/app/assets/images/toolbarButton-pageDown.png +0 -0
- data/app/assets/images/toolbarButton-pageUp.png +0 -0
- data/app/assets/images/toolbarButton-presentation.png +0 -0
- data/app/assets/images/toolbarButton-zoomIn.png +0 -0
- data/app/assets/images/toolbarButton-zoomOut.png +0 -0
- data/app/assets/javascripts/pdf.worker.js +39900 -0
- data/app/assets/javascripts/viewerjs/ODFViewerPlugin.js +219 -0
- data/app/assets/javascripts/viewerjs/PDFViewerPlugin.js.erb +348 -0
- data/app/assets/javascripts/viewerjs/PluginLoader.js +47 -0
- data/app/assets/javascripts/viewerjs/compatibility.js +491 -0
- data/app/assets/javascripts/viewerjs/pdf.js +7651 -0
- data/app/assets/javascripts/viewerjs/pdf_find_bar.js +175 -0
- data/app/assets/javascripts/viewerjs/pdf_find_controller.js +355 -0
- data/app/assets/javascripts/viewerjs/pdfjsversion.js +1 -0
- data/app/assets/javascripts/viewerjs/text_layer_builder.js +385 -0
- data/app/assets/javascripts/viewerjs/ui_utils.js +270 -0
- data/app/assets/javascripts/viewerjs/viewer.js +230 -0
- data/app/assets/javascripts/viewerjs/webodf.js +631 -0
- data/app/assets/javascripts/viewerjs_rails.js +22 -0
- data/app/assets/stylesheets/ODFViewerPlugin.css.scss +29 -0
- data/app/assets/stylesheets/PDFViewerPlugin.css.scss +36 -0
- data/app/assets/stylesheets/example.local.css.scss +27 -0
- data/app/assets/stylesheets/viewer.css.scss +816 -0
- data/app/assets/stylesheets/viewerjs_rails.css +15 -0
- data/lib/viewerjs/rails.rb +19 -0
- data/lib/viewerjs/rails/version.rb +5 -0
- data/lib/viewerjs/view_helpers.rb +75 -0
- data/viewerjs-rails.gemspec +23 -0
- metadata +113 -0
@@ -0,0 +1,22 @@
|
|
1
|
+
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
+
// listed below.
|
3
|
+
//
|
4
|
+
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
+
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
|
6
|
+
//
|
7
|
+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
+
// compiled file.
|
9
|
+
//
|
10
|
+
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
|
11
|
+
// about supported directives.
|
12
|
+
//
|
13
|
+
//= require viewerjs/viewer
|
14
|
+
//= require viewerjs/PluginLoader
|
15
|
+
//= require viewerjs/PDFViewerPlugin
|
16
|
+
//= require viewerjs/compatibility
|
17
|
+
//= require viewerjs/pdf
|
18
|
+
//= require viewerjs/pdf_find_bar
|
19
|
+
//= require viewerjs/pdf_find_controller
|
20
|
+
//= require viewerjs/ui_utils
|
21
|
+
//= require viewerjs/text_layer_builder
|
22
|
+
//= require viewerjs/pdfjsversion
|
@@ -0,0 +1,29 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (C) 2013-2014 KO GmbH <copyright@kogmbh.com>
|
3
|
+
*
|
4
|
+
* @licstart
|
5
|
+
* This file is part of WebODF.
|
6
|
+
*
|
7
|
+
* WebODF is free software: you can redistribute it and/or modify it
|
8
|
+
* under the terms of the GNU Affero General Public License (GNU AGPL)
|
9
|
+
* as published by the Free Software Foundation, either version 3 of
|
10
|
+
* the License, or (at your option) any later version.
|
11
|
+
*
|
12
|
+
* WebODF is distributed in the hope that it will be useful, but
|
13
|
+
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15
|
+
* GNU Affero General Public License for more details.
|
16
|
+
*
|
17
|
+
* You should have received a copy of the GNU Affero General Public License
|
18
|
+
* along with WebODF. If not, see <http://www.gnu.org/licenses/>.
|
19
|
+
* @licend
|
20
|
+
*
|
21
|
+
* @source: http://www.webodf.org/
|
22
|
+
* @source: https://github.com/kogmbh/WebODF/
|
23
|
+
*/
|
24
|
+
|
25
|
+
@namespace cursor url(urn:webodf:names:cursor);
|
26
|
+
|
27
|
+
.caret {
|
28
|
+
opacity: 0 !important;
|
29
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
.page {
|
2
|
+
margin: 7px auto 7px auto;
|
3
|
+
position: relative;
|
4
|
+
overflow: hidden;
|
5
|
+
background-clip: content-box;
|
6
|
+
background-color: white;
|
7
|
+
|
8
|
+
box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.75);
|
9
|
+
-webkit-box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.75);
|
10
|
+
-moz-box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.75);
|
11
|
+
-ms-box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.75);
|
12
|
+
-o-box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.75);
|
13
|
+
}
|
14
|
+
|
15
|
+
.textLayer {
|
16
|
+
position: absolute;
|
17
|
+
left: 0;
|
18
|
+
top: 0;
|
19
|
+
right: 0;
|
20
|
+
bottom: 0;
|
21
|
+
color: #000;
|
22
|
+
font-family: sans-serif;
|
23
|
+
overflow: hidden;
|
24
|
+
}
|
25
|
+
|
26
|
+
.textLayer > div {
|
27
|
+
color: transparent;
|
28
|
+
position: absolute;
|
29
|
+
line-height: 1;
|
30
|
+
white-space: pre;
|
31
|
+
cursor: text;
|
32
|
+
}
|
33
|
+
|
34
|
+
::selection { background:rgba(0,0,255,0.3); }
|
35
|
+
::-moz-selection { background:rgba(0,0,255,0.3); }
|
36
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
/* This is just a sample file with CSS rules. You should write your own @font-face declarations
|
2
|
+
* to add support for your desired fonts.
|
3
|
+
*/
|
4
|
+
|
5
|
+
@font-face {
|
6
|
+
font-family: 'Novecentowide Book';
|
7
|
+
src: url("/ViewerJS/fonts/Novecentowide-Bold-webfont.eot");
|
8
|
+
src: url("/ViewerJS/fonts/Novecentowide-Bold-webfont.eot?#iefix") format("embedded-opentype"),
|
9
|
+
url("/ViewerJS/fonts/Novecentowide-Bold-webfont.woff") format("woff"),
|
10
|
+
url("/fonts/Novecentowide-Bold-webfont.ttf") format("truetype"),
|
11
|
+
url("/fonts/Novecentowide-Bold-webfont.svg#NovecentowideBookBold") format("svg");
|
12
|
+
font-weight: normal;
|
13
|
+
font-style: normal;
|
14
|
+
}
|
15
|
+
|
16
|
+
@font-face {
|
17
|
+
font-family: 'exotica';
|
18
|
+
src: url('/ViewerJS/fonts/Exotica-webfont.eot');
|
19
|
+
src: url('/ViewerJS/fonts/Exotica-webfont.eot?#iefix') format('embedded-opentype'),
|
20
|
+
url('/ViewerJS/fonts/Exotica-webfont.woff') format('woff'),
|
21
|
+
url('/ViewerJS/fonts/Exotica-webfont.ttf') format('truetype'),
|
22
|
+
url('/ViewerJS/fonts/Exotica-webfont.svg#exoticamedium') format('svg');
|
23
|
+
font-weight: normal;
|
24
|
+
font-style: normal;
|
25
|
+
|
26
|
+
}
|
27
|
+
|
@@ -0,0 +1,816 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (C) 2012-2014 KO GmbH <copyright@kogmbh.com>
|
3
|
+
*
|
4
|
+
* @licstart
|
5
|
+
* This file is part of WebODF.
|
6
|
+
*
|
7
|
+
* WebODF is free software: you can redistribute it and/or modify it
|
8
|
+
* under the terms of the GNU Affero General Public License (GNU AGPL)
|
9
|
+
* as published by the Free Software Foundation, either version 3 of
|
10
|
+
* the License, or (at your option) any later version.
|
11
|
+
*
|
12
|
+
* WebODF is distributed in the hope that it will be useful, but
|
13
|
+
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15
|
+
* GNU Affero General Public License for more details.
|
16
|
+
*
|
17
|
+
* You should have received a copy of the GNU Affero General Public License
|
18
|
+
* along with WebODF. If not, see <http://www.gnu.org/licenses/>.
|
19
|
+
* @licend
|
20
|
+
*
|
21
|
+
* @source: http://www.webodf.org/
|
22
|
+
* @source: https://github.com/kogmbh/WebODF/
|
23
|
+
*/
|
24
|
+
|
25
|
+
/*
|
26
|
+
* This file is a derivative from a part of Mozilla's PDF.js project. The
|
27
|
+
* original license header follows.
|
28
|
+
*/
|
29
|
+
|
30
|
+
/* Copyright 2012 Mozilla Foundation
|
31
|
+
*
|
32
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
33
|
+
* you may not use this file except in compliance with the License.
|
34
|
+
* You may obtain a copy of the License at
|
35
|
+
*
|
36
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
37
|
+
*
|
38
|
+
* Unless required by applicable law or agreed to in writing, software
|
39
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
40
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
41
|
+
* See the License for the specific language governing permissions and
|
42
|
+
* limitations under the License.
|
43
|
+
*/
|
44
|
+
|
45
|
+
* {
|
46
|
+
padding: 0;
|
47
|
+
margin: 0;
|
48
|
+
}
|
49
|
+
|
50
|
+
html > body {
|
51
|
+
font-family: sans-serif;
|
52
|
+
overflow: hidden;
|
53
|
+
}
|
54
|
+
|
55
|
+
.titlebar > span,
|
56
|
+
.toolbarLabel,
|
57
|
+
input,
|
58
|
+
button,
|
59
|
+
select {
|
60
|
+
font: message-box;
|
61
|
+
}
|
62
|
+
|
63
|
+
#titlebar {
|
64
|
+
position: absolute;
|
65
|
+
z-index: 2;
|
66
|
+
top: 0px;
|
67
|
+
left: 0px;
|
68
|
+
height: 32px;
|
69
|
+
width: 100%;
|
70
|
+
overflow: hidden;
|
71
|
+
|
72
|
+
-webkit-box-shadow: 0px 1px 3px rgba(50, 50, 50, 0.75);
|
73
|
+
-moz-box-shadow: 0px 1px 3px rgba(50, 50, 50, 0.75);
|
74
|
+
box-shadow: 0px 1px 3px rgba(50, 50, 50, 0.75);
|
75
|
+
|
76
|
+
background-image: asset_url('texture.png'), linear-gradient(rgba(69, 69, 69, .95), rgba(82, 82, 82, .99));
|
77
|
+
background-image: asset_url('texture.png'), -webkit-linear-gradient(rgba(69, 69, 69, .95), rgba(82, 82, 82, .99));
|
78
|
+
background-image: asset_url('texture.png'), -moz-linear-gradient(rgba(69, 69, 69, .95), rgba(82, 82, 82, .99));
|
79
|
+
background-image: asset_url('texture.png'), -ms-linear-gradient(rgba(69, 69, 69, .95), rgba(82, 82, 82, .99));
|
80
|
+
background-image: asset_url('texture.png'), -o-linear-gradient(rgba(69, 69, 69, .95), rgba(82, 82, 82, .99));
|
81
|
+
|
82
|
+
}
|
83
|
+
|
84
|
+
#titlebar a, #aboutDialog a, #titlebar a:visited, #aboutDialog a:visited {
|
85
|
+
color: #ccc;
|
86
|
+
}
|
87
|
+
|
88
|
+
#documentName {
|
89
|
+
margin-right: 10px;
|
90
|
+
margin-left: 10px;
|
91
|
+
margin-top: 8px;
|
92
|
+
color: #F2F2F2;
|
93
|
+
line-height: 14px;
|
94
|
+
font-family: sans-serif;
|
95
|
+
}
|
96
|
+
|
97
|
+
#documentName {
|
98
|
+
font-size: 14px;
|
99
|
+
}
|
100
|
+
|
101
|
+
#toolbarContainer {
|
102
|
+
position: absolute;
|
103
|
+
z-index: 2;
|
104
|
+
bottom: 0px;
|
105
|
+
left: 0px;
|
106
|
+
height: 32px;
|
107
|
+
width: 100%;
|
108
|
+
overflow: hidden;
|
109
|
+
|
110
|
+
-webkit-box-shadow: 0px -1px 3px rgba(50, 50, 50, 0.75);
|
111
|
+
-moz-box-shadow: 0px -1px 3px rgba(50, 50, 50, 0.75);
|
112
|
+
box-shadow: 0px -1px 3px rgba(50, 50, 50, 0.75);
|
113
|
+
|
114
|
+
background-image: asset_url('texture.png'), linear-gradient(rgba(82, 82, 82, .99), rgba(69, 69, 69, .95));
|
115
|
+
background-image: asset_url('texture.png'), -webkit-linear-gradient(rgba(82, 82, 82, .99), rgba(69, 69, 69, .95));
|
116
|
+
background-image: asset_url('texture.png'), -moz-linear-gradient(rgba(82, 82, 82, .99), rgba(69, 69, 69, .95));
|
117
|
+
background-image: asset_url('texture.png'), -ms-linear-gradient(rgba(82, 82, 82, .99), rgba(69, 69, 69, .95));
|
118
|
+
background-image: asset_url('texture.png'), -o-linear-gradient(rgba(82, 82, 82, .99), rgba(69, 69, 69, .95));
|
119
|
+
}
|
120
|
+
|
121
|
+
#toolbar {
|
122
|
+
position: relative;
|
123
|
+
}
|
124
|
+
|
125
|
+
#toolbarMiddleContainer, #toolbarLeft {
|
126
|
+
visibility: hidden;
|
127
|
+
}
|
128
|
+
|
129
|
+
html[dir='ltr'] #toolbarLeft {
|
130
|
+
margin-left: -1px;
|
131
|
+
}
|
132
|
+
|
133
|
+
html[dir='rtl'] #toolbarRight {
|
134
|
+
margin-left: -1px;
|
135
|
+
}
|
136
|
+
|
137
|
+
html[dir='ltr'] #toolbarLeft,
|
138
|
+
html[dir='rtl'] #toolbarRight {
|
139
|
+
position: absolute;
|
140
|
+
top: 0;
|
141
|
+
left: 0;
|
142
|
+
}
|
143
|
+
|
144
|
+
html[dir='ltr'] #toolbarRight,
|
145
|
+
html[dir='rtl'] #toolbarLeft {
|
146
|
+
position: absolute;
|
147
|
+
top: 0;
|
148
|
+
right: 0;
|
149
|
+
}
|
150
|
+
|
151
|
+
html[dir='ltr'] #toolbarLeft > *,
|
152
|
+
html[dir='ltr'] #toolbarMiddle > *,
|
153
|
+
html[dir='ltr'] #toolbarRight > * {
|
154
|
+
float: left;
|
155
|
+
}
|
156
|
+
|
157
|
+
html[dir='rtl'] #toolbarLeft > *,
|
158
|
+
html[dir='rtl'] #toolbarMiddle > *,
|
159
|
+
html[dir='rtl'] #toolbarRight > * {
|
160
|
+
float: right;
|
161
|
+
}
|
162
|
+
|
163
|
+
/* outer/inner center provides horizontal center */
|
164
|
+
html[dir='ltr'] .outerCenter {
|
165
|
+
float: right;
|
166
|
+
position: relative;
|
167
|
+
right: 50%;
|
168
|
+
}
|
169
|
+
|
170
|
+
html[dir='rtl'] .outerCenter {
|
171
|
+
float: left;
|
172
|
+
position: relative;
|
173
|
+
left: 50%;
|
174
|
+
}
|
175
|
+
|
176
|
+
html[dir='ltr'] .innerCenter {
|
177
|
+
float: right;
|
178
|
+
position: relative;
|
179
|
+
right: -50%;
|
180
|
+
}
|
181
|
+
|
182
|
+
html[dir='rtl'] .innerCenter {
|
183
|
+
float: left;
|
184
|
+
position: relative;
|
185
|
+
left: -50%;
|
186
|
+
}
|
187
|
+
|
188
|
+
html[dir='ltr'] .splitToolbarButton {
|
189
|
+
margin: 3px 2px 4px 0;
|
190
|
+
display: inline-block;
|
191
|
+
}
|
192
|
+
|
193
|
+
html[dir='rtl'] .splitToolbarButton {
|
194
|
+
margin: 3px 0 4px 2px;
|
195
|
+
display: inline-block;
|
196
|
+
}
|
197
|
+
|
198
|
+
html[dir='ltr'] .splitToolbarButton > .toolbarButton {
|
199
|
+
border-radius: 0;
|
200
|
+
float: left;
|
201
|
+
}
|
202
|
+
|
203
|
+
html[dir='rtl'] .splitToolbarButton > .toolbarButton {
|
204
|
+
border-radius: 0;
|
205
|
+
float: right;
|
206
|
+
}
|
207
|
+
|
208
|
+
.splitToolbarButton.toggled .toolbarButton {
|
209
|
+
margin: 0;
|
210
|
+
}
|
211
|
+
|
212
|
+
.toolbarButton {
|
213
|
+
border: 0 none;
|
214
|
+
background-color: rgba(0, 0, 0, 0);
|
215
|
+
min-width: 32px;
|
216
|
+
height: 25px;
|
217
|
+
border-radius: 2px;
|
218
|
+
background-image: none;
|
219
|
+
}
|
220
|
+
|
221
|
+
html[dir='ltr'] .toolbarButton,
|
222
|
+
html[dir='ltr'] .dropdownToolbarButton {
|
223
|
+
margin: 3px 2px 4px 0;
|
224
|
+
}
|
225
|
+
|
226
|
+
html[dir='rtl'] .toolbarButton,
|
227
|
+
html[dir='rtl'] .dropdownToolbarButton {
|
228
|
+
margin: 3px 0 4px 2px;
|
229
|
+
}
|
230
|
+
|
231
|
+
.toolbarButton:hover,
|
232
|
+
.toolbarButton:focus,
|
233
|
+
.dropdownToolbarButton {
|
234
|
+
background-color: hsla(0, 0%, 0%, .12);
|
235
|
+
background-image: linear-gradient(hsla(0, 0%, 100%, .05), hsla(0, 0%, 100%, 0));
|
236
|
+
background-image: -webkit-linear-gradient(hsla(0, 0%, 100%, .05), hsla(0, 0%, 100%, 0));
|
237
|
+
background-image: -moz-linear-gradient(hsla(0, 0%, 100%, .05), hsla(0, 0%, 100%, 0));
|
238
|
+
background-image: -ms-linear-gradient(hsla(0, 0%, 100%, .05), hsla(0, 0%, 100%, 0));
|
239
|
+
background-image: -o-linear-gradient(hsla(0, 0%, 100%, .05), hsla(0, 0%, 100%, 0));
|
240
|
+
background-clip: padding-box;
|
241
|
+
border: 1px solid hsla(0, 0%, 0%, .35);
|
242
|
+
border-color: hsla(0, 0%, 0%, .32) hsla(0, 0%, 0%, .38) hsla(0, 0%, 0%, .42);
|
243
|
+
box-shadow: 0 1px 0 hsla(0, 0%, 100%, .05) inset, 0 0 1px hsla(0, 0%, 100%, .15) inset, 0 1px 0 hsla(0, 0%, 100%, .05);
|
244
|
+
}
|
245
|
+
|
246
|
+
.toolbarButton:hover:active,
|
247
|
+
.dropdownToolbarButton:hover:active {
|
248
|
+
background-color: hsla(0, 0%, 0%, .2);
|
249
|
+
background-image: linear-gradient(hsla(0, 0%, 100%, .05), hsla(0, 0%, 100%, 0));
|
250
|
+
background-image: -webkit-linear-gradient(hsla(0, 0%, 100%, .05), hsla(0, 0%, 100%, 0));
|
251
|
+
background-image: -moz-linear-gradient(hsla(0, 0%, 100%, .05), hsla(0, 0%, 100%, 0));
|
252
|
+
background-image: -ms-linear-gradient(hsla(0, 0%, 100%, .05), hsla(0, 0%, 100%, 0));
|
253
|
+
background-image: -o-linear-gradient(hsla(0, 0%, 100%, .05), hsla(0, 0%, 100%, 0));
|
254
|
+
border-color: hsla(0, 0%, 0%, .35) hsla(0, 0%, 0%, .4) hsla(0, 0%, 0%, .45);
|
255
|
+
box-shadow: 0 1px 1px hsla(0, 0%, 0%, .1) inset, 0 0 1px hsla(0, 0%, 0%, .2) inset, 0 1px 0 hsla(0, 0%, 100%, .05);
|
256
|
+
}
|
257
|
+
|
258
|
+
.splitToolbarButton:hover > .toolbarButton,
|
259
|
+
.splitToolbarButton:focus > .toolbarButton,
|
260
|
+
.splitToolbarButton.toggled > .toolbarButton,
|
261
|
+
.toolbarButton.textButton {
|
262
|
+
background-color: hsla(0, 0%, 0%, .12);
|
263
|
+
background-image: -webkit-linear-gradient(hsla(0, 0%, 100%, .05), hsla(0, 0%, 100%, 0));
|
264
|
+
background-image: -moz-linear-gradient(hsla(0, 0%, 100%, .05), hsla(0, 0%, 100%, 0));
|
265
|
+
background-image: -ms-linear-gradient(hsla(0, 0%, 100%, .05), hsla(0, 0%, 100%, 0));
|
266
|
+
background-image: -o-linear-gradient(hsla(0, 0%, 100%, .05), hsla(0, 0%, 100%, 0));
|
267
|
+
background-image: linear-gradient(hsla(0, 0%, 100%, .05), hsla(0, 0%, 100%, 0));
|
268
|
+
background-clip: padding-box;
|
269
|
+
border: 1px solid hsla(0, 0%, 0%, .35);
|
270
|
+
border-color: hsla(0, 0%, 0%, .32) hsla(0, 0%, 0%, .38) hsla(0, 0%, 0%, .42);
|
271
|
+
box-shadow: 0 1px 0 hsla(0, 0%, 100%, .05) inset, 0 0 1px hsla(0, 0%, 100%, .15) inset, 0 1px 0 hsla(0, 0%, 100%, .05);
|
272
|
+
-webkit-transition-property: background-color, border-color, box-shadow;
|
273
|
+
-webkit-transition-duration: 150ms;
|
274
|
+
-webkit-transition-timing-function: ease;
|
275
|
+
-moz-transition-property: background-color, border-color, box-shadow;
|
276
|
+
-moz-transition-duration: 150ms;
|
277
|
+
-moz-transition-timing-function: ease;
|
278
|
+
-ms-transition-property: background-color, border-color, box-shadow;
|
279
|
+
-ms-transition-duration: 150ms;
|
280
|
+
-ms-transition-timing-function: ease;
|
281
|
+
-o-transition-property: background-color, border-color, box-shadow;
|
282
|
+
-o-transition-duration: 150ms;
|
283
|
+
-o-transition-timing-function: ease;
|
284
|
+
transition-property: background-color, border-color, box-shadow;
|
285
|
+
transition-duration: 150ms;
|
286
|
+
transition-timing-function: ease;
|
287
|
+
|
288
|
+
}
|
289
|
+
|
290
|
+
.splitToolbarButton > .toolbarButton:hover,
|
291
|
+
.splitToolbarButton > .toolbarButton:focus,
|
292
|
+
.dropdownToolbarButton:hover,
|
293
|
+
.toolbarButton.textButton:hover,
|
294
|
+
.toolbarButton.textButton:focus {
|
295
|
+
background-color: hsla(0, 0%, 0%, .2);
|
296
|
+
box-shadow: 0 1px 0 hsla(0, 0%, 100%, .05) inset, 0 0 1px hsla(0, 0%, 100%, .15) inset, 0 0 1px hsla(0, 0%, 0%, .05);
|
297
|
+
z-index: 199;
|
298
|
+
}
|
299
|
+
|
300
|
+
.splitToolbarButton:hover > .toolbarButton,
|
301
|
+
.splitToolbarButton:focus > .toolbarButton,
|
302
|
+
.splitToolbarButton.toggled > .toolbarButton,
|
303
|
+
.toolbarButton.textButton {
|
304
|
+
background-color: hsla(0, 0%, 0%, .12);
|
305
|
+
background-image: -webkit-linear-gradient(hsla(0, 0%, 100%, .05), hsla(0, 0%, 100%, 0));
|
306
|
+
background-image: -moz-linear-gradient(hsla(0, 0%, 100%, .05), hsla(0, 0%, 100%, 0));
|
307
|
+
background-image: -ms-linear-gradient(hsla(0, 0%, 100%, .05), hsla(0, 0%, 100%, 0));
|
308
|
+
background-image: -o-linear-gradient(hsla(0, 0%, 100%, .05), hsla(0, 0%, 100%, 0));
|
309
|
+
background-image: linear-gradient(hsla(0, 0%, 100%, .05), hsla(0, 0%, 100%, 0));
|
310
|
+
background-clip: padding-box;
|
311
|
+
border: 1px solid hsla(0, 0%, 0%, .35);
|
312
|
+
border-color: hsla(0, 0%, 0%, .32) hsla(0, 0%, 0%, .38) hsla(0, 0%, 0%, .42);
|
313
|
+
box-shadow: 0 1px 0 hsla(0, 0%, 100%, .05) inset, 0 0 1px hsla(0, 0%, 100%, .15) inset, 0 1px 0 hsla(0, 0%, 100%, .05);
|
314
|
+
-webkit-transition-property: background-color, border-color, box-shadow;
|
315
|
+
-webkit-transition-duration: 150ms;
|
316
|
+
-webkit-transition-timing-function: ease;
|
317
|
+
-moz-transition-property: background-color, border-color, box-shadow;
|
318
|
+
-moz-transition-duration: 150ms;
|
319
|
+
-moz-transition-timing-function: ease;
|
320
|
+
-ms-transition-property: background-color, border-color, box-shadow;
|
321
|
+
-ms-transition-duration: 150ms;
|
322
|
+
-ms-transition-timing-function: ease;
|
323
|
+
-o-transition-property: background-color, border-color, box-shadow;
|
324
|
+
-o-transition-duration: 150ms;
|
325
|
+
-o-transition-timing-function: ease;
|
326
|
+
transition-property: background-color, border-color, box-shadow;
|
327
|
+
transition-duration: 150ms;
|
328
|
+
transition-timing-function: ease;
|
329
|
+
|
330
|
+
}
|
331
|
+
|
332
|
+
.splitToolbarButton > .toolbarButton:hover,
|
333
|
+
.splitToolbarButton > .toolbarButton:focus,
|
334
|
+
.dropdownToolbarButton:hover,
|
335
|
+
.toolbarButton.textButton:hover,
|
336
|
+
.toolbarButton.textButton:focus {
|
337
|
+
background-color: hsla(0, 0%, 0%, .2);
|
338
|
+
box-shadow: 0 1px 0 hsla(0, 0%, 100%, .05) inset, 0 0 1px hsla(0, 0%, 100%, .15) inset, 0 0 1px hsla(0, 0%, 0%, .05);
|
339
|
+
z-index: 199;
|
340
|
+
}
|
341
|
+
|
342
|
+
.dropdownToolbarButton {
|
343
|
+
border: 1px solid #333 !important;
|
344
|
+
}
|
345
|
+
|
346
|
+
.toolbarButton,
|
347
|
+
.dropdownToolbarButton {
|
348
|
+
min-width: 16px;
|
349
|
+
padding: 2px 6px 2px;
|
350
|
+
border: 1px solid transparent;
|
351
|
+
border-radius: 2px;
|
352
|
+
color: hsl(0, 0%, 95%);
|
353
|
+
font-size: 12px;
|
354
|
+
line-height: 14px;
|
355
|
+
-webkit-user-select: none;
|
356
|
+
-moz-user-select: none;
|
357
|
+
-ms-user-select: none;
|
358
|
+
/* Opera does not support user-select, use <... unselectable="on"> instead */
|
359
|
+
cursor: default;
|
360
|
+
-webkit-transition-property: background-color, border-color, box-shadow;
|
361
|
+
-webkit-transition-duration: 150ms;
|
362
|
+
-webkit-transition-timing-function: ease;
|
363
|
+
-moz-transition-property: background-color, border-color, box-shadow;
|
364
|
+
-moz-transition-duration: 150ms;
|
365
|
+
-moz-transition-timing-function: ease;
|
366
|
+
-ms-transition-property: background-color, border-color, box-shadow;
|
367
|
+
-ms-transition-duration: 150ms;
|
368
|
+
-ms-transition-timing-function: ease;
|
369
|
+
-o-transition-property: background-color, border-color, box-shadow;
|
370
|
+
-o-transition-duration: 150ms;
|
371
|
+
-o-transition-timing-function: ease;
|
372
|
+
transition-property: background-color, border-color, box-shadow;
|
373
|
+
transition-duration: 150ms;
|
374
|
+
transition-timing-function: ease;
|
375
|
+
}
|
376
|
+
|
377
|
+
html[dir='ltr'] .toolbarButton,
|
378
|
+
html[dir='ltr'] .dropdownToolbarButton {
|
379
|
+
margin: 3px 2px 4px 0;
|
380
|
+
}
|
381
|
+
|
382
|
+
html[dir='rtl'] .toolbarButton,
|
383
|
+
html[dir='rtl'] .dropdownToolbarButton {
|
384
|
+
margin: 3px 0 4px 2px;
|
385
|
+
}
|
386
|
+
|
387
|
+
.splitToolbarButton:hover > .splitToolbarButtonSeparator,
|
388
|
+
.splitToolbarButton.toggled > .splitToolbarButtonSeparator {
|
389
|
+
padding: 12px 0;
|
390
|
+
margin: 0;
|
391
|
+
box-shadow: 0 0 0 1px hsla(0, 0%, 100%, .03);
|
392
|
+
-webkit-transition-property: padding;
|
393
|
+
-webkit-transition-duration: 10ms;
|
394
|
+
-webkit-transition-timing-function: ease;
|
395
|
+
-moz-transition-property: padding;
|
396
|
+
-moz-transition-duration: 10ms;
|
397
|
+
-moz-transition-timing-function: ease;
|
398
|
+
-ms-transition-property: padding;
|
399
|
+
-ms-transition-duration: 10ms;
|
400
|
+
-ms-transition-timing-function: ease;
|
401
|
+
-o-transition-property: padding;
|
402
|
+
-o-transition-duration: 10ms;
|
403
|
+
-o-transition-timing-function: ease;
|
404
|
+
transition-property: padding;
|
405
|
+
transition-duration: 10ms;
|
406
|
+
transition-timing-function: ease;
|
407
|
+
}
|
408
|
+
|
409
|
+
.toolbarButton.toggled:hover:active,
|
410
|
+
.splitToolbarButton > .toolbarButton:hover:active {
|
411
|
+
background-color: hsla(0, 0%, 0%, .4);
|
412
|
+
border-color: hsla(0, 0%, 0%, .4) hsla(0, 0%, 0%, .5) hsla(0, 0%, 0%, .55);
|
413
|
+
box-shadow: 0 1px 1px hsla(0, 0%, 0%, .2) inset, 0 0 1px hsla(0, 0%, 0%, .3) inset, 0 1px 0 hsla(0, 0%, 100%, .05);
|
414
|
+
}
|
415
|
+
|
416
|
+
html[dir='ltr'] .splitToolbarButton > .toolbarButton:first-child,
|
417
|
+
html[dir='rtl'] .splitToolbarButton > .toolbarButton:last-child {
|
418
|
+
position: relative;
|
419
|
+
margin: 0;
|
420
|
+
margin-left: 4px;
|
421
|
+
margin-right: -1px;
|
422
|
+
border-top-left-radius: 2px;
|
423
|
+
border-bottom-left-radius: 2px;
|
424
|
+
border-right-color: transparent;
|
425
|
+
}
|
426
|
+
|
427
|
+
html[dir='ltr'] .splitToolbarButton > .toolbarButton:last-child,
|
428
|
+
html[dir='rtl'] .splitToolbarButton > .toolbarButton:first-child {
|
429
|
+
position: relative;
|
430
|
+
margin: 0;
|
431
|
+
margin-left: -1px;
|
432
|
+
border-top-right-radius: 2px;
|
433
|
+
border-bottom-right-radius: 2px;
|
434
|
+
border-left-color: transparent;
|
435
|
+
}
|
436
|
+
|
437
|
+
.splitToolbarButtonSeparator {
|
438
|
+
padding: 8px 0;
|
439
|
+
width: 1px;
|
440
|
+
background-color: hsla(0, 0%, 00%, .5);
|
441
|
+
z-index: 99;
|
442
|
+
box-shadow: 0 0 0 1px hsla(0, 0%, 100%, .08);
|
443
|
+
display: inline-block;
|
444
|
+
margin: 5px 0;
|
445
|
+
}
|
446
|
+
|
447
|
+
html[dir='ltr'] .splitToolbarButtonSeparator {
|
448
|
+
float: left;
|
449
|
+
}
|
450
|
+
|
451
|
+
html[dir='rtl'] .splitToolbarButtonSeparator {
|
452
|
+
float: right;
|
453
|
+
}
|
454
|
+
|
455
|
+
.dropdownToolbarButton {
|
456
|
+
min-width: 120px;
|
457
|
+
max-width: 120px;
|
458
|
+
padding: 4px 2px 4px;
|
459
|
+
overflow: hidden;
|
460
|
+
background: asset_url('toolbarButton-menuArrows.png') no-repeat;
|
461
|
+
}
|
462
|
+
|
463
|
+
.dropdownToolbarButton > select {
|
464
|
+
-webkit-appearance: none;
|
465
|
+
-moz-appearance: none; /* in the future this might matter, see bugzilla bug #649849 */
|
466
|
+
min-width: 140px;
|
467
|
+
font-size: 12px;
|
468
|
+
color: hsl(0, 0%, 95%);
|
469
|
+
margin: 0;
|
470
|
+
padding: 0;
|
471
|
+
border: none;
|
472
|
+
background: rgba(0, 0, 0, 0); /* Opera does not support 'transparent' <select> background */
|
473
|
+
}
|
474
|
+
|
475
|
+
.dropdownToolbarButton > select > option {
|
476
|
+
background: hsl(0, 0%, 24%);
|
477
|
+
}
|
478
|
+
|
479
|
+
#pageWidthOption {
|
480
|
+
border-bottom: 1px rgba(255, 255, 255, .5) solid;
|
481
|
+
}
|
482
|
+
|
483
|
+
html[dir='ltr'] .dropdownToolbarButton {
|
484
|
+
background-position: 95%;
|
485
|
+
}
|
486
|
+
|
487
|
+
html[dir='rtl'] .dropdownToolbarButton {
|
488
|
+
background-position: 5%;
|
489
|
+
}
|
490
|
+
|
491
|
+
.toolbarButton.fullscreen::before {
|
492
|
+
display: inline-block;
|
493
|
+
content: asset_url('toolbarButton-fullscreen.png');
|
494
|
+
}
|
495
|
+
|
496
|
+
.toolbarButton.presentation::before {
|
497
|
+
display: inline-block;
|
498
|
+
content: asset_url('toolbarButton-presentation.png');
|
499
|
+
}
|
500
|
+
|
501
|
+
.toolbarButton.download::before {
|
502
|
+
display: inline-block;
|
503
|
+
content: asset_url('toolbarButton-download.png');
|
504
|
+
}
|
505
|
+
|
506
|
+
.toolbarButton.about {
|
507
|
+
color: #F2F2F2;
|
508
|
+
font-size: 14px;
|
509
|
+
font-weight: bold;
|
510
|
+
line-height: 14px;
|
511
|
+
font-family: sans-serif;
|
512
|
+
}
|
513
|
+
|
514
|
+
.toolbarButton.about::before {
|
515
|
+
display: inline-block;
|
516
|
+
}
|
517
|
+
|
518
|
+
.toolbarButton.zoomOut::before {
|
519
|
+
display: inline-block;
|
520
|
+
content: asset_url('toolbarButton-zoomOut.png');
|
521
|
+
}
|
522
|
+
|
523
|
+
.toolbarButton.zoomIn::before {
|
524
|
+
display: inline-block;
|
525
|
+
content: asset_url('toolbarButton-zoomIn.png');
|
526
|
+
}
|
527
|
+
|
528
|
+
.toolbarButton.pageUp::before {
|
529
|
+
display: inline-block;
|
530
|
+
content: asset_url('toolbarButton-pageUp.png');
|
531
|
+
}
|
532
|
+
|
533
|
+
.toolbarButton.pageDown::before {
|
534
|
+
display: inline-block;
|
535
|
+
content: asset_url('toolbarButton-pageDown.png');
|
536
|
+
}
|
537
|
+
|
538
|
+
.toolbarField.pageNumber {
|
539
|
+
min-width: 16px;
|
540
|
+
text-align: right;
|
541
|
+
width: 40px;
|
542
|
+
}
|
543
|
+
|
544
|
+
.toolbarField {
|
545
|
+
padding: 3px 6px;
|
546
|
+
margin: 4px 0 4px 0;
|
547
|
+
border: 1px solid transparent;
|
548
|
+
border-radius: 2px;
|
549
|
+
background-color: hsla(0, 0%, 100%, .09);
|
550
|
+
background-image: -moz-linear-gradient(hsla(0, 0%, 100%, .05), hsla(0, 0%, 100%, 0));
|
551
|
+
background-clip: padding-box;
|
552
|
+
border: 1px solid hsla(0, 0%, 0%, .35);
|
553
|
+
border-color: hsla(0, 0%, 0%, .32) hsla(0, 0%, 0%, .38) hsla(0, 0%, 0%, .42);
|
554
|
+
box-shadow: 0 1px 0 hsla(0, 0%, 0%, .05) inset, 0 1px 0 hsla(0, 0%, 100%, .05);
|
555
|
+
color: hsl(0, 0%, 95%);
|
556
|
+
font-size: 12px;
|
557
|
+
line-height: 14px;
|
558
|
+
outline-style: none;
|
559
|
+
-moz-transition-property: background-color, border-color, box-shadow;
|
560
|
+
-moz-transition-duration: 150ms;
|
561
|
+
-moz-transition-timing-function: ease;
|
562
|
+
}
|
563
|
+
|
564
|
+
.toolbarField.pageNumber::-webkit-inner-spin-button,
|
565
|
+
.toolbarField.pageNumber::-webkit-outer-spin-button {
|
566
|
+
-webkit-appearance: none;
|
567
|
+
margin: 0;
|
568
|
+
}
|
569
|
+
|
570
|
+
.toolbarField:hover {
|
571
|
+
background-color: hsla(0, 0%, 100%, .11);
|
572
|
+
border-color: hsla(0, 0%, 0%, .4) hsla(0, 0%, 0%, .43) hsla(0, 0%, 0%, .45);
|
573
|
+
}
|
574
|
+
|
575
|
+
.toolbarField:focus {
|
576
|
+
background-color: hsla(0, 0%, 100%, .15);
|
577
|
+
border-color: hsla(204, 100%, 65%, .8) hsla(204, 100%, 65%, .85) hsla(204, 100%, 65%, .9);
|
578
|
+
}
|
579
|
+
|
580
|
+
.toolbarLabel {
|
581
|
+
min-width: 16px;
|
582
|
+
padding: 3px 6px 3px 2px;
|
583
|
+
margin: 4px 2px 4px 0;
|
584
|
+
border: 1px solid transparent;
|
585
|
+
border-radius: 2px;
|
586
|
+
color: hsl(0, 0%, 85%);
|
587
|
+
font-size: 12px;
|
588
|
+
line-height: 14px;
|
589
|
+
text-align: left;
|
590
|
+
-webkit-user-select: none;
|
591
|
+
-moz-user-select: none;
|
592
|
+
cursor: default;
|
593
|
+
}
|
594
|
+
|
595
|
+
#canvasContainer {
|
596
|
+
overflow: auto;
|
597
|
+
|
598
|
+
padding-top: 6px;
|
599
|
+
padding-bottom: 6px;
|
600
|
+
position: absolute;
|
601
|
+
top: 32px;
|
602
|
+
right: 0;
|
603
|
+
bottom: 32px;
|
604
|
+
left: 0;
|
605
|
+
|
606
|
+
text-align: center;
|
607
|
+
|
608
|
+
background-color: #888;
|
609
|
+
background-image: asset_url('texture.png');
|
610
|
+
}
|
611
|
+
|
612
|
+
#canvasContainer.slideshow {
|
613
|
+
padding: 0;
|
614
|
+
overflow: hidden;
|
615
|
+
}
|
616
|
+
|
617
|
+
#canvasContainer.slideshow > * {
|
618
|
+
margin: auto;
|
619
|
+
position: absolute;
|
620
|
+
top: 0;
|
621
|
+
left: 0;
|
622
|
+
right: 0;
|
623
|
+
bottom: 0;
|
624
|
+
}
|
625
|
+
|
626
|
+
.presentationMode {
|
627
|
+
top: 0 !important;
|
628
|
+
bottom: 0 !important;
|
629
|
+
background-color: black !important;
|
630
|
+
cursor: default !important;
|
631
|
+
}
|
632
|
+
|
633
|
+
#canvas {
|
634
|
+
box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.75);
|
635
|
+
-webkit-box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.75);
|
636
|
+
-moz-box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.75);
|
637
|
+
-ms-box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.75);
|
638
|
+
-o-box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.75);
|
639
|
+
|
640
|
+
/*
|
641
|
+
* Hide the canvas overflow because otherwise the CSS-scaled 'sizer' child
|
642
|
+
* of the canvas will still advertise the original size in Firefox, causing
|
643
|
+
* strange scrollbar behavior.
|
644
|
+
*/
|
645
|
+
overflow: hidden;
|
646
|
+
}
|
647
|
+
|
648
|
+
#sliderContainer {
|
649
|
+
visibility: hidden;
|
650
|
+
}
|
651
|
+
|
652
|
+
#overlayNavigator {
|
653
|
+
position: absolute;
|
654
|
+
width: 100%;
|
655
|
+
height: 0;
|
656
|
+
top: calc(50% - 50px);
|
657
|
+
background-color: rgba(0, 0, 0, 0);
|
658
|
+
z-index: 3;
|
659
|
+
opacity: 0;
|
660
|
+
-webkit-transition: opacity 1s ease-out;
|
661
|
+
-moz-transition: opacity 1s ease-out;
|
662
|
+
transition: opacity 1s ease-out;
|
663
|
+
}
|
664
|
+
|
665
|
+
#previousPage {
|
666
|
+
float: left;
|
667
|
+
margin-left: 10px;
|
668
|
+
|
669
|
+
/* CSS triangle */
|
670
|
+
border-top: 50px solid transparent;
|
671
|
+
border-bottom: 50px solid transparent;
|
672
|
+
border-right: 50px solid black;
|
673
|
+
|
674
|
+
opacity: 0.5;
|
675
|
+
}
|
676
|
+
|
677
|
+
#nextPage {
|
678
|
+
float: right;
|
679
|
+
margin-right: 10px;
|
680
|
+
|
681
|
+
/* CSS triangle */
|
682
|
+
border-top: 50px solid transparent;
|
683
|
+
border-bottom: 50px solid transparent;
|
684
|
+
border-left: 50px solid black;
|
685
|
+
|
686
|
+
opacity: 0.5;
|
687
|
+
}
|
688
|
+
|
689
|
+
#previousPage:active {
|
690
|
+
opacity: 0.8;
|
691
|
+
}
|
692
|
+
|
693
|
+
#nextPage:active {
|
694
|
+
opacity: 0.8;
|
695
|
+
}
|
696
|
+
|
697
|
+
#overlayCloseButton {
|
698
|
+
position: absolute;
|
699
|
+
top: 10px;
|
700
|
+
right: 10px;
|
701
|
+
z-index: 3;
|
702
|
+
font-size: 35px;
|
703
|
+
color: white;
|
704
|
+
background-color: black;
|
705
|
+
opacity: 0.5;
|
706
|
+
|
707
|
+
width: 40px;
|
708
|
+
height: 40px;
|
709
|
+
-webkit-border-radius: 20px;
|
710
|
+
-moz-border-radius: 20px;
|
711
|
+
border-radius: 20px;
|
712
|
+
text-align: center;
|
713
|
+
cursor: pointer;
|
714
|
+
display: none;
|
715
|
+
}
|
716
|
+
|
717
|
+
#overlayCloseButton:active {
|
718
|
+
background-color: red;
|
719
|
+
}
|
720
|
+
|
721
|
+
#aboutDialogCentererTable {
|
722
|
+
display: table;
|
723
|
+
width: 100%;
|
724
|
+
height: 100%;
|
725
|
+
}
|
726
|
+
|
727
|
+
#aboutDialogCentererCell {
|
728
|
+
vertical-align: middle;
|
729
|
+
text-align: center;
|
730
|
+
display: table-cell;
|
731
|
+
}
|
732
|
+
|
733
|
+
#aboutDialog {
|
734
|
+
width: 280px;
|
735
|
+
background-color: #666;
|
736
|
+
color: white;
|
737
|
+
text-align: center;
|
738
|
+
border-radius: 2px;
|
739
|
+
box-shadow: 0px 1px 6px black;
|
740
|
+
padding: 5px;
|
741
|
+
font-style: sans-serif;
|
742
|
+
display: inline-block;
|
743
|
+
}
|
744
|
+
|
745
|
+
#aboutDialog h1 {
|
746
|
+
font-size: 25pt;
|
747
|
+
}
|
748
|
+
|
749
|
+
#aboutDialog p {
|
750
|
+
font-size: 10pt;
|
751
|
+
}
|
752
|
+
|
753
|
+
#aboutDialog > * {
|
754
|
+
margin: 10px;
|
755
|
+
}
|
756
|
+
|
757
|
+
#dialogOverlay {
|
758
|
+
position: absolute;
|
759
|
+
left: 0px;
|
760
|
+
top: 0px;
|
761
|
+
width: 100%;
|
762
|
+
height: 100%;
|
763
|
+
z-index: 3;
|
764
|
+
background-color: rgba(0, 0, 0, .5);
|
765
|
+
overflow: auto;
|
766
|
+
display: none;
|
767
|
+
}
|
768
|
+
|
769
|
+
@media only screen and (max-device-width: 800px) and (max-device-height: 800px) {
|
770
|
+
#canvasContainer {
|
771
|
+
top: 0;
|
772
|
+
bottom: 0;
|
773
|
+
}
|
774
|
+
|
775
|
+
#overlayNavigator {
|
776
|
+
height: 100px;
|
777
|
+
pointer-events: none;
|
778
|
+
}
|
779
|
+
|
780
|
+
#nextPage, #previousPage {
|
781
|
+
pointer-events: all;
|
782
|
+
}
|
783
|
+
|
784
|
+
#titlebar, #toolbarContainer {
|
785
|
+
background-color: rgba(0, 0, 0, 0.6);
|
786
|
+
background-image: none;
|
787
|
+
-webkit-transition: all 0.5s;
|
788
|
+
-moz-transition: all 0.5s;
|
789
|
+
transition: all 0.5s;
|
790
|
+
}
|
791
|
+
|
792
|
+
#titlebar {
|
793
|
+
top: -32px;
|
794
|
+
}
|
795
|
+
|
796
|
+
#titlebar.viewer-touched {
|
797
|
+
top: 0px;
|
798
|
+
}
|
799
|
+
|
800
|
+
#toolbarContainer {
|
801
|
+
bottom: -32px;
|
802
|
+
}
|
803
|
+
|
804
|
+
#toolbarContainer.viewer-touched {
|
805
|
+
bottom: 0px;
|
806
|
+
}
|
807
|
+
|
808
|
+
.viewer-touched {
|
809
|
+
display: block;
|
810
|
+
opacity: 1 !important;
|
811
|
+
}
|
812
|
+
|
813
|
+
#next, #previous {
|
814
|
+
display: none;
|
815
|
+
}
|
816
|
+
}
|