From 4691167b763e7468eae4c513d42c880c83b5e1f6 Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Sat, 4 Oct 2014 14:44:08 +0200 Subject: [PATCH] Issue #2343281 by Upchuk, herom: Fixed RTL issues in content listing page, aka /admin/content. --- core/modules/system/css/system.theme.css | 8 ++++++++ core/themes/seven/css/base/elements.css | 6 ++++-- core/themes/seven/css/components/branding.css | 3 --- core/themes/seven/css/components/page-title.css | 3 --- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/core/modules/system/css/system.theme.css b/core/modules/system/css/system.theme.css index 3e9180bd3cb..bf1433952b9 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 4039693fbeb..dc08f9fbea8 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 544e1446754..90d2ae866ae 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 4f2c1cf2176..aed5ca833ff 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; -}