? Success

User tests: Successful: Unsuccessful:

avatar infograf768
infograf768
2 Dec 2016

This PR adds the class rtl on body when the language is RTL in order to use any .rtl .something .
It is added in component.php as well as error.php. Code is similar to index.php. It allows adding specific .rtl .something in the rtl.less files.

It also changes the order of loading of the .rtl .something present in the template_rtl.less when they are saved into template.css by generatecss.php.
This because these rtl classes should override their counterpart as set from various .less files when importing.

@mbabker
Thank you for checking

avatar infograf768 infograf768 - open - 2 Dec 2016
avatar infograf768 infograf768 - change - 2 Dec 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 2 Dec 2016
Category Front End Templates (site)
avatar infograf768 infograf768 - change - 2 Dec 2016
The description was changed
avatar infograf768 infograf768 - edited - 2 Dec 2016
avatar andrepereiradasilva
andrepereiradasilva - comment - 4 Dec 2016

why not use the html tag dir attribute for those rtl css overrides? https://github.com/joomla/joomla-cms/blob/staging/templates/protostar/index.php#L127

Examples:

html[dir=rtl] whateverhtmltag {}
html[dir=rtl] .whatevercssclass {}
avatar infograf768
infograf768 - comment - 4 Dec 2016

No opposition to that, but we could use these new notations only for new css as I guess changing the whole process would not be B/C.

avatar brianteeman
brianteeman - comment - 20 May 2017

@infograf768 can you resolve the conflicts with this PR please

avatar brianteeman
brianteeman - comment - 9 Sep 2017

Can you look at resolving the conflicts otherwise this will have to be closed @infograf768

avatar brianteeman
brianteeman - comment - 4 Jan 2018

Closed as the conflicts were not resolved after one year - it can always be reopened if updated

avatar brianteeman brianteeman - change - 4 Jan 2018
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2018-01-04 17:38:41
Closed_By brianteeman
avatar brianteeman brianteeman - close - 4 Jan 2018
avatar infograf768
infograf768 - comment - 8 Jan 2018

@brianteeman
PR redone #19328

Add a Comment

Login with GitHub to post a comment