SASS enable?
Posted: 18 August 2015, 22:20
Hello, I tried to use SASS ( especially variables and loop) in TPL, also in CSS... but cannot work.
Is Ruby available on server?
I would like to be able to use Background modification (delta) with class
bkp_1 {background-position:-170px -170px;}
.bkp_2 {background-position:-170px -193px;}
.bkp_3 {background-position:-170px -277px;}
.bkp_4 {background-position:-240px -277px;}
...
.bkp_13 ....
I give some objects the class bkp_1, another bkp_2, and so on.... and I would like add a relative amount to background position via a class, for example
.bkp_mod {delta.background-position: -360px 0px}
Then if I give class bkp_3 and bkp_mod to an object, I would like it gives -530px -277px (ie:-170px -360px = -530px)
I was adviced that SASS could help me doing that, Is this right?
and I was wondering if I could use it...
it seems to need ruby installed, so maybe it's done?
this is usefull with dojo.query ... to modify a style of cards for example.
Is Ruby available on server?
I would like to be able to use Background modification (delta) with class
bkp_1 {background-position:-170px -170px;}
.bkp_2 {background-position:-170px -193px;}
.bkp_3 {background-position:-170px -277px;}
.bkp_4 {background-position:-240px -277px;}
...
.bkp_13 ....
I give some objects the class bkp_1, another bkp_2, and so on.... and I would like add a relative amount to background position via a class, for example
.bkp_mod {delta.background-position: -360px 0px}
Then if I give class bkp_3 and bkp_mod to an object, I would like it gives -530px -277px (ie:-170px -360px = -530px)
I was adviced that SASS could help me doing that, Is this right?
and I was wondering if I could use it...
it seems to need ruby installed, so maybe it's done?
this is usefull with dojo.query ... to modify a style of cards for example.