From ea47df33e0b8ad95fab0ec0abc4fdd1d63e5861b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20Laxstr=C3=B6m?= Date: Thu, 16 Aug 2012 08:56:17 +0000 Subject: [PATCH] Two RTL fixes * WW can flip sides, other regions not * Display settings icon now changes side and doesn't overlap with text Change-Id: I35a6c93448a8dd178e657ba25093cf77199227c8 --- lib/jquery.uls/css/jquery.uls.css | 8 +++++--- resources/css/ext.uls.css | 4 ++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/lib/jquery.uls/css/jquery.uls.css b/lib/jquery.uls/css/jquery.uls.css index ab168346..9510adf0 100644 --- a/lib/jquery.uls/css/jquery.uls.css +++ b/lib/jquery.uls/css/jquery.uls.css @@ -62,9 +62,6 @@ background-size: 100%; } .uls-region { - /* The map doesn't flip */ - /* @noflip */ - float: left !important; cursor: pointer; padding: 0; margin: 0; @@ -73,6 +70,11 @@ border-bottom-style: solid; border-bottom-width: 3px; } +.uls-worldmap .uls-region { + /* The map doesn't flip */ + /* @noflip */ + float: left; +} .uls-region a { bottom: 2px; position: absolute; diff --git a/resources/css/ext.uls.css b/resources/css/ext.uls.css index 99a1ee2e..86b85a4a 100644 --- a/resources/css/ext.uls.css +++ b/resources/css/ext.uls.css @@ -8,8 +8,12 @@ div#display-settings-block { /* @embed */ background: #F6F6F6 url('../images/display.png') no-repeat; background-size: 20px auto; + /* This is only few pixels off from the below */ + background-position: 10% 5px; + /* Does not work for RTL background-position-x: 15px; background-position-y: 5px; + */ padding-left: 40px; cursor: pointer; }