Improved DJVU Reader

This commit is contained in:
Ozzie Isaacs
2021-10-03 09:32:29 +02:00
parent 43fdef5e53
commit 52be2ad4a2
3 changed files with 40 additions and 35 deletions
+4 -4
View File
@@ -35,7 +35,7 @@ body {
float: left;
width: 40px;
height: 40px;
background-image: url("img/toolbar-buttons.png");
background-image: url("../../js/libs/djvu_html5/img/toolbar-buttons.png");
background-repeat: no-repeat;
background-size: 500% 300%;
}
@@ -185,10 +185,10 @@ _:-ms-lang(x), .textLayer {
width: 128px;
height: 128px;
margin: -72px 0 0 -64px;
background-image: url("img/status.png");
background-image: url("../../js/libs/djvu_html5/img/status.png");
background-repeat: no-repeat;
}
.blankImage {
background-image: url("img/blank.jpg");
}
background-image: url("../../js/libs/djvu_html5/img/blank.jpg");
}
+21
View File
@@ -0,0 +1,21 @@
/* This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)
* Copyright (C) 2021 Ozzieisaacs
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
var DJVU_CONTEXT = {
background: "#666",
uiHideDelay: 1500,
};