#195543 by hass and yhager: CSS inherit was completely misused in RTL CSS files

6.x
Gábor Hojtsy 2007-11-27 12:09:27 +00:00
parent 61f04c91c9
commit f77b60f291
17 changed files with 50 additions and 47 deletions

View File

@ -1,13 +1,13 @@
/* $Id$ */ /* $Id$ */
#placeholder { #placeholder {
right: inherit;
left: 0; left: 0;
right: auto;
} }
/* Palette */ /* Palette */
.color-form .form-item { .color-form .form-item {
padding-left: inherit; padding-left: 0;
padding-right: 1em; padding-right: 1em;
} }
.color-form label { .color-form label {
@ -18,7 +18,7 @@
float: right; float: right;
} }
.color-form .form-text { .color-form .form-text {
margin-right: inherit; margin-right: 0;
margin-left: 5px; margin-left: 5px;
} }
@ -26,7 +26,7 @@
float: right; float: right;
} }
#palette .down, #palette .up, #palette .both { #palette .down, #palette .up, #palette .both {
background-position: 0 0; background: url(images/hook-rtl.png) no-repeat 0 0;
} }
#palette .up { #palette .up {
background-position: 0 -27px; background-position: 0 -27px;
@ -37,7 +37,6 @@
#palette .lock { #palette .lock {
float: right; float: right;
left: inherit;
right: -10px; right: -10px;
} }
html.js #preview { html.js #preview {

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 B

View File

@ -1,6 +1,6 @@
/* $Id$ */ /* $Id$ */
.indented { .indented {
margin-left: inherit; margin-left: 0;
margin-right: 25px; margin-right: 25px;
} }

View File

@ -2,6 +2,6 @@
#dblog-filter-form .form-item { #dblog-filter-form .form-item {
float: right; float: right;
padding-right: inherit; padding-right: 0;
padding-left: .8em; padding-left: .8em;
} }

View File

@ -1,7 +1,7 @@
/* $Id$ */ /* $Id$ */
#forum tr td.forum { #forum tr td.forum {
padding-left: inherit; padding-left: 0.5em;
padding-right: 25px; padding-right: 25px;
background-position: 98% 2px; background-position: 98% 2px;
} }

View File

@ -2,10 +2,10 @@
.help-items { .help-items {
float: right; float: right;
padding-right: inherit; padding-right: 0;
padding-left: 3%; padding-left: 3%;
} }
.help-items-last { .help-items-last {
padding-right: inherit; padding-right: 0;
padding-left: 0; padding-left: 0;
} }

View File

@ -2,7 +2,7 @@
#node-admin-buttons { #node-admin-buttons {
float: right; float: right;
margin-left: inherit; margin-left: 0;
margin-right: 0.5em; margin-right: 0.5em;
clear: left; clear: left;
} }

View File

@ -2,7 +2,7 @@
.search-advanced .criterion { .search-advanced .criterion {
float: right; float: right;
margin-right: inherit; margin-right: 0;
margin-left: 2em; margin-left: 2em;
} }
.search-advanced .action { .search-advanced .action {

View File

@ -6,9 +6,9 @@ div.admin-panel .body {
div.admin .expert-link { div.admin .expert-link {
text-align: left; text-align: left;
margin-right: inherit; margin-right: 0;
margin-left: 1em; margin-left: 1em;
padding-right: inherit; padding-right: 0;
padding-left: 4px; padding-left: 4px;
} }
@ -31,7 +31,7 @@ table.screenshot {
float: right; float: right;
} }
.date-container .custom-container { .date-container .custom-container {
margin-left: inherit; margin-left: 0;
margin-right: 15px; margin-right: 15px;
} }

View File

@ -2,6 +2,6 @@
th { th {
text-align: right; text-align: right;
padding-right: inherit; padding-right: 0;
padding-left: 1em; padding-left: 1em;
} }

View File

@ -1,8 +1,14 @@
/* $Id$ */ /* $Id$ */
thead th {
text-align: right;
padding-left: 1em;
padding-right: 0.5em;
}
.item-list .icon { .item-list .icon {
float: left; float: left;
padding-left: inherit; padding-left: 0;
padding-right: 0.25em; padding-right: 0.25em;
clear: left; clear: left;
} }
@ -30,13 +36,13 @@ ul.primary {
padding: 0 1em 0 0; padding: 0 1em 0 0;
} }
ul.primary li a { ul.primary li a {
margin-right: inherit; margin-right: 5px;
margin-left: 0.5em; margin-left: 0.5em;
} }
ul.secondary li { ul.secondary li {
display: inline; display: inline;
padding: 0 1em; padding: 0 1em;
border-right: inherit; border-right: none;
border-left: 1px solid #ccc; border-left: 1px solid #ccc;
} }
html.js input.form-autocomplete { html.js input.form-autocomplete {
@ -47,7 +53,7 @@ html.js input.throbbing {
} }
html.js fieldset.collapsible legend a { html.js fieldset.collapsible legend a {
padding-left: inherit; padding-left: 0;
padding-right: 15px; padding-right: 15px;
background-position: 98% 75%; background-position: 98% 75%;
} }
@ -58,7 +64,7 @@ html.js fieldset.collapsed legend a {
div.teaser-button-wrapper { div.teaser-button-wrapper {
float: left; float: left;
padding-right: inherit; padding-right: 0;
padding-left: 5%; padding-left: 5%;
} }
.teaser-checkbox div.form-item { .teaser-checkbox div.form-item {
@ -79,9 +85,9 @@ div.teaser-button-wrapper {
} }
input.password-field { input.password-field {
margin-left: 10px; margin-left: 10px;
margin-right: inherit; margin-right: 0;
} }
input.password-confirm { input.password-confirm {
margin-left: 10px; margin-left: 10px;
margin-right: inherit; margin-right: 0;
} }

View File

@ -1,17 +1,17 @@
/* $Id$ */ /* $Id$ */
#permissions td.permission { #permissions td.permission {
padding-left: inherit; padding-left: 0;
padding-right: 1.5em; padding-right: 1.5em;
} }
#access-rules .access-type, #access-rules .rule-type { #access-rules .access-type, #access-rules .rule-type {
margin-right: inherit; margin-right: 0;
margin-left: 1em; margin-left: 1em;
float: right; float: right;
} }
#user-admin-buttons { #user-admin-buttons {
float: right; float: right;
margin-left: inherit; margin-left: 0;
margin-right: 0.5em; margin-right: 0.5em;
clear: left; clear: left;
} }

View File

@ -17,7 +17,7 @@ body {
} }
ul.links li { ul.links li {
border-right: 1px solid #9cf; border-right: 1px solid #9cf;
border-left: inherit; border-left: none;
} }
.block, .box { .block, .box {
padding: 0 1.5em 0 0; padding: 0 1.5em 0 0;

View File

@ -10,7 +10,7 @@ p {
} }
ul.links li { ul.links li {
border-left: inherit; border-left: none;
border-right: 1px solid #888; border-right: 1px solid #888;
} }
@ -25,7 +25,7 @@ ul.links li {
float: left; float: left;
} }
.node .content { .node .content {
padding-left: inherit; padding-left: 0;
padding-right: 1em; padding-right: 1em;
} }
.node .links { .node .links {

View File

@ -8,20 +8,20 @@ body {
* Welcome to design by tables.. * Welcome to design by tables..
*/ */
#sidebar-left { #sidebar-left {
border-right: inherit; border-right: none;
border-left: 1px solid gray; border-left: 1px solid gray;
} }
#sidebar-right { #sidebar-right {
border-left: inherit; border-left: none;
border-right: 1px solid gray; border-right: 1px solid gray;
} }
ul.links li { ul.links li {
border-left: inherit; border-left: none;
border-right: 1px solid #000; border-right: 1px solid #000;
} }
ul.links li.first { ul.links li.first {
border-left: inherit; border-left: none;
border-right: none; border-right: none;
} }
div.links { div.links {

View File

@ -20,7 +20,7 @@ ul.menu, .item-list ul {
} }
ul.menu ul, .item-list ul ul { ul.menu ul, .item-list ul ul {
margin-left: inherit; margin-left: 0;
margin-right: 0em; margin-right: 0em;
} }
@ -34,7 +34,7 @@ ul li, ul.menu li, .item-list ul li, li.leaf {
} }
ol li { ol li {
margin-left: inherit; margin-left: 0;
margin-right: 2em; margin-right: 2em;
} }
@ -51,7 +51,7 @@ ul.inline li {
} }
ol.task-list { ol.task-list {
margin-left: inherit; margin-left: 0;
margin-right: 0; margin-right: 0;
} }
@ -68,7 +68,7 @@ ol.task-list li.done {
} }
ol.task-list li.active { ol.task-list li.active {
margin-right: inherit; margin-right: 0;
margin-left: 1em; margin-left: 1em;
} }
@ -96,10 +96,9 @@ dl dd {
} }
#wrapper #container #header h1 img { #wrapper #container #header h1 img {
padding-right: inherit; padding-right: 0;
padding-left: 20px;
float: right; float: right;
padding-right: inherit;
padding-left : 20px;
} }
#sidebar-left .block-region { #sidebar-left .block-region {
@ -118,7 +117,7 @@ dl dd {
#wrapper #container .breadcrumb { #wrapper #container .breadcrumb {
position: absolute; position: absolute;
top: 15px; top: 15px;
left: inherit; left: 0;
right: 35px; right: 35px;
z-index: 3; z-index: 3;
} }
@ -139,7 +138,6 @@ ul.primary-links li {
* Secondary navigation * Secondary navigation
*/ */
ul.secondary-links { ul.secondary-links {
padding: 20px 0 0;
float: left; float: left;
clear: left; clear: left;
} }
@ -186,7 +184,7 @@ ul.links li, ul.inline li {
} }
.picture, .comment .submitted { .picture, .comment .submitted {
padding-left: inherit; padding-left: 0;
float: left; float: left;
clear: left; clear: left;
padding-right: 1em; padding-right: 1em;
@ -201,12 +199,12 @@ ul.links li, ul.inline li {
} }
.indented { .indented {
margin-left: 0; /* an should be inherit, but force left margin to be 0 */ margin-left: 0;
margin-right: 25px; margin-right: 25px;
} }
html.js fieldset.collapsible legend a { html.js fieldset.collapsible legend a {
padding-left: inherit; padding-left: 0;
padding-right: 2em; padding-right: 2em;
background: url("images/menu-expanded.gif") no-repeat 100% 50%; background: url("images/menu-expanded.gif") no-repeat 100% 50%;
} }
@ -220,7 +218,7 @@ html.js fieldset.collapsed legend a {
*/ */
#block-node-0 h2 { #block-node-0 h2 {
float: right; float: right;
padding-right: inherit; padding-right: 0;
padding-left: 20px; padding-left: 20px;
} }

View File

@ -577,7 +577,7 @@ ul.primary-links li a:hover, ul.primary-links li a.active {
*/ */
ul.secondary-links { ul.secondary-links {
margin: 0; margin: 0;
padding: 18px 0 0; /* LTR */ padding: 18px 0 0;
float: right; /* LTR */ float: right; /* LTR */
clear: right; /* LTR */ clear: right; /* LTR */
position: relative; position: relative;