X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=BookReader%2FBookReader.css;h=4774b81fc890c09c351c1dd3122d7ace46900311;hb=32dcce1c6c33c22670b8c651356595c6a8c2a0ad;hp=c81dac948ce780ea841c532908a47d3613105d5c;hpb=dfb5a3ab7ef6be1a92ecbfd65935534980e6ff7d;p=bookreader.git diff --git a/BookReader/BookReader.css b/BookReader/BookReader.css index c81dac9..4774b81 100644 --- a/BookReader/BookReader.css +++ b/BookReader/BookReader.css @@ -1,55 +1,83 @@ +body { + background-color: #939598; + font-size: 67.5%; + margin: 0; + padding: 0; +} +h3 { + font-size: 20px; + font-family: "News Gothic MT","Trebuchet MS",Geneva,Helvetica,sans-serif; + font-weight: 700; + color: #dedede; +} #BookReader { - border:1px solid black; position:absolute; font-family: arial, sans-serif; + left:0; + right:0; + top:0; + bottom:0; } - #BRtoolbar { - height:25px; - width:100%; - background-color: #E6E4E1; + position: fixed; + top: 0; + left: 0; + height: 40px; + padding: 0; + width: 100%; + z-index: 100; + background-color: #e2dcc5; + overflow: hidden; } - #BRtoolbar .label { - font-size: 0.9em; + font-size: 1.1em; + color: #999; +} +#BRtoolbar a { + color: #ccc; + text-decoration: underline; +} +#BRtoolbarbuttons { + float: right; } - #BRcontainer { - /*height:95%;*/ - top:25px; - bottom:0px; + top:5px; + bottom:5px; width:100%; + z-index: 1; overflow-x:auto; overflow-y:scroll; - /*text-align: center;*/ - background-color: #FCFCFC; position:absolute; + background-color: #939598; } #BRpageview { - background-color: #FCFCFC; + background-color: #939598; } .BRpagediv1up { - background-color: #FFFFEE; + background-color: #939598; overflow:hidden; - border-right: 2px solid #717171; - border-bottom: 2px solid #717171; - border-left: 1px solid #909090; - border-top: 1px solid #909090; cursor: move; } .BRpagedivthumb { - background-color: #FFFFEE; + background-color: #939598; overflow:hidden; - border: 1px solid #909090; } +.BRpagedivthumb a { + border: 0; +} + +.BRpagedivthumb img { + border: 0; +} + +/* Must come after .BRpagedivthumb rules in order to override them */ .BRpagedivthumb_highlight { - background-color: #FFFFEE; + background-color: #939598; overflow:hidden; - border: 1px solid #000000; } .BRpagediv2up { @@ -57,6 +85,57 @@ overflow:hidden; } +#BRbookcover { + /* border: 1px solid rgb(68, 25, 17); */ + /* background-color: #663929; */ + position: absolute; + background-image: url(images/back_pages.png); + -moz-box-shadow: 1px 0 3px #000; + -webkit-box-shadow: 1px 0 3px #000; + /* -moz-border-radius: 6px; */ + /* -webkit-border-radius: 6px; */ +} + +.BRpageimage { + background-color: rgb(234, 226, 205); +} + +.BRleafEdgeR { + /* + border-style: solid solid solid none; + border-color: rgb(51, 51, 34); + border-width: 1px 1px 1px 0px; + */ + background: transparent url(images/back_pages.png) repeat scroll 0% 0%; + position: absolute; +} + +.BRleafEdgeL { + /* + border-style: solid none solid solid; + border-color: rgb(51, 51, 34); + border-width: 1px 0px 1px 1px; + */ + /* background: transparent url(images/left_edges.png) repeat scroll 0% 0%; */ + background: transparent url(images/back_pages.png) repeat scroll 0% 0%; /* XXXmang replace file */ + position: absolute; +} + +.BRleafEdgeTmp { + border-style: solid none solid solid; + border-color: rgb(51, 51, 34); + border-width: 1px 0px 1px 1px; + /* background: transparent url(images/left_edges.png) repeat scroll 0% 0%; */ + background: transparent url(images/back_pages.png) repeat scroll 0% 0%; /* XXXmang replace file */ + position: absolute; +} + +#BRbookspine { + /* border: 1px solid rgb(68, 25, 17); */ + background-color: rgb(68, 25, 17); + position: absolute; +} + /* search sidebar */ #BookReaderSearch { border:1px solid black; @@ -85,68 +164,160 @@ position:absolute; } +.hidden { + display: none; +} + .BRpageform { display: inline; } - +#BRpagenum { + border: none; + background-color: #939598; + color: #ccc; + font-family: arial, sans-serif; + font-size: 12px; + font-weight: 700; +} +#BRreturn { + /* display: block; */ + /* float: left; */ + /* margin: 0 10px 0 5px; */ + font-family: "Lucida Grande","Arial",sans-serif; + color: #333; + height: 20px; +} +#BRreturn span { + font-size: 12px; + display: block; + height: 12px; +} +#BRreturn a { + font-size: 14px; + display: block; + color: #036daa; + height: 18px; + overflow: hidden; +} .BRicon { - width: 24px; - height: 24px; - padding: 0px; + display: block; + float: left; + width: 40px; + height: 40px; + padding: 0; + margin: 0; vertical-align: middle; border: none; + cursor: pointer; + background-color: transparent; + background-image: url(images/BRicons.png); + background-repeat: no-repeat; } -/* Absolute path used since the html might be generated at /stream/id or elsewhere */ -.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.embed { background: url(images/embed_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; } - -/* Icons with this class should have a 48x24 image which contains - the regular and hover images side-by-side */ -.BRicon.rollover:hover { background-position: -24px 0; } - -/* Special logic for the logo, which is an actual link */ -a.BRicon { +.BRicon.logo {background-position:0 0;} +.BRicon.info {background-position:-40px 0;} +.BRicon.info:hover {background-position:-80px 0;} +.BRicon.share {background-position:-120px 0;} +.BRicon.share:hover {background-position:-160px 0;} +.BRicon.read {background-position:-200px 0;} +.BRicon.read:hover {background-position:-240px 0;} +.BRicon.unread {background-position:-280px 0;} +.BRicon.unread:hover {background-position:-320px 0;} +.BRicon.full {background-position:-360px 0;} +.BRicon.full:hover {background-position:-400px 0;} +.BRicon.book_left {background-position:-440px 0;} +.BRicon.book_left:hover {background-position:-480px 0;} +.BRicon.book_right {background-position:-520px 0;} +.BRicon.book_right:hover {background-position:-560px 0;} +.BRicon.zoom_out {background-position:-606px 0;} +.BRicon.zoom_out:hover {background-position:-646px 0;} +.BRicon.zoom_in {background-position:-686px 0;} +.BRicon.zoom_in:hover {background-position:-726px 0;} + + +/* NOT CURRENTLY IN USE +.BRicon.embed {background-position:-440px;} +.BRicon.embed:hover {background-position:-480px 0;} +.BRicon.read {background-position:-520px 0;} +.BRicon.read:hover {background-position:-560px 0;} +.BRicon.full {background-position:-600px 0;} +.BRicon.full:hover {background-position:-640px 0;} +.BRicon.thumb {background-position:-680px 0;} +.BRicon.thumb:hover {background-position:-720px 0;} +.BRicon.twopg {background-position:-760px 0;display:none;} +.BRicon.twopg:hover {background-position:-800px 0;} +.BRicon.one_page_mode {background-position:;} +.BRicon.two_page_mode {background-position:;} +.BRicon.thumbnail_mode {background-position:;} +.BRicon.book_up {background-position:;} +.BRicon.book_down {background-position:;} +.BRicon.book_leftmost {background-position:;} +.BRicon.book_rightmost {background-position:;} +.BRicon.book_top {background-position:;} +.BRicon.book_bottom {background-position:;} +.BRicon.play {background-position:;} +.BRicon.pause {background-position:;} +*/ +a.logo { display: block; - text-decoration: none; - border: none; float: left; + width: 40px; + height: 40px; + background: transparent url(images/icon_home.png) no-repeat 0 0; +} +a.popOff { + position: absolute; + top: 5px; + right: 5px; + width: 24px; + height: 24px; + background-image: url(images/BRicons.png); + background-color: transparent; + background-repeat: no-repeat; + background-position: -1050px 0; + outline: none; +} +a.popOff:hover { + background-position: -1100px 0; +} +a.popOff span { + position: absolute; + left: -10000px; } -/* footer stuff, from Rebecca's demo */ -#BRfooter { - position:absolute; - bottom: 1px; /* ensure no vertical scroll bar in FF */ - left: 0px; - /*width: 100%;*/ /* this causes horizontal scroll bar in FF */ - right: 0px; - clear: both; - color: #000000; - padding: 0px 0px 0px 10px; - background: #CCCCCC; - height: 2em; - line-height: 25px; - vertical-align: middle; - font-family: arial, sans-serif; - font-size: 12px; +form#booksearch { + float: left; + margin-right: 10px; +} +form#booksearch input[type=search] { + width: 280px; + height: 22px; + line-height: 22px; + font-family: "Arial", sans-serif; + font-size: 13px; + -webkit-appearance: textfield; + -moz-appearance: textfield; + appearance: field; + margin: 9px 0 0 0; + padding: 0; + border: 1px inset #ccc; +} +form#booksearch button { + width: 30px; + height: 24px; + line-height: 24px; + border: none; + background-color: #000; + text-align: center; + color: #fff; + font-family: "News Gothic MT","Trebuchet MS",Geneva,Helvetica,sans-serif; + font-weight: 700; + font-size: 11px; + text-transform: uppercase; + margin: 10px 0 0 5px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; } .BRlogotype { @@ -161,14 +332,18 @@ a.BRwhite { color: #fff } a.BRwhite:hover { text-decoration: none; } a.BRwhite:visited { color: #fff } -a.BRblack { color: #000000 } +a.BRblack { color: #000; } a.BRblack:hover { text-decoration: none; } -a.BRblack:visited { color: #000000 } +a.BRblack:visited { color: #000; } + +a.BRgrey { color: #999; } +a.BRgrey:hover { text-decoration: none; } +a.BRgrey:visited { color: #666; } .BRnavlinks { float:right; - padding: 0px 20px 0px 0px; - margin: 0px; + padding: 0 20px 0 0; + margin: 0; height: 25px; line-height: 25px; vertical-align: middle; @@ -180,8 +355,7 @@ a.BRblack:visited { color: #000000 } height: 65px; bottom: 25px; width: 100%; - background-color: #f8f8f8; - border-top: 1px solid #ccc; + background-color: #222; text-align: right; padding: 0px 0px 0px 0px; } @@ -197,3 +371,319 @@ a.BRblack:visited { color: #000000 } .BRfliparea { background-image: url(images/transparent.png); # Required to capture mouse on IE } + +.BRtwoPagePopUp { + padding: 6px; + position: absolute; + font-family: Arial, sans-serif; + font-size: 11px; + color: white; + background-color: #939598; + opacity: 0.85, + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + white-space: nowrap; +} + +/* COLORBOX POP-UP */ + +#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999;} +#cboxOverlay{position:fixed; width:100%; height:100%;background:#000;opacity:0.75;filter:Alpha(Opacity=75);} +#cboxMiddleLeft, #cboxBottomLeft{clear:left;} +#cboxContent{position:relative;} +#cboxLoadedContent{overflow:visible!important;} +#cboxLoadedContent iframe{display:block;border:0;} +#cboxTitle{margin:0;display:none!important;} +#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:25px; left:25px; width:100%;} +#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;} +#cboxClose{display:none!important;} + +#colorBox{} + #cboxContent{background:#fff;padding:0;border:10px solid #615132;-webkit-border-radius:12px;-moz-border-radius:12px;border-radius:12px;-moz-box-shadow: 1px 3px 10px #000;-webkit-box-shadow: 1px 3px 10px #000;box-shadow: 1px 3px 10px #000;} + #cboxLoadedContent{background:#fff;margin:0;} + #cboxLoadingOverlay{background:transparent;} + /* XXXmang where is icon_close? */ + #cboxClose{position:absolute;top:20px;right:20px;display:block;width:32px;height:32px;background-image:url(/images/icons/icon_close-pop.png);background-position:0 0;background-repeat:no-repeat;} + #cboxClose:hover{background-position:0 -32px;} + +div#BRpage { + float: right; + width: 80px; + padding-left:12px; + text-align: right; +} +div#BRnav { + position: fixed; + bottom: 0; + left: 0; + width: 100%; + height: 40px; + overflow: visible; + z-index: 100; + background-color: #e2dcc5; +} +div#BRnavpos { + position: relative; + margin-right: 80px; + height: 40px; +} +div#BRpager { + position: relative; + margin-left: -10px; + height: 40px; +} +div#BRslider { + position: absolute; + top: 13px; + height: 27px; +} + +/* XXXmang verify correct use of handle class */ +#BRpager .ui-slider-handle { + position: absolute; + width: 23px; + height: 27px; + top: 13px; + left: -11px; + background: url(images/slider.png); + z-index: 103; +} + /* + width: 8px; + height: 14px; + position: absolute; + top: -4px; + background: #478AFF; + border: solid 1px black; +} +*/ + +div#BRfiller { + position: absolute; + height: 40px; + width: 10px; + background-color: #e2dcc5; + top: 0; + left: 0; + z-index: 102; +} +div#slider { + position: absolute; + width: 2500px; + height: 27px; + top: 0; + left: -2478px; + background-color: #000; + opacity: .1; + z-index: 101; +} +div#pager { + position: absolute; + width: 23px; + height: 27px; + top: 0; + left: 8px; + background: url(images/slider.png); + z-index: 103; +} +div#pagenum { + display: none; + position: absolute; + left: 24px; + top: 4px; + color: #999; + font-size: 11px; + line-height: 19px; + font-weight: 700; + padding: 0 5px; + width: 80px; + text-align: right; + background-color: #000; + font-family: "Lucida Grande", "Arial", sans-serif; +} +div#pagenum span { + color: #ffa337; + font-style: italic; +} +div#BRnavline { + position: relative; + height: 2px; + width: auto; + background-color: #000; + top: -29px; + margin: 0 10px; +} +.BRnavend { + position: absolute; + top: -2px; + width: 1px; + height: 6px; + background-color: #000; +} +#BRnavleft { + left: 0; +} +#BRnavright { + right: 0; +} +div.chapter { + position: absolute; + top: -13px; + width: 18px; + height: 27px; + background: transparent url(images/marker_chap.png) no-repeat; + cursor: pointer; +} +div.chapter div.title { + display: none; +} +div.title span { + color: #666; + padding: 0 5px; +} +div.search { + position: absolute; + top: -13px; + width: 18px; + height: 27px; + background-color: transparent; + background-image: url(images/marker_srch-off.png); + background-repeat: no-repeat; + cursor: pointer; +} +div.search.front { + background: transparent url(images/marker_srch-on.png) no-repeat; +} +div.search div.query,div.searchChap div.query { + display: none; +} +div.query { + position: relative; +} +div.query strong { + color: #000; + font-weight: 700; +} +div.query span { + font-size: 10px; + color: #666; + font-style: italic; +} +div.query div.queryChap { + position: absolute; + top: -40px; + left: -13px; + width: 256px; + overflow: hidden; + text-align: center; + background: #000; + padding: 5px 10px; + color: #fff; + font-weight: 700; + font-size: 11px; +} +div.query div.queryChap span { + color: #666; + padding: 0 5px; + font-style: normal; +} +div.search div.pointer { + position: absolute; + left: 121px; + bottom: -14px; + width: 18px; + height: 27px; + background: transparent url(images/marker_srch-on.png) no-repeat; +} +div.searchChap { + position: absolute; + top: -13px; + width: 18px; + height: 27px; + background-color: transparent; + background-image: url(images/marker_srchchap-off.png); + background-repeat: no-repeat; + cursor: pointer; +} +div.searchChap.front { + background-image: url(images/marker_srchchap-on.png); +} +#BRnav .front { + z-index: 10001; +} +div#BRzoomer { + position: fixed; + bottom: 40px; + right: 0; + width: 26px; + height: 190px; + z-index: 100; +} +div#BRzoompos { + position: relative; + width: 26px; + height: 190px; + top: 0; + left: 0; +} +div#BRzoomer button { + position: absolute; + left: 0; + background-color: #e2dcc5; + width: 26px; +} +div#BRzoomer button:hover { + background-color: #000; +} +div#BRzoomer .zoom_out { + top: 0; + -webkit-border-top-left-radius: 6px; + -webkit-border-bottom-left-radius: 6px; + -moz-border-radius-topleft: 6px; + -moz-border-radius-bottomleft: 6px; + border-top-left-radius: 6px; + border-bottom-left-radius: 6px; + -webkit-box-shadow: 2px 2px 2px #333; + -moz-box-shadow: 2px 2px 2px #333; + box-shadow: 2px 2px 2px #333; +} +div#BRzoomer .zoom_in { + bottom: 0; + -webkit-border-top-left-radius: 6px; + -moz-border-radius-topleft: 6px; + border-top-left-radius: 6px; +} +div#BRzoomcontrol { + position: relative; + top: 40px; + left:3px; + width: 23px; + height: 110px; +} +div#BRzoomstrip { + position: absolute; + top: 0; + left: 0; + width: 23px; + height: 110px; + background-color: #000; + opacity: .1; +} +div#BRzoombtn { + position: absolute; + width: 23px; + height: 23px; + top: 0; + left: 0; + background: url("images/icon_zoomer.png"); +} + +.BRttsPopUp { + position: absolute; + background-color: #E6E4E1; + background-image: url(images/progressbar.gif); + background-repeat:no-repeat; + font-size: 0.8em; + z-index: 3; +}