Re: RTL stylesheet startegy

2006-07-09 Thread Meir Kriheli
Hi Ahmad, Ahmad Alhashemi wrote: > I've written a tool in Python that will automatically convert CSS from > LTR to RTL. It's been used successfully to ease the conversion of tens > of WordPress's themes. How do you think it could be used to help in > django? > > It basically takes a CSS file and

Re: RTL stylesheet startegy

2006-07-07 Thread Ahmad Alhashemi
I've written a tool in Python that will automatically convert CSS from LTR to RTL. It's been used successfully to ease the conversion of tens of WordPress's themes. How do you think it could be used to help in django? It basically takes a CSS file and converts all right or left rules to the oppos

Re: RTL stylesheet startegy

2006-06-10 Thread Meir Kriheli
Jeroen Ruigrok van der Werven wrote: > On 6/8/06, Meir Kriheli <[EMAIL PROTECTED]> wrote: >> Actually that technique is rare around here. We don't specify dir="rtl" >> in the actual content. Most of the developers around here prefer to >> specify in a stylesheet "direction:rtl" for the body tag. E

Re: RTL stylesheet startegy

2006-06-08 Thread Jeroen Ruigrok van der Werven
On 6/8/06, Meir Kriheli <[EMAIL PROTECTED]> wrote: > Actually that technique is rare around here. We don't specify dir="rtl" > in the actual content. Most of the developers around here prefer to > specify in a stylesheet "direction:rtl" for the body tag. Eases the > development for multilingual si

Re: RTL stylesheet startegy

2006-06-08 Thread Meir Kriheli
Jeroen Ruigrok van der Werven wrote: > On 6/7/06, Wilson Miner <[EMAIL PROTECTED]> wrote: >> I think that makes sense - having one rtl.css that overrides the default >> styles. It's a lot more maintainable than trying to keep multiple rtl >> stylesheets in sync with the main stylesheets. >> >> You

Re: RTL stylesheet startegy

2006-06-07 Thread Jeroen Ruigrok van der Werven
On 6/7/06, Wilson Miner <[EMAIL PROTECTED]> wrote: > I think that makes sense - having one rtl.css that overrides the default > styles. It's a lot more maintainable than trying to keep multiple rtl > stylesheets in sync with the main stylesheets. > > You may need to use chained selectors or !impor

Re: RTL stylesheet startegy

2006-06-07 Thread Wilson Miner
I think that makes sense - having one rtl.css that overrides the default styles. It's a lot more maintainable than trying to keep multiple rtl stylesheets in sync with the main stylesheets.   You may need to use chained selectors or !important declarations in some places to successfully override th

Re: RTL stylesheet startegy

2006-06-07 Thread hugo
Hi, > Since RTL changes are relatively small, maybe a better solution would > be to create an rtl.css which contains all the rtl needed overrides in > a single, and more maintainable file ? It would look better in the > templates as well. (loads the basic style, and in case of > LANGUAGE_BIDI, lo