Bug 602457 - [RTL] Favicons in about:home are not on the right side [r=mfinkle]

This commit is contained in:
Vivien Nicolas 2010-10-08 19:27:42 +02:00
Родитель 013613dd6c
Коммит 0008094ac2
2 изменённых файлов: 39 добавлений и 18 удалений

Просмотреть файл

@ -105,7 +105,7 @@ html {
/* Make room for the image */
.section-box > div > div,
.section-row > div > div {
margin-left: 48px;
-moz-margin-start: 48px;
}
.section-box .title {
@ -113,14 +113,17 @@ html {
}
.section-box .openall {
text-align: right;
font-size: 18px;
padding: 12px 8px;
color: black;
}
body[dir="ltr"] .section-box .openall {
text-align: right;
}
.section-box .version {
margin-left: 12px;
-moz-margin-start: 12px;
font-size: 18px;
color: gray;
}
@ -132,17 +135,28 @@ html {
.section-box .favicon {
border: none;
top: 8px;
left: 12px;
width: 32px;
height: 32px;
position: absolute;
pointer-events: none;
}
#newAddons > div:not(.loading) {
body[dir="ltr"] .section-box .favicon {
left: 12px;
}
body[dir="ltr"] .section-box .favicon {
right: 12px;
}
body[dir="ltr"] #newAddons > div:not(.loading) {
background: url("images/arrowright-16.png") 99% center no-repeat;
}
body[dir="rtl"] #newAddons > div:not(.loading) {
background: url("images/arrowleft-16.png") 1% center no-repeat;
}
#remoteTabs[disabled=true] {
pointer-events: none;
color: #aaa;
@ -174,12 +188,19 @@ html {
.section-row .favicon {
border: none;
top: 0;
left: 4px;
width: 32px;
height: 32px;
position: absolute;
}
body[dir="ltr"] {
left: 4px;
}
body[dir="rtl"] {
right: 4px;
}
.loading > img {
display: block;
margin: 0 auto;