| |
| | |

CodersClub

 Forgot password?
 Register
Search
Author: khalid
Collapse the left

RTL CSS & Templates

[Copy link]

 Palestine

 Author| Post time: 2011-12-14 11:45
| Show all posts
vot رد في  2011-12-14 07:37
Lets's look to RTL pages again.
1) Find wrong positioned elements and correct it's style
2) Find ima ...

ok

1%

...............

 Palestine

 Author| Post time: 2011-12-14 12:15
| Show all posts
تم تعديله بواسطة  khalid في  2011-12-14 11:48

Find wrong positioned elements 80%



RTL IMG READY 100%




This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

 Russia

Post time: 2011-12-14 17:59
| Show all posts
I want to know, WHY you changed block width and height here?
  1. -        .pi { overflow: hidden; margin-bottom: 10px; padding: 10px 0; height: 16px; border-bottom: 1px dashed {COMMONBORDER}; }
  2. +        .pi { overflow: hidden; margin-bottom: 10px; padding: 10px 0; height: 33px; border-bottom: 1px dashed {COMMONBORDER}; }

  3. -#psd,appl { width: 136px; } /*vot*/
  4. +#psd,appl { width: 120px; } /*vot*/
Copy the Code
May be, default LTR style must be changed by the same manner?

 Russia

Post time: 2011-12-14 18:35
| Show all posts
Now about RTL images.
1) Some images are not used, and may be removed: pic-next.png, pic-prev.png.

2) Some images does not require to redraw! They may be used as is.
i.e. arw_l.gif, arw_r, pic_next.gif, pic_prev.gif, pic_nv_next.gif, pic_nv_prev.gif, thread_next.gif, thread_prev.gif.
Instead of redrawing this images we can simple reassign existing images like this:
  1. <a href="QQQ.htm" style="display:block;width:23px;height:17px;background:url(static/image/common/pic_nv_next.gif);"></a>
Copy the Code
3) Some images may be redrawn to be universal (both rtl and ltr),
i.e. sortnum.png, search.gif. search.png

 Russia

Post time: 2011-12-14 19:16
| Show all posts
What to do with mood_input_btn.png?


This image was drawn by me as universal button for all the languages,
but I have forgot about RTL language at that time

Is this possible to find a new universal visual solution for this button?
May be, just rotate the triangle 90 grad clockwise?

This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

 Russia

Post time: 2011-12-14 19:18
| Show all posts
I have redrawn search.gif, search.png and  sortnum.png as universal sprites:






This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

 Russia

Post time: 2011-12-14 19:45
| Show all posts
mood_input_btn was redrawn too:

This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

 Russia

Post time: 2011-12-14 19:51
| Show all posts

 Palestine

 Author| Post time: 2011-12-14 20:08
| Show all posts
As you like in IMG

But all Modifications in css files are important !

 Russia

Post time: 2011-12-14 20:45
| Show all posts
common_rtl.css adjusted for new sprites.
http://code.google.com/p/discuzx-en/source/detail?r=252
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-11-21 22:45 GMT+3 , Processed in 0.083185 sec., 7 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list