Fixes the Outline view in RTL languages, follow up of #2510

This commit is contained in:
Snuffleupagus 2012-12-28 13:26:30 +01:00
parent 956d5b0ba8
commit d3836c0173

View File

@ -967,16 +967,19 @@ a:focus > .thumbnail > .thumbnailSelectionRing,
-moz-user-select:none; -moz-user-select:none;
} }
.outlineItem > .outlineItems { html[dir='ltr'] .outlineItem > .outlineItems {
margin-left: 20px; margin-left: 20px;
} }
html[dir='rtl'] .outlineItem > .outlineItems {
margin-right: 20px;
}
.outlineItem > a { .outlineItem > a {
text-decoration: none; text-decoration: none;
display: inline-block; display: inline-block;
min-width: 95%; min-width: 95%;
height: auto; height: auto;
padding: 2px 0 5px 10px;
margin-bottom: 1px; margin-bottom: 1px;
border-radius: 2px; border-radius: 2px;
color: hsla(0,0%,100%,.8); color: hsla(0,0%,100%,.8);
@ -987,6 +990,14 @@ a:focus > .thumbnail > .thumbnailSelectionRing,
white-space: normal; white-space: normal;
} }
html[dir='ltr'] .outlineItem > a {
padding: 2px 0 5px 10px;
}
html[dir='rtl'] .outlineItem > a {
padding: 2px 10px 5px 0;
}
.outlineItem > a:hover { .outlineItem > a:hover {
background-color: hsla(0,0%,100%,.02); background-color: hsla(0,0%,100%,.02);
background-image: -moz-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0)); background-image: -moz-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));