From: Michael Ang Date: Thu, 13 May 2010 00:48:36 +0000 (+0000) Subject: Move touch specific CSS and images to touch directory X-Git-Url: http://git.rot13.org/?p=bookreader.git;a=commitdiff_plain;h=3a7effb528b3f365284d4c44a74c91a48c0f1e7e;ds=sidebyside Move touch specific CSS and images to touch directory --- diff --git a/BookReader/BookReaderTouch.css b/BookReader/BookReaderTouch.css deleted file mode 100644 index 9e73ed5..0000000 --- a/BookReader/BookReaderTouch.css +++ /dev/null @@ -1,57 +0,0 @@ -/* - * 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; } diff --git a/BookReader/images/touch/book_bottom_icon.png b/BookReader/images/touch/book_bottom_icon.png deleted file mode 100644 index 1f977c7..0000000 Binary files a/BookReader/images/touch/book_bottom_icon.png and /dev/null differ diff --git a/BookReader/images/touch/book_down_icon.png b/BookReader/images/touch/book_down_icon.png deleted file mode 100644 index 5d4a878..0000000 Binary files a/BookReader/images/touch/book_down_icon.png and /dev/null differ diff --git a/BookReader/images/touch/book_left_icon.png b/BookReader/images/touch/book_left_icon.png deleted file mode 100644 index 64e7e76..0000000 Binary files a/BookReader/images/touch/book_left_icon.png and /dev/null differ diff --git a/BookReader/images/touch/book_leftmost_icon.png b/BookReader/images/touch/book_leftmost_icon.png deleted file mode 100644 index af9b3b1..0000000 Binary files a/BookReader/images/touch/book_leftmost_icon.png and /dev/null differ diff --git a/BookReader/images/touch/book_right_icon.png b/BookReader/images/touch/book_right_icon.png deleted file mode 100644 index d8a0c41..0000000 Binary files a/BookReader/images/touch/book_right_icon.png and /dev/null differ diff --git a/BookReader/images/touch/book_rightmost_icon.png b/BookReader/images/touch/book_rightmost_icon.png deleted file mode 100644 index d1b7553..0000000 Binary files a/BookReader/images/touch/book_rightmost_icon.png and /dev/null differ diff --git a/BookReader/images/touch/book_top_icon.png b/BookReader/images/touch/book_top_icon.png deleted file mode 100644 index 12cd6c9..0000000 Binary files a/BookReader/images/touch/book_top_icon.png and /dev/null differ diff --git a/BookReader/images/touch/book_up_icon.png b/BookReader/images/touch/book_up_icon.png deleted file mode 100644 index ad4bd5c..0000000 Binary files a/BookReader/images/touch/book_up_icon.png and /dev/null differ diff --git a/BookReader/images/touch/control_pause_icon.png b/BookReader/images/touch/control_pause_icon.png deleted file mode 100644 index e01e526..0000000 Binary files a/BookReader/images/touch/control_pause_icon.png and /dev/null differ diff --git a/BookReader/images/touch/control_play_icon.png b/BookReader/images/touch/control_play_icon.png deleted file mode 100644 index 54d9a1f..0000000 Binary files a/BookReader/images/touch/control_play_icon.png and /dev/null differ diff --git a/BookReader/images/touch/embed_icon.png b/BookReader/images/touch/embed_icon.png deleted file mode 100644 index fe28d54..0000000 Binary files a/BookReader/images/touch/embed_icon.png and /dev/null differ diff --git a/BookReader/images/touch/logo_icon.png b/BookReader/images/touch/logo_icon.png deleted file mode 100644 index 908d3c3..0000000 Binary files a/BookReader/images/touch/logo_icon.png and /dev/null differ diff --git a/BookReader/images/touch/one_page_mode_icon.png b/BookReader/images/touch/one_page_mode_icon.png deleted file mode 100644 index 3b5c191..0000000 Binary files a/BookReader/images/touch/one_page_mode_icon.png and /dev/null differ diff --git a/BookReader/images/touch/print_icon.png b/BookReader/images/touch/print_icon.png deleted file mode 100644 index fde2f1d..0000000 Binary files a/BookReader/images/touch/print_icon.png and /dev/null differ diff --git a/BookReader/images/touch/thumbnail_mode_icon.png b/BookReader/images/touch/thumbnail_mode_icon.png deleted file mode 100644 index 2226e6e..0000000 Binary files a/BookReader/images/touch/thumbnail_mode_icon.png and /dev/null differ diff --git a/BookReader/images/touch/two_page_mode_icon.png b/BookReader/images/touch/two_page_mode_icon.png deleted file mode 100644 index 33efafc..0000000 Binary files a/BookReader/images/touch/two_page_mode_icon.png and /dev/null differ diff --git a/BookReader/images/touch/zoom_in_icon.png b/BookReader/images/touch/zoom_in_icon.png deleted file mode 100644 index 976bd4a..0000000 Binary files a/BookReader/images/touch/zoom_in_icon.png and /dev/null differ diff --git a/BookReader/images/touch/zoom_out_icon.png b/BookReader/images/touch/zoom_out_icon.png deleted file mode 100644 index f090257..0000000 Binary files a/BookReader/images/touch/zoom_out_icon.png and /dev/null differ diff --git a/BookReader/touch/BookReaderTouch.css b/BookReader/touch/BookReaderTouch.css new file mode 100644 index 0000000..fb1e9a9 --- /dev/null +++ b/BookReader/touch/BookReaderTouch.css @@ -0,0 +1,57 @@ +/* + * 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/logo_icon.png) no-repeat; } +.BRicon.zoom_out { background: url(images/zoom_out_icon.png) no-repeat; } +.BRicon.zoom_in { background: url(images/zoom_in_icon.png) no-repeat; } +.BRicon.one_page_mode { background: url(images/one_page_mode_icon.png) no-repeat; } +.BRicon.two_page_mode { background: url(images/two_page_mode_icon.png) no-repeat; } +.BRicon.thumbnail_mode { background: url(images/thumbnail_mode_icon.png) no-repeat; } +.BRicon.touch { background: url(images/touch_icon.png) no-repeat; } +.BRicon.print { background: url(images/print_icon.png) no-repeat; } +.BRicon.book_left { background: url(images/book_left_icon.png) no-repeat; } +.BRicon.book_right { background: url(images/book_right_icon.png) no-repeat; } +.BRicon.book_up { background: url(images/book_up_icon.png) no-repeat; } +.BRicon.book_down { background: url(images/book_down_icon.png) no-repeat; } +.BRicon.book_leftmost { background: url(images/book_leftmost_icon.png) no-repeat; } +.BRicon.book_rightmost { background: url(images/book_rightmost_icon.png) no-repeat; } +.BRicon.book_top { background: url(images/book_top_icon.png) no-repeat; } +.BRicon.book_bottom { background: url(images/book_bottom_icon.png) no-repeat; } +.BRicon.play { background: url(images/control_play_icon.png) no-repeat; } +.BRicon.pause { background: url(images/control_pause_icon.png) no-repeat; } + +.BRicon.rollover:hover { background-position: -26px 0; } diff --git a/BookReader/touch/images/book_bottom_icon.png b/BookReader/touch/images/book_bottom_icon.png new file mode 100644 index 0000000..1f977c7 Binary files /dev/null and b/BookReader/touch/images/book_bottom_icon.png differ diff --git a/BookReader/touch/images/book_down_icon.png b/BookReader/touch/images/book_down_icon.png new file mode 100644 index 0000000..5d4a878 Binary files /dev/null and b/BookReader/touch/images/book_down_icon.png differ diff --git a/BookReader/touch/images/book_left_icon.png b/BookReader/touch/images/book_left_icon.png new file mode 100644 index 0000000..64e7e76 Binary files /dev/null and b/BookReader/touch/images/book_left_icon.png differ diff --git a/BookReader/touch/images/book_leftmost_icon.png b/BookReader/touch/images/book_leftmost_icon.png new file mode 100644 index 0000000..af9b3b1 Binary files /dev/null and b/BookReader/touch/images/book_leftmost_icon.png differ diff --git a/BookReader/touch/images/book_right_icon.png b/BookReader/touch/images/book_right_icon.png new file mode 100644 index 0000000..d8a0c41 Binary files /dev/null and b/BookReader/touch/images/book_right_icon.png differ diff --git a/BookReader/touch/images/book_rightmost_icon.png b/BookReader/touch/images/book_rightmost_icon.png new file mode 100644 index 0000000..d1b7553 Binary files /dev/null and b/BookReader/touch/images/book_rightmost_icon.png differ diff --git a/BookReader/touch/images/book_top_icon.png b/BookReader/touch/images/book_top_icon.png new file mode 100644 index 0000000..12cd6c9 Binary files /dev/null and b/BookReader/touch/images/book_top_icon.png differ diff --git a/BookReader/touch/images/book_up_icon.png b/BookReader/touch/images/book_up_icon.png new file mode 100644 index 0000000..ad4bd5c Binary files /dev/null and b/BookReader/touch/images/book_up_icon.png differ diff --git a/BookReader/touch/images/control_pause_icon.png b/BookReader/touch/images/control_pause_icon.png new file mode 100644 index 0000000..e01e526 Binary files /dev/null and b/BookReader/touch/images/control_pause_icon.png differ diff --git a/BookReader/touch/images/control_play_icon.png b/BookReader/touch/images/control_play_icon.png new file mode 100644 index 0000000..54d9a1f Binary files /dev/null and b/BookReader/touch/images/control_play_icon.png differ diff --git a/BookReader/touch/images/embed_icon.png b/BookReader/touch/images/embed_icon.png new file mode 100644 index 0000000..fe28d54 Binary files /dev/null and b/BookReader/touch/images/embed_icon.png differ diff --git a/BookReader/touch/images/logo_icon.png b/BookReader/touch/images/logo_icon.png new file mode 100644 index 0000000..908d3c3 Binary files /dev/null and b/BookReader/touch/images/logo_icon.png differ diff --git a/BookReader/touch/images/one_page_mode_icon.png b/BookReader/touch/images/one_page_mode_icon.png new file mode 100644 index 0000000..3b5c191 Binary files /dev/null and b/BookReader/touch/images/one_page_mode_icon.png differ diff --git a/BookReader/touch/images/print_icon.png b/BookReader/touch/images/print_icon.png new file mode 100644 index 0000000..fde2f1d Binary files /dev/null and b/BookReader/touch/images/print_icon.png differ diff --git a/BookReader/touch/images/thumbnail_mode_icon.png b/BookReader/touch/images/thumbnail_mode_icon.png new file mode 100644 index 0000000..2226e6e Binary files /dev/null and b/BookReader/touch/images/thumbnail_mode_icon.png differ diff --git a/BookReader/touch/images/two_page_mode_icon.png b/BookReader/touch/images/two_page_mode_icon.png new file mode 100644 index 0000000..33efafc Binary files /dev/null and b/BookReader/touch/images/two_page_mode_icon.png differ diff --git a/BookReader/touch/images/zoom_in_icon.png b/BookReader/touch/images/zoom_in_icon.png new file mode 100644 index 0000000..976bd4a Binary files /dev/null and b/BookReader/touch/images/zoom_in_icon.png differ diff --git a/BookReader/touch/images/zoom_out_icon.png b/BookReader/touch/images/zoom_out_icon.png new file mode 100644 index 0000000..f090257 Binary files /dev/null and b/BookReader/touch/images/zoom_out_icon.png differ diff --git a/BookReaderIA/inc/BookReader.inc b/BookReaderIA/inc/BookReader.inc index 6e4fb74..fa8921e 100644 --- a/BookReaderIA/inc/BookReader.inc +++ b/BookReaderIA/inc/BookReader.inc @@ -108,7 +108,7 @@ class BookReader - +