--- /dev/null
+/*
+ * Custom overrides for touch and small-screen devices.
+ */
+
+#BRtoolbar {
+ height: 43px; /* 1px for bottom border */
+}
+
+#BRcontainer {
+ top: 44px;
+}
+
+#BookReaderSearchResults {
+ top: 44px;
+}
+
+#BRtoolbar {
+ border-bottom: 1px solid grey;
+}
+
+/* $$$ Page display could be better */
+#BRtoolbar .pageform {
+ font-size: 1.1em;
+}
+
+/* Hide some navigation buttons */
+#BRtoolbar .play, .embed, .print {
+ display: none;
+}
+
+/* Larger icons for touch */
+.BRicon {
+ width: 26px;
+ height: 26px;
+ margin: 8px;
+}
+
+.BRicon.logo { background: url(images/touch/logo_icon.png) no-repeat; }
+.BRicon.zoom_out { background: url(images/touch/zoom_out_icon.png) no-repeat; }
+.BRicon.zoom_in { background: url(images/touch/zoom_in_icon.png) no-repeat; }
+.BRicon.one_page_mode { background: url(images/touch/one_page_mode_icon.png) no-repeat; }
+.BRicon.two_page_mode { background: url(images/touch/two_page_mode_icon.png) no-repeat; }
+.BRicon.thumbnail_mode { background: url(images/touch/thumbnail_mode_icon.png) no-repeat; }
+.BRicon.touch { background: url(images/touch/touch_icon.png) no-repeat; }
+.BRicon.print { background: url(images/touch/print_icon.png) no-repeat; }
+.BRicon.book_left { background: url(images/touch/book_left_icon.png) no-repeat; }
+.BRicon.book_right { background: url(images/touch/book_right_icon.png) no-repeat; }
+.BRicon.book_up { background: url(images/touch/book_up_icon.png) no-repeat; }
+.BRicon.book_down { background: url(images/touch/book_down_icon.png) no-repeat; }
+.BRicon.book_leftmost { background: url(images/touch/book_leftmost_icon.png) no-repeat; }
+.BRicon.book_rightmost { background: url(images/touch/book_rightmost_icon.png) no-repeat; }
+.BRicon.book_top { background: url(images/touch/book_top_icon.png) no-repeat; }
+.BRicon.book_bottom { background: url(images/touch/book_bottom_icon.png) no-repeat; }
+.BRicon.play { background: url(images/touch/control_play_icon.png) no-repeat; }
+.BRicon.pause { background: url(images/touch/control_pause_icon.png) no-repeat; }
+
+.BRicon.rollover:hover { background-position: -26px 0; }
{
// Set title to default if not set
if (!$title) {
- $title = 'Bookreader';
+ $title = 'BookReader';
}
$id = $identifier;
<link rel="stylesheet" type="text/css" href="/bookreader/BookReader.css?v=<? echo($version); ?>">
<? if ($uiMode == "embed") { ?>
<link rel="stylesheet" type="text/css" href="/bookreader/BookReaderEmbed.css?v=<? echo($version); ?>">
+<? } elseif ($uiMode == "touch") { ?>
+ <link rel="stylesheet" type="text/css" href="/bookreader/BookReaderTouch.css?v=<? echo($version); ?>">
<? } /* uiMode */ ?>
<script src="/includes/jquery-1.4.2.min.js" type="text/javascript"></script>
<script type="text/javascript" src="/bookreader/jquery-ui-1.8.1.custom.min.js"></script>