Skip to content
This repository has been archived by the owner on Sep 5, 2018. It is now read-only.

Commit

Permalink
added Datalogic’s new Bookvia
Browse files Browse the repository at this point in the history
  • Loading branch information
JayPanoz committed Dec 26, 2016
1 parent 89b2c22 commit f6442c0
Show file tree
Hide file tree
Showing 4 changed files with 155 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ReadingSystems/boookvia/night.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
body {
-webkit-filter: invert(1) hue-rotate(180deg);
-webkit-transform: translateZ(0);
background-color: white;
}

img, video {
-webkit-filter: invert(1) hue-rotate(180deg) contrast(60%) saturate(1.6);
-webkit-transform: translateZ(0);
}

33 changes: 33 additions & 0 deletions ReadingSystems/boookvia/reader.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
body {
padding: 0;
}

iframe {
background-color: white;
}

/* Reflowable layout */

#reflowable-content-frame {
overflow: hidden;
}

/* Fixed layout */

.fixed-page-frame-left {
left: 0;
width: 50%;
height: 100%;
}

.fixed-page-frame-right {
left: 50%;
width: 50%;
height: 100%;
}

.fixed-page-frame-center {
left: 0;
width: 100%;
height: 100%;
}
7 changes: 7 additions & 0 deletions ReadingSystems/boookvia/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Bookvia

Multiple references (and files related) to Mantano/Bookari can be found in the iOS package (besides Readium.shared.js).

It is very likely this app is built with the Bookari Reading System, especially as there is a lot of MNO-prefixed files and this reading system supports [Readium’s LCP](http://readium.org/projects/readium-lcp) (Sony DRM scheme is compatible with it).

CSS provided from Mantano’s folder in the app’s package.
104 changes: 104 additions & 0 deletions ReadingSystems/boookvia/sdk.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
html {
height: 100%;
margin: 0;
}

body {
height: 100%;
width: 100%;
margin: 0;
padding: 10px;
position: absolute;
overflow: hidden;
box-sizing:border-box;
-moz-box-sizing:border-box; /* Firefox */
-webkit-box-sizing:border-box; /* Safari */
}

iframe {
border-width: 0;
}

#viewport {
width: 100%;
height: 100%;
position: relative;

overflow: auto; /* pan-zoom feature, fixed layout pages */
}


/*Fixed layout */

#fixed-book-frame {
position: absolute !important;
}



.iframe-fixed {
width: 100%;
height: 100%;
}


/*Reflowable layout*/

#reflowable-book-frame {
position: absolute !important;
left:0;
top:0;
right: 0;
bottom: 0;
}

#reflowable-content-frame {
position: absolute !important;
opacity: 1;
visibility: visible;
}

.content-doc-frame {
position: relative !important;
}

/*Classes to use for styling the book*/

/*book*/
.book-frame {

}

.fixed-book-frame {

}

/*fixed layout frames only*/
.fixed-page-frame, .fixed-page-frame-left, .fixed-page-frame-right, .fixed-page-frame-center {
position: absolute !important;
}

.fixed-page-frame-left {

}

.fixed-page-frame-right {

}

.fixed-page-frame-center {

}

/*reflowable layout*/
.reflowable-book-frame {

}

.reflowable-content-frame {

}

.mo-active-default {

}

0 comments on commit f6442c0

Please sign in to comment.