[stylesheets_external] Easy integration of stylesheets
I have added a new extension to the repository helping you with the integration of external stylesheets when not using the internal TYPOlight stylesheet editor. For more information please check the repository.
Please tell me if you experience problems or have feature request!
Greetings Sabri
Re: [stylesheets_external] Easy integration of stylesheets
Nice extention!
Is there anything preventing it from working on TL generated files?
I´d like to compress the CSS generated by the TYPOLight editor into one file. Somewhat like minify.
Re: [stylesheets_external] Easy integration of stylesheets
Hi Barryke,
i don't think it will work since TYPOlight is recreating the CSS files from time to time.
This must be solved with another extension.
Though i think an extension like minify would be interesting to see.
Re: [stylesheets_external] Easy integration of stylesheets
Hello
When you edit a CSS, which must be the original or full? And another thing, Contao is erasing the CSS full, what should I do?
Thanks in advance.
Angels
Re: [stylesheets_external] Easy integration of stylesheets
Hi Mico,
did not get your question, can you please be more specific? :-)
Re: [stylesheets_external] Easy integration of stylesheets
Why would you want to circumvent the great CSS features that Contao has? Versioning? Minifying multiple files into a single CSS file for Google Page Speed? Quick filtering of your CSS in the backend? Global CSS variables?
I have yet to come across a similar system for managing CSS, let alone one built directly into a content management system.
I know people like to code offline and can get set in their ways, but Contao gives you the ability to import your CSS files (and does it very well), so its easy to take advantage of all these features. Why not check them out?
Re: [stylesheets_external] Easy integration of stylesheets
You are right, Contao has a great CSS feature, but the import of files is not that easy as you say and thats why I made this extension.
Im much faster when using my editor because:
- I have to whole screen to edit the file
- I can open multiple CSS files at the same time and edit them
- I can upload the file with 1-click
- I dont have to login
The problem with the import it that the CSS is converted into the database and sometimes it fails to read lines correctly so you have to re-edit it again. And for each change you do you have to login, import the css and check it for errors.
That way is much too long. If Leo would build a switch that would not convert the CSS into the database and would let you upload the CSS via FTP I would you use it.
About the minifying, thats why I made this extension. It compresses the CSS and puts them into one file.
I think its good to have some options how to integrate your CSS into the CMS but when it comes to speed the external variant is much faster when you are using an editor.
Re: [stylesheets_external] Easy integration of stylesheets
What types of errors do you have when importing? Have you reported these as a ticket?
The beauty of Contao is that it is flexible enough to allow you to work any way you want, so to each his own. I just know that since we made the move over to using Contao's CSS framework that we are producing sites quicker and making changes faster as a workgroup because of the setup.
Re: [stylesheets_external] Easy integration of stylesheets
I got it. We must change in the original css.
Other question
What about css3? Do you upgrade it?
Re: [stylesheets_external] Easy integration of stylesheets
Hi again,
@winanscreative
You are right, thats really nice with contao, put it up the way you want it! :)
@MicoX
As far as i tested it, all CSS3 assignments worked, if not please tell me.