diff options
Diffstat (limited to 'modules/system')
-rw-r--r-- | modules/system/admin-rtl.css | 38 | ||||
-rw-r--r-- | modules/system/admin.css | 20 | ||||
-rw-r--r-- | modules/system/defaults-rtl.css | 7 | ||||
-rw-r--r-- | modules/system/defaults.css | 4 | ||||
-rw-r--r-- | modules/system/system-rtl.css | 85 | ||||
-rw-r--r-- | modules/system/system.css | 62 |
6 files changed, 173 insertions, 43 deletions
diff --git a/modules/system/admin-rtl.css b/modules/system/admin-rtl.css new file mode 100644 index 000000000..cea4ed7f8 --- /dev/null +++ b/modules/system/admin-rtl.css @@ -0,0 +1,38 @@ +/* $Id $ */ + +div.admin-panel .body { + padding: 0 8px 2px 4px; +} + +div.admin .expert-link { + text-align: left; + margin-right: inherit; + margin-left: 1em; + padding-right: inherit; + padding-left: 4px; +} + +table.system-status-report th, table.system-status-report tr.merge-up td { + padding-right: 30px; +} + +table.system-status-report th { + background-position: 95% 50%; +} + +table.screenshot { + margin-left: 1em; +} + +div.date-container { + clear: right; +} + +div.date-container div { + float: right; +} +div.custom-container { + margin-left: inherit; + margin-right: 15px; +} + diff --git a/modules/system/admin.css b/modules/system/admin.css index 91df67653..30416c90d 100644 --- a/modules/system/admin.css +++ b/modules/system/admin.css @@ -14,7 +14,7 @@ div.admin-panel .description { } div.admin-panel .body { - padding: 0 4px 2px 8px; + padding: 0 4px 2px 8px; /* LTR */ } div.admin { @@ -33,9 +33,9 @@ div.admin .right { } div.admin .expert-link { - text-align: right; - margin-right: 1em; - padding-right: 4px; + text-align: right; /* LTR */ + margin-right: 1em; /* LTR */ + padding-right: 4px; /* LTR */ } table.package { @@ -65,11 +65,11 @@ table.system-status-report th { border-bottom: 1px solid #ccc; } table.system-status-report th, table.system-status-report tr.merge-up td { - padding-left: 30px; + padding-left: 30px; /* LTR */ } table.system-status-report th { background-repeat: no-repeat; - background-position: 5px 50%; + background-position: 5px 50%; /* LTR */ padding-top: 6px; padding-bottom: 6px; } @@ -102,7 +102,7 @@ table.system-status-report tr.ok th { * Formatting for theme overview */ table.screenshot { - margin-right: 1em; + margin-right: 1em; /* LTR */ } .theme-info h2 { margin-bottom: 0; @@ -117,7 +117,7 @@ table.screenshot { */ div.date-container { overflow: auto; - clear: left; + clear: left; /* LTR */ } div.date-container > div, div.date-container > div > div { @@ -126,7 +126,7 @@ div.date-container > div, div.date-container > div > div { } div.date-container div { - float: left; + float: left; /* LTR */ } html.js div.custom-container { @@ -138,7 +138,7 @@ html.js div.custom-container .form-item label { } div.custom-container { - margin-left: 15px; + margin-left: 15px; /* LTR */ width: 50%; } diff --git a/modules/system/defaults-rtl.css b/modules/system/defaults-rtl.css new file mode 100644 index 000000000..2b7dd7696 --- /dev/null +++ b/modules/system/defaults-rtl.css @@ -0,0 +1,7 @@ +/* $Id $ */ + +th { + text-align: right; + padding-right: inherit; + padding-left: 1em; +} diff --git a/modules/system/defaults.css b/modules/system/defaults.css index 87b45d74c..7e97e881b 100644 --- a/modules/system/defaults.css +++ b/modules/system/defaults.css @@ -22,8 +22,8 @@ table { border-collapse: collapse; } th { - text-align: left; - padding-right: 1em; + text-align: left; /* LTR */ + padding-right: 1em; /* LTR */ border-bottom: 3px solid #ccc; } diff --git a/modules/system/system-rtl.css b/modules/system/system-rtl.css new file mode 100644 index 000000000..7206a14e5 --- /dev/null +++ b/modules/system/system-rtl.css @@ -0,0 +1,85 @@ +/* $Id $ */ + +.item-list .icon { + float: left; + padding-left: inherit; + padding-right: 0.25em; + clear: left; +} +.item-list ul li { + margin: 0 1.5em 0.25em 0; +} + +.more-link { + text-align: left; +} +.more-help-link { + text-align: left; +} + +dl.multiselect dt, dl.multiselect dd { + float: right; + margin: 0 0 0 1em; +} +ul.menu { + text-align:right; +} +ul.menu li { + margin: 0 0.5em 0 0; +} +li.expanded { + padding: 0.2em 0 0 0.5em; +} +li.collapsed { + list-style-image: url(../../misc/menu-collapsed-rtl.png); + padding: 0.2em 0 0 0.5em; +} +li.leaf { + padding: 0.2em 0 0 0.5em; +} +.block ul { + padding: 0 1em 0.25em 0; +} + +ul.primary { + padding: 0 1em 0 0; +} +ul.primary li a { + margin-right: inherit; + margin-left: 0.5em; +} +ul.secondary li { + display: inline; + padding: 0 1em; + border-right: inherit; + border-left: 1px solid #ccc; +} +html.js input.form-autocomplete { + background-position: 0% 2px; +} +html.js input.throbbing { + background-position: 0% -18px; +} + +html.js fieldset.collapsible legend a { + padding-left: inherit; + padding-right: 15px; + background-position: 98% 75%; +} +html.js fieldset.collapsed legend a { + background-image: url(../../misc/menu-collapsed-rtl.png); + background-position: 98% 50%; +} + +div.teaser-button-wrapper { + float: left; + padding-right: inherit; + padding-left: 5%; +} +.teaser-checkbox div.form-item { + float: left; + margin: 0 0 0 5%; +} +.progress .percentage { + float: left; +} diff --git a/modules/system/system.css b/modules/system/system.css index 7d30a5cca..e22c7888f 100644 --- a/modules/system/system.css +++ b/modules/system/system.css @@ -21,8 +21,8 @@ tbody th { border-bottom: 1px solid #ccc; } thead th { - text-align: left; - padding-right: 1em; + text-align: left; /* LTR */ + padding-right: 1em; /* LTR */ border-bottom: 3px solid #ccc; } @@ -50,9 +50,9 @@ div.ok, tr.ok { } .item-list .icon { color: #555; - float: right; - padding-left: 0.25em; - clear: right; + float: right; /* LTR */ + padding-left: 0.25em; /* LTR */ + clear: right; /* LTR */ } .item-list .title { font-weight: bold; @@ -62,7 +62,7 @@ div.ok, tr.ok { padding: 0; } .item-list ul li { - margin: 0 0 0.25em 1.5em; + margin: 0 0 0.25em 1.5em; /* LTR */ padding: 0; list-style: disc; } @@ -109,11 +109,11 @@ tr.merge-up, tr.merge-up td, tr.merge-up th { color: #f00; } .more-link { - text-align: right; + text-align: right; /* LTR */ } .more-help-link { font-size: 0.85em; - text-align: right; + text-align: right; /* LTR */ } .nowrap { white-space: nowrap; @@ -147,10 +147,10 @@ dl.multiselect dd.a, dl.multiselect dd.a .form-item { width: 8em; } dl.multiselect dt, dl.multiselect dd { - float: left; + float: left; /* LTR */ line-height: 1.75em; padding: 0; - margin: 0 1em 0 0; + margin: 0 1em 0 0; /* LTR */ } dl.multiselect .form-item { height: 1.75em; @@ -170,27 +170,27 @@ dl.multiselect .form-item { ul.menu { list-style: none; border: none; - text-align:left; + text-align:left; /* LTR */ } ul.menu li { - margin: 0 0 0 0.5em; + margin: 0 0 0 0.5em; /* LTR */ } li.expanded { list-style-type: circle; list-style-image: url(../../misc/menu-expanded.png); - padding: 0.2em 0.5em 0 0; + padding: 0.2em 0.5em 0 0; /* LTR */ margin: 0; } li.collapsed { list-style-type: disc; - list-style-image: url(../../misc/menu-collapsed.png); - padding: 0.2em 0.5em 0 0; + list-style-image: url(../../misc/menu-collapsed.png); /* LTR */ + padding: 0.2em 0.5em 0 0; /* LTR */ margin: 0; } li.leaf { list-style-type: square; list-style-image: url(../../misc/menu-leaf.png); - padding: 0.2em 0.5em 0 0; + padding: 0.2em 0.5em 0 0; /* LTR */ margin: 0; } li a.active { @@ -213,7 +213,7 @@ ul.links li { } .block ul { margin: 0; - padding: 0 0 0.25em 1em; + padding: 0 0 0.25em 1em; /* LTR */ } /* @@ -221,7 +221,7 @@ ul.links li { */ ul.primary { border-collapse: collapse; - padding: 0 0 0 1em; + padding: 0 0 0 1em; /* LTR */ white-space: nowrap; list-style: none; margin: 5px; @@ -238,7 +238,7 @@ ul.primary li a { border-width: 1px; border-style: solid solid none solid; height: auto; - margin-right: 0.5em; + margin-right: 0.5em; /* LTR */ padding: 0 1em; text-decoration: none; } @@ -260,7 +260,7 @@ ul.secondary { ul.secondary li { display: inline; padding: 0 1em; - border-right: 1px solid #ccc; + border-right: 1px solid #ccc; /* LTR */ } ul.secondary a { padding: 0; @@ -299,10 +299,10 @@ ul.secondary a.active { html.js input.form-autocomplete { background-image: url(../../misc/throbber.gif); background-repeat: no-repeat; - background-position: 100% 2px; + background-position: 100% 2px; /* LTR */ } html.js input.throbbing { - background-position: 100% -18px; + background-position: 100% -18px; /* LTR */ } /* @@ -322,12 +322,12 @@ html.js fieldset.collapsed legend { display: block; } html.js fieldset.collapsible legend a { - padding-left: 15px; - background: url(../../misc/menu-expanded.png) 5px 75% no-repeat; + padding-left: 15px; /* LTR */ + background: url(../../misc/menu-expanded.png) 5px 75% no-repeat; /* LTR */ } html.js fieldset.collapsed legend a { - background-image: url(../../misc/menu-collapsed.png); - background-position: 5px 50%; + background-image: url(../../misc/menu-collapsed.png); /* LTR */ + background-position: 5px 50%; /* LTR */ } /* Note: IE-only fix due to '* html' (breaks Konqueror otherwise). */ * html.js fieldset.collapsed legend, @@ -372,13 +372,13 @@ html.js .resizable-textarea textarea { margin-bottom: -2px; } div.teaser-button-wrapper { - float: right; - padding-right: 5%; + float: right; /* LTR */ + padding-right: 5%; /* LTR */ margin: 0; } .teaser-checkbox div.form-item { - float: right; - margin: 0 5% 0 0; + float: right; /* LTR */ + margin: 0 5% 0 0; /* LTR */ padding: 0; } textarea.teaser { @@ -407,7 +407,7 @@ html.js .no-js { width: 0%; } .progress .percentage { - float: right; + float: right; /* LTR */ } /* |