<div id="message"><!-- $message --></div>
<!--googleon: all-->
<div id="main">
- <div id="background"></div>
+ <div id="background">
+
+ <div id="shadow">
+ <div class="shadow bottom left"></div>
+ <div class="shadow bottom right"></div>
+ <div class="shadow side left"></div>
+ <div class="shadow side right"></div>
+ </div>
+ </div>
<header>
- <nav id="nav"></nav>
+ <nav id="horizontalNav"></nav>
+ <nav id="menu"></nav>
<div id="search"></div>
<a id="logo" href="#"></a>
</header>
animation.origin = ['50%', '50%'];
}
- var hiddenElements = $("header,footer,#interface,#links a.bookmark");
+ var hiddenElements = $("header,footer,#interface,#links a.bookmark,#shadow");
if (this.zoom != 1) {
+
+ this.fluidbook.help.hide(); // Hide the help view if it's showing
+
if (!$('header').hasClass('hidden')) {
$(hiddenElements).addClass('hidden');
this.hideInterfaceTimeout = setTimeout(function () {
position: absolute;
top: 0px;
left: 0px;
- }
+ width: unit(@book-page-width*2, px);
+ height: unit(@book-page-height, px);
+ pointer-events: none;
- .portrait #shadow > div.right {
- display: none;
+ .portrait & {
+ display: none;
+ }
+
+ @edge-scale: 1;
+
+ > .edge {
+ position: absolute;
+ top: 0;
+ height: 100%;
+
+ > div {
+ background-size: 100% 100%;
+ position: absolute;
+ background-repeat: no-repeat;
+ }
+
+ .top {
+ top: 0;
+ height: unit(12*@edge-scale, px);
+ }
+
+ .bottom {
+ bottom: 0;
+ height: unit(22*@edge-scale, px);
+ }
+
+ .middle {
+ top: unit(12*@edge-scale, px);
+ bottom: unit(22*@edge-scale, px);
+ }
+
+ &.left {
+ left: unit(-17*@edge-scale, px);
+ width: unit(17*@edge-scale, px);
+
+ div {
+ width: unit(17*@edge-scale, px);
+ }
+
+ .top {
+ background-image: url("../images/edges/edge-left-top.png");
+ }
+
+ .bottom {
+ background-image: url("../images/edges/edge-left-bottom.png");
+ }
+
+ .middle {
+ background-image: url("../images/edges/edge-left-middle.png");
+ }
+ }
+
+ &.right {
+ right: unit(-11*@edge-scale, px);
+ width: unit(11*@edge-scale, px);
+
+ div {
+ width: unit(11*@edge-scale, px);
+ }
+
+ .top {
+ background-image: url("../images/edges/edge-right-top.png");
+ }
+
+ .bottom {
+ background-image: url("../images/edges/edge-right-bottom.png");
+ }
+
+ .middle {
+ background-image: url("../images/edges/edge-right-middle.png");
+ }
+ }
+ }
}
-/* Nav */
-#nav #locales {
+/* Locale Flag icon */
+.locale-flag {
display: inline-block;
width: 22px;
height: 17px;