google / web-starter-kit

Web Starter Kit - a workflow for multi-device websites
http://developers.google.com/web/starter-kit
Apache License 2.0
18.42k stars 3.01k forks source link

Our tags for lists (ol, ul) are forced to the left #486

Closed greenido closed 9 years ago

greenido commented 10 years ago

It might be good to have a global option for developers who wish to use WSK to RTL languages. Currently, our sass force the list element to be on the 'left' side so even if the developer is changing the 'body' to 'direction:rtl' or dir:rtl it wont' help. Please see an example below: screenshot 2014-10-19 18 16 31

addyosmani commented 10 years ago

@gauntface I wonder if we could use a variable to toggle a cascade that could support easier shifting from RTL.

kevva commented 10 years ago

https://github.com/MohammadYounes/rtlcss

gauntface commented 10 years ago

Two things - totally ok with a cascading style - although would it be kept in a separate file or would it be mixed in at the point the original styles are defined?

Secondly, would:

* {
    direction:rtl
}

Work? If not, what is overriding it?

addyosmani commented 9 years ago

@sindresorhus has mentioned in the past that solving RTL via tooling might be the right way to scale this long term. Perhaps we could add a note to the docs about how to use https://github.com/MohammadYounes/rtlcss with the WSK styles?

addyosmani commented 9 years ago

We're going to solve RTL as part of a new internationalisation and localisation plan for Material Design Lite.

greenido commented 9 years ago

OK - Sounds good. Any ETA?