Update from GitHub

RTL and other bug fixes

Change-Id: I8d9040a1c140f0ff8f3dd430ff33f9602895f4fe
This commit is contained in:
Amir E. Aharoni
2012-10-07 17:19:20 +02:00
parent 5c8a11482c
commit a0aae6d1b9
2 changed files with 72 additions and 17 deletions

View File

@@ -543,6 +543,7 @@ img {
.uls-lcd-region-section ul li:hover { .uls-lcd-region-section ul li:hover {
background-color: #eaeff7; background-color: #eaeff7;
} }
/* Language list */ /* Language list */
.uls-language-list { .uls-language-list {
height: 22em; height: 22em;
@@ -560,7 +561,31 @@ img {
font-weight: normal; font-weight: normal;
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
/*
* Some languages have long names for various reasons and we still want
* them to appear on one line.
* To make it work correctly, the directionality must be set correctly
* on the item level.
*/
text-overflow: ellipsis; text-overflow: ellipsis;
/*
* The directionality (ltr/rtl) for each list item is set dynamically
* as HTML attributes in JavaScript. Setting directionality also applies
* alignment, but a list with mixed alignment is hard to read.
* All items are therefore explicitly aligned to the left, including names
* of right-to-left languages in left-to-right environment and vice versa.
* As long as the directionality of the item is set correctly, the text
* is readable.
*/
text-align: left;
/*
* We don't want any visible bullets in this list.
*/
list-style-image: none;
list-style-type: none;
} }
.uls-language-list strong { .uls-language-list strong {

File diff suppressed because one or more lines are too long