JOOM::GALLERY::FORUM

Archive => Installation / Update => Topic started by: Erick on 08-11-2012 08:17:24



Title: joomgallery.less and bootstrap
Post by: Erick on 08-11-2012 08:17:24
joomgallery.less

With the new Joomla 3 with bootstrap and LESS it is absolutely necessary to have the option to change the CSS file for a LESS file with @import variables.less

or at least an option not to use the current joomgallery.css


Title: Re: joomgallery.less and bootstrap
Post by: Chraneco on 08-11-2012 08:40:40
Hi,

could you please post this feature request here (http://joomgallery.uservoice.com/forums/13274-general) and add a more extensive description about what JoomGallery should do?

Regards
Chraneco


Title: Re: joomgallery.less and bootstrap
Post by: Erick on 08-11-2012 09:50:15
its already there http://joomgallery.uservoice.com/forums/13274-general/suggestions/3333611-joomgallery-less

actually you are using
media/joomgallery/css/joom_local.css
media/joomgallery/css/joomgallery.css
media/joomgallery/css/joom_settings.css

to be totally Joomla 3 and Bootstrap/LESS compatible   one need to disable  the css files  and have a joomgallery.less with @import "variables.less";  in it


Title: Re: joomgallery.less and bootstrap
Post by: Chraneco on 10-11-2012 19:49:25
Hi,

I think this is a great idea.
Do you already have experience with LESS?

Using it would force the users to recompile the CSS file, isn't it?
Is this recompilation already possible in Joomla! easily?

Regards
Chraneco


Title: Re: joomgallery.less and bootstrap
Post by: Erick on 10-11-2012 23:34:20
Quote
Do you already have experience with LESS?
I am already building my third J3 website for customers 100% with LESS, but LESS is really easy to learn

you have 2 ways

download less.js here http://lesscss.org

and  in your index.php
echo '<link rel="stylesheet/less" href="'.'templates/'.$this->template.'/less/joomgallery.less'.'" />';
$doc->addScript('templates/'.$this->template.'/js/less.js');

less.js will do all for you

when you are ready  you  can compile the .less files easily with crunch http://crunchapp.net

 @import "variables.less"  in joomgallery.less will be the easiest way to get control of all colors , radius, borders ,responsive design , ...

of course each div in Joomgallery must be row_fluid and/or span3 , span4 , ect ....
doc here -->  http://twitter.github.com/bootstrap/scaffolding.html

responsive test here --> http://www.responsinator.com/?url=

if I can help ?


Title: Re: joomgallery.less and bootstrap
Post by: Chraneco on 04-10-2015 00:27:34
Hi,

we will have to analyze this further to see how it can work in Joomla. If you know of a Joomla! component that already does this, please post it as a comment on the feature request on uservoice.

Regards
Chraneco