diff options
author | Jonathan Stanley <shs@users.sourceforge.net> | 2007-02-26 03:30:32 +0000 |
---|---|---|
committer | Jonathan Stanley <shs@users.sourceforge.net> | 2007-02-26 03:30:32 +0000 |
commit | 99014e52015025735dc11e122248ce575846954a (patch) | |
tree | e2642626e2ecc00857c34ef4efa601841e59f47b /phpBB/adm | |
parent | 8162ae075fbe9aabde3e5be8d8880ccdb37005cd (diff) | |
download | forums-99014e52015025735dc11e122248ce575846954a.tar forums-99014e52015025735dc11e122248ce575846954a.tar.gz forums-99014e52015025735dc11e122248ce575846954a.tar.bz2 forums-99014e52015025735dc11e122248ce575846954a.tar.xz forums-99014e52015025735dc11e122248ce575846954a.zip |
Second attempt at getting the tabs to display correctly in RTL mode. Amazingly, floating the little span on the reworked ACP permissions tabs "right" is utterly destroyed by current browsers; Firefox 1.5.0.x/2.0.0.x, Opera 9 and IE7. Only Firefox 3.0 Alpha 3 works correctly (it has the Reflow Branch stuff in, which allows it to pass Acid2)... so whilst the CSS is there, it's commented out. If you want a decent RTL CSS experience, start using Firefox 3.0 (Gran Paradiso) and get those bug reports in!
git-svn-id: file:///svn/phpbb/trunk@7085 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/adm')
-rw-r--r-- | phpBB/adm/style/admin.css | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/phpBB/adm/style/admin.css b/phpBB/adm/style/admin.css index 20404498e1..b4e0cd554f 100644 --- a/phpBB/adm/style/admin.css +++ b/phpBB/adm/style/admin.css @@ -214,6 +214,10 @@ a:hover { text-transform: uppercase; } +.rtl #tabs a span { + float: right; +} + /* Commented Backslash Hack hides rule from IE5-Mac \*/ #tabs a span, .rtl #tabs a span { float:none;} /* End hack */ @@ -1121,8 +1125,6 @@ fieldset.perm .perm_switch { .rtl .perm_cat a { float: right; - margin: 0 0 0 1px; - padding: 0 6px 0 0; } .perm_cat a span.tabbg { @@ -1135,8 +1137,7 @@ fieldset.perm .perm_switch { } .rtl .perm_cat a span.tabbg { - float: left; - padding: 7px 6px 6px 12px; + float: right; } /* Commented Backslash Hack hides rule from IE5-Mac \*/ @@ -1183,10 +1184,12 @@ fieldset.perm .perm_switch { margin: 0 5px 0 0; } +/* Most browsers will have to live with a left aligned icon in RTL mode, as (currently) only Firefox 3.0 Alpha 3 renders it correctly without destroying it .rtl .perm_cat a span.colour { float: right; margin: 0 0 0 5px; } +*/ .perm_cat .activetab span.colour { border-color: #333333; @@ -1219,7 +1222,7 @@ fieldset.perm .perm_switch { background-color: #EFB0B2; } -/* Pemrission panel +/* Permission panel ---------------------------------------- */ .perm_panel { float: left; |