-
Task
-
Resolution: Done
-
Minor
-
None
-
3.2
One of the requirements for the new theme is to allow customisation from the admin, so we will have to post-process the CSS from PHP, that to leverage the flexibility of SCSS variables.
After generating the CSS a few things will happen, a new one will be to generate (on-demand) the RTL version. This will mimix existing solutions such as rtlcss and css-flip.
This issue is about porting one of the existing tools, agnostic of Moodle codebase, to PHP.
Bootstrap have talked about supporting RTL for years but they aren't there yet. They've also mentioned that they will not have any RTL support for v4.0 but that it may come in a minor release. It goes without saying that we need to support RTL.
This will also have to flip .dir-rtl to .dir-ltr and vice-versa, except when flagged to be ignored.
- caused a regression
-
MDL-57869 URL cursors have 'auto' removed by CSS Post processor for RTL
- Closed
- has a non-specific relationship to
-
MDLSITE-1796 Write guidelines for CSS coding
- Resolved
-
MDL-39094 Make Moodle's CSS smaller
- Closed
-
MDL-35084 All RTL elements of themes to be modular in an rtl.css file
- Closed
-
MDL-40855 Re-format all CSS in Moodle into a more easily human-readable format
- Closed
-
MDL-51948 Set TEXT and TEXTAREA form fields directionality to LTR and alignment to left in special LTR form fields, when in RTL mode
- Closed
- has been marked as being related by
-
MDL-55168 Lint all plain CSS, match coding style and be lint-free
- Closed
- will help resolve
-
MDL-55320 Fix the data table alignment
- Closed