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): + | ++ + | +
+ @@ -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;