CSS issue
avatar mbabker
mbabker
16 Nov 2013

We're wanting to hook up a CDN at some point to serve the template CSS across the various sub sites. To help with this, we need to make sure our application specific CSS is in a separate file so that we aren't losing any customizations when we either sync up to the template master files or switch to the CDN.

avatar mbabker mbabker - open - 16 Nov 2013
avatar mbabker mbabker - open - 16 Nov 2013
avatar b2z
b2z - comment - 16 Nov 2013

That's what I was also thinking about - split up the template.css to different parts: BS related and custom styles. BTW I am currently adding all the custom rules to the end of file.

avatar elkuku
elkuku - comment - 17 Nov 2013

So I was looking at http://lesscss.org/ and they state on their site, that the less thingy is possible with client site JavaScript - in modern browsers.
I tried it with the bootstrap less files we are currently importing and it works good :)

Are there any less files containing the customized styles ? Are they open source ? ....

Could this be an option we might explore, at least for development ?

avatar betweenbrain
betweenbrain - comment - 17 Nov 2013

I was actually just going to ask why everything isn't being compiled into
one file. Color me confused.

Best,

Matt Thomas
Founder betweenbrain™
Lead Developer Construct Template Development Framework
Phone: 203.632.9322
Twitter: @betweenbrain
Github: https://github.com/betweenbrain

Sent from mobile. Please excuse any typos and brevity.
On Nov 17, 2013 6:42 PM, "Nikolai Plath" notifications@github.com wrote:

So I was looking at http://lesscss.org/ and they state on their site,
that the less thingy is possible with client site JavaScript - in modern
browsers.
I tried it with the bootstrap less files we are currently importing (and
a, and it works good :)

Are there any less files containing the customized styles ? Are they open
source ? ....

Could this be an option we might explore, at least for development ?


Reply to this email directly or view it on GitHub#220 (comment)
.

avatar mbabker
mbabker - comment - 17 Nov 2013

Don't see a reason everything couldn't be compiled into one file, but there is a bit of a deliberate decision to not make all of the j.org template files open in the public. So, we'd just need to sort out that issue.

avatar elkuku
elkuku - comment - 18 Nov 2013

Ya I thought that - closed source :( ... yet another argument for breeding our own ;)

avatar betweenbrain
betweenbrain - comment - 18 Nov 2013

I must be missing something. What exactly is closed source? The j.orgtemplate?

Best,

Matt Thomas
Founder betweenbrain™
Lead Developer Construct Template Development Framework
Phone: 203.632.9322
Twitter: @betweenbrain
Github: https://github.com/betweenbrain

Sent from mobile. Please excuse any typos and brevity.
On Nov 17, 2013 7:25 PM, "Nikolai Plath" notifications@github.com wrote:

Ya I thought that - closed source :( ... yet another argument for breeding
our own ;)


Reply to this email directly or view it on GitHub#220 (comment)
.

avatar mbabker
mbabker - comment - 18 Nov 2013

The template itself isn't closed source (otherwise it wouldn't be in this repo or the API template repo), but the various source files aren't just out in the open.

avatar betweenbrain
betweenbrain - comment - 18 Nov 2013

Ah, and I take it that exposing those LESS files here is not desired,
correct? If that's the case, we could always include the compiled
j.orgtemplate CSS, and include that in the first part of this
applications LESS
or SaSS file. Or, just do what you said 7 posts ago.

o_0

Best,

Matt Thomas
Founder betweenbrain™
Lead Developer Construct Template Development Framework
Phone: 203.632.9322
Twitter: @betweenbrain
Github: https://github.com/betweenbrain

Sent from mobile. Please excuse any typos and brevity.
On Nov 17, 2013 7:36 PM, "Michael Babker" notifications@github.com wrote:

The template itself isn't closed source (otherwise it wouldn't be in this
repo or the API template repo), but the various source files aren't just
out in the open.


Reply to this email directly or view it on GitHub#220 (comment)
.

avatar mbabker
mbabker - comment - 18 Nov 2013

As a whole we want to CDN everything we can to make maintenance easier for the project as a whole (as it is right now, there's 3 copies of all the SAME MEDIA on the API site...). But, since we don't have that, there's different ways to handle it. Considering I'm the last person who should be advising on front end anything, I'll leave that to folks like you to implement :wink:

avatar elkuku
elkuku - comment - 18 Nov 2013

I am doing some experiments with BT3 here: https://github.com/joomla/jissues/tree/bt3 maybe any of this is re-usable.

avatar b2z b2z - reference | - 3 Sep 14
avatar mbabker mbabker - close - 21 Dec 2014

Add a Comment

Login with GitHub to post a comment