First thanks ! this is a great tool.

IMHO the best way this module can function is :
In direct input method -
* user paste in the normal css file and get two outputs :
1. normal css (style.css) with /* LTR */ comments on the flipped lines.
2. flipped css (that will be saved as style-rtl.css) with ONLY the RTL overrides.
This can be done also with the css directory method but I like the direct input method better, this way I have better control on what is being done.

Is this doable ?

Comments

kharbat’s picture

Thank you TSI.

1- Regarding the first point, do u mean appending comments to the lines that are going to be flipped ?
2- Regarding the second point, i think you can use the option "Suppress duplicates" to get only the RTL overrides..

Try it out, and let me know if you have any further comments..

Thanks again for your feedback..

tsi’s picture

Thanks for the quick response.

1. Yes, exactly, see here : http://drupal.org/node/132442#language-rtl
2. Its almost there but not quite, for example, from this input :

body {
  margin:0;
  padding:0;
  color:#666666;
  background:url(img/bodybg.png) repeat-y center #f3f3f3;
  font-family: Arial, "Trebuchet MS", Verdana;
  font-size: 90%;
}

I got this output :

body {
  margin: 0;
  padding: 0;
  background: url(img/bodybg.png) repeat-y center #f3f3f3;
}