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
This commit is contained in:
@@ -62,9 +62,6 @@
|
|||||||
background-size: 100%;
|
background-size: 100%;
|
||||||
}
|
}
|
||||||
.uls-region {
|
.uls-region {
|
||||||
/* The map doesn't flip */
|
|
||||||
/* @noflip */
|
|
||||||
float: left !important;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@@ -73,6 +70,11 @@
|
|||||||
border-bottom-style: solid;
|
border-bottom-style: solid;
|
||||||
border-bottom-width: 3px;
|
border-bottom-width: 3px;
|
||||||
}
|
}
|
||||||
|
.uls-worldmap .uls-region {
|
||||||
|
/* The map doesn't flip */
|
||||||
|
/* @noflip */
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
.uls-region a {
|
.uls-region a {
|
||||||
bottom: 2px;
|
bottom: 2px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|||||||
@@ -8,8 +8,12 @@ div#display-settings-block {
|
|||||||
/* @embed */
|
/* @embed */
|
||||||
background: #F6F6F6 url('../images/display.png') no-repeat;
|
background: #F6F6F6 url('../images/display.png') no-repeat;
|
||||||
background-size: 20px auto;
|
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-x: 15px;
|
||||||
background-position-y: 5px;
|
background-position-y: 5px;
|
||||||
|
*/
|
||||||
padding-left: 40px;
|
padding-left: 40px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user