projects
/
bookreader.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Max out book cover shadow with triggering scroll bars on FF.
[bookreader.git]
/
BookReader
/
BookReader.css
diff --git
a/BookReader/BookReader.css
b/BookReader/BookReader.css
index
d4c407f
..
a130afd
100644
(file)
--- a/
BookReader/BookReader.css
+++ b/
BookReader/BookReader.css
@@
-1,5
+1,6
@@
body {
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;
font-size: 67.5%;
margin: 0;
padding: 0;
@@
-30,7
+31,8
@@
a {
width: 100%;
z-index: 100;
background-color: #e2dcc5;
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;
}
#BRtoolbar .label {
font-size: 1.1em;
@@
-44,29
+46,37
@@
a {
float: right;
}
#BRcontainer {
float: right;
}
#BRcontainer {
- top:
5px
;
- bottom:
5px
;
+ top:
0
;
+ bottom:
0
;
width:100%;
z-index: 1;
overflow-x:auto;
overflow-y:scroll;
position:absolute;
width:100%;
z-index: 1;
overflow-x:auto;
overflow-y:scroll;
position:absolute;
- background-color: #9
39598
;
+ background-color: #9
A9B9D
;
}
#BRpageview {
}
#BRpageview {
- background-color: #939598;
+ /* XXX page view div is not being placed correctly */
+ background-color: #9A9B9D;
}
.BRpagediv1up {
}
.BRpagediv1up {
- background-color: #939598;
overflow:hidden;
cursor: move;
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 {
}
.BRpagedivthumb {
- background-color: #
939598
;
+ background-color: #
FEFDEB
;
overflow:hidden;
overflow:hidden;
+ -webkit-box-shadow: 1px 1px 2px #333;
+ -moz-box-shadow: 1px 1px 2px #333;
+ box-shadow: 1px 1px 2px #333;
+
}
.BRpagedivthumb a {
}
.BRpagedivthumb a {
@@
-79,7
+89,7
@@
a {
/* Must come after .BRpagedivthumb rules in order to override them */
.BRpagedivthumb_highlight {
/* Must come after .BRpagedivthumb rules in order to override them */
.BRpagedivthumb_highlight {
- background-color: #9
39598
;
+ background-color: #9
A9B9D
;
overflow:hidden;
}
overflow:hidden;
}
@@
-93,14
+103,23
@@
a {
/* background-color: #663929; */
position: absolute;
background-image: url(images/back_pages.png);
/* 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 {
/* -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 {
}
.BRleafEdgeR {
@@
-155,7
+174,7
@@
a {
}
#BRpagenum {
border: none;
}
#BRpagenum {
border: none;
- background-color: #9
39598
;
+ background-color: #9
A9B9D
;
color: #ccc;
font-family: arial, sans-serif;
font-size: 12px;
color: #ccc;
font-family: arial, sans-serif;
font-size: 12px;
@@
-351,7
+370,7
@@
a.BRgrey:visited { color: #666; }
font-family: Arial, sans-serif;
font-size: 11px;
color: white;
font-family: Arial, sans-serif;
font-size: 11px;
color: white;
- background-color: #9
39598
;
+ background-color: #9
A9B9D
;
opacity: 0.85,
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
opacity: 0.85,
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
@@
-554,6
+573,9
@@
div#BRnav {
overflow: visible;
z-index: 100;
background-color: #e2dcc5;
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;
}
div#BRnavpos {
position: relative;
@@
-823,7
+845,8
@@
div#BRzoombtn {
.BRprogresspopup {
position: absolute;
.BRprogresspopup {
position: absolute;
- background-color: #fff;
+ background-color: #e6e4e1;
+ border: none!important;
font-size: 1.5em;
z-index: 3;
padding: 20px;
font-size: 1.5em;
z-index: 3;
padding: 20px;
@@
-857,13
+880,25
@@
div#BRzoombtn {
-moz-border-radius-topleft: 8px;
-webkit-border-top-left-radius: 8px;
}
-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");
.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-repeat: no-repeat;
}
.BRdn {
background-image: url("images/nav_control-dn.png");
- background-position: 8px 4px;
background-repeat: no-repeat;
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
}
\ No newline at end of file