diff options
author | Azamat Hackimov <azamat.hackimov@gmail.com> | 2010-08-19 16:57:44 +0000 |
---|---|---|
committer | Azamat Hackimov <azamat.hackimov@gmail.com> | 2010-08-19 16:57:44 +0000 |
commit | 57372d9d8e8ce54eb1b6a5ed21b4cb0b3f29c69a (patch) | |
tree | 6ce4f8e00b57ca1c9093270a2a7b457ccd010772 /public | |
parent | eefb36177dfb3e5759bf4916cff511fa70f93fea (diff) | |
download | redmine-57372d9d8e8ce54eb1b6a5ed21b4cb0b3f29c69a.tar.gz redmine-57372d9d8e8ce54eb1b6a5ed21b4cb0b3f29c69a.zip |
Real RTL-theme support in locales (#6012)
Now each locale-file have direction string (ltr - left-to-right - by default).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4005 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public')
-rw-r--r-- | public/stylesheets/rtl.css (renamed from public/themes/rtl/stylesheets/application.css) | 28 | ||||
-rw-r--r-- | public/themes/rtl/stylesheets/context_menu.css | 6 |
2 files changed, 22 insertions, 12 deletions
diff --git a/public/themes/rtl/stylesheets/application.css b/public/stylesheets/rtl.css index 74f20b43c..913667381 100644 --- a/public/themes/rtl/stylesheets/application.css +++ b/public/stylesheets/rtl.css @@ -1,5 +1,3 @@ -@import url(../../alternate/stylesheets/application.css); - body, #wrapper { direction: rtl;} #quick-search { float: left; } @@ -20,11 +18,23 @@ body, #wrapper { direction: rtl;} float: right; margin-left: auto; } -.tabular p { clear: right; } +.tabular p +{ + clear: right; +} .tabular label.block { text-align: right; } - -.icon { background-position: 100% 40%; padding-right: 20px; padding-left: 0px; } -div#activity dt, #search-results dt { background-position: 100% 50%; padding-right: 20px; padding-left: 0px; } +.icon +{ + background-position: 100% 40%; + padding-right: 20px; + padding-left: 0px; +} +div#activity dt, #search-results dt +{ + background-position: 100% 50%; + padding-right: 20px; + padding-left: 0px; +} #content .tabs ul li { float: right; } #content .tabs ul { padding-left: auto; padding-right: 1em; } table.progress { float: right; } @@ -48,3 +58,9 @@ table.list td.buttons a { padding-right: 20px; } div#issue-changesets { float: left; margin-right: 1em; margin-left: 0 } #activity dt, .journal { clear: right; } .journal-link { float: left; } +div.wiki pre { direction: ltr; } + +#context-menu li.folder ul { left:auto; right:168px; } +#context-menu li.folder>ul { left:auto; right:148px; } + +#context-menu li a.submenu { background:url("../images/bullet_arrow_left.png") left no-repeat; } diff --git a/public/themes/rtl/stylesheets/context_menu.css b/public/themes/rtl/stylesheets/context_menu.css deleted file mode 100644 index c400d3e84..000000000 --- a/public/themes/rtl/stylesheets/context_menu.css +++ /dev/null @@ -1,6 +0,0 @@ -@import url(../../../stylesheets/context_menu.css); - -#context-menu li.folder ul { left:auto; right:168px; } -#context-menu li.folder>ul { left:auto; right:148px; } - -#context-menu li a.submenu { background:url("../../../images/bullet_arrow_left.png") left no-repeat; } |