diff --git a/core/modules/system/css/system.admin.css b/core/modules/system/css/system.admin.css index 7f23aab..e78f26c 100644 --- a/core/modules/system/css/system.admin.css +++ b/core/modules/system/css/system.admin.css @@ -132,7 +132,10 @@ small .admin-link:after { cursor: default; } .system-modules td { - padding-left: 0; + padding-left: 0; /* LTR */ +} +[dir="rtl"] .system-modules td { + padding-right: 0; } @media screen and (max-width: 40em) { @@ -370,7 +373,10 @@ small .admin-link:after { padding: 0 0 0 0.7em; } .system-themes-admin-form { - clear: left; + clear: left; /* LTR */ +} +[dir="rtl"] .system-themes-admin-form { + clear: right; } /** diff --git a/core/modules/system/css/system.diff.css b/core/modules/system/css/system.diff.css index 251ff57..0b7b61a 100644 --- a/core/modules/system/css/system.diff.css +++ b/core/modules/system/css/system.diff.css @@ -14,7 +14,13 @@ .diff-inline-legend span, .diff-inline-legend label { - margin-right:5px; + margin-right:5px; /* LTR */ +} + +[dir="rtl"] .diff-inline-legend span, +[dir="rtl"] .diff-inline-legend label { + margin-left: 5px; + margin-right: 0; } /** @@ -53,10 +59,16 @@ table.diff .even, table.diff .odd { border: none; } table.diff .diff-prevlink { - text-align: left; + text-align: left; /* LTR */ +} +[dir="rtl"] table.diff .diff-prevlink { + text-align: right; } table.diff .diff-nextlink { - text-align: right; + text-align: right; /* LTR */ +} +[dir="rtl"] table.diff .diff-nextlink { + text-align: left; } table.diff .diff-section-title, table.diff .diff-section-title { @@ -88,7 +100,11 @@ table.diff .diff-content { width: 50%; } table.diff th { - padding-right: inherit; + padding-right: inherit; /* LTR */ +} +[dir="rtl"] table.diff th { + padding-right: 0; + padding-left: inherit; } table.diff td div { overflow: auto; diff --git a/core/modules/system/css/system.maintenance.css b/core/modules/system/css/system.maintenance.css index b6456c6..8b142cc 100644 --- a/core/modules/system/css/system.maintenance.css +++ b/core/modules/system/css/system.maintenance.css @@ -41,7 +41,11 @@ } #edit-connection-settings-change-connection-type { - margin: 2.6em 0.5em 0 1em; + margin: 2.6em 0.5em 0 1em; /* LTR */ +} +[dir="rtl"] #edit-connection-settings-change-connection-type { + margin-left: 0.5em; + margin-right: 1em; } /** diff --git a/core/modules/system/css/system.module.css b/core/modules/system/css/system.module.css index 9eb87dc..93c7740 100644 --- a/core/modules/system/css/system.module.css +++ b/core/modules/system/css/system.module.css @@ -128,9 +128,13 @@ a.tabledrag-handle:focus .handle { width: 40px; } .touch a.tabledrag-handle .handle { - background-position: 40% 19px; + background-position: 40% 19px; /* LTR */ height: 21px; } +[dir="rtl"] .touch a.tabledrag-handle .handle { + background-position: right 40% top 19px; +} + .touch .draggable.drag a.tabledrag-handle .handle { background-position: 50% -32px; } @@ -254,7 +258,7 @@ tr .ajax-progress-throbber .throbber { /* Full screen throbber */ .ajax-progress-fullscreen { /* Can't do center:50% middle: 50%, so approximate it for a typical window size. */ - left: 49%; + left: 49%; /* LTR */ position: fixed; top: 48.5%; z-index: 1000; @@ -268,6 +272,10 @@ tr .ajax-progress-throbber .throbber { padding: 4px; width: 24px; } +[dir="rtl"] .ajax-progress-fullscreen { + left: auto; + right: 49%; +} /** * Inline items. diff --git a/core/modules/system/css/system.theme.css b/core/modules/system/css/system.theme.css index f7af1e4..dee0a32 100644 --- a/core/modules/system/css/system.theme.css +++ b/core/modules/system/css/system.theme.css @@ -74,7 +74,12 @@ label.option { } .form-type-radio .description, .form-type-checkbox .description { - margin-left: 2.4em; + margin-left: 2.4em; /* LTR */ +} +[dir="rtl"] .form-type-radio .description, +[dir="rtl"] .form-type-checkbox .description { + margin-left: 0; + margin-right: 2.4em; } .marker { color: #e00; @@ -220,7 +225,7 @@ summary { .collapse-processed > summary:before { background: url(../../../misc/menu-expanded.png) 0px 100% no-repeat; /* LTR */ content: ""; - float: left; + float: left; /* LTR */ height: 1em; width: 1em; } @@ -309,15 +314,20 @@ th.checkbox { #0094f0 100% ); background-size: 40px 40px; margin-top: -1px; - margin-left: -1px; + margin-left: -1px; /* LTR */ padding: 0 1px; height: 16px; border-radius: 10em; - -webkit-animation: animate-stripes 3s linear infinite; - -moz-animation: animate-stripes 3s linear infinite; + -webkit-animation: animate-stripes 3s linear infinite; /* LTR */ + -moz-animation: animate-stripes 3s linear infinite; /* LTR */ -webkit-transition: width 0.5s ease-out; transition: width 0.5s ease-out; } +[dir="rtl"] .progress__bar { + margin-left: 0; + margin-right: -1px; + animation-direction: reverse; +} /** * Progress bar animations. @@ -371,7 +381,12 @@ ul.menu a.active { ul.inline, ul.links.inline { display: inline; - padding-left: 0; + padding-left: 0; /* LTR */ +} +[dir="rtl"] ul.inline, +[dir="rtl"] ul.links.inline { + padding-right: 0; + padding-left: 15px; } ul.inline li { display: inline; @@ -592,6 +607,7 @@ form .field-multiple-table .field-multiple-drag .tabledrag-handle { padding-right: .5em; /*LTR*/ } [dir="rtl"] form .field-multiple-table .field-multiple-drag .tabledrag-handle { + padding-right: 0; padding-left: .5em; } form .field-add-more-submit { diff --git a/core/themes/seven/css/components/tables.css b/core/themes/seven/css/components/tables.css index 470537d..d119cf6 100644 --- a/core/themes/seven/css/components/tables.css +++ b/core/themes/seven/css/components/tables.css @@ -14,7 +14,7 @@ caption { } th { text-align: left; /* LTR */ - padding: 10px 12px; + padding: 10px 12px; /* LTR */ } [dir="rtl"] th { text-align: right; @@ -52,7 +52,7 @@ th { vertical-align: middle; } td { - padding: 10px 12px; + padding: 10px 12px; /* LTR */ text-align: left; /* LTR */ } [dir="rtl"] td {