Unbundle 3rd party documentation components
Project: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/commit/602d0996 Tree: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/tree/602d0996 Diff: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/diff/602d0996 Branch: refs/heads/release/0.10.0 Commit: 602d099623a4be71226481ffaa0c58eff31d9605 Parents: 3179dd8 Author: Donald Szeto <[email protected]> Authored: Thu Sep 29 11:30:30 2016 -0700 Committer: Donald Szeto <[email protected]> Committed: Thu Sep 29 11:30:30 2016 -0700 ---------------------------------------------------------------------- docs/manual/.gitignore | 3 + docs/manual/bower.json | 9 +- .../bower_components/Slidebars/.bower.json | 17 - .../manual/bower_components/Slidebars/README.md | 107 - .../bower_components/Slidebars/bower.json | 7 - .../Slidebars/development/readme.txt | 1 - .../Slidebars/development/slidebars.css | 219 - .../Slidebars/development/slidebars.js | 356 - .../Slidebars/distribution/0.10.1/slidebars.css | 213 - .../Slidebars/distribution/0.10.1/slidebars.js | 346 - .../distribution/0.10.1/slidebars.min.css | 2 - .../distribution/0.10.1/slidebars.min.js | 2 - .../Slidebars/distribution/0.10.2/slidebars.css | 208 - .../Slidebars/distribution/0.10.2/slidebars.js | 346 - .../distribution/0.10.2/slidebars.min.css | 2 - .../distribution/0.10.2/slidebars.min.js | 2 - .../Slidebars/distribution/0.10/slidebars.css | 207 - .../Slidebars/distribution/0.10/slidebars.js | 349 - .../distribution/0.10/slidebars.min.css | 2 - .../distribution/0.10/slidebars.min.js | 2 - .../Slidebars/distribution/0.7.1/slidebars.css | 130 - .../Slidebars/distribution/0.7.1/slidebars.js | 271 - .../distribution/0.7.1/slidebars.min.css | 2 - .../distribution/0.7.1/slidebars.min.js | 2 - .../Slidebars/distribution/0.7/slidebars.css | 121 - .../Slidebars/distribution/0.7/slidebars.js | 358 - .../distribution/0.7/slidebars.min.css | 2 - .../Slidebars/distribution/0.7/slidebars.min.js | 2 - .../Slidebars/distribution/0.8.1/slidebars.css | 139 - .../Slidebars/distribution/0.8.1/slidebars.js | 284 - .../distribution/0.8.1/slidebars.min.css | 2 - .../distribution/0.8.1/slidebars.min.js | 2 - .../Slidebars/distribution/0.8.2/slidebars.css | 141 - .../Slidebars/distribution/0.8.2/slidebars.js | 294 - .../distribution/0.8.2/slidebars.min.css | 2 - .../distribution/0.8.2/slidebars.min.js | 2 - .../Slidebars/distribution/0.8/slidebars.css | 139 - .../Slidebars/distribution/0.8/slidebars.js | 284 - .../distribution/0.8/slidebars.min.css | 2 - .../Slidebars/distribution/0.8/slidebars.min.js | 2 - .../Slidebars/distribution/0.9.4/slidebars.css | 195 - .../Slidebars/distribution/0.9.4/slidebars.js | 328 - .../distribution/0.9.4/slidebars.min.css | 2 - .../distribution/0.9.4/slidebars.min.js | 2 - .../Slidebars/distribution/0.9/slidebars.css | 196 - .../Slidebars/distribution/0.9/slidebars.js | 328 - .../distribution/0.9/slidebars.min.css | 2 - .../Slidebars/distribution/0.9/slidebars.min.js | 2 - .../Slidebars/examples/animation-styles.html | 66 - .../Slidebars/examples/api-usage.html | 144 - .../Slidebars/examples/basic-template.html | 37 - .../Slidebars/examples/control-classes.html | 64 - .../Slidebars/examples/custom-widths.html | 65 - .../Slidebars/examples/example-styles.css | 46 - .../Slidebars/examples/fixed-positions.html | 97 - .../Slidebars/examples/left-slidebar-only.html | 60 - .../Slidebars/examples/mobile-only.html | 68 - .../Slidebars/examples/momentum-scrolling.html | 72 - .../Slidebars/examples/optional-widths.html | 64 - .../Slidebars/examples/right-slidebar-only.html | 60 - .../Slidebars/examples/scroll-lock.html | 96 - .../Slidebars/examples/slidebar-links.html | 77 - .../Slidebars/examples/slidebars/slidebars.css | 207 - .../Slidebars/examples/slidebars/slidebars.js | 349 - .../Slidebars/examples/static-slidebars.html | 92 - .../bower_components/Slidebars/license.txt | 21 - .../Slidebars/slidebars.jquery.json | 35 - .../manual/bower_components/Tabslet/.bower.json | 26 - docs/manual/bower_components/Tabslet/.gitignore | 10 - .../manual/bower_components/Tabslet/LICENSE.txt | 202 - docs/manual/bower_components/Tabslet/README.md | 54 - docs/manual/bower_components/Tabslet/bower.json | 17 - .../bower_components/Tabslet/demo/favicon.ico | Bin 1150 -> 0 bytes .../Tabslet/demo/images/tabslet.png | Bin 17022 -> 0 bytes .../Tabslet/demo/images/tabslet_logo.png | Bin 944 -> 0 bytes .../images/tabslet_logo_single_color_150.png | Bin 2939 -> 0 bytes .../bower_components/Tabslet/demo/index.html | 278 - .../Tabslet/demo/javascripts/initializers.js | 43 - .../demo/javascripts/vendor/jquery-1.9.1.min.js | 5 - .../demo/javascripts/vendor/jquery.anchor.js | 39 - .../javascripts/vendor/jquery.tabslet.min.js | 25 - .../demo/javascripts/vendor/modernizr.custom.js | 4 - .../javascripts/vendor/rainbow-custom.min.js | 10 - .../javascripts/vendor/waypoints-sticky.min.js | 8 - .../demo/javascripts/vendor/waypoints.min.js | 8 - .../Tabslet/demo/stylesheets/github.css | 88 - .../Tabslet/demo/stylesheets/reset.css | 118 - .../Tabslet/demo/stylesheets/styles.css | 295 - .../Tabslet/demo/stylesheets/typography.css | 258 - .../bower_components/Tabslet/jquery.tabslet.js | 181 - .../Tabslet/jquery.tabslet.min.js | 25 - .../bower_components/Tabslet/package.json | 25 - .../Tabslet/tabslet.jquery.json | 37 - .../bower_components/Tabslet/test/index.html | 58 - .../Tabslet/test/jquery.tabslet.test.js | 19 - .../bower_components/jcarousel/.bower.json | 19 - .../bower_components/jcarousel/CHANGELOG.md | 166 - .../bower_components/jcarousel/CONTRIBUTING.md | 35 - docs/manual/bower_components/jcarousel/LICENSE | 22 - .../manual/bower_components/jcarousel/README.md | 65 - .../bower_components/jcarousel/bower.json | 8 - .../bower_components/jcarousel/component.json | 41 - .../bower_components/jcarousel/dist/README.md | 64 - .../dist/jquery.jcarousel-autoscroll.js | 59 - .../dist/jquery.jcarousel-autoscroll.min.js | 4 - .../jcarousel/dist/jquery.jcarousel-control.js | 76 - .../dist/jquery.jcarousel-control.min.js | 4 - .../jcarousel/dist/jquery.jcarousel-core.js | 1026 -- .../jcarousel/dist/jquery.jcarousel-core.min.js | 4 - .../dist/jquery.jcarousel-pagination.js | 203 - .../dist/jquery.jcarousel-pagination.min.js | 4 - .../dist/jquery.jcarousel-scrollintoview.js | 63 - .../dist/jquery.jcarousel-scrollintoview.min.js | 4 - .../jcarousel/dist/jquery.jcarousel.js | 1419 --- .../jcarousel/dist/jquery.jcarousel.min.js | 4 - .../bower_components/jcarousel/docs/README.md | 27 - .../docs/cookbook/custom-start-position.md | 42 - .../docs/cookbook/responsive-carousel.md | 56 - .../jcarousel/docs/plugins/README.md | 12 - .../jcarousel/docs/plugins/autoscroll/README.md | 13 - .../docs/plugins/autoscroll/reference/api.md | 92 - .../autoscroll/reference/configuration.md | 69 - .../docs/plugins/autoscroll/reference/events.md | 110 - .../autoscroll/reference/installation.md | 23 - .../jcarousel/docs/plugins/control/README.md | 15 - .../docs/plugins/control/reference/api.md | 53 - .../plugins/control/reference/configuration.md | 109 - .../docs/plugins/control/reference/events.md | 153 - .../plugins/control/reference/installation.md | 70 - .../jcarousel/docs/plugins/pagination/README.md | 12 - .../docs/plugins/pagination/reference/api.md | 72 - .../pagination/reference/configuration.md | 82 - .../docs/plugins/pagination/reference/events.md | 166 - .../pagination/reference/installation.md | 68 - .../docs/plugins/scrollintoview/README.md | 36 - .../jcarousel/docs/reference/api.md | 323 - .../jcarousel/docs/reference/configuration.md | 248 - .../jcarousel/docs/reference/events.md | 365 - .../jcarousel/docs/reference/installation.md | 119 - .../jcarousel/docs/reference/usage.md | 217 - .../jcarousel/examples/README.md | 13 - .../jcarousel/examples/_shared/css/style.css | 49 - .../jcarousel/examples/_shared/img/img1.jpg | Bin 62881 -> 0 bytes .../examples/_shared/img/img1_thumb.jpg | Bin 4907 -> 0 bytes .../jcarousel/examples/_shared/img/img2.jpg | Bin 55540 -> 0 bytes .../examples/_shared/img/img2_thumb.jpg | Bin 4728 -> 0 bytes .../jcarousel/examples/_shared/img/img3.jpg | Bin 33319 -> 0 bytes .../examples/_shared/img/img3_thumb.jpg | Bin 4047 -> 0 bytes .../jcarousel/examples/_shared/img/img4.jpg | Bin 70135 -> 0 bytes .../examples/_shared/img/img4_thumb.jpg | Bin 5130 -> 0 bytes .../jcarousel/examples/_shared/img/img5.jpg | Bin 65136 -> 0 bytes .../examples/_shared/img/img5_thumb.jpg | Bin 5004 -> 0 bytes .../jcarousel/examples/_shared/img/img6.jpg | Bin 41186 -> 0 bytes .../examples/_shared/img/img6_thumb.jpg | Bin 4428 -> 0 bytes .../jcarousel/examples/ajax/data.json | 28 - .../jcarousel/examples/ajax/index.html | 38 - .../jcarousel/examples/ajax/jcarousel.ajax.css | 88 - .../jcarousel/examples/ajax/jcarousel.ajax.js | 47 - .../jcarousel/examples/basic/index.html | 52 - .../examples/basic/jcarousel.basic.css | 122 - .../jcarousel/examples/basic/jcarousel.basic.js | 36 - .../examples/connected-carousels/index.html | 63 - .../jcarousel.connected-carousels.css | 187 - .../jcarousel.connected-carousels.js | 84 - .../examples/data-attributes/index.html | 48 - .../jcarousel.data-attributes.css | 82 - .../jcarousel.data-attributes.js | 13 - .../jcarousel/examples/responsive/index.html | 48 - .../responsive/jcarousel.responsive.css | 117 - .../examples/responsive/jcarousel.responsive.js | 49 - .../jcarousel/examples/skeleton/index.html | 55 - .../examples/skeleton/jcarousel.skeleton.css | 34 - .../examples/skeleton/jcarousel.skeleton.js | 55 - .../jcarousel/examples/transitions/index.html | 53 - .../transitions/jcarousel.transitions.css | 83 - .../transitions/jcarousel.transitions.js | 20 - .../jcarousel/libs/jquery-loader.js | 33 - .../jcarousel/libs/jquery/jquery.js | 10308 ----------------- .../jcarousel/libs/modernizr/modernizr.js | 287 - .../bower_components/jcarousel/package.json | 45 - .../jcarousel/src/autoscroll.js | 63 - .../bower_components/jcarousel/src/control.js | 80 - .../bower_components/jcarousel/src/core.js | 229 - .../jcarousel/src/core_plugin.js | 802 -- .../jcarousel/src/pagination.js | 207 - .../jcarousel/src/scrollintoview.js | 67 - .../jcarousel/test/functional/animation.html | 126 - .../test/functional/autoscroll/default.html | 135 - .../jcarousel/test/functional/center.html | 114 - .../test/functional/control/default.html | 73 - .../test/functional/control/event.html | 145 - .../jcarousel/test/functional/dynamic.html | 112 - .../jcarousel/test/functional/event.html | 116 - .../jcarousel/test/functional/focus.html | 80 - .../jcarousel/test/functional/hidden.html | 83 - .../test/functional/pagination/default.html | 158 - .../jcarousel/test/functional/plugin.html | 98 - .../test/functional/scrollintoview/default.html | 95 - .../jcarousel/test/functional/start.html | 158 - .../jcarousel/test/functional/transitions.html | 124 - .../jcarousel/test/functional/wrap.html | 215 - .../jcarousel/test/horizontal.css | 32 - .../jcarousel/test/vertical.css | 32 - docs/manual/bower_components/jquery/.bower.json | 37 - .../bower_components/jquery/MIT-LICENSE.txt | 21 - docs/manual/bower_components/jquery/bower.json | 27 - .../bower_components/jquery/dist/jquery.js | 9205 --------------- .../bower_components/jquery/dist/jquery.min.js | 5 - .../bower_components/jquery/dist/jquery.min.map | 1 - docs/manual/bower_components/jquery/src/ajax.js | 786 -- .../bower_components/jquery/src/ajax/jsonp.js | 89 - .../bower_components/jquery/src/ajax/load.js | 75 - .../jquery/src/ajax/parseJSON.js | 13 - .../jquery/src/ajax/parseXML.js | 28 - .../bower_components/jquery/src/ajax/script.js | 64 - .../jquery/src/ajax/var/nonce.js | 5 - .../jquery/src/ajax/var/rquery.js | 3 - .../bower_components/jquery/src/ajax/xhr.js | 136 - .../bower_components/jquery/src/attributes.js | 11 - .../jquery/src/attributes/attr.js | 141 - .../jquery/src/attributes/classes.js | 158 - .../jquery/src/attributes/prop.js | 94 - .../jquery/src/attributes/support.js | 35 - .../jquery/src/attributes/val.js | 161 - .../bower_components/jquery/src/callbacks.js | 205 - docs/manual/bower_components/jquery/src/core.js | 497 - .../bower_components/jquery/src/core/access.js | 60 - .../bower_components/jquery/src/core/init.js | 123 - .../jquery/src/core/parseHTML.js | 39 - .../bower_components/jquery/src/core/ready.js | 97 - .../jquery/src/core/var/rsingleTag.js | 4 - docs/manual/bower_components/jquery/src/css.js | 450 - .../jquery/src/css/addGetHookIf.js | 22 - .../bower_components/jquery/src/css/curCSS.js | 57 - .../jquery/src/css/defaultDisplay.js | 70 - .../jquery/src/css/hiddenVisibleSelectors.js | 15 - .../bower_components/jquery/src/css/support.js | 96 - .../bower_components/jquery/src/css/swap.js | 28 - .../jquery/src/css/var/cssExpand.js | 3 - .../jquery/src/css/var/getStyles.js | 12 - .../jquery/src/css/var/isHidden.js | 13 - .../jquery/src/css/var/rmargin.js | 3 - .../jquery/src/css/var/rnumnonpx.js | 5 - docs/manual/bower_components/jquery/src/data.js | 178 - .../bower_components/jquery/src/data/Data.js | 181 - .../bower_components/jquery/src/data/accepts.js | 20 - .../jquery/src/data/var/data_priv.js | 5 - .../jquery/src/data/var/data_user.js | 5 - .../bower_components/jquery/src/deferred.js | 149 - .../bower_components/jquery/src/deprecated.js | 13 - .../bower_components/jquery/src/dimensions.js | 50 - .../bower_components/jquery/src/effects.js | 648 -- .../jquery/src/effects/Tween.js | 114 - .../jquery/src/effects/animatedSelector.js | 13 - .../manual/bower_components/jquery/src/event.js | 868 -- .../bower_components/jquery/src/event/ajax.js | 13 - .../bower_components/jquery/src/event/alias.js | 39 - .../jquery/src/event/support.js | 9 - .../bower_components/jquery/src/exports/amd.js | 24 - .../jquery/src/exports/global.js | 32 - .../manual/bower_components/jquery/src/intro.js | 44 - .../bower_components/jquery/src/jquery.js | 37 - .../bower_components/jquery/src/manipulation.js | 580 - .../jquery/src/manipulation/_evalUrl.js | 18 - .../jquery/src/manipulation/support.js | 32 - .../src/manipulation/var/rcheckableType.js | 3 - .../bower_components/jquery/src/offset.js | 207 - .../manual/bower_components/jquery/src/outro.js | 1 - .../manual/bower_components/jquery/src/queue.js | 142 - .../bower_components/jquery/src/queue/delay.js | 22 - .../jquery/src/selector-native.js | 172 - .../jquery/src/selector-sizzle.js | 14 - .../bower_components/jquery/src/selector.js | 1 - .../bower_components/jquery/src/serialize.js | 111 - .../jquery/src/sizzle/dist/sizzle.js | 2067 ---- .../jquery/src/sizzle/dist/sizzle.min.js | 3 - .../jquery/src/sizzle/dist/sizzle.min.map | 1 - .../bower_components/jquery/src/traversing.js | 199 - .../jquery/src/traversing/findFilter.js | 100 - .../jquery/src/traversing/var/rneedsContext.js | 6 - .../bower_components/jquery/src/var/arr.js | 3 - .../jquery/src/var/class2type.js | 4 - .../bower_components/jquery/src/var/concat.js | 5 - .../bower_components/jquery/src/var/hasOwn.js | 5 - .../bower_components/jquery/src/var/indexOf.js | 5 - .../bower_components/jquery/src/var/pnum.js | 3 - .../bower_components/jquery/src/var/push.js | 5 - .../jquery/src/var/rnotwhite.js | 3 - .../bower_components/jquery/src/var/slice.js | 5 - .../jquery/src/var/strundefined.js | 3 - .../bower_components/jquery/src/var/support.js | 4 - .../bower_components/jquery/src/var/toString.js | 5 - docs/manual/bower_components/jquery/src/wrap.js | 79 - .../bower_components/normalize.css/.bower.json | 23 - .../bower_components/normalize.css/LICENSE.md | 19 - .../bower_components/normalize.css/README.md | 90 - .../bower_components/normalize.css/bower.json | 13 - .../normalize.css/normalize.css | 424 - .../community/contribute-documentation.html.md | 10 +- 299 files changed, 15 insertions(+), 50220 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/602d0996/docs/manual/.gitignore ---------------------------------------------------------------------- diff --git a/docs/manual/.gitignore b/docs/manual/.gitignore index 2d5d19c..d840c70 100644 --- a/docs/manual/.gitignore +++ b/docs/manual/.gitignore @@ -1,3 +1,6 @@ +# Bower +/bower_components + # Bundler /.bundle http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/602d0996/docs/manual/bower.json ---------------------------------------------------------------------- diff --git a/docs/manual/bower.json b/docs/manual/bower.json index 7ad2472..bf2789f 100644 --- a/docs/manual/bower.json +++ b/docs/manual/bower.json @@ -1,12 +1,12 @@ { - "name": "docs.prediction.io", + "name": "predictionio.incubator.apache.org", "version": "2.0.0", "authors": [ "David Singer <[email protected]>" ], "description": "PredictionIO Docs", - "license": "Apache 2", - "homepage": "docs.prediction.io", + "license": "Apache-2.0", + "homepage": "predictionio.incubator.apache.org", "ignore": [ "**/.*", "node_modules", @@ -16,6 +16,7 @@ "jquery": "~2.1.1", "normalize.css": "~3.0.2", "Slidebars": "~0.10.2", - "Tabslet": "~1.4.8" + "Tabslet": "~1.4.8", + "jcarousel": "~0.3.3" } } http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/602d0996/docs/manual/bower_components/Slidebars/.bower.json ---------------------------------------------------------------------- diff --git a/docs/manual/bower_components/Slidebars/.bower.json b/docs/manual/bower_components/Slidebars/.bower.json deleted file mode 100644 index 31920b0..0000000 --- a/docs/manual/bower_components/Slidebars/.bower.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "Slidebars", - "version": "0.10.2", - "dependencies": { - "jquery": ">=1.8" - }, - "homepage": "https://github.com/adchsm/Slidebars", - "_release": "0.10.2", - "_resolution": { - "type": "version", - "tag": "0.10.2", - "commit": "a77d6d5f0ecb3bf361c5baf10a8f631f99cbd68c" - }, - "_source": "git://github.com/adchsm/Slidebars.git", - "_target": "~0.10.2", - "_originalSource": "Slidebars" -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/602d0996/docs/manual/bower_components/Slidebars/README.md ---------------------------------------------------------------------- diff --git a/docs/manual/bower_components/Slidebars/README.md b/docs/manual/bower_components/Slidebars/README.md deleted file mode 100644 index e3c1ddc..0000000 --- a/docs/manual/bower_components/Slidebars/README.md +++ /dev/null @@ -1,107 +0,0 @@ -Slidebars -========= - -Slidebars is a jQuery plugin for quickly and easily implementing app style off-canvas menus and sidebars into your website. - -See the [Slidebars website](http://plugins.adchsm.me/slidebars/) for more information, usage documentation and compatibility tables. - -Whats New ---------- - -Version 0.10.2 - Released July 3, 2014 - -* Fixes an issue with scrolling locking when Slidebars are closed (thanks to [Jay Padua](https://github.com/jpadua)). - -Version 0.10.1 - Released June 27, 2014 - -* Re-written close control class. -* Fixes an issue with scrolling Slidebar menu items on touch devices. -* Improved support for scroll locking on iOS. - -Version 0.10 - Released June 24, 2014 - -* Links in Slidebars no longer close the containing Slidebar before following the link. Instead add class `.sb-close` to the `<a>`, or the parent of `<a>` to close first. -* Class `.sb-disable-close` has been depreciated, see above. -* API rework. All API methods are now prefixed with `.slidebars`. For example `yourVariable.slidebars.open('left');`. -* New API method `.destroy(side)`. Removes Slidebar from the DOM. -* New option `scrollLock` set to true or false, default: false. Prevents site scrolling when a Slidebar is open. Alternatively you may also add class `sb-scroll-lock` the `<html>`. -* You may now use class `.sb-site-container` instead of `#sb-site`. -* The script no longer checks positions of site container and Slidebar elements, or moves them if located incorrectly. -* .NET compatible. -* New modifier class `.sb-momentum-scrolling` for Slidebar elements that uses `-webkit-overflow-scrolling: touch;`. -* Fixes an issue with minimum heights for site container. -* Minimum heights are no longer set for screen sizes larger than disableOver (if provided). -* Fixes issues with push and overlay styles on iOS 7. -* Inactive Slidebars now use `display: none;` instead of `visibility: hidden;` to allow for native scrolling as above. -* Inline styling removed after closing animation. -* Fixes a bug with incorrect negative margins when using custom widths and push/overlay styles. -* Fixes a bug where animation snapped open on Android < 4.3. - -Plans for Next Release ----------------------- - -* Callback functions -* Event listeners -* Additional animation styles -* Additional API methods and event handling -* Windows phone bug fixes -* Improved scroll locking -* Web app setting - -Version History ---------------- - -Version 0.9.4 - Released April 1, 2014 - -* Fixes issue with site locking and scrolling difficulty. - -Version 0.9.1, 0.9.2, 0.9.3 - -* Fixes for jQuery Plugin Registry and Bower support. - -Version 0.9 - Released March 10, 2014 - -* New push animation style, add [modifier class](http://plugins.adchsm.me/slidebars/usage.php#slidebars) `.sb-style-push` to a Slidebar. -* New overlay animation style, add [modifier class](http://plugins.adchsm.me/slidebars/usage.php#slidebars) `.sb-style-overlay` to a Slidebar. -* New thin width, add [modifier class](http://plugins.adchsm.me/slidebars/usage.php#slidebars) `.sb-width-thin` to a Slidebar. -* New wide width, add [modifier class](http://plugins.adchsm.me/slidebars/usage.php#slidebars) `.sb-width-wide` to a Slidebar. -* Static Slidebars support for older versions of iOS which do not support `position: fixed;` -* More API functions, return when Slidebars has been initiated, and if either Slidebar is open or closed. -* Re-written window resize events. -* Improved static Slidebars. -* Improved inline `min-height` styling, to avoid additional spacing under site. -* Fixed a bug where control classes couldn't be hidden using CSS. -* [Helper class](http://plugins.adchsm.me/slidebars/usage.php#helper-classes) `html.sb-android` has been depreciated, see below. -* New [helper class](http://plugins.adchsm.me/slidebars/usage.php#helper-classes) `html.sb-static` has been added, use this to un-fix your fixed elements for use on Android < 3 and iOS < 5. - -Version 0.8.2 - Released February 24, 2014 - -* Event handling has been re-written in this update for better Android support. Also fixed an error where unnecessary space was added below the site content on a window resize. Thanks to francis-ceril, ecclescake and dmmikkel. - -Version 0.8.1 - Released February 17, 2014 - -* Fixed an error which caused Slidebars to fail when only using one Slidebar. Thanks to Damien Jarry (wibimaster) for the fix. - -Version 0.8 - Released February 17, 2014 - -* Added Slidebars Theme! An optional theme which you are free to use and abuse. It features a top navigation bar, list menus in Slidebars with unlimited level of drop downs, widgets and other useful CSS snippets. You can find the [theme usage here] (http://plugins.adchsm.me/slidebars/theme.php). -* Mobile and tablet only support. Pass a width to [option disableOver] (http://plugins.adchsm.me/slidebars/usage.php#options) to disable Slidebars over a certain width screen. -* Show/Hide the Slidebar control classes over the disabled width with [option hideControlClasses] (http://plugins.adchsm.me/slidebars/usage.php#options). -* You can now easily set [custom widths for your Slidebars] (http://plugins.adchsm.me/slidebars/usage.php#custom-widths). Add modifier class .sb-width-custom to your Slidebar, and pass a pixel or percentage width as a data attribute data-sb-width. -* New modifier class [.sb-static] (http://plugins.adchsm.me/slidebars/usage.php#modifier-classes). Add this class to your Slidebar to unfix it and scroll naturally with the site. -* Removed touchend events from links in Slidebars for better scrolling support. -* Reworked Control Class events to prevent tap and click events travelling down to elements in Slidebars. -* Added another Slidebar width for screens between 480px and 768px. -* Better Slidebar closing from clicking on the site. -* Cleaned up code. -* Further code comments. - -Version 0.7.1 - Released January 22, 2014 - -* Added Slidebars options. -* Added helper class html.sb-android for Android Browser version 2.*. Can be used to unfix your elements with position fixed. -* Added helper class .sb-disable-close. Apply to a link in a Slidebar to prevent it from closing on click. -* Smoother jQuery .animate() animations on window resize events. -* Cleaned up code. - -Version 0.7 - Released January 13, 2014 - First public release. http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/602d0996/docs/manual/bower_components/Slidebars/bower.json ---------------------------------------------------------------------- diff --git a/docs/manual/bower_components/Slidebars/bower.json b/docs/manual/bower_components/Slidebars/bower.json deleted file mode 100644 index fffe105..0000000 --- a/docs/manual/bower_components/Slidebars/bower.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "Slidebars", - "version": "0.10.2", - "dependencies": { - "jquery": ">=1.8" - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/602d0996/docs/manual/bower_components/Slidebars/development/readme.txt ---------------------------------------------------------------------- diff --git a/docs/manual/bower_components/Slidebars/development/readme.txt b/docs/manual/bower_components/Slidebars/development/readme.txt deleted file mode 100644 index bbf38d6..0000000 --- a/docs/manual/bower_components/Slidebars/development/readme.txt +++ /dev/null @@ -1 +0,0 @@ -Don't use the development version in your production site. Instead, use the latest version in the distribution directory. \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/602d0996/docs/manual/bower_components/Slidebars/development/slidebars.css ---------------------------------------------------------------------- diff --git a/docs/manual/bower_components/Slidebars/development/slidebars.css b/docs/manual/bower_components/Slidebars/development/slidebars.css deleted file mode 100644 index 642fad4..0000000 --- a/docs/manual/bower_components/Slidebars/development/slidebars.css +++ /dev/null @@ -1,219 +0,0 @@ -/* ----------------------------------- - * Slidebars - * Development version, do not use this in your site, use the latest in the distribution folder. - * http://plugins.adchsm.me/slidebars/ - * - * Written by Adam Smith - * http://www.adchsm.me/ - * - * Released under MIT License - * http://plugins.adchsm.me/slidebars/license.txt - * - * ------------------- - * Slidebars CSS Index - * - * 001 - Base Stlying, Scroll Locking & Web App - * 002 - Site - * 003 - Slidebars - * 004 - Animation - * 005 - Helper Classes - * - * -------------------------------------------- - * 001 - Base Stlying, Scroll Locking & Web App - */ - -html, body, #sb-site, .sb-site-container, .sb-slidebar { - /* Set box model to prevent any user added margins or paddings from altering the widths or heights. */ - margin: 0; - padding: 0; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -html, body { - width: 100%; - overflow-x: hidden; /* Stops horizontal scrolling. */ -} - -html { - height: 100%; /* Site is as tall as device. */ -} - -body { - min-height: 100%; - height: auto; - position: relative; /* Required for static Slidebars to function properly. */ -} - -/* Prevent site from scrolling when a Slidebar is open, except when static Slidebars are only available. */ -html.sb-scroll-lock.sb-active:not(.sb-static) { - overflow: hidden; -} - -/* Web app */ -html.sb-web-app, -html.sb-web-app body { - height: 100%; - overflow: hidden; -} - -html.sb-web-app body { - -webkit-overflow-scrolling: touch; -} - -/* -------------------- - * 002 - Site Container - */ - -#sb-site, .sb-site-container { - /* You may now use class .sb-site-container instead of #sb-site and use your own id. However please make sure you don't set any of the following styles any differently on your id. */ - width: 100%; - position: relative; - z-index: 1; /* Site sits above Slidebars */ - background-color: #ffffff; /* Default background colour, you can overwrite this with your own css. I suggest moving your html or body background styling here. Making this transparent will allow the Slidebars beneath to be visible. */ -} - -/* --------------- - * 003 - Slidebars - */ - -.sb-slidebar { - height: 100%; - overflow-y: auto; /* Enable vertical scrolling on Slidebars when needed. */ - position: fixed; - top: 0; - z-index: 0; /* Slidebars sit behind sb-site. */ - display: none; /* Initially hide the Slidebars. Changed from visibility to display to allow -webkit-overflow-scrolling. */ - background-color: #222222; /* Default Slidebars background colour, overwrite this with your own css. */ - -webkit-transform: translate(0px); /* Fixes issues with translated and z-indexed elements on iOS 7. */ -} - -.sb-left { - left: 0; /* Set Slidebar to the left. */ -} - -.sb-right { - right: 0; /* Set Slidebar to the right. */ -} - -html.sb-static .sb-slidebar, -.sb-slidebar.sb-static { - position: absolute; /* Makes Slidebars scroll naturally with the site, and unfixes them for Android Browser < 3 and iOS < 5. */ -} - -.sb-slidebar.sb-active { - display: block; /* Makes Slidebars visibile when open. Changed from visibility to display to allow -webkit-overflow-scrolling. */ -} - -.sb-style-overlay { - z-index: 9999; /* Set z-index high to ensure it overlays any other site elements. */ -} - -.sb-momentum-scrolling { - -webkit-overflow-scrolling: touch; /* Adds native momentum scrolling for iOS & Android devices. */ -} - -/* Slidebar widths for browsers/devices that don't support media queries. */ - .sb-slidebar { - width: 30%; - } - - .sb-width-thin { - width: 15%; - } - - .sb-width-wide { - width: 45%; - } - -@media (max-width: 480px) { /* Slidebar widths on extra small screens. */ - .sb-slidebar { - width: 70%; - } - - .sb-width-thin { - width: 55%; - } - - .sb-width-wide { - width: 85%; - } -} - -@media (min-width: 481px) { /* Slidebar widths on small screens. */ - .sb-slidebar { - width: 55%; - } - - .sb-width-thin { - width: 40%; - } - - .sb-width-wide { - width: 70%; - } -} - -@media (min-width: 768px) { /* Slidebar widths on medium screens. */ - .sb-slidebar { - width: 40%; - } - - .sb-width-thin { - width: 25%; - } - - .sb-width-wide { - width: 55%; - } -} - -@media (min-width: 992px) { /* Slidebar widths on large screens. */ - .sb-slidebar { - width: 30%; - } - - .sb-width-thin { - width: 15%; - } - - .sb-width-wide { - width: 45%; - } -} - -@media (min-width: 1200px) { /* Slidebar widths on extra large screens. */ - .sb-slidebar { - width: 20%; - } - - .sb-width-thin { - width: 5%; - } - - .sb-width-wide { - width: 35%; - } -} - -/* --------------- - * 004 - Animation - */ - -.sb-slide, #sb-site, .sb-site-container, .sb-slidebar { - -webkit-transition: -webkit-transform 400ms ease; - -moz-transition: -moz-transform 400ms ease; - -o-transition: -o-transform 400ms ease; - transition: transform 400ms ease; - -webkit-transition-property: -webkit-transform, left, right; /* Add left/right for Android < 4.4. */ - -webkit-backface-visibility: hidden; /* Prevents flickering. This is non essential, and you may remove it if your having problems with fixed background images in Chrome. */ -} - -/* -------------------- - * 005 - Helper Classes - */ - -.sb-hide { - display: none; /* Optionally applied to control classes when Slidebars is disabled over a certain width. */ -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/602d0996/docs/manual/bower_components/Slidebars/development/slidebars.js ---------------------------------------------------------------------- diff --git a/docs/manual/bower_components/Slidebars/development/slidebars.js b/docs/manual/bower_components/Slidebars/development/slidebars.js deleted file mode 100644 index 33d8788..0000000 --- a/docs/manual/bower_components/Slidebars/development/slidebars.js +++ /dev/null @@ -1,356 +0,0 @@ -// ----------------------------------- -// Slidebars -// Development version, do not use this in your site, use the latest in the distribution folder. -// http://plugins.adchsm.me/slidebars/ -// -// Written by Adam Smith -// http://www.adchsm.me/ -// -// Released under MIT License -// http://plugins.adchsm.me/slidebars/license.txt -// -// --------------------- -// Index of Slidebars.js -// -// 001 - Default Settings -// 002 - Feature Detection -// 003 - User Agents -// 004 - Setup -// 005 - Animation -// 006 - Operations -// 007 - API -// 008 - User Input - -;(function($) { - - $.slidebars = function(options) { - - // ---------------------- - // 001 - Default Settings - - var settings = $.extend({ - siteClose: true, // true or false - Enable closing of Slidebars by clicking on #sb-site. - scrollLock: false, // true or false - Prevent scrolling of site when a Slidebar is open. - disableOver: false, // integer or false - Hide Slidebars over a specific width. - hideControlClasses: false // true or false - Hide controls at same width as disableOver. - }, options); - - // ----------------------- - // 002 - Feature Detection - - var test = document.createElement('div').style, // Create element to test on. - supportTransition = false, // Variable for testing transitions. - supportTransform = false; // variable for testing transforms. - - // Test for CSS Transitions - if (test.MozTransition === '' || test.WebkitTransition === '' || test.OTransition === '' || test.transition === '') supportTransition = true; - - // Test for CSS Transforms - if (test.MozTransform === '' || test.WebkitTransform === '' || test.OTransform === '' || test.transform === '') supportTransform = true; - - // ----------------- - // 003 - User Agents - - var ua = navigator.userAgent, // Get user agent string. - android = false, // Variable for storing android version. - iOS = false; // Variable for storing iOS version. - - if (/Android/.test(ua)) { // Detect Android in user agent string. - android = ua.substr(ua.indexOf('Android')+8, 3); // Set version of Android. - } else if (/(iPhone|iPod|iPad)/.test(ua)) { // Detect iOS in user agent string. - iOS = ua.substr(ua.indexOf('OS ')+3, 3).replace('_', '.'); // Set version of iOS. - } - - if (android && android < 3 || iOS && iOS < 5) $('html').addClass('sb-static'); // Add helper class for older versions of Android & iOS. - - // ----------- - // 004 - Setup - - // Site container - var $site = $('#sb-site, .sb-site-container'); // Cache the selector. - - // Left Slidebar - if ($('.sb-left').length) { // Check if the left Slidebar exists. - var $left = $('.sb-left'), // Cache the selector. - leftActive = false; // Used to check whether the left Slidebar is open or closed. - } - - // Right Slidebar - if ($('.sb-right').length) { // Check if the right Slidebar exists. - var $right = $('.sb-right'), // Cache the selector. - rightActive = false; // Used to check whether the right Slidebar is open or closed. - } - - var init = false, // Initialisation variable. - windowWidth = $(window).width(), // Get width of window. - $controls = $('.sb-toggle-left, .sb-toggle-right, .sb-open-left, .sb-open-right, .sb-close'), // Cache the control classes. - $slide = $('.sb-slide'); // Cache users elements to animate. - - // Initailise Slidebars - function initialise() { - if (!settings.disableOver || (typeof settings.disableOver === 'number' && settings.disableOver >= windowWidth)) { // False or larger than window size. - init = true; // true enabled Slidebars to open. - $('html').addClass('sb-init'); // Add helper class. - if (settings.hideControlClasses) $controls.removeClass('sb-hide'); // Remove class just incase Slidebars was originally disabled. - css(); // Set required inline styles. - } else if (typeof settings.disableOver === 'number' && settings.disableOver < windowWidth) { // Less than window size. - init = false; // false stop Slidebars from opening. - $('html').removeClass('sb-init'); // Remove helper class. - if (settings.hideControlClasses) $controls.addClass('sb-hide'); // Hide controls - $site.css('minHeight', ''); // Remove minimum height. - if (leftActive || rightActive) close(); // Close Slidebars if open. - } - } - initialise(); - - // Inline CSS - function css() { - // Set minimum height. - $site.css('minHeight', ''); // Reset minimum height. - $site.css('minHeight', $('html').height() + 'px'); // Set minimum height of the site to the minimum height of the html. - - // Custom Slidebar widths. - if ($left && $left.hasClass('sb-width-custom')) $left.css('width', $left.attr('data-sb-width')); // Set user custom width. - if ($right && $right.hasClass('sb-width-custom')) $right.css('width', $right.attr('data-sb-width')); // Set user custom width. - - // Set off-canvas margins for Slidebars with push and overlay animations. - if ($left && ($left.hasClass('sb-style-push') || $left.hasClass('sb-style-overlay'))) $left.css('marginLeft', '-' + $left.css('width')); - if ($right && ($right.hasClass('sb-style-push') || $right.hasClass('sb-style-overlay'))) $right.css('marginRight', '-' + $right.css('width')); - - // Site scroll locking. - if (settings.scrollLock) $('html').addClass('sb-scroll-lock'); - } - - // Resize Functions - $(window).resize(function() { - var resizedWindowWidth = $(window).width(); // Get resized window width. - if (windowWidth !== resizedWindowWidth) { // Slidebars is running and window was actually resized. - windowWidth = resizedWindowWidth; // Set the new window width. - initialise(); // Call initalise to see if Slidebars should still be running. - if (leftActive) open('left'); // If left Slidebar is open, calling open will ensure it is the correct size. - if (rightActive) open('right'); // If right Slidebar is open, calling open will ensure it is the correct size. - } - }); - // I may include a height check along side a width check here in future. - - // --------------- - // 005 - Animation - - var animation; // Animation type. - - // Set animation type. - if (supportTransition && supportTransform) { // Browser supports css transitions and transforms. - animation = 'translate'; // Translate for browsers that support it. - if (android && android < 4.4) animation = 'side'; // Android supports both, but can't translate any fixed positions, so use left instead. - } else { - animation = 'jQuery'; // Browsers that don't support css transitions and transitions. - } - - // Animate mixin. - function animate(object, amount, side) { - // Choose selectors depending on animation style. - var selector; - - if (object.hasClass('sb-style-push')) { - selector = $site.add(object).add($slide); // Push - Animate site, Slidebar and user elements. - } else if (object.hasClass('sb-style-overlay')) { - selector = object; // Overlay - Animate Slidebar only. - } else { - selector = $site.add($slide); // Reveal - Animate site and user elements. - } - - // Apply animation - if (animation === 'translate') { - selector.css('transform', 'translate(' + amount + ')'); // Apply the animation. - - } else if (animation === 'side') { - if (amount[0] === '-') amount = amount.substr(1); // Remove the '-' from the passed amount for side animations. - if (amount !== '0px') selector.css(side, '0px'); // Add a 0 value so css transition works. - setTimeout(function() { // Set a timeout to allow the 0 value to be applied above. - selector.css(side, amount); // Apply the animation. - }, 1); - - } else if (animation === 'jQuery') { - if (amount[0] === '-') amount = amount.substr(1); // Remove the '-' from the passed amount for jQuery animations. - var properties = {}; - properties[side] = amount; - selector.stop().animate(properties, 400); // Stop any current jQuery animation before starting another. - } - - // If closed, remove the inline styling on completion of the animation. - setTimeout(function() { - if (amount === '0px') { - selector.removeAttr('style'); - css(); - } - }, 400); - } - - // ---------------- - // 006 - Operations - - // Open a Slidebar - function open(side, callback) { - // Check to see if opposite Slidebar is open. - if (side === 'left' && $left && rightActive || side === 'right' && $right && leftActive) { // It's open, close it, then continue. - close(); - setTimeout(proceed, 400); - } else { // Its not open, continue. - proceed(); - } - - // Open - function proceed() { - if (init && side === 'left' && $left) { // Slidebars is initiated, left is in use and called to open. - $('html').addClass('sb-active sb-active-left'); // Add active classes. - $left.addClass('sb-active'); - animate($left, $left.css('width'), 'left'); // Animation - setTimeout(function() { - leftActive = true; - if (typeof callback === 'function') callback(); // Run callback function. - }, 400); // Set active variables. - } else if (init && side === 'right' && $right) { // Slidebars is initiated, right is in use and called to open. - $('html').addClass('sb-active sb-active-right'); // Add active classes. - $right.addClass('sb-active'); - animate($right, '-' + $right.css('width'), 'right'); // Animation - setTimeout(function() { - rightActive = true; - if (typeof callback === 'function') callback(); // Run callback function. - }, 400); // Set active variables. - } - } - } - - // Close either Slidebar - function close(callback) { - if (leftActive || rightActive) { // If a Slidebar is open. - if (leftActive) { - animate($left, '0px', 'left'); // Animation - leftActive = false; - } - if (rightActive) { - animate($right, '0px', 'right'); // Animation - rightActive = false; - } - - setTimeout(function() { // Wait for closing animation to finish. - $('html').removeClass('sb-active sb-active-left sb-active-right'); // Remove active classes. - if ($left) $left.removeClass('sb-active'); - if ($right) $right.removeClass('sb-active'); - if (typeof callback === 'function') callback(); // Run callback function. - }, 400); - } - } - - // Toggle either Slidebar - function toggle(side, callback) { - if (side === 'left' && $left) { // If left Slidebar is called and in use. - if (!leftActive) { - open('left', callback); // Slidebar is closed, open it. - } else { - close(null, callback); // Slidebar is open, close it. - } - } - if (side === 'right' && $right) { // If right Slidebar is called and in use. - if (!rightActive) { - open('right', callback); // Slidebar is closed, open it. - } else { - close(null, callback); // Slidebar is open, close it. - } - } - } - - // --------- - // 007 - API - - this.slidebars = { - open: open, // Maps user variable name to the open method. - close: close, // Maps user variable name to the close method. - toggle: toggle, // Maps user variable name to the toggle method. - init: function() { // Returns true or false whether Slidebars are running or not. - return init; // Returns true or false whether Slidebars are running. - }, - reInit: initialise, // Run the init method to check if the plugin should still be running. - resetCSS: css, // Reset inline - active: function(side) { // Returns true or false whether Slidebar is open or closed. - if (side === 'left' && $left) return leftActive; - if (side === 'right' && $right) return rightActive; - }, - destroy: function(side) { // Removes the Slidebar from the DOM. - if (side === 'left' && $left) { - if (leftActive) close(); // Close if its open. - setTimeout(function() { - $left.remove(); // Remove it. - $left = false; // Set variable to false so it cannot be opened again. - }, 400); - } - if (side === 'right' && $right) { - if (rightActive) close(); // Close if its open. - setTimeout(function() { - $right.remove(); // Remove it. - $right = false; // Set variable to false so it cannot be opened again. - }, 400); - } - } - }; - - // ---------------- - // 008 - User Input - - function eventHandler(event, selector) { - event.stopPropagation(); // Stop event bubbling. - event.preventDefault(); // Prevent default behaviour. - if (event.type === 'touchend') selector.off('click'); // If event type was touch, turn off clicks to prevent phantom clicks. - } - - // Toggle left Slidebar - $('.sb-toggle-left').on('touchend click', function(event) { - eventHandler(event, $(this)); // Handle the event. - toggle('left'); // Toggle the left Slidbar. - }); - - // Toggle right Slidebar - $('.sb-toggle-right').on('touchend click', function(event) { - eventHandler(event, $(this)); // Handle the event. - toggle('right'); // Toggle the right Slidbar. - }); - - // Open left Slidebar - $('.sb-open-left').on('touchend click', function(event) { - eventHandler(event, $(this)); // Handle the event. - open('left'); // Open the left Slidebar. - }); - - // Open right Slidebar - $('.sb-open-right').on('touchend click', function(event) { - eventHandler(event, $(this)); // Handle the event. - open('right'); // Open the right Slidebar. - }); - - // Close Slidebar - $('.sb-close').on('touchend click', function(event) { - if ( $(this).is('a') || $(this).children().is('a') ) { // Is a link or contains a link. - if ( event.type === 'click' ) { // Make sure the user wanted to follow the link. - event.preventDefault(); // Stop default behaviour. - var href = ( $(this).is('a') ? $(this).attr('href') : $(this).find('a').attr('href') ); // Get the href. - close(function() { // Close Slidebar and pass callback to redirect. - window.location = href; - }); - } - } else { // Just a normal control class. - eventHandler(event, $(this)); // Handle the event. - close(); // Close Slidebar. - } - }); - - // Close Slidebar via site - $site.on('touchend click', function(event) { - if (settings.siteClose && (leftActive || rightActive)) { // If settings permit closing by site and left or right Slidebar is open. - eventHandler(event, $(this)); // Handle the event. - close(); // Close it. - } - }); - - }; // End Slidebars function. - -}) (jQuery); \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/602d0996/docs/manual/bower_components/Slidebars/distribution/0.10.1/slidebars.css ---------------------------------------------------------------------- diff --git a/docs/manual/bower_components/Slidebars/distribution/0.10.1/slidebars.css b/docs/manual/bower_components/Slidebars/distribution/0.10.1/slidebars.css deleted file mode 100644 index 4bed2ae..0000000 --- a/docs/manual/bower_components/Slidebars/distribution/0.10.1/slidebars.css +++ /dev/null @@ -1,213 +0,0 @@ -/* ----------------------------------- - * Slidebars - * Version 0.10.1 - * http://plugins.adchsm.me/slidebars/ - * - * Written by Adam Smith - * http://www.adchsm.me/ - * - * Released under MIT License - * http://plugins.adchsm.me/slidebars/license.txt - * - * ------------------- - * Slidebars CSS Index - * - * 001 - Box Model, Html & Body - * 002 - Site - * 003 - Slidebars - * 004 - Animation - * 005 - Helper Classes - * - * ---------------------------- - * 001 - Box Model, Html & Body - */ - -html, body, #sb-site, .sb-site-container, .sb-slidebar { - /* Set box model to prevent any user added margins or paddings from altering the widths or heights. */ - margin: 0; - padding: 0; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -html, body { - width: 100%; - overflow-x: hidden; /* Stops horizontal scrolling. */ -} - -html { - height: 100%; /* Site is as tall as device. */ -} - -body { - min-height: 100%; - height: auto; - position: relative; /* Required for static Slidebars to function properly. */ -} - -/* Site scroll locking - prevent site from scrolling when a Slidebar is open, except when static Slidebars are only available. */ -html.sb-scroll-lock body { - height: 100%; -} - -html.sb-scroll-lock.sb-active:not(.sb-static), -html.sb-scroll-lock.sb-active:not(.sb-static) body { - overflow: hidden; -} - -/* ---------- - * 002 - Site - */ - -#sb-site, .sb-site-container { - /* You may now use class .sb-site-container instead of #sb-site and use your own id. However please make sure you don't set any of the following styles any differently on your id. */ - width: 100%; - position: relative; - z-index: 1; /* Site sits above Slidebars */ - background-color: #ffffff; /* Default background colour, overwrite this with your own css. I suggest moving your html or body background styling here. Making this transparent will allow the Slidebars beneath to be visible. */ -} - -/* --------------- - * 003 - Slidebars - */ - -.sb-slidebar { - height: 100%; - overflow-y: auto; /* Enable vertical scrolling on Slidebars when needed. */ - position: fixed; - top: 0; - z-index: 0; /* Slidebars sit behind sb-site. */ - display: none; /* Initially hide the Slidebars. Changed from visibility to display to allow -webkit-overflow-scrolling. */ - background-color: #222222; /* Default Slidebars background colour, overwrite this with your own css. */ - -webkit-transform: translate(0px); /* Fixes issues with translated and z-indexed elements on iOS 7. */ -} - -.sb-left { - left: 0; /* Set Slidebar to the left. */ -} - -.sb-right { - right: 0; /* Set Slidebar to the right. */ -} - -html.sb-static .sb-slidebar, -.sb-slidebar.sb-static { - position: absolute; /* Makes Slidebars scroll naturally with the site, and unfixes them for Android Browser < 3 and iOS < 5. */ -} - -.sb-slidebar.sb-active { - display: block; /* Makes Slidebars visibile when open. Changed from visibility to display to allow -webkit-overflow-scrolling. */ -} - -.sb-style-overlay { - z-index: 9999; /* Set z-index high to ensure it overlays any other site elements. */ -} - -.sb-momentum-scrolling { - -webkit-overflow-scrolling: touch; /* Adds native momentum scrolling for iOS & Android devices. */ -} - -/* Slidebar widths for browsers/devices that don't support media queries. */ - .sb-slidebar { - width: 30%; - } - - .sb-width-thin { - width: 15%; - } - - .sb-width-wide { - width: 45%; - } - -@media (max-width: 480px) { /* Slidebar widths on extra small screens. */ - .sb-slidebar { - width: 70%; - } - - .sb-width-thin { - width: 55%; - } - - .sb-width-wide { - width: 85%; - } -} - -@media (min-width: 481px) { /* Slidebar widths on small screens. */ - .sb-slidebar { - width: 55%; - } - - .sb-width-thin { - width: 40%; - } - - .sb-width-wide { - width: 70%; - } -} - -@media (min-width: 768px) { /* Slidebar widths on medium screens. */ - .sb-slidebar { - width: 40%; - } - - .sb-width-thin { - width: 25%; - } - - .sb-width-wide { - width: 55%; - } -} - -@media (min-width: 992px) { /* Slidebar widths on large screens. */ - .sb-slidebar { - width: 30%; - } - - .sb-width-thin { - width: 15%; - } - - .sb-width-wide { - width: 45%; - } -} - -@media (min-width: 1200px) { /* Slidebar widths on extra large screens. */ - .sb-slidebar { - width: 20%; - } - - .sb-width-thin { - width: 5%; - } - - .sb-width-wide { - width: 35%; - } -} - -/* --------------- - * 004 - Animation - */ - -.sb-slide, #sb-site, .sb-site-container, .sb-slidebar { - -webkit-transition: -webkit-transform 400ms ease; - -moz-transition: -moz-transform 400ms ease; - -o-transition: -o-transform 400ms ease; - transition: transform 400ms ease; - -webkit-transition-property: -webkit-transform, left, right; /* Add left/right for Android < 4.4. */ - -webkit-backface-visibility: hidden; /* Prevents flickering. This is non essential, and you may remove it if your having problems with fixed background images in Chrome. */ -} - -/* -------------------- - * 005 - Helper Classes - */ - -.sb-hide { - display: none; /* Optionally applied to control classes when Slidebars is disabled over a certain width. */ -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/602d0996/docs/manual/bower_components/Slidebars/distribution/0.10.1/slidebars.js ---------------------------------------------------------------------- diff --git a/docs/manual/bower_components/Slidebars/distribution/0.10.1/slidebars.js b/docs/manual/bower_components/Slidebars/distribution/0.10.1/slidebars.js deleted file mode 100644 index 8f1f42e..0000000 --- a/docs/manual/bower_components/Slidebars/distribution/0.10.1/slidebars.js +++ /dev/null @@ -1,346 +0,0 @@ -// ----------------------------------- -// Slidebars -// Version 0.10.1 -// http://plugins.adchsm.me/slidebars/ -// -// Written by Adam Smith -// http://www.adchsm.me/ -// -// Released under MIT License -// http://plugins.adchsm.me/slidebars/license.txt -// -// --------------------- -// Index of Slidebars.js -// -// 001 - Default Settings -// 002 - Feature Detection -// 003 - User Agents -// 004 - Setup -// 005 - Animation -// 006 - Operations -// 007 - API -// 008 - User Input - -;(function($) { - - $.slidebars = function(options) { - - // ---------------------- - // 001 - Default Settings - - var settings = $.extend({ - siteClose: true, // true or false - Enable closing of Slidebars by clicking on #sb-site. - scrollLock: false, // true or false - Prevent scrolling of site when a Slidebar is open. - disableOver: false, // integer or false - Hide Slidebars over a specific width. - hideControlClasses: false // true or false - Hide controls at same width as disableOver. - }, options); - - // ----------------------- - // 002 - Feature Detection - - var test = document.createElement('div').style, // Create element to test on. - supportTransition = false, // Variable for testing transitions. - supportTransform = false; // variable for testing transforms. - - // Test for CSS Transitions - if (test.MozTransition === '' || test.WebkitTransition === '' || test.OTransition === '' || test.transition === '') supportTransition = true; - - // Test for CSS Transforms - if (test.MozTransform === '' || test.WebkitTransform === '' || test.OTransform === '' || test.transform === '') supportTransform = true; - - // ----------------- - // 003 - User Agents - - var ua = navigator.userAgent, // Get user agent string. - android = false, // Variable for storing android version. - iOS = false; // Variable for storing iOS version. - - if (/Android/.test(ua)) { // Detect Android in user agent string. - android = ua.substr(ua.indexOf('Android')+8, 3); // Set version of Android. - } else if (/(iPhone|iPod|iPad)/.test(ua)) { // Detect iOS in user agent string. - iOS = ua.substr(ua.indexOf('OS ')+3, 3).replace('_', '.'); // Set version of iOS. - } - - if (android && android < 3 || iOS && iOS < 5) $('html').addClass('sb-static'); // Add helper class for older versions of Android & iOS. - - // ----------- - // 004 - Setup - - // Site container - var $site = $('#sb-site, .sb-site-container'); // Cache the selector. - - // Left Slidebar - if ($('.sb-left').length) { // Check if the left Slidebar exists. - var $left = $('.sb-left'), // Cache the selector. - leftActive = false; // Used to check whether the left Slidebar is open or closed. - } - - // Right Slidebar - if ($('.sb-right').length) { // Check if the right Slidebar exists. - var $right = $('.sb-right'), // Cache the selector. - rightActive = false; // Used to check whether the right Slidebar is open or closed. - } - - var init = false, // Initialisation variable. - windowWidth = $(window).width(), // Get width of window. - $controls = $('.sb-toggle-left, .sb-toggle-right, .sb-open-left, .sb-open-right, .sb-close'), // Cache the control classes. - $slide = $('.sb-slide'); // Cache users elements to animate. - - // Initailise Slidebars - function initialise() { - if (!settings.disableOver || (typeof settings.disableOver === 'number' && settings.disableOver >= windowWidth)) { // False or larger than window size. - init = true; // true enabled Slidebars to open. - $('html').addClass('sb-init'); // Add helper class. - if (settings.hideControlClasses) $controls.removeClass('sb-hide'); // Remove class just incase Slidebars was originally disabled. - css(); // Set required inline styles. - } else if (typeof settings.disableOver === 'number' && settings.disableOver < windowWidth) { // Less than window size. - init = false; // false stop Slidebars from opening. - $('html').removeClass('sb-init'); // Remove helper class. - if (settings.hideControlClasses) $controls.addClass('sb-hide'); // Hide controls - $site.css('minHeight', ''); // Remove minimum height. - if (leftActive || rightActive) close(); // Close Slidebars if open. - } - } - initialise(); - - // Inline CSS - function css() { - // Set minimum height. - $site.css('minHeight', ''); // Reset minimum height. - $site.css('minHeight', $('html').height() + 'px'); // Set minimum height of the site to the minimum height of the html. - - // Custom Slidebar widths. - if ($left && $left.hasClass('sb-width-custom')) $left.css('width', $left.attr('data-sb-width')); // Set user custom width. - if ($right && $right.hasClass('sb-width-custom')) $right.css('width', $right.attr('data-sb-width')); // Set user custom width. - - // Set off-canvas margins for Slidebars with push and overlay animations. - if ($left && ($left.hasClass('sb-style-push') || $left.hasClass('sb-style-overlay'))) $left.css('marginLeft', '-' + $left.css('width')); - if ($right && ($right.hasClass('sb-style-push') || $right.hasClass('sb-style-overlay'))) $right.css('marginRight', '-' + $right.css('width')); - - // Site scroll locking. - if (settings.scrollLock) $('html').addClass('sb-scroll-lock'); - } - - // Resize Functions - $(window).resize(function() { - var resizedWindowWidth = $(window).width(); // Get resized window width. - if (windowWidth !== resizedWindowWidth) { // Slidebars is running and window was actually resized. - windowWidth = resizedWindowWidth; // Set the new window width. - initialise(); // Call initalise to see if Slidebars should still be running. - if (leftActive) open('left'); // If left Slidebar is open, calling open will ensure it is the correct size. - if (rightActive) open('right'); // If right Slidebar is open, calling open will ensure it is the correct size. - } - }); - // I may include a height check along side a width check here in future. - - // --------------- - // 005 - Animation - - var animation; // Animation type. - - // Set animation type. - if (supportTransition && supportTransform) { // Browser supports css transitions and transforms. - animation = 'translate'; // Translate for browsers that support it. - if (android && android < 4.4) animation = 'side'; // Android supports both, but can't translate any fixed positions, so use left instead. - } else { - animation = 'jQuery'; // Browsers that don't support css transitions and transitions. - } - - // Animate mixin. - function animate(object, amount, side) { - // Choose selectors depending on animation style. - var selector; - - if (object.hasClass('sb-style-push')) { - selector = $site.add(object).add($slide); // Push - Animate site, Slidebar and user elements. - } else if (object.hasClass('sb-style-overlay')) { - selector = object; // Overlay - Animate Slidebar only. - } else { - selector = $site.add($slide); // Reveal - Animate site and user elements. - } - - // Apply animation - if (animation === 'translate') { - selector.css('transform', 'translate(' + amount + ')'); // Apply the animation. - - } else if (animation === 'side') { - if (amount[0] === '-') amount = amount.substr(1); // Remove the '-' from the passed amount for side animations. - if (amount !== '0px') selector.css(side, '0px'); // Add a 0 value so css transition works. - setTimeout(function() { // Set a timeout to allow the 0 value to be applied above. - selector.css(side, amount); // Apply the animation. - }, 1); - - } else if (animation === 'jQuery') { - if (amount[0] === '-') amount = amount.substr(1); // Remove the '-' from the passed amount for jQuery animations. - var properties = {}; - properties[side] = amount; - selector.stop().animate(properties, 400); // Stop any current jQuery animation before starting another. - } - - // If closed, remove the inline styling on completion of the animation. - setTimeout(function() { - if (amount === '0px') { - selector.removeAttr('style'); - css(); - } - }, 400); - } - - // ---------------- - // 006 - Operations - - // Open a Slidebar - function open(side) { - // Check to see if opposite Slidebar is open. - if (side === 'left' && $left && rightActive || side === 'right' && $right && leftActive) { // It's open, close it, then continue. - close(); - setTimeout(proceed, 400); - } else { // Its not open, continue. - proceed(); - } - - // Open - function proceed() { - if (init && side === 'left' && $left) { // Slidebars is initiated, left is in use and called to open. - $('html').addClass('sb-active sb-active-left'); // Add active classes. - $left.addClass('sb-active'); - animate($left, $left.css('width'), 'left'); // Animation - setTimeout(function() { leftActive = true; }, 400); // Set active variables. - } else if (init && side === 'right' && $right) { // Slidebars is initiated, right is in use and called to open. - $('html').addClass('sb-active sb-active-right'); // Add active classes. - $right.addClass('sb-active'); - animate($right, '-' + $right.css('width'), 'right'); // Animation - setTimeout(function() { rightActive = true; }, 400); // Set active variables. - } - } - } - - // Close either Slidebar - function close(link) { - if (leftActive || rightActive) { // If a Slidebar is open. - if (leftActive) { - animate($left, '0px', 'left'); // Animation - leftActive = false; - } - if (rightActive) { - animate($right, '0px', 'right'); // Animation - rightActive = false; - } - - setTimeout(function() { // Wait for closing animation to finish. - $('html').removeClass('sb-active sb-active-left sb-active-right'); // Remove active classes. - if ($left) $left.removeClass('sb-active'); - if ($right) $right.removeClass('sb-active'); - if (typeof link !== 'undefined') window.location = link; // If a link has been passed to the function, go to it. - }, 400); - } - } - - // Toggle either Slidebar - function toggle(side) { - if (side === 'left' && $left) { // If left Slidebar is called and in use. - if (!leftActive) { - open('left'); // Slidebar is closed, open it. - } else { - close(); // Slidebar is open, close it. - } - } - if (side === 'right' && $right) { // If right Slidebar is called and in use. - if (!rightActive) { - open('right'); // Slidebar is closed, open it. - } else { - close(); // Slidebar is open, close it. - } - } - } - - // --------- - // 007 - API - - this.slidebars = { - open: open, // Maps user variable name to the open method. - close: close, // Maps user variable name to the close method. - toggle: toggle, // Maps user variable name to the toggle method. - init: function() { // Returns true or false whether Slidebars are running or not. - return init; // Returns true or false whether Slidebars are running. - }, - active: function(side) { // Returns true or false whether Slidebar is open or closed. - if (side === 'left' && $left) return leftActive; - if (side === 'right' && $right) return rightActive; - }, - destroy: function(side) { // Removes the Slidebar from the DOM. - if (side === 'left' && $left) { - if (leftActive) close(); // Close if its open. - setTimeout(function() { - $left.remove(); // Remove it. - $left = false; // Set variable to false so it cannot be opened again. - }, 400); - } - if (side === 'right' && $right) { - if (rightActive) close(); // Close if its open. - setTimeout(function() { - $right.remove(); // Remove it. - $right = false; // Set variable to false so it cannot be opened again. - }, 400); - } - } - }; - - // ---------------- - // 008 - User Input - - function eventHandler(event, selector) { - event.stopPropagation(); // Stop event bubbling. - event.preventDefault(); // Prevent default behaviour. - if (event.type === 'touchend') selector.off('click'); // If event type was touch, turn off clicks to prevent phantom clicks. - } - - // Toggle left Slidebar - $('.sb-toggle-left').on('touchend click', function(event) { - eventHandler(event, $(this)); // Handle the event. - toggle('left'); // Toggle the left Slidbar. - }); - - // Toggle right Slidebar - $('.sb-toggle-right').on('touchend click', function(event) { - eventHandler(event, $(this)); // Handle the event. - toggle('right'); // Toggle the right Slidbar. - }); - - // Open left Slidebar - $('.sb-open-left').on('touchend click', function(event) { - eventHandler(event, $(this)); // Handle the event. - open('left'); // Open the left Slidebar. - }); - - // Open right Slidebar - $('.sb-open-right').on('touchend click', function(event) { - eventHandler(event, $(this)); // Handle the event. - open('right'); // Open the right Slidebar. - }); - - // Close Slidebar - $('.sb-close').on('touchend click', function(event) { - if ( $(this).is('a') || $(this).children().is('a') ) { // Is a link or contains a link. - if ( event.type === 'click' ) { // Make sure the user wanted to follow the link. - event.preventDefault(); // Stop default behaviour. - var href = ( $(this).is('a') ? $(this).attr('href') : $(this).find('a').attr('href') ); // Get the href. - close( href ); // Close Slidebar and pass link. - } - } else { // Just a normal control class. - eventHandler(event, $(this)); // Handle the event. - close(); // Close Slidebar. - } - }); - - // Close Slidebar via site - $site.on('touchend click', function(event) { - if (settings.siteClose && (leftActive || rightActive)) { // If settings permit closing by site and left or right Slidebar is open. - eventHandler(event, $(this)); // Handle the event. - close(); // Close it. - } - }); - - }; // End Slidebars function. - -}) (jQuery); \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/602d0996/docs/manual/bower_components/Slidebars/distribution/0.10.1/slidebars.min.css ---------------------------------------------------------------------- diff --git a/docs/manual/bower_components/Slidebars/distribution/0.10.1/slidebars.min.css b/docs/manual/bower_components/Slidebars/distribution/0.10.1/slidebars.min.css deleted file mode 100644 index b129ab4..0000000 --- a/docs/manual/bower_components/Slidebars/distribution/0.10.1/slidebars.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/* Slidebars 0.10.1 (http://plugins.adchsm.me/slidebars/) written by Adam Smith (http://www.adchsm.me/) released under MIT License (http://plugins.adchsm.me/slidebars/license.txt) */ -#sb-site,.sb-site-container,.sb-slidebar,body,html{margin:0;padding:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}body,html{width:100%;overflow-x:hidden}html{height:100%}body{min-height:100%;height:auto;position:relative}html.sb-scroll-lock body{height:100%}html.sb-scroll-lock.sb-active:not(.sb-static),html.sb-scroll-lock.sb-active:not(.sb-static) body{overflow:hidden}#sb-site,.sb-site-container{width:100%;position:relative;z-index:1;background-color:#fff}.sb-slidebar{height:100%;overflow-y:auto;position:fixed;top:0;z-index:0;display:none;background-color:#222;-webkit-transform:translate(0px)}.sb-left{left:0}.sb-right{right:0}.sb-slidebar.sb-static,html.sb-static .sb-slidebar{position:absolute}.sb-slidebar.sb-active{display:block}.sb-style-overlay{z-index:9999}.sb-momentum-scrolling{-webkit-overflow-scrolling:touch}.sb-slidebar{width:30%}.sb-width-thin{width:15%}.sb-width-wide{width:45%}@media (max-width:480px){.sb-slidebar{width:70%}.sb-width-thin {width:55%}.sb-width-wide{width:85%}}@media (min-width:481px){.sb-slidebar{width:55%}.sb-width-thin{width:40%}.sb-width-wide{width:70%}}@media (min-width:768px){.sb-slidebar{width:40%}.sb-width-thin{width:25%}.sb-width-wide{width:55%}}@media (min-width:992px){.sb-slidebar{width:30%}.sb-width-thin{width:15%}.sb-width-wide{width:45%}}@media (min-width:1200px){.sb-slidebar{width:20%}.sb-width-thin{width:5%}.sb-width-wide{width:35%}}#sb-site,.sb-site-container,.sb-slide,.sb-slidebar{-webkit-transition:-webkit-transform 400ms ease;-moz-transition:-moz-transform 400ms ease;-o-transition:-o-transform 400ms ease;transition:transform 400ms ease;-webkit-transition-property:-webkit-transform,left,right;-webkit-backface-visibility:hidden}.sb-hide{display:none} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/602d0996/docs/manual/bower_components/Slidebars/distribution/0.10.1/slidebars.min.js ---------------------------------------------------------------------- diff --git a/docs/manual/bower_components/Slidebars/distribution/0.10.1/slidebars.min.js b/docs/manual/bower_components/Slidebars/distribution/0.10.1/slidebars.min.js deleted file mode 100644 index 24c0074..0000000 --- a/docs/manual/bower_components/Slidebars/distribution/0.10.1/slidebars.min.js +++ /dev/null @@ -1,2 +0,0 @@ -// Slidebars 0.10.1 (http://plugins.adchsm.me/slidebars/) written by Adam Smith (http://www.adchsm.me/) released under MIT License (http://plugins.adchsm.me/slidebars/license.txt) -!function(t){t.slidebars=function(s){function e(){!c.disableOver||"number"==typeof c.disableOver&&c.disableOver>=T?(y=!0,t("html").addClass("sb-init"),c.hideControlClasses&&k.removeClass("sb-hide"),i()):"number"==typeof c.disableOver&&c.disableOver<T&&(y=!1,t("html").removeClass("sb-init"),c.hideControlClasses&&k.addClass("sb-hide"),g.css("minHeight",""),(C||w)&&a())}function i(){g.css("minHeight",""),g.css("minHeight",t("html").height()+"px"),m&&m.hasClass("sb-width-custom")&&m.css("width",m.attr("data-sb-width")),p&&p.hasClass("sb-width-custom")&&p.css("width",p.attr("data-sb-width")),m&&(m.hasClass("sb-style-push")||m.hasClass("sb-style-overlay"))&&m.css("marginLeft","-"+m.css("width")),p&&(p.hasClass("sb-style-push")||p.hasClass("sb-style-overlay"))&&p.css("marginRight","-"+p.css("width")),c.scrollLock&&t("html").addClass("sb-scroll-lock")}function n(t,s,e){var n;if(n=t.hasClass("sb-style-push")?g.add(t).add(O):t.hasClass("sb-style-overlay")?t:g.add(O),"translate"===x)n.css("tra nsform","translate("+s+")");else if("side"===x)"-"===s[0]&&(s=s.substr(1)),"0px"!==s&&n.css(e,"0px"),setTimeout(function(){n.css(e,s)},1);else if("jQuery"===x){"-"===s[0]&&(s=s.substr(1));var o={};o[e]=s,n.stop().animate(o,400)}setTimeout(function(){"0px"===s&&(n.removeAttr("style"),i())},400)}function o(s){function e(){y&&"left"===s&&m?(t("html").addClass("sb-active sb-active-left"),m.addClass("sb-active"),n(m,m.css("width"),"left"),setTimeout(function(){C=!0},400)):y&&"right"===s&&p&&(t("html").addClass("sb-active sb-active-right"),p.addClass("sb-active"),n(p,"-"+p.css("width"),"right"),setTimeout(function(){w=!0},400))}"left"===s&&m&&w||"right"===s&&p&&C?(a(),setTimeout(e,400)):e()}function a(s){(C||w)&&(C&&(n(m,"0px","left"),C=!1),w&&(n(p,"0px","right"),w=!1),setTimeout(function(){t("html").removeClass("sb-active sb-active-left sb-active-right"),m&&m.removeClass("sb-active"),p&&p.removeClass("sb-active"),"undefined"!=typeof s&&(window.location=s)},400))}function l(t){"left"===t& &m&&(C?a():o("left")),"right"===t&&p&&(w?a():o("right"))}function r(t,s){t.stopPropagation(),t.preventDefault(),"touchend"===t.type&&s.off("click")}var c=t.extend({siteClose:!0,scrollLock:!1,disableOver:!1,hideControlClasses:!1},s),h=document.createElement("div").style,d=!1,f=!1;(""===h.MozTransition||""===h.WebkitTransition||""===h.OTransition||""===h.transition)&&(d=!0),(""===h.MozTransform||""===h.WebkitTransform||""===h.OTransform||""===h.transform)&&(f=!0);var u=navigator.userAgent,b=!1,v=!1;/Android/.test(u)?b=u.substr(u.indexOf("Android")+8,3):/(iPhone|iPod|iPad)/.test(u)&&(v=u.substr(u.indexOf("OS ")+3,3).replace("_",".")),(b&&3>b||v&&5>v)&&t("html").addClass("sb-static");var g=t("#sb-site, .sb-site-container");if(t(".sb-left").length)var m=t(".sb-left"),C=!1;if(t(".sb-right").length)var p=t(".sb-right"),w=!1;var y=!1,T=t(window).width(),k=t(".sb-toggle-left, .sb-toggle-right, .sb-open-left, .sb-open-right, .sb-close"),O=t(".sb-slide");e(),t(window).resize(function(){var s=t (window).width();T!==s&&(T=s,e(),C&&o("left"),w&&o("right"))});var x;d&&f?(x="translate",b&&4.4>b&&(x="side")):x="jQuery",this.slidebars={open:o,close:a,toggle:l,init:function(){return y},active:function(t){return"left"===t&&m?C:"right"===t&&p?w:void 0},destroy:function(t){"left"===t&&m&&(C&&a(),setTimeout(function(){m.remove(),m=!1},400)),"right"===t&&p&&(w&&a(),setTimeout(function(){p.remove(),p=!1},400))}},t(".sb-toggle-left").on("touchend click",function(s){r(s,t(this)),l("left")}),t(".sb-toggle-right").on("touchend click",function(s){r(s,t(this)),l("right")}),t(".sb-open-left").on("touchend click",function(s){r(s,t(this)),o("left")}),t(".sb-open-right").on("touchend click",function(s){r(s,t(this)),o("right")}),t(".sb-close").on("touchend click",function(s){if(t(this).is("a")||t(this).children().is("a")){if("click"===s.type){s.preventDefault();var e=t(this).is("a")?t(this).attr("href"):t(this).find("a").attr("href");a(e)}}else r(s,t(this)),a()}),g.on("touchend click",function(s) {c.siteClose&&(C||w)&&(r(s,t(this)),a())})}}(jQuery); \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/602d0996/docs/manual/bower_components/Slidebars/distribution/0.10.2/slidebars.css ---------------------------------------------------------------------- diff --git a/docs/manual/bower_components/Slidebars/distribution/0.10.2/slidebars.css b/docs/manual/bower_components/Slidebars/distribution/0.10.2/slidebars.css deleted file mode 100644 index c09b2d9..0000000 --- a/docs/manual/bower_components/Slidebars/distribution/0.10.2/slidebars.css +++ /dev/null @@ -1,208 +0,0 @@ -/* ----------------------------------- - * Slidebars - * Version 0.10.2 - * http://plugins.adchsm.me/slidebars/ - * - * Written by Adam Smith - * http://www.adchsm.me/ - * - * Released under MIT License - * http://plugins.adchsm.me/slidebars/license.txt - * - * ------------------- - * Slidebars CSS Index - * - * 001 - Box Model, Html & Body - * 002 - Site - * 003 - Slidebars - * 004 - Animation - * 005 - Helper Classes - * - * ---------------------------- - * 001 - Box Model, Html & Body - */ - -html, body, #sb-site, .sb-site-container, .sb-slidebar { - /* Set box model to prevent any user added margins or paddings from altering the widths or heights. */ - margin: 0; - padding: 0; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -html, body { - width: 100%; - overflow-x: hidden; /* Stops horizontal scrolling. */ -} - -html { - height: 100%; /* Site is as tall as device. */ -} - -body { - min-height: 100%; - height: auto; - position: relative; /* Required for static Slidebars to function properly. */ -} - -/* Site scroll locking - prevent site from scrolling when a Slidebar is open, except when static Slidebars are only available. */ -html.sb-scroll-lock.sb-active:not(.sb-static) { - overflow: hidden; -} - -/* ---------- - * 002 - Site - */ - -#sb-site, .sb-site-container { - /* You may now use class .sb-site-container instead of #sb-site and use your own id. However please make sure you don't set any of the following styles any differently on your id. */ - width: 100%; - position: relative; - z-index: 1; /* Site sits above Slidebars */ - background-color: #ffffff; /* Default background colour, overwrite this with your own css. I suggest moving your html or body background styling here. Making this transparent will allow the Slidebars beneath to be visible. */ -} - -/* --------------- - * 003 - Slidebars - */ - -.sb-slidebar { - height: 100%; - overflow-y: auto; /* Enable vertical scrolling on Slidebars when needed. */ - position: fixed; - top: 0; - z-index: 0; /* Slidebars sit behind sb-site. */ - display: none; /* Initially hide the Slidebars. Changed from visibility to display to allow -webkit-overflow-scrolling. */ - background-color: #222222; /* Default Slidebars background colour, overwrite this with your own css. */ - -webkit-transform: translate(0px); /* Fixes issues with translated and z-indexed elements on iOS 7. */ -} - -.sb-left { - left: 0; /* Set Slidebar to the left. */ -} - -.sb-right { - right: 0; /* Set Slidebar to the right. */ -} - -html.sb-static .sb-slidebar, -.sb-slidebar.sb-static { - position: absolute; /* Makes Slidebars scroll naturally with the site, and unfixes them for Android Browser < 3 and iOS < 5. */ -} - -.sb-slidebar.sb-active { - display: block; /* Makes Slidebars visibile when open. Changed from visibility to display to allow -webkit-overflow-scrolling. */ -} - -.sb-style-overlay { - z-index: 9999; /* Set z-index high to ensure it overlays any other site elements. */ -} - -.sb-momentum-scrolling { - -webkit-overflow-scrolling: touch; /* Adds native momentum scrolling for iOS & Android devices. */ -} - -/* Slidebar widths for browsers/devices that don't support media queries. */ - .sb-slidebar { - width: 30%; - } - - .sb-width-thin { - width: 15%; - } - - .sb-width-wide { - width: 45%; - } - -@media (max-width: 480px) { /* Slidebar widths on extra small screens. */ - .sb-slidebar { - width: 70%; - } - - .sb-width-thin { - width: 55%; - } - - .sb-width-wide { - width: 85%; - } -} - -@media (min-width: 481px) { /* Slidebar widths on small screens. */ - .sb-slidebar { - width: 55%; - } - - .sb-width-thin { - width: 40%; - } - - .sb-width-wide { - width: 70%; - } -} - -@media (min-width: 768px) { /* Slidebar widths on medium screens. */ - .sb-slidebar { - width: 40%; - } - - .sb-width-thin { - width: 25%; - } - - .sb-width-wide { - width: 55%; - } -} - -@media (min-width: 992px) { /* Slidebar widths on large screens. */ - .sb-slidebar { - width: 30%; - } - - .sb-width-thin { - width: 15%; - } - - .sb-width-wide { - width: 45%; - } -} - -@media (min-width: 1200px) { /* Slidebar widths on extra large screens. */ - .sb-slidebar { - width: 20%; - } - - .sb-width-thin { - width: 5%; - } - - .sb-width-wide { - width: 35%; - } -} - -/* --------------- - * 004 - Animation - */ - -.sb-slide, #sb-site, .sb-site-container, .sb-slidebar { - -webkit-transition: -webkit-transform 400ms ease; - -moz-transition: -moz-transform 400ms ease; - -o-transition: -o-transform 400ms ease; - transition: transform 400ms ease; - -webkit-transition-property: -webkit-transform, left, right; /* Add left/right for Android < 4.4. */ - -webkit-backface-visibility: hidden; /* Prevents flickering. This is non essential, and you may remove it if your having problems with fixed background images in Chrome. */ -} - -/* -------------------- - * 005 - Helper Classes - */ - -.sb-hide { - display: none; /* Optionally applied to control classes when Slidebars is disabled over a certain width. */ -} \ No newline at end of file
