joomla4-backend-template
joomla4-backend-template copied to clipboard
RTL improvements
Not tested on RTL yet but will definitely need fixes.
Will go with a separate CSS file and proper mixins rather than Atum's approach.
Need to look into what browsers already handle other than text alignment. That fact we don't support IE11 should make life a little easier.
Happy to help on this.
Important note is that you must test using a real RTL language and not just set english to be rtl in the xml
Cheers Brian. Glad you mentioned that, as I was going to do the later
yeah the problem with the latter is that the language itself is encode as LTR and then you get some really weird results. Especially when it comes to punctuation at the end of lines. It's the number one issue I hear regularly from developers who have to work with rtl
Started: https://github.com/C-Lodder/joomla4-backend-template/commit/e72d2adb88e26a755de244757be2c7e0f4cfb25d
- Fixes sidebar menu
- Fixes text alignment
- Create some core mixins to cater for some CSS properties (wish browsers would just deal with this automatically)
- Remove some unecessary IE code from
reboot.scss
Rebuilds the 2 main CSS files with an -rtl suffix and dynamically setting $rtl: true;
More RTL improvements done with logical properties: https://github.com/C-Lodder/joomla4-backend-template/commit/5d1480179c83d3cddb9e71612ce21939f193174f
Just waiting for Safari to catch up!!