-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
2. developingWork in progressWork in progressdesignDesign, UI, UX, etc.Design, UI, UX, etc.enhancementfeature: scsshelp wanted
Milestone
Description
This is becoming more and more needed. The more we wait, the harder it will gets for us to make the switch later.
Sooooooo let's do this!
Why
- Nesting and code readability. This is an insane advantage to have. Right now the code have a basic structure, but it's still very hard to find whatever you're searching.
- Size. Scss files are significantly lighter than css. if correctly implemented, the generated css file should still be lighter than what we currently have.
- Redundancy. Actually we have a lot of similar stuff that would be great to merge (inputs.css for example)
- Variables. Will definitely improve the overall design guidelines for this project and allows pretty much anyone to quickly edit a global var for customisation.
Goals
- Only increase the entry barrier with the scss language. No sass lib needed, no core compilation...
- Use caching for freshly compiled css
- Do not compress output if debug enabled (for devs)
- Rewrite all css into scss with proper nesting
- Convert and regroup similar used colours into variables
Numbers
- First commit with a basic css to scss conversion and compression enabled saves 10.965KB
Roadmap
- Use on-the-fly scss compiler so no one has to install anything
- Cache system
- Detect and change url on compiled files
- Convert css to scss
- apps.css
-
fixes.css -
fonts.css -
global.css - header.css
- icons.css
- inputs.css
- jquery-ui-fixes.css
-
jquery.ocdialog.css -
mobile.css - multiselect.css
- share.css
- styles.css
- systemtags.css
- tooltip.css
-
update.css
- Switch to AppData
- Tests
- Finish guest.css file
- Cleanup scss files
- Fix copyrights
- List and regroup variables into variables.scss
- Regroup and merge keyframes into animations.scss
Optionnal
- Compress css on compiling (if no debug mode)
- Added original SCSS line numbers for better frontend debugging (if debug mode)
juliusknorr, MorrisJobke, ChristophWurst and hanzei
Metadata
Metadata
Assignees
Labels
2. developingWork in progressWork in progressdesignDesign, UI, UX, etc.Design, UI, UX, etc.enhancementfeature: scsshelp wanted