From bb1de0f5f41679f6773d14d84c239ccb3470f252 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Tue, 29 Jan 2013 19:37:54 +0400 Subject: [PATCH] more styling changes... Signed-off-by: Alex A. Naanou --- index.html | 114 ++++++++++++++++++++++++++++++++++++++++----------- magazine.css | 10 ++--- 2 files changed, 94 insertions(+), 30 deletions(-) diff --git a/index.html b/index.html index 68aad0f..b002070 100755 --- a/index.html +++ b/index.html @@ -406,35 +406,92 @@ $(document).ready(function(){

Configuration demo

-
- Pages in ribbon: - -
-
- Fit page to view: - -
-
- Animate window resize: - -
-
- Drag in full page view: - -
-
- Toggle viewer animation (affects transition to and from full page view): - -
-
- Enable different size pages (still flaky): - -

NOTE: this is not an actual configuration page, just a live demo of some of the available configuration option effects.

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Pages in ribbon: + + + + +
+ Fit page to view: + + +
+ Animate window resize: + + +
+ Drag in full page view: + + +
+ Toggle viewer animation (affects transition to and from full page view): + + +
+ Enable different size pages (still flaky): + + +
+ +
+
go back, or return to magazine cover...
@@ -462,7 +519,14 @@ $(document).ready(function(){ function saveSettings(){ var v = parseInt($('#PAGES_IN_RIBBON').attr('value')) - PAGES_IN_RIBBON = v == null ? PAGES_IN_RIBBON : v + // ignore bad values... + v = v == null ? PAGES_IN_RIBBON : v + // can't be less that 1... + v = v < 1 ? 1 : v + PAGES_IN_RIBBON = v + // we need to reset the visible value in case it was wrong... + $('#PAGES_IN_RIBBON').attr('value', PAGES_IN_RIBBON) + FIT_PAGE_TO_VIEW = $('#FIT_PAGE_TO_VIEW').text() == 'true' ? true : false ANIMATE_WINDOW_RESIZE = $('#ANIMATE_WINDOW_RESIZE').text() == 'true' ? true : false DRAG_FULL_PAGE = $('#DRAG_FULL_PAGE').text() == 'true' ? true : false diff --git a/magazine.css b/magazine.css index f771a42..b861475 100755 --- a/magazine.css +++ b/magazine.css @@ -245,14 +245,14 @@ body { text-align: center; overflow: hidden; - background: black; - opacity: 0.4; + background: #555; + opacity: 0.9; height: 50px; left: 0px; font-size: 14px; - color: white; + color: silver; } .top-toolbar .title, .bottom-toolbar .title { @@ -269,7 +269,7 @@ body { text-align: right; } .top-toolbar a, .bottom-toolbar a { - color: white; + color: silver; text-decoration: none; } .top-toolbar .controls, .bottom-toolbar .controls { @@ -287,7 +287,6 @@ body { } .button { display: inline-block; - color: white; font-size: 25px; font-weight: bold; @@ -309,6 +308,7 @@ body { /* navigator... */ .navigator { + opacity: 0.6; } .navigator .bar { position: relative;