Message Boards

Responsive Design

thumbnail
Sharmila Wijeyakumar, modified 10 Years ago.

Responsive Design

New Member Posts: 4 Join Date: 12/20/12 Recent Posts
So all what are the main challenges you are facing when it comes to responsive design?
thumbnail
Kan Zhang, modified 10 Years ago.

RE: Responsive Design

Junior Member Posts: 68 Join Date: 12/1/10 Recent Posts
As of the responsive design, usually we will pick a responsive framework like Twitter Bootstrap as the start point and build our own on top of it.

But Liferay 6.1 does not play well with Twitter Bootstrap. Since Liferay 6.1, Liferay has a new feature which supports SASS in your CSS files. It validates and parses your CSS using Dynamic CSS filter. But the SASS parser library that Liferay 6.1 using has a issue in handling the transparent keyword. When there is a transparent keyword in your CSS, an "Sass::SyntaxError: Invalid CSS" error will occur and your CSS will not be parsed. Unfortunately Twitter Bootstrap uses a lot of transparent keywords in its CSS file.

To solve the issue, we can upgrade the SASS parser library to a newer version. I wrote a blog post for detailed steps: http://www.liferay.com/web/kzhang/blog/-/blogs/resolve-the-sass-syntaxerror-invalid-css-error-in-liferay-6-1

Hope it helps.
thumbnail
Juan Gonzalez, modified 10 Years ago.

RE: Responsive Design

Liferay Legend Posts: 3089 Join Date: 10/28/08 Recent Posts
As you may know, Liferay 6.2 will come with Bootstrap as its classic theme.
thumbnail
John Nguyen, modified 10 Years ago.

RE: Responsive Design

New Member Posts: 21 Join Date: 7/16/12 Recent Posts
I'm still unclear how to integrate my workflow for SASS with Liferay. I'm an advocate for using .sass rather than .scss; but in either case, Liferay Developer Studio doesn't seem to pick up any of those file extensions.

If there are documentations regarding how to set this up; I will be delighted to read. But currently I am still using CLI to process my SASS files.
thumbnail
Daniel Tyger, modified 10 Years ago.

RE: Responsive Design

Regular Member Posts: 105 Join Date: 2/6/13 Recent Posts
Juan Gonzalez:
As you may know, Liferay 6.2 will come with Bootstrap as its classic theme.


Juan - is this included in any of the 6.2 MCs available for download at this time or will it be only available in the final release of 6.2? Thank you.