From d169c653a00bb53c206adf4d251f7ee5e6da3f74 Mon Sep 17 00:00:00 2001 From: Steven Wanderski Date: Fri, 24 Feb 2017 06:16:43 -0600 Subject: [PATCH] Removes auto center from theme - v4.2.8 --- bower.json | 2 +- dist/README.md | 4 ++-- dist/jquery.bxslider.css | 4 ++-- dist/jquery.bxslider.js | 2 +- dist/jquery.bxslider.min.css | 2 +- dist/jquery.bxslider.min.js | 2 +- package.json | 2 +- readme.md | 5 ++++- src/css/jquery.bxslider.css | 4 ++-- src/js/jquery.bxslider.js | 2 +- 10 files changed, 16 insertions(+), 13 deletions(-) diff --git a/bower.json b/bower.json index dc8591bb..361fee8a 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "bxslider-4", - "version": "4.2.7", + "version": "4.2.8", "homepage": "http://bxslider.com", "license": "MIT", "main": [ diff --git a/dist/README.md b/dist/README.md index 2cec7ba4..fcc81369 100644 --- a/dist/README.md +++ b/dist/README.md @@ -4,7 +4,7 @@ https://github.com/stevenwanderski/bxslider-4/issues/1095 --- -#bxSlider 4.2.7 +#bxSlider 4.2.8 ##The fully-loaded, responsive jQuery content slider ###Why should I use this slider? @@ -638,7 +638,7 @@ Everyone is welcome to help [contribute](CONTRIBUTING.md) and improve this proje ## Changelog -### Version 4.2.7 +### Version 4.2.8 * Allows new version to be published to NPM ### Version 4.2.6 diff --git a/dist/jquery.bxslider.css b/dist/jquery.bxslider.css index c18fd726..c03bd66d 100644 --- a/dist/jquery.bxslider.css +++ b/dist/jquery.bxslider.css @@ -1,10 +1,10 @@ -/** VARIABLES +/** VARIABLES ===================================*/ /** RESET AND LAYOUT ===================================*/ .bx-wrapper { position: relative; - margin: 0 auto 60px; + margin-bottom: 60px; padding: 0; *zoom: 1; -ms-touch-action: pan-y; diff --git a/dist/jquery.bxslider.js b/dist/jquery.bxslider.js index 4c237fe0..5b8da0a9 100644 --- a/dist/jquery.bxslider.js +++ b/dist/jquery.bxslider.js @@ -1,5 +1,5 @@ /** - * bxSlider v4.2.7 + * bxSlider v4.2.8 * Copyright 2013-2015 Steven Wanderski * Written while drinking Belgian ales and listening to jazz * Licensed under MIT (http://opensource.org/licenses/MIT) diff --git a/dist/jquery.bxslider.min.css b/dist/jquery.bxslider.min.css index dd9d9069..19dad50a 100644 --- a/dist/jquery.bxslider.min.css +++ b/dist/jquery.bxslider.min.css @@ -1 +1 @@ -.bx-wrapper{position:relative;margin:0 auto 60px;padding:0;-ms-touch-action:pan-y;touch-action:pan-y;-moz-box-shadow:0 0 5px #ccc;-webkit-box-shadow:0 0 5px #ccc;box-shadow:0 0 5px #ccc;border:5px solid #fff;background:#fff}.bx-wrapper img{max-width:100%;display:block}.bxslider{margin:0;padding:0}ul.bxslider{list-style:none}.bx-viewport{-webkit-transform:translatez(0)}.bx-wrapper .bx-controls-auto,.bx-wrapper .bx-pager{position:absolute;bottom:-30px;width:100%}.bx-wrapper .bx-loading{min-height:50px;background:url(images/bx_loader.gif) center center no-repeat #fff;height:100%;width:100%;position:absolute;top:0;left:0;z-index:2000}.bx-wrapper .bx-pager{text-align:center;font-size:.85em;font-family:Arial;font-weight:700;color:#666;padding-top:20px}.bx-wrapper .bx-pager.bx-default-pager a{background:#666;text-indent:-9999px;display:block;width:10px;height:10px;margin:0 5px;outline:0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.bx-wrapper .bx-pager.bx-default-pager a.active,.bx-wrapper .bx-pager.bx-default-pager a:focus,.bx-wrapper .bx-pager.bx-default-pager a:hover{background:#000}.bx-wrapper .bx-controls-auto .bx-controls-auto-item,.bx-wrapper .bx-pager-item{display:inline-block}.bx-wrapper .bx-pager-item{font-size:0;line-height:0}.bx-wrapper .bx-prev{left:10px;background:url(images/controls.png) 0 -32px no-repeat}.bx-wrapper .bx-prev:focus,.bx-wrapper .bx-prev:hover{background-position:0 0}.bx-wrapper .bx-next{right:10px;background:url(images/controls.png) -43px -32px no-repeat}.bx-wrapper .bx-next:focus,.bx-wrapper .bx-next:hover{background-position:-43px 0}.bx-wrapper .bx-controls-direction a{position:absolute;top:50%;margin-top:-16px;outline:0;width:32px;height:32px;text-indent:-9999px;z-index:9999}.bx-wrapper .bx-controls-direction a.disabled{display:none}.bx-wrapper .bx-controls-auto{text-align:center}.bx-wrapper .bx-controls-auto .bx-start{display:block;text-indent:-9999px;width:10px;height:11px;outline:0;background:url(images/controls.png) -86px -11px no-repeat;margin:0 3px}.bx-wrapper .bx-controls-auto .bx-start.active,.bx-wrapper .bx-controls-auto .bx-start:focus,.bx-wrapper .bx-controls-auto .bx-start:hover{background-position:-86px 0}.bx-wrapper .bx-controls-auto .bx-stop{display:block;text-indent:-9999px;width:9px;height:11px;outline:0;background:url(images/controls.png) -86px -44px no-repeat;margin:0 3px}.bx-wrapper .bx-controls-auto .bx-stop.active,.bx-wrapper .bx-controls-auto .bx-stop:focus,.bx-wrapper .bx-controls-auto .bx-stop:hover{background-position:-86px -33px}.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager{text-align:left;width:80%}.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto{right:0;width:35px}.bx-wrapper .bx-caption{position:absolute;bottom:0;left:0;background:#666;background:rgba(80,80,80,.75);width:100%}.bx-wrapper .bx-caption span{color:#fff;font-family:Arial;display:block;font-size:.85em;padding:10px} \ No newline at end of file +.bx-wrapper{position:relative;margin-bottom:60px;padding:0;-ms-touch-action:pan-y;touch-action:pan-y;-moz-box-shadow:0 0 5px #ccc;-webkit-box-shadow:0 0 5px #ccc;box-shadow:0 0 5px #ccc;border:5px solid #fff;background:#fff}.bx-wrapper img{max-width:100%;display:block}.bxslider{margin:0;padding:0}ul.bxslider{list-style:none}.bx-viewport{-webkit-transform:translatez(0)}.bx-wrapper .bx-controls-auto,.bx-wrapper .bx-pager{position:absolute;bottom:-30px;width:100%}.bx-wrapper .bx-loading{min-height:50px;background:url(images/bx_loader.gif) center center no-repeat #fff;height:100%;width:100%;position:absolute;top:0;left:0;z-index:2000}.bx-wrapper .bx-pager{text-align:center;font-size:.85em;font-family:Arial;font-weight:700;color:#666;padding-top:20px}.bx-wrapper .bx-pager.bx-default-pager a{background:#666;text-indent:-9999px;display:block;width:10px;height:10px;margin:0 5px;outline:0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.bx-wrapper .bx-pager.bx-default-pager a.active,.bx-wrapper .bx-pager.bx-default-pager a:focus,.bx-wrapper .bx-pager.bx-default-pager a:hover{background:#000}.bx-wrapper .bx-controls-auto .bx-controls-auto-item,.bx-wrapper .bx-pager-item{display:inline-block}.bx-wrapper .bx-pager-item{font-size:0;line-height:0}.bx-wrapper .bx-prev{left:10px;background:url(images/controls.png) 0 -32px no-repeat}.bx-wrapper .bx-prev:focus,.bx-wrapper .bx-prev:hover{background-position:0 0}.bx-wrapper .bx-next{right:10px;background:url(images/controls.png) -43px -32px no-repeat}.bx-wrapper .bx-next:focus,.bx-wrapper .bx-next:hover{background-position:-43px 0}.bx-wrapper .bx-controls-direction a{position:absolute;top:50%;margin-top:-16px;outline:0;width:32px;height:32px;text-indent:-9999px;z-index:9999}.bx-wrapper .bx-controls-direction a.disabled{display:none}.bx-wrapper .bx-controls-auto{text-align:center}.bx-wrapper .bx-controls-auto .bx-start{display:block;text-indent:-9999px;width:10px;height:11px;outline:0;background:url(images/controls.png) -86px -11px no-repeat;margin:0 3px}.bx-wrapper .bx-controls-auto .bx-start.active,.bx-wrapper .bx-controls-auto .bx-start:focus,.bx-wrapper .bx-controls-auto .bx-start:hover{background-position:-86px 0}.bx-wrapper .bx-controls-auto .bx-stop{display:block;text-indent:-9999px;width:9px;height:11px;outline:0;background:url(images/controls.png) -86px -44px no-repeat;margin:0 3px}.bx-wrapper .bx-controls-auto .bx-stop.active,.bx-wrapper .bx-controls-auto .bx-stop:focus,.bx-wrapper .bx-controls-auto .bx-stop:hover{background-position:-86px -33px}.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager{text-align:left;width:80%}.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto{right:0;width:35px}.bx-wrapper .bx-caption{position:absolute;bottom:0;left:0;background:#666;background:rgba(80,80,80,.75);width:100%}.bx-wrapper .bx-caption span{color:#fff;font-family:Arial;display:block;font-size:.85em;padding:10px} \ No newline at end of file diff --git a/dist/jquery.bxslider.min.js b/dist/jquery.bxslider.min.js index ba5fbf3a..73ef04a0 100644 --- a/dist/jquery.bxslider.min.js +++ b/dist/jquery.bxslider.min.js @@ -1,5 +1,5 @@ /** - * bxSlider v4.2.7 + * bxSlider v4.2.8 * Copyright 2013-2015 Steven Wanderski * Written while drinking Belgian ales and listening to jazz * Licensed under MIT (http://opensource.org/licenses/MIT) diff --git a/package.json b/package.json index e2c0e0a7..b6f12e6c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "bxslider", "description": "Touch enabled jQuery plugin for creating responsive carousels and sliders.", - "version": "4.2.7", + "version": "4.2.8", "homepage": "http://bxslider.com", "author": { "name": "Steven Wanderski", diff --git a/readme.md b/readme.md index 2cec7ba4..b64c5209 100644 --- a/readme.md +++ b/readme.md @@ -4,7 +4,7 @@ https://github.com/stevenwanderski/bxslider-4/issues/1095 --- -#bxSlider 4.2.7 +#bxSlider 4.2.8 ##The fully-loaded, responsive jQuery content slider ###Why should I use this slider? @@ -638,6 +638,9 @@ Everyone is welcome to help [contribute](CONTRIBUTING.md) and improve this proje ## Changelog +### Version 4.2.8 +* Removes auto-centering from the theme file (`jquery.bxslider.css`) + ### Version 4.2.7 * Allows new version to be published to NPM diff --git a/src/css/jquery.bxslider.css b/src/css/jquery.bxslider.css index c18fd726..c03bd66d 100644 --- a/src/css/jquery.bxslider.css +++ b/src/css/jquery.bxslider.css @@ -1,10 +1,10 @@ -/** VARIABLES +/** VARIABLES ===================================*/ /** RESET AND LAYOUT ===================================*/ .bx-wrapper { position: relative; - margin: 0 auto 60px; + margin-bottom: 60px; padding: 0; *zoom: 1; -ms-touch-action: pan-y; diff --git a/src/js/jquery.bxslider.js b/src/js/jquery.bxslider.js index 4c237fe0..5b8da0a9 100644 --- a/src/js/jquery.bxslider.js +++ b/src/js/jquery.bxslider.js @@ -1,5 +1,5 @@ /** - * bxSlider v4.2.7 + * bxSlider v4.2.8 * Copyright 2013-2015 Steven Wanderski * Written while drinking Belgian ales and listening to jazz * Licensed under MIT (http://opensource.org/licenses/MIT)