wasim shaikh 12 Years Ago Very good article , thanks a lot. Please sign in to reply. Reply as... Cancel
Jordi Buendia 12 Years Ago Hi Bawithra,I am interested in the way Liferay 6.1 implements SASS, but I don't understand what is exactly the new feature 6.1 version is providing in the use of SASS. I guess in 6.0 version someone using SASS should compile himself his SASS code in order to get a CSS output: is the Liferay 6.1 improvement consisting in a native compiler of the SASS code? Can you write a 6.1 theme in SASS and then delegate to Liferay's core to generate the CSS? Please sign in to reply. Reply as... Cancel
vasv kumar 12 Years Ago Great Post Please sign in to reply. Reply as... Cancel Julio Camarero vasv kumar 12 Years Ago Hi Jordi, in Liferay 6.1, your CSS can use SASS without doing anything special. Any CSS file in your portlet or theme is compiled for you when you execute "ant deploy". Please sign in to reply. Reply as... Cancel
Julio Camarero vasv kumar 12 Years Ago Hi Jordi, in Liferay 6.1, your CSS can use SASS without doing anything special. Any CSS file in your portlet or theme is compiled for you when you execute "ant deploy". Please sign in to reply. Reply as... Cancel
hannes schluchtmann 11 Years Ago Something seems to be weird with the sass-variables handling when separating the css into several files:http://www.liferay.com/community/forums/-/message_boards/category/239390 Please sign in to reply. Reply as... Cancel
Ben Carson 11 Years Ago Bavithra,I am new to Sass, so this is a great primer for using it in Liferay 6.1. Thank you for taking the time to write this very useful post!Ben Please sign in to reply. Reply as... Cancel Muhammed Shakir AK Misarwala Ben Carson 11 Years Ago Hi Bavithra, Can you throw some light on the significance of Dynamic CSS Filter - JSP in web.xml file ? I want to be able to use Compass in my jsps inline style. Hope this is possible ? Please sign in to reply. Reply as... Cancel michael delahousaye Muhammed Shakir AK Misarwala 10 Years Ago this is a terrible idea. inline styles are bad. you want semantic, modular code, not spaghetti code. Please sign in to reply. Reply as... Cancel
Muhammed Shakir AK Misarwala Ben Carson 11 Years Ago Hi Bavithra, Can you throw some light on the significance of Dynamic CSS Filter - JSP in web.xml file ? I want to be able to use Compass in my jsps inline style. Hope this is possible ? Please sign in to reply. Reply as... Cancel michael delahousaye Muhammed Shakir AK Misarwala 10 Years Ago this is a terrible idea. inline styles are bad. you want semantic, modular code, not spaghetti code. Please sign in to reply. Reply as... Cancel
michael delahousaye Muhammed Shakir AK Misarwala 10 Years Ago this is a terrible idea. inline styles are bad. you want semantic, modular code, not spaghetti code. Please sign in to reply. Reply as... Cancel
Prasanna Raj 11 Years Ago Can you provide me the info on which version of scss liferay 6.1 is using? Please sign in to reply. Reply as... Cancel Bavithra Rajendran Prasanna Raj 11 Years Ago It is 3.1.7 Please sign in to reply. Reply as... Cancel Advait Trivedi Bavithra Rajendran 11 Years Ago I am planning to use Apache for serving CSS file in my deployment. What should be my strategy to handle sass based css files? Should I just exclude those files which is having @import "compass" declaration from Apache and let my app server serve them? Please sign in to reply. Reply as... Cancel Narsingh Pal Advait Trivedi 8 Years Ago "I am planning to use Apache for serving CSS file in my deployment. What should be my strategy to handle sass based css files? Should I just exclude those files which is having @import "compass" declaration from Apache and let my app server serve them?"Hi Advit, Did you got any solution for this. Please sign in to reply. Reply as... Cancel
Bavithra Rajendran Prasanna Raj 11 Years Ago It is 3.1.7 Please sign in to reply. Reply as... Cancel Advait Trivedi Bavithra Rajendran 11 Years Ago I am planning to use Apache for serving CSS file in my deployment. What should be my strategy to handle sass based css files? Should I just exclude those files which is having @import "compass" declaration from Apache and let my app server serve them? Please sign in to reply. Reply as... Cancel Narsingh Pal Advait Trivedi 8 Years Ago "I am planning to use Apache for serving CSS file in my deployment. What should be my strategy to handle sass based css files? Should I just exclude those files which is having @import "compass" declaration from Apache and let my app server serve them?"Hi Advit, Did you got any solution for this. Please sign in to reply. Reply as... Cancel
Advait Trivedi Bavithra Rajendran 11 Years Ago I am planning to use Apache for serving CSS file in my deployment. What should be my strategy to handle sass based css files? Should I just exclude those files which is having @import "compass" declaration from Apache and let my app server serve them? Please sign in to reply. Reply as... Cancel Narsingh Pal Advait Trivedi 8 Years Ago "I am planning to use Apache for serving CSS file in my deployment. What should be my strategy to handle sass based css files? Should I just exclude those files which is having @import "compass" declaration from Apache and let my app server serve them?"Hi Advit, Did you got any solution for this. Please sign in to reply. Reply as... Cancel
Narsingh Pal Advait Trivedi 8 Years Ago "I am planning to use Apache for serving CSS file in my deployment. What should be my strategy to handle sass based css files? Should I just exclude those files which is having @import "compass" declaration from Apache and let my app server serve them?"Hi Advit, Did you got any solution for this. Please sign in to reply. Reply as... Cancel
John Nguyen 10 Years Ago The examples show SCSS; will it also support .sass? I assume yes, but I want to make sure. Please sign in to reply. Reply as... Cancel
Tejas Kanani 10 Years Ago Can I use SaaS in my plugin portlet ? If yes, is the same steps mentioned in blog I'll have to follow ? I mean adding @import "compass" in my css.Any idea ? Please sign in to reply. Reply as... Cancel John Nguyen Tejas Kanani 10 Years Ago SaaS and Sass are completely different here. SaaS means "Software as a service" while Sass means "Syntactically Awesome Stylesheets" which is another way of writing CSS, its a preprocessing language for CSS.If you are referring to the latter, you cannot do @import "compass", you will need a semi-colon at the end. From my experience, Liferay does not support the .sass syntax, a cleaner syntax without semi-colons and brackets, "indentation style". Please sign in to reply. Reply as... Cancel Tejas Kanani John Nguyen 10 Years Ago Sorry John !! It's a typo.I am also referring to Sass here.Well I've tried by adding @import "compass"; (with semi-colon) in my custom css. But it look like it's still not working in my portlet.And just to add one more thing, I am using maven to build my portlet. Does it create any issue ? Also does it have any other known limitations ?Thanks for any suggestion/help over here. Please sign in to reply. Reply as... Cancel Tejas Kanani Tejas Kanani 10 Years Ago Looks like it's working with Ant only. As when I've created new portlet and tried to deploy it with Ant including my css with compass imported. It has created .sass-cache folder including the compiled css in it.Can't we use it with maven ? Please sign in to reply. Reply as... Cancel
John Nguyen Tejas Kanani 10 Years Ago SaaS and Sass are completely different here. SaaS means "Software as a service" while Sass means "Syntactically Awesome Stylesheets" which is another way of writing CSS, its a preprocessing language for CSS.If you are referring to the latter, you cannot do @import "compass", you will need a semi-colon at the end. From my experience, Liferay does not support the .sass syntax, a cleaner syntax without semi-colons and brackets, "indentation style". Please sign in to reply. Reply as... Cancel Tejas Kanani John Nguyen 10 Years Ago Sorry John !! It's a typo.I am also referring to Sass here.Well I've tried by adding @import "compass"; (with semi-colon) in my custom css. But it look like it's still not working in my portlet.And just to add one more thing, I am using maven to build my portlet. Does it create any issue ? Also does it have any other known limitations ?Thanks for any suggestion/help over here. Please sign in to reply. Reply as... Cancel Tejas Kanani Tejas Kanani 10 Years Ago Looks like it's working with Ant only. As when I've created new portlet and tried to deploy it with Ant including my css with compass imported. It has created .sass-cache folder including the compiled css in it.Can't we use it with maven ? Please sign in to reply. Reply as... Cancel
Tejas Kanani John Nguyen 10 Years Ago Sorry John !! It's a typo.I am also referring to Sass here.Well I've tried by adding @import "compass"; (with semi-colon) in my custom css. But it look like it's still not working in my portlet.And just to add one more thing, I am using maven to build my portlet. Does it create any issue ? Also does it have any other known limitations ?Thanks for any suggestion/help over here. Please sign in to reply. Reply as... Cancel Tejas Kanani Tejas Kanani 10 Years Ago Looks like it's working with Ant only. As when I've created new portlet and tried to deploy it with Ant including my css with compass imported. It has created .sass-cache folder including the compiled css in it.Can't we use it with maven ? Please sign in to reply. Reply as... Cancel
Tejas Kanani Tejas Kanani 10 Years Ago Looks like it's working with Ant only. As when I've created new portlet and tried to deploy it with Ant including my css with compass imported. It has created .sass-cache folder including the compiled css in it.Can't we use it with maven ? Please sign in to reply. Reply as... Cancel
Thomas Kellerer 10 Years Ago Is there a way to enable the debug_info mode for SASS when building a theme using the SDK? I would like to use FireSass in order to debug my (6.2) theme. Please sign in to reply. Reply as... Cancel