[3.3][BETA] Scss Dev

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Anti-Spam Guide
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Post Reply
User avatar
martti
Registered User
Posts: 870
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

[3.3][BETA] Scss Dev

Post by martti »

Extension Name: Scss Dev
Author: martti
Extension Description:

This extension is inspired by this color tweaking tool for Prosilver and brings compiling of scss files into the board (only for admins) for style tweaking. Both the scss and the result (css) are saved into the store/marttiphpbb/scssdev with the same name except for the file extension. The css-file is loaded and overwrites previous css-rules. When happy with the result you can copy or add the css-file to your style.

The extension has also a minifier onboard that minifies all files together in one file.

A nice feature is that you can swap easily between different edits and the original to compare.

Extension Version: 0.5.0
Requirements: Extension Download: https://github.com/marttiphpbb/phpbb-ex ... master.zip The files are to be put into ext/marttiphpbb/scssdev
Github repository: https://github.com/marttiphpbb/phpbb-ext-scssdev
Languages: en
Templates: only tested Prosilver, but works probably in others
Screenshots:
Edits of the color tweaking tool for Prosilver.
:
Image

Image
Last edited by martti on Fri Apr 17, 2020 5:10 am, edited 10 times in total.
User avatar
martti
Registered User
Posts: 870
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.2][BETA] Scss Dev

Post by martti »

Notice the icons in the screenshots have disappeared because the file overwrites the relative icon-links. You could just ignore this.

Edit: this comment is not valid anymore, because the screenshots the first post got updated with a template that replaces the bitmap icons of Prosilver with font icons.
Last edited by martti on Fri Apr 17, 2020 11:31 am, edited 2 times in total.
User avatar
Toxyy
Registered User
Posts: 814
Joined: Mon Oct 24, 2016 3:22 pm
Location: Namek
Contact:

Re: [3.2][BETA] Scss Dev

Post by Toxyy »

scss in phpbb? Very neat. To run the composer update I have to do that via cli? How compatible is that with shared hosting?
I am a web developer/administrator, specializing in forums. If you have work you need done or are too lazy to do, pm me!

My extensions:
[3.2][BETA] Anonymous Posts || [3.2][BETA] Sticky Ad || [3.2][RC] Show User Activity ||
[3.2][DEV] User Delete Topics || [3.3][RC] Short Number Twig Extension
User avatar
martti
Registered User
Posts: 870
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.2][BETA] Scss Dev

Post by martti »

Toxyy wrote:
Sat Nov 17, 2018 9:52 am
scss in phpbb? Very neat. To run the composer update I have to do that via cli? How compatible is that with shared hosting?
I will provide a full download with the scss compiler included in a few hours. I have to go now.
Otherwise, see the composer documentation.
User avatar
martti
Registered User
Posts: 870
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.2][BETA] Scss Dev

Post by martti »

martti wrote:
Sat Nov 17, 2018 9:56 am
Toxyy wrote:
Sat Nov 17, 2018 9:52 am
scss in phpbb? Very neat. To run the composer update I have to do that via cli? How compatible is that with shared hosting?
I will provide a full download with the scss compiler included in a few hours. I have to go now.
Otherwise, see the composer documentation.
Here is the full package with scss compiler included:

https://github.com/marttiphpbb/phpbb-ex ... _0_2_0.zip

The version jumped already to 0.2.0 as I fixed a minor issue.
User avatar
martti
Registered User
Posts: 870
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.2][BETA] Scss Dev

Post by martti »

New version 0.3.0
  • Fixes incompatibility with my own extension "Custom Code".
  • Updated dependencies.
  • Minimum version phpBB to 3.2.7+
Full zip package with scss compiler included: https://github.com/marttiphpbb/phpbb-ex ... -0.3.0.zip
User avatar
ac_roma
Registered User
Posts: 318
Joined: Thu Mar 08, 2007 2:48 pm
Location: egypt,alexandria
Contact:

Re: [3.2][BETA] Scss Dev

Post by ac_roma »

useful mod i will try it

thank you
User avatar
martti
Registered User
Posts: 870
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.2][BETA] Scss Dev

Post by martti »

ac_roma wrote:
Tue Jul 02, 2019 6:51 pm
useful mod i will try it

thank you
I'm working on it at the moment. In the next version the usual theme will not load any longer, so you will define yourself all styling (which can include any files of the existing style). Then it will also be possible to minify everything together in one file.
User avatar
martti
Registered User
Posts: 870
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.3][BETA] Scss Dev

Post by martti »

Update: new version 0.4.0 is for phpBB 3.3+

The leafo/scssphp compiler got replaced by scssphp/scssphp.

See here a minified version of Prosilver (phpBB 3.3.0) produced with this extension. All css files are merged into one and most icons are included inline.
User avatar
martti
Registered User
Posts: 870
Joined: Thu Jul 31, 2014 8:23 am
Location: Belgium

Re: [3.3][BETA] Scss Dev

Post by martti »

New version 0.5.0 disables the original language specific theme (for prosilver that is styles/prosilver/theme/en/stylesheet.css) and tries to load the language-specific template from store/marttiphpbb/scss/en/{template_name}.css. Thiis to make sure everything of the original template is disabled.

The full download link in the first post is updated.
User avatar
ViolaF
Registered User
Posts: 1558
Joined: Tue Aug 14, 2012 11:52 pm

Re: [3.3][BETA] Scss Dev

Post by ViolaF »

Thanx 4 that, martti :geek:
Post Reply

Return to “Extensions in Development”