X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;ds=sidebyside;f=BookReader%2FBookReader.css;h=a130afde70cb16966280cae67943b8d019dacb14;hb=13a9acdb410117f68f1dcf11361570327ef24655;hp=d9035f62094104ae11fb797ccdda8d71d005484f;hpb=238168e9b7b5f695803210b973be9b5cf67097ca;p=bookreader.git diff --git a/BookReader/BookReader.css b/BookReader/BookReader.css index d9035f6..a130afd 100644 --- a/BookReader/BookReader.css +++ b/BookReader/BookReader.css @@ -1,5 +1,6 @@ body { - background-color: #939598; + /* XXX we shouldn't change the body CSS, just within our container */ + background-color: #9A9B9D; /* Pantone Cool Grey 7 C */ font-size: 67.5%; margin: 0; padding: 0; @@ -30,7 +31,8 @@ a { width: 100%; z-index: 100; background-color: #e2dcc5; - overflow: hidden; + -webkit-box-shadow: 0 1px 3px #999; + /* Shadow here on FF causes scroll bars */ } #BRtoolbar .label { font-size: 1.1em; @@ -44,29 +46,37 @@ a { float: right; } #BRcontainer { - top:5px; - bottom:5px; + top:0; + bottom:0; width:100%; z-index: 1; overflow-x:auto; overflow-y:scroll; position:absolute; - background-color: #939598; + background-color: #9A9B9D; } #BRpageview { - background-color: #939598; + /* XXX page view div is not being placed correctly */ + background-color: #9A9B9D; } .BRpagediv1up { - background-color: #939598; overflow:hidden; cursor: move; + background-color: #FEFDEB; + -webkit-box-shadow: 1px 1px 2px #333; + -moz-box-shadow: 1px 1px 2px #333; + box-shadow: 1px 1px 2px #333; } .BRpagedivthumb { - background-color: #939598; + background-color: #FEFDEB; overflow:hidden; + -webkit-box-shadow: 1px 1px 2px #333; + -moz-box-shadow: 1px 1px 2px #333; + box-shadow: 1px 1px 2px #333; + } .BRpagedivthumb a { @@ -79,7 +89,7 @@ a { /* Must come after .BRpagedivthumb rules in order to override them */ .BRpagedivthumb_highlight { - background-color: #939598; + background-color: #9A9B9D; overflow:hidden; } @@ -93,14 +103,23 @@ a { /* 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-box-shadow: 1px 0 10px #111; + -webkit-box-shadow: 1px 0 10px #111; + box-shadow: 1px 0 10px #111; /* -moz-border-radius: 6px; */ /* -webkit-border-radius: 6px; */ } .BRpageimage { - background-color: rgb(234, 226, 205); + /* Bird Book */ + background-color: #FEFDEB; +} + +/* Disable selection on Firefox and WebKit */ +.BRnoselect { + -moz-user-select: none; + -webkit-user-select: none; + -webkit-user-drag: none; } .BRleafEdgeR { @@ -139,6 +158,13 @@ a { position: absolute; } +.BookReaderSearchHilite { + opacity: 0.20; + filter: alpha(opacity = 20); + background-color: #00f; + position:absolute; +} + .hidden { display: none; } @@ -148,7 +174,7 @@ a { } #BRpagenum { border: none; - background-color: #939598; + background-color: #9A9B9D; color: #ccc; font-family: arial, sans-serif; font-size: 12px; @@ -255,7 +281,7 @@ form#booksearch { margin-right: 10px; } form#booksearch input[type=search] { - min-width: 80px; + min-width: 16em; height: 22px; line-height: 22px; font-family: "Arial", sans-serif; @@ -344,7 +370,7 @@ a.BRgrey:visited { color: #666; } font-family: Arial, sans-serif; font-size: 11px; color: white; - background-color: #939598; + background-color: #9A9B9D; opacity: 0.85, -webkit-border-radius: 4px; -moz-border-radius: 4px; @@ -381,6 +407,20 @@ a.BRgrey:visited { color: #666; } font-family: "Lucida Grande", "Verdana", "Arial", sans-serif; color: #000; } +.BRfloat a { + color: #036daa; +} +.BRfloat a:hover { + color: #35672e; +} +.BRfloat a.title { + color: #000; + text-decoration: none; +} +.BRfloat a.title:hover { + color: #036daa; + text-decoration: underline; +} .BRfloatHead { background-color: #615132; height: 32px; @@ -453,6 +493,71 @@ a.BRgrey:visited { color: #666; } position:absolute!important; left:-10000px!important; } +.BRfloatBody { + float: left; + width: 570px; + padding: 30px; + color: #333; +} +.BRfloatCover { + float: left; + padding: 0 20px 80px 0; +} +.BRfloatTitle { + font-size: 1.2em; +} +.BRfloatTitle h2 { + display: inline; + font-size: 1.3em; +} +.BRfloatMeta p { + margin: 0; + padding: 0; + font-size: 1.1em; + line-height: 1.5em; +} +.BRfloatMeta p.moreInfo { + line-height: 15px; + margin-top: 30px; +} +.BRfloatMeta p.moreInfo span { + background: url("images/icon_OL-logo-xs.png") no-repeat; + display: block; + float: left; + width: 26px; + height: 15px; +} +.BRfloatMeta h3 { + font-size: 1.1em; + font-weight: 700; + line-height: 1.5em; + margin-top: 30px; + color: #333; +} +.BRfloatMeta ul.links { + float: left; + clear: right; +} +.BRfloatMeta ul.links li { + list-style-type: none; + display: block; + float: left; + font-size: 1.1em; + line-height: 1.5em; +} +.BRfloatMeta ul.links li span { + padding: 0 10px; +} +.BRfloatFoot a, .BRfloatFoot span { + display: block; + float: left; + line-height: 16px; + margin: 0 0 10px 10px; +} +.BRfloatFoot a.problem { + background: url("images/icon_alert-xs.png") no-repeat; + padding-left: 20px; +} div#BRpage { float: right; width: 320px; @@ -468,6 +573,9 @@ div#BRnav { overflow: visible; z-index: 100; background-color: #e2dcc5; + + -webkit-box-shadow: 1px 1px 2px #333; + /* No shadow for FF, to be consistent with toolbar */ } div#BRnavpos { position: relative; @@ -715,7 +823,7 @@ div#BRzoomcontrol { top: 40px; left:3px; width: 23px; - height: 110px; + height: 110px; } div#BRzoomstrip { position: absolute; @@ -735,14 +843,28 @@ div#BRzoombtn { background: url("images/icon_zoomer.png"); } -.BRttsPopUp { +.BRprogresspopup { position: absolute; - background-color: #E6E4E1; - background-image: url(images/progressbar.gif); + background-color: #e6e4e1; + border: none!important; + font-size: 1.5em; + z-index: 3; + padding: 20px; + -moz-border-radius: 8px; + -webkit-border-radius: 8px; + border-radius: 8px; + -moz-box-shadow: 1px 0 3px #000; + -webkit-box-shadow: 1px 0 3px #000; + box-shadow: 1px 0 3px #333; + min-width: 300px; +} + +.BRprogressbar { + background-image: url("images/progressbar.gif"); background-repeat:no-repeat; - font-size: 0.8em; - z-index: 3; + background-position:center top; } + .BRnavCntl { background-color: #e2dcc5; position: absolute; @@ -758,13 +880,25 @@ div#BRzoombtn { -moz-border-radius-topleft: 8px; -webkit-border-top-left-radius: 8px; } +#BRnavCntlTop { + top: 40px; + -moz-border-radius-bottomright: 8px; + -webkit-border-bottom-right-radius: 8px; + -moz-border-radius-bottomleft: 8px; + -webkit-border-bottom-left-radius: 8px; + display: none; +} .BRup { background-image: url("images/nav_control-up.png"); - background-position: 8px 4px; background-repeat: no-repeat; } .BRdn { background-image: url("images/nav_control-dn.png"); - background-position: 8px 4px; background-repeat: no-repeat; +} +#BRnavCntlBtm.BRup,#BRnavCntlBtm.BRdn { + background-position: 8px 4px; +} +#BRnavCntlTop.BRup,#BRnavCntlTop.BRdn { + background-position: 8px 4px; } \ No newline at end of file