- Messages : 2
- Remerciements reçus 0
Un plugin Joomla 3.x qui compile tous les fichiers SCSS d'un dossier en fichiers CSS de même nom.
plg_SCSS_compiler_v1.1.zip not available on server
- Klipper
- Auteur du sujet
- Hors Ligne
- Nouveau membre
Moins
Plus d'informations
il y a 7 ans 4 mois #67
par Klipper
plg_SCSS_compiler_v1.1.zip not available on server a été créé par Klipper
Hi, I found your SCSS compiler on the Joomla Extension Directory. I tried to download the plugin from your website. But unfortunately I got the message: "Error while downloading file File not found on server". I tried multiple times.
Can you please investigate why the zip file is not available.
Another question: You write on your site that your plugin is using leafo's scssphp version 0.0.12. But currently the latest version of leafo's scssphp is now 0.6.6. Are you planning to update your plugin with the newest 0.6.6 scssphp?
Hope I can download your SCSS compiler plugin soon.
(Currently I use the LESS compiler of Andreas Tasch, but I'm looking for a similar plugin way to step over to the SCSS).
Best regards,
Klipper
Can you please investigate why the zip file is not available.
Another question: You write on your site that your plugin is using leafo's scssphp version 0.0.12. But currently the latest version of leafo's scssphp is now 0.6.6. Are you planning to update your plugin with the newest 0.6.6 scssphp?
Hope I can download your SCSS compiler plugin soon.
(Currently I use the LESS compiler of Andreas Tasch, but I'm looking for a similar plugin way to step over to the SCSS).
Best regards,
Klipper
Connexion ou Créer un compte pour participer à la conversation.
- lomart
- Hors Ligne
- Administrateur
il y a 7 ans 4 mois #68
par lomart
Réponse de lomart sur le sujet plg_SCSS_compiler_v1.1.zip not available on server
Hi,
The zip is now available
Thanks for the info on the new version of leafo's scssphp. I'll try. I'll keep you informed.
My plugin works like that of Andreas Tasch, except that it compiles all the .scss of the targeted folder, except the partials whose name starts with an underscore.
Best regards
Lomart
The zip is now available
Thanks for the info on the new version of leafo's scssphp. I'll try. I'll keep you informed.
My plugin works like that of Andreas Tasch, except that it compiles all the .scss of the targeted folder, except the partials whose name starts with an underscore.
Best regards
Lomart
Connexion ou Créer un compte pour participer à la conversation.
- Klipper
- Auteur du sujet
- Hors Ligne
- Nouveau membre
Moins
Plus d'informations
- Messages : 2
- Remerciements reçus 0
il y a 7 ans 4 mois #69
par Klipper
Réponse de Klipper sur le sujet plg_SCSS_compiler_v1.1.zip not available on server
Hi Lomart,
Thanks for fast response, and for making the zip-file downloadable.
I have some extra questions:
Can I use one template.scss in which I use @import for multiple .scss files ( stored in a different (sub)directory), just like with the LESS compiler, and the result will be one single template.css? I ask, because with LESS you can control the order of the single LESS files in the template.less file. Second question: Is it possible to add @import .scss files starting with an underscore?
Best regards,
Klipper
Thanks for fast response, and for making the zip-file downloadable.
I have some extra questions:
Can I use one template.scss in which I use @import for multiple .scss files ( stored in a different (sub)directory), just like with the LESS compiler, and the result will be one single template.css? I ask, because with LESS you can control the order of the single LESS files in the template.less file. Second question: Is it possible to add @import .scss files starting with an underscore?
Best regards,
Klipper
Connexion ou Créer un compte pour participer à la conversation.
- lomart
- Hors Ligne
- Administrateur
il y a 7 ans 4 mois - il y a 7 ans 4 mois #70
par lomart
Réponse de lomart sur le sujet plg_SCSS_compiler_v1.1.zip not available on server
In SCSS, the usual method is that files without underscore prefix are intended to be converted to .css. Those with underscore are partials, which will be imported in previous and ignored by my plugin
Example, with 4 files :
The content of template.scss :
The content of editor.scss :
The result :
Example, with 4 files :
Code:
/templates/yourtemplate/scss/template.scss
/templates/yourtemplate/scss/editor.scss
/templates/yourtemplate/scss/_file.scss
/templates/yourtemplate/scss/subdir1/_file.scss
/templates/yourtemplate/scss/subdir2/_file.scss
The content of template.scss :
Code:
@import "file"; // underscore unnecessary
@import "subdir1/file";
@import "subdir2/file";
The content of editor.scss :
Code:
@import "file"; // class typo for JCE
The result :
Code:
/templates/yourtemplate/css/template.css
/templates/yourtemplate/css/editor.css
Dernière édition: il y a 7 ans 4 mois par lomart.
Connexion ou Créer un compte pour participer à la conversation.