From 6c6500b0edd3b272db033946a68053b54ca221b5 Mon Sep 17 00:00:00 2001 From: Albina Albu Date: Thu, 12 Nov 2015 13:16:08 +0200 Subject: [PATCH] using variables --- slick/slick-theme.less | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/slick/slick-theme.less b/slick/slick-theme.less index 41dd0dbd1..90c10cc67 100644 --- a/slick/slick-theme.less +++ b/slick/slick-theme.less @@ -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; @@ -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 */