Skip to content

Commit

Permalink
path to img resources as option, might help with #62
Browse files Browse the repository at this point in the history
  • Loading branch information
sftsk committed Mar 10, 2015
1 parent 46ebfb9 commit 67fca91
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 15 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ Icon
*.sass-cache

node_modules
source
source
build
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "slippry",
"version": "1.2.7",
"version": "1.2.8",
"homepage": "http://slippry.com",
"authors": [
"Lukas Jakob Hafner - @saftsaak",
Expand Down
8 changes: 4 additions & 4 deletions dist/slippry.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/**
*
* slippry v1.2.7 - Responsive content slider for jQuery
* slippry v1.2.8 - Responsive content slider for jQuery
* http://slippry.com
*
* Authors: Lukas Jakob Hafner - @saftsaak
* Thomas Hurd - @SeenNotHurd
*
* Copyright 2014, booncon oy - http://booncon.com
* Copyright 2015, booncon oy - http://booncon.com
*
*
* Released under the MIT license - http://opensource.org/licenses/MIT
Expand Down Expand Up @@ -102,7 +102,7 @@
transform: translateY(-20%) translateX(-10%); } }
/* added to the original element calling slippry */
.sy-box.sy-loading {
background: url(/images/sy-loader.gif) 50% 50% no-repeat;
background: url("/images/sy-loader.gif") 50% 50% no-repeat;
-moz-background-size: 32px;
-o-background-size: 32px;
-webkit-background-size: 32px;
Expand Down Expand Up @@ -228,7 +228,7 @@
outline: none; }
.sy-controls li a:after {
content: "";
background-image: url(/images/arrows.svg);
background-image: url("/images/arrows.svg");
background-repeat: no-repeat;
-moz-background-size: cover;
-o-background-size: cover;
Expand Down
4 changes: 2 additions & 2 deletions dist/slippry.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/slippry.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/** @preserve
*
* slippry v1.2.7 - Responsive content slider for jQuery
* slippry v1.2.8 - Responsive content slider for jQuery
* http://slippry.com
*
* Authors: Lukas Jakob Hafner - @saftsaak
* Thomas Hurd - @SeenNotHurd
*
* Copyright 2014, booncon oy - http://booncon.com
* Copyright 2015, booncon oy - http://booncon.com
*
*
* Released under the MIT license - http://opensource.org/licenses/MIT
Expand Down
11 changes: 6 additions & 5 deletions src/slippry.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/**
*
* slippry v1.2.7 - Responsive content slider for jQuery
* slippry v1.2.8 - Responsive content slider for jQuery
* http://slippry.com
*
* Authors: Lukas Jakob Hafner - @saftsaak
* Thomas Hurd - @SeenNotHurd
*
* Copyright 2014, booncon oy - http://booncon.com
* Copyright 2015, booncon oy - http://booncon.com
*
*
* Released under the MIT license - http://opensource.org/licenses/MIT
Expand All @@ -20,7 +20,8 @@ $controls_size: 2.8em !default; // size of the next/ prev buttons
$pager_size: 1.2em !default; // size of the pager bubbles
$trans_ease: ease !default; // easing for the transitions
$mobile_break: 600px !default; // breakpoint to use some special mobile styling

$spinner_url: '/images/sy-loader.gif' !default;
$arrows_url: '/images/arrows.svg' !default;

@mixin keyframes($name) {
@-webkit-keyframes #{$name} {
Expand Down Expand Up @@ -72,7 +73,7 @@ $mobile_break: 600px !default; // breakpoint to use some special mobile styl
.sy-slides-wrap, .sy-pager {
visibility: hidden;
}
background: url(/images/sy-loader.gif) 50% 50% no-repeat;
background: url($spinner_url) 50% 50% no-repeat;
@include background-size(32px);
min-height: 40px;
}
Expand Down Expand Up @@ -195,7 +196,7 @@ $mobile_break: 600px !default; // breakpoint to use some special mobile styl
}
&:after {
content: "";
background-image: url(/images/arrows.svg);
background-image: url($arrows_url);
background-repeat: no-repeat;
@include background-size(cover);
text-align: center;
Expand Down

0 comments on commit 67fca91

Please sign in to comment.