diff --git a/core/modules/system/css/system.theme.css b/core/modules/system/css/system.theme.css index 3e9180bd3cb9e038791f37d9bb54cdc2f7309c5e..bf1433952b951f36ed722a3f0875cb0ec349098b 100644 --- a/core/modules/system/css/system.theme.css +++ b/core/modules/system/css/system.theme.css @@ -407,6 +407,10 @@ ul.links a.active { margin: 0; padding: 0; } +[dir="rtl"] .breadcrumb ol { + /* This is required to win over specifity of [dir="rtl"] ol */ + margin-right: 0; +} .breadcrumb li { display: inline; list-style-type: none; @@ -461,6 +465,10 @@ ul.tabs { padding: 0; margin: 1em 0; } +[dir="rtl"] .action-links { + /* This is required to win over specifity of [dir="rtl"] ul */ + margin-right: 0; +} .action-links li { display: inline-block; margin: 0 0.3em; diff --git a/core/themes/seven/css/base/elements.css b/core/themes/seven/css/base/elements.css index 4039693fbeb3ee30ee419d0cce5cfce4dc4df106..dc08f9fbea8eaa49ea726ccd2d0af7c5018e6fcc 100644 --- a/core/themes/seven/css/base/elements.css +++ b/core/themes/seven/css/base/elements.css @@ -111,7 +111,8 @@ ul { margin: 0.25em 0 0.25em 1.5em; /* LTR */ } [dir="rtl"] ul { - margin: 0.25em 1.5em 0.25em 0; + margin-left: 0; + margin-right: 1.5em; } ol { list-style-type: decimal; @@ -119,7 +120,8 @@ ol { padding: 0; } [dir="rtl"] ol { - margin: 0.25em 2em 0.25em 0; + margin-left: 0; + margin-right: 2em; } quote, code { diff --git a/core/themes/seven/css/components/branding.css b/core/themes/seven/css/components/branding.css index 544e1446754f7aa53b07a6f30cc4eba0fa66779b..90d2ae866ae2751c1ec1d9243450eb4b20f3d2d7 100644 --- a/core/themes/seven/css/components/branding.css +++ b/core/themes/seven/css/components/branding.css @@ -6,6 +6,3 @@ background-color: #e0e0d8; padding: 24px 0 0; } -[dir="rtl"] #branding { - padding: 20px 20px 0 20px; -} diff --git a/core/themes/seven/css/components/page-title.css b/core/themes/seven/css/components/page-title.css index 4f2c1cf2176d6fd3d18fe515a54fcb86e7f13211..aed5ca833ff993dc31267e4bd0d546ae63eeea17 100644 --- a/core/themes/seven/css/components/page-title.css +++ b/core/themes/seven/css/components/page-title.css @@ -13,6 +13,3 @@ font-weight: 600; -webkit-font-smoothing: antialiased; } -[dir="rtl"] #branding h1.page-title { - float: right; -}