fbpx

Control Content Visibility on Your Joomla Website with Display Conditions Know More

Welcome, Guest
Username: Password: Remember me

TOPIC: Compiled .css name (e.g.: compiled-bc4ab85bd7d4adf40caf565e559e7c7c.css) ?

Compiled .css name (e.g.: compiled-bc4ab85bd7d4adf40caf5​65e559e7c7c.css) ? 4 days 9 hours ago #25976

  • Chacapamac
  • Chacapamac's Avatar
  • Offline
  • Elite Member
  • Posts: 193
  • Thank you received: 5
  • Karma: 0
I have a special request;

Your system compiled needed & custom SCSS files from the scss folder to CSS files in the css folder and name them randomly like the example in the title of the post
—> compiled-bc4ab85bd7d4adf40caf565e559e7c7c.css

Curiously, I think when I start to work with Astroid (tell me if I’an wrong?), if you have a —> scss > custom > custom.scss file it will compiled as someyhing like —> custom-bc4ab85bd7d4adf40caf565e559e7c7c.css not compiled-bc4ab85bd7d4adf40caf565e559e7c7c.css

Maybe I’m wrong?
I don’t know if it will be possible to go back to that way of compiling scss ?
I really like it because you know right away from what scss file the css file is generated and, in my case it was possible to re-target that css file to be use in my JCE editor backend to have a WYSIWYG edition.

Now it is impossible to do that anymore....
The administrator has disabled public write access.

Compiled .css name (e.g.: compiled-bc4ab85bd7d4adf40caf5​65e559e7c7c.css) ? 4 days 8 hours ago #25977

  • Chacapamac
  • Chacapamac's Avatar
  • Offline
  • Elite Member
  • Posts: 193
  • Thank you received: 5
  • Karma: 0
Wait, this is weird....
Now, my compiled custom.scss file end-up at the end of the compiled Bootstrap css in the css folder ?

Can you explain ?
The administrator has disabled public write access.

Compiled .css name (e.g.: compiled-bc4ab85bd7d4adf40caf5​65e559e7c7c.css) ? 3 days 20 hours ago #25980

  • n0r3m3mb3r
  • n0r3m3mb3r's Avatar
  • Offline
  • New Member
  • Posts: 12
  • Karma: 0
Chacapamac wrote:
Wait, this is weird....
Now, my compiled custom.scss file end-up at the end of the compiled Bootstrap css in the css folder ?

Can you explain ?

It's not the order of CSS files in a folder which is relevant, but the order in which they are loaded or merged/combined.
That's what the "C" in "CSS" stands for: unless a selector of higher priority or "!important" is in use, the last rule supersedes previous ones.
Which is why custom CSS rules should always be loaded last (if in a separate file) or be placed at the end of a combined file (if merged), so you are able to effectively override previous rules.

For more see e.g. developer.mozilla.org/en-US/docs/Web/CSS/Cascade
The administrator has disabled public write access.

Compiled .css name (e.g.: compiled-bc4ab85bd7d4adf40caf5​65e559e7c7c.css) ? 3 days 9 hours ago #25982

  • Chacapamac
  • Chacapamac's Avatar
  • Offline
  • Elite Member
  • Posts: 193
  • Thank you received: 5
  • Karma: 0
Thanks “N0r3m3mb3r” I didn’t know for the priority, Make sens. Thank You!

My 2 questions/demands remain:
Curiously, I think when I start to work with Astroid (tell me if I’an wrong?), if you have a —> scss > custom > custom.scss file it will compiled as someyhing like —> custom-bc4ab85bd7d4adf40caf565e559e7c7c.css not compiled-bc4ab85bd7d4adf40caf565e559e7c7c.css
Maybe I’m wrong?
I don’t know if it will be possible to go back to that way of compiling scss ?
I really like it because you know right away from what scss file the css file is generated and, in my case it was possible to re-target that css file to be use in my JCE editor backend to have a WYSIWYG edition.
The administrator has disabled public write access.

Compiled .css name (e.g.: compiled-bc4ab85bd7d4adf40caf5​65e559e7c7c.css) ? 3 days 1 hour ago #25987

  • n0r3m3mb3r
  • n0r3m3mb3r's Avatar
  • Offline
  • New Member
  • Posts: 12
  • Karma: 0
Well, if you really need such level of WYSIWYG in JCE, you should probably:
- copy the compiled CSS files with their seemingly random names,
- rename the copies to something simpler,
- reference the copies in JCE.
The administrator has disabled public write access.

Compiled .css name (e.g.: compiled-bc4ab85bd7d4adf40caf5​65e559e7c7c.css) ? 2 days 19 hours ago #25991

  • Chacapamac
  • Chacapamac's Avatar
  • Offline
  • Elite Member
  • Posts: 193
  • Thank you received: 5
  • Karma: 0
Yes, this is what I finally do and it work great. Thanks n0r3m3mb3r

My 2 questions/demands remain:
Curiously, I think when I start to work with Astroid (tell me if I’an wrong?), if you have a —> scss > custom > custom.scss file it will compiled as someyhing like —> custom-bc4ab85bd7d4adf40caf565e559e7c7c.css not compiled-bc4ab85bd7d4adf40caf565e559e7c7c.css

Maybe I’m wrong?
I don’t know if it will be possible to go back to that way of compiling scss ?
I really like it because you know right away from what scss file the css file is generated and, in my case it was possible to re-target that css file to be use in my JCE editor backend to have a WYSIWYG edition.
Last Edit: 2 days 19 hours ago by Chacapamac.
The administrator has disabled public write access.
Moderators: chandandeep
Time to create page: 0.327 seconds