Issue fork fivestar-3151592

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

TR created an issue. See original summary.

TR’s picture

Title: *-rtl.css are eliminated in Drupal 8 » *-rtl.css files are eliminated in Drupal 8
TR’s picture

Status: Active » Needs review
FileSize
12.15 KB

I'm going to do this is stages so that it's easier to review and ensure that I'm not breaking things.

First step is to add [dir="rtl"] to all the rulesets in the *-rtl.css files. This will have no functional effect, since the *-rtl.css files are not used in D8, but it will prepare these rulesets for merging with the main .css files in a way that's easy to review. Taking this step also made me look at each line in these css files and helped me catch a number of errors in the *.rtl.css files, which I will fix in the next step.

TR’s picture

  • TR committed ca5ab2f on 8.x-1.x
    Issue #3151592 by TR: *-rtl.css files are eliminated in Drupal 8: Step 1...
TR’s picture

Correct wrong RTL comments, and fix two rulesets like this:

-.fivestar-outlinediv.rating div a:hover {
+.fivestar-outline div.rating div a:hover {

  • TR committed 587f993 on 8.x-1.x
    Issue #3151592 by TR: *-rtl.css files are eliminated in Drupal 8: Step 2...
TR’s picture

Issue tags: +RTL

kiseleva.t made their first commit to this issue’s fork.

kiseleva.t’s picture

TR’s picture

The patch in #11 is wrong. -rtl.css should never be included in libraries, even before the change mentioned in the issue summary. All the LTR and RTL rules need to be combined into one .css file, and that hasn't been done yet because there are still large differences between the LTR and RTL styles that haven't been tested by anyone. See #3 for a description of what I was trying to do.

TR’s picture

Status: Needs review » Needs work