Skip to content

Commit

Permalink
using variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Albina Albu committed Nov 12, 2015
1 parent 75eb8c4 commit 6c6500b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions slick/slick-theme.less
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

// Default Variables

@slick-font-path: "./fonts/";
@slick-font-path: "./fonts";
@slick-font-family: "slick";
@slick-loader-path: "./";
@slick-loader-path: ".";
@slick-arrow-color: white;
@slick-dot-color: black;
@slick-dot-color-active: @slick-dot-color;
Expand All @@ -18,17 +18,17 @@

/* Slider */
.slick-loading .slick-list{
background: #fff url('./ajax-loader.gif') center center no-repeat;
background: #fff url('@{slick-loader-path}/ajax-loader.gif') center center no-repeat;
}

/* Icons */
@font-face{
font-family: 'slick';
font-family: @slick-font-family;
font-weight: normal;
font-style: normal;

src: url('./fonts/slick.eot');
src: url('./fonts/slick.eot?#iefix') format('embedded-opentype'), url('./fonts/slick.woff') format('woff'), url('./fonts/slick.ttf') format('truetype'), url('./fonts/slick.svg#slick') format('svg');
src: url('@{slick-font-path}/slick.eot');
src: url('@{slick-font-path}/slick.eot?#iefix') format('embedded-opentype'), url('@{slick-font-path}/slick.woff') format('woff'), url('@{slick-font-path}/slick.ttf') format('truetype'), url('@{slick-font-path}/slick.svg#slick') format('svg');
}

/* Arrows */
Expand Down

0 comments on commit 6c6500b

Please sign in to comment.