From 10e6812ef434293d5f2f907a4d821c7fc0f9c522 Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Mon, 28 Jul 2014 22:20:25 +0100 Subject: [PATCH] Issue #2310321 by corbacho, herom: Fixed CSS for RTL messages. --- core/modules/system/css/system.theme.css | 5 +++-- core/themes/bartik/css/style.css | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/core/modules/system/css/system.theme.css b/core/modules/system/css/system.theme.css index 8fa14dd4ca97..f3a749035953 100644 --- a/core/modules/system/css/system.theme.css +++ b/core/modules/system/css/system.theme.css @@ -536,7 +536,7 @@ ul.tabs { } [dir="rtl"] .messages { border-width: 1px 0 1px 1px; - background-position-x: 99%; + background-position: right 10px top 18px; padding-left: 20px; padding-right: 35px; text-align: right; @@ -562,10 +562,11 @@ ul.tabs { margin-left: 8px; /* LTR */ } [dir="rtl"] .messages--status { - background-position: 99.3% 19px; + background-position: right 12px top 19px; border-color: #c9e1bd transparent #c9e1bd #c9e1bd; box-shadow: 8px 0 0 #77b259; margin-right: 8px; + margin-left: 0; } .messages--status, .ok { diff --git a/core/themes/bartik/css/style.css b/core/themes/bartik/css/style.css index 27799bc76cb5..5e508f980db2 100644 --- a/core/themes/bartik/css/style.css +++ b/core/themes/bartik/css/style.css @@ -1287,7 +1287,8 @@ div.tabs { background: #f0f0f0; background: rgba(30, 50, 10, 0.08); } -div.messages { +div.messages, +[dir="rtl"] div.messages { margin: 8px 15px; } -- GitLab