diff --git a/core/modules/system/css/system.admin.css b/core/modules/system/css/system.admin.css index fbdbab6..2d499f4 100644 --- a/core/modules/system/css/system.admin.css +++ b/core/modules/system/css/system.admin.css @@ -135,7 +135,6 @@ small .admin-link:after { padding-left: 0; /* LTR */ } [dir="rtl"] .system-modules td { - padding-left: 12px; padding-right: 0; } diff --git a/core/modules/system/css/system.diff.css b/core/modules/system/css/system.diff.css index ca27b83..eaa0336 100644 --- a/core/modules/system/css/system.diff.css +++ b/core/modules/system/css/system.diff.css @@ -86,7 +86,6 @@ table.diff th { } [dir="rtl"] table.diff th { padding-left: inherit; - padding-right: 12px; } table.diff td div { overflow: auto; diff --git a/core/modules/system/css/system.theme.css b/core/modules/system/css/system.theme.css index 1c0962c..0f5982a 100644 --- a/core/modules/system/css/system.theme.css +++ b/core/modules/system/css/system.theme.css @@ -288,6 +288,11 @@ td.checkbox, th.checkbox { text-align: center; } +/* This is required to win over specifity of [dir="rtl"] td */ +[dir="rtl"] td.checkbox, +[dir="rtl"] th.checkbox { + text-align: center; +} /** * Progress bar. diff --git a/core/themes/seven/css/components/tables.css b/core/themes/seven/css/components/tables.css index 6fde17c..5c21c78 100644 --- a/core/themes/seven/css/components/tables.css +++ b/core/themes/seven/css/components/tables.css @@ -14,11 +14,14 @@ caption { } th { text-align: left; /* LTR */ - padding: 10px 12px; + padding: 10px 12px; /* LTR */ } [dir="rtl"] th { text-align: right; } +[dir="rtl"] table.diff th { + padding-right: 12px; +} thead th { background: #f5f5f2; border: solid #bfbfba; @@ -42,12 +45,15 @@ th { vertical-align: middle; } td { - padding: 10px 12px; + padding: 10px 12px; /* LTR */ text-align: left; /* LTR */ } [dir="rtl"] td { text-align: right; } +[dir="rtl"] .system-modules td { + padding-left: 12px; +} th > a { position: relative; display: block;