/[drupal]/contributions/modules/jcss/README.txt
ViewVC logotype

Contents of /contributions/modules/jcss/README.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.5 - (show annotations) (download)
Sat Mar 24 21:13:56 2007 UTC (2 years, 8 months ago) by avior
Branch: MAIN
CVS Tags: DRUPAL-5--1-5, HEAD
Changes since 1.4: +23 -21 lines
File MIME type: text/plain
*** empty log message ***
1 Jcss Module :
2 =============
3 This module purpose is to help RTL users to do some of the dirty work in RTLing a css
4 the module will accept a css content and will do the following replacments
5
6 * margin-right <==> margin-left
7 * padding-right <==> padding-left
8 * float : swap right and left
9 * text-align : swap right and left,
10 * all left to right swap i.e. left, margin-left, padding-left, border-left
11 * backgound or backgroung-position : will swap (only) left and right (see todo)
12
13 the module will leave the original line as a comment so you can see the changes
14 i.e. margin : 1 2 3 4; ==> margin: 1 4 3 2; /* Jcss.Old margin: 1 2 3 4*/
15
16 RTL themers todo
17 ===================
18 After module run, manually do
19
20 * some of the images need to be flipped (save with the same name with rtl addition i.e. corner-rtl.gif)
21 * add "direction:rtl" to body
22 * backgound or backgroung-position : check the X parameter and swap 0 or 1 (% or px) with 100%
23
24 so :
25 background: transparent url(image.gif) no-repeat 1px .35em;
26 will become :
27 background: transparent url(image.gif) no-repeat 100% .35em;
28
29 did you used the module to RTL themes ?
30 please consider uploading the theme to drupal site so everyone can use it
31
32 hopfully there will be more RTL themes
33
34 Avior
35 http://dev-art.net

  ViewVC Help
Powered by ViewVC 1.1.2