× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I am using LESS instead but the concept is basically the same. SailsJS uses grunt also, so I have had to also get my head around that.

Sent from my iPad

On 15 Jul 2015, at 17:27, Henrik Rützou <hr@xxxxxxxxxxxx> wrote:

here is a little "how to swap style sheets" code ...

https://www.developphp.com/video/JavaScript/Change-Style-Sheet-Using-Tutorial-CSS-Swap-Stylesheet

On Wed, Jul 15, 2015 at 5:57 PM, Henrik Rützou <hr@xxxxxxxxxxxx> wrote:

Joe and Nathan

As i sees Sass it is a compileable extension of CSS that creates different
themes e.g. a red, a blu and a black theme.

When a page is launched it may be launced with a red theme by using a
<link ...>
to the CSS.

By aplpying an id to the file attribute to the <link id="theme" ... > it
becomes a
named object in the DOM and any named object can be replaced using
javascript
so we are able to replace the original loaded CSS file that takes affect
*immed.

The new thing in Sencha's Fashion is that the compile may be done in the
browser.

Now we can import a common 'Fashion' scss file instead of a precompiled
css file
and convert it or inject new things to it on the fly in the browser or we
may do it in
the node.JS server.

On Wed, Jul 15, 2015 at 5:42 PM, Henrik Rützou <hr@xxxxxxxxxxxx> wrote:

Nathan

Sass is made for easy theming large CSS files since you can use
variables (change one variable apply to many CSS statements).



On Wed, Jul 15, 2015 at 5:37 PM, Nathan Andelin <nandelin@xxxxxxxxx>
wrote:


You need Ruby to compile Sass scss files into CSS using the Compass gem

I'll follow up with some further research. But that rationale begs the
question, why not just use a CSS editor to create CSS? What advantages
does
Sass scss have over CSS?
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.


--
Regards,
Henrik Rützou

http://powerEXT.com <http://powerext.com/>


--
Regards,
Henrik Rützou

http://powerEXT.com <http://powerext.com/>


--
Regards,
Henrik Rützou

http://powerEXT.com <http://powerext.com/>
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.


___________________________________________
This email has been scanned by iomartcloud.
http://www.iomartcloud.com/


________________________________

NOTICE: The information in this electronic mail transmission is intended by CoralTree Systems Ltd for the use of the named individuals or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone, so that the sender's address records can be corrected.



--------------------------------------------------------------------------------


CoralTree Systems Limited
Company Registration Number 5021022.
Registered Office:
12-14 Carlton Place
Southampton
Hampshire
SO15 2EA
VAT Registration Number 834 1020 74.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.