(bug 45142) dirty RTL CSS hack for Opera

For some absolutely inexplicable reason Opera confuses right and left
padding on li#pt-uls a.uls-trigger in RTL mode, causing the text to
overlap an icon. Use a CSS hack to flip the text direction for Opera
only.

Change-Id: I71c2c4cac3269551722b15c533a2d511e1b483d9
This commit is contained in:
MatmaRex
2013-02-21 17:47:25 +01:00
parent cbe49b6449
commit 764a752f1c

View File

@@ -2,6 +2,14 @@ li#pt-uls a.uls-trigger {
padding-left: 30px;
}
/* Opera for some inexplicable reason confuses right and left padding with */
/* RTL text direction here (bug 45142). x:-o-prefocus won't match anything, */
/* but will make other browsers ignore this rule. */
x:-o-prefocus, body.rtl li#pt-uls {
/* @noflip */
direction: ltr;
}
div#settings-block {
border-top: 1px solid #C9C9C9;
background: #f8f8f8;