Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions scss/_variables.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
$image-loader: "../img/loader.gif";
$image-icons: "../img/icons.png";
6 changes: 4 additions & 2 deletions scss/swipebox.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*! Swipebox v1.3.0 | Constantin Saguin csag.co | MIT License | github.com/brutaldesign/swipebox */

@import "variables";

// Gradient mixin
@mixin css-gradient($from: #dfdfdf, $to: #f8f8f8) {
background-color: $from;
Expand Down Expand Up @@ -104,7 +106,7 @@ html.swipebox-html.swipebox-touch {
}

.slide-loading {
background: url(../img/loader.gif) no-repeat center center;
background: url($image-loader) no-repeat center center;
}

}
Expand Down Expand Up @@ -144,7 +146,7 @@ html.swipebox-html.swipebox-touch {
#swipebox-prev,
#swipebox-next,
#swipebox-close {
background-image: url(../img/icons.png);
background-image: url($image-icons);
background-repeat: no-repeat;
border: none!important;
text-decoration: none!important;
Expand Down
12 changes: 2 additions & 10 deletions src/css/swipebox.css
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ html.swipebox-html.swipebox-touch {
left: 0;
}
#swipebox-slider .slide-loading {
background: url(../img/loader.gif) no-repeat center center;
background: url("../img/loader.gif") no-repeat center center;
}

#swipebox-bottom-bar,
Expand Down Expand Up @@ -128,7 +128,7 @@ html.swipebox-html.swipebox-touch {
#swipebox-prev,
#swipebox-next,
#swipebox-close {
background-image: url(../img/icons.png);
background-image: url("../img/icons.png");
background-repeat: no-repeat;
border: none !important;
text-decoration: none !important;
Expand Down Expand Up @@ -215,11 +215,9 @@ html.swipebox-html.swipebox-touch {
0% {
left: 0;
}

50% {
left: -30px;
}

100% {
left: 0;
}
Expand All @@ -229,11 +227,9 @@ html.swipebox-html.swipebox-touch {
0% {
left: 0;
}

50% {
left: -30px;
}

100% {
left: 0;
}
Expand All @@ -242,11 +238,9 @@ html.swipebox-html.swipebox-touch {
0% {
left: 0;
}

50% {
left: 30px;
}

100% {
left: 0;
}
Expand All @@ -255,11 +249,9 @@ html.swipebox-html.swipebox-touch {
0% {
left: 0;
}

50% {
left: 30px;
}

100% {
left: 0;
}
Expand Down