Bug 337998 - don't force the chrome direction on the whole feed preview (but do set it on the UI parts of it), also includes some RTL-compat fixes on the themes side of things. r=mconnor.

This commit is contained in:
mozilla.mano%sent.com 2006-05-30 14:28:58 +00:00
Родитель a5febf48d8
Коммит eb6031d72d
3 изменённых файлов: 33 добавлений и 15 удалений

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

@ -22,8 +22,8 @@
<script type="application/x-javascript"
src="chrome://browser/content/feeds/subscribe.js"/>
</head>
<body dir="&locale.dir;" onload="SubscribeHandler.init();" onpagehide="SubscribeHandler.uninit();">
<div id="feedHeader">
<body onload="SubscribeHandler.init();" onpagehide="SubscribeHandler.uninit();">
<div id="feedHeader" dir="&locale.dir;">
<div id="feedIntroText">
<p id="feedSubscriptionInfo1">
&feedSubscriptionInfo1a;<strong>&feedName;</strong>&feedSubscriptionInfo1b;
@ -50,7 +50,7 @@
</div>
<!-- XXXben - get rid of me when the feed processor is bug free! -->
<div id="feedError" style="display:none;">
<div id="feedError" style="display:none;" dir="&locale.dir;">
<h1>&error.title;</h1>
<p>&error.message;</p>
<p id="errorCode"/>

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

@ -36,7 +36,7 @@ html {
#feedIntroText {
display: none;
margin-left: 2em;
-moz-margin-start: 2em;
}
#feedHeader[firstrun="true"] #feedIntroText {
@ -49,7 +49,7 @@ html {
}
#feedHeader[firstrun="true"] #feedSubscribeLine {
margin-left: 1.7em;
-moz-margin-start: 1.7em;
background: -moz-Field;
}
@ -66,7 +66,7 @@ html {
#feedSubscribeLink {
background: url("chrome://browser/skin/places/livemarkItem.png") left 0 no-repeat;
padding-left: 18px;
-moz-padding-start: 18px;
font-weight: bold;
-moz-margin-end: .4em;
}
@ -128,7 +128,10 @@ h2 {
#feedTitleLink {
float: right;
margin: 0 0 0 .6em;
-moz-margin-start: .6em;
-moz-margin-end: 0;
margin-top: 0;
margin-bottom: 0;
}
a[href] img {
@ -136,11 +139,17 @@ a[href] img {
}
#feedTitleContainer {
margin: 0 .6em 0 0;
-moz-margin-start: 0;
-moz-margin-end: .6em;
margin-top: 0;
margin-bottom: 0;
}
#feedTitleImage {
margin: 0 0 0 .6em;
-moz-margin-start: .6em;
-moz-margin-end: 0;
margin-top: 0;
margin-bottom: 0;
}
.feedEntryContent {

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

@ -36,7 +36,7 @@ html {
#feedIntroText {
display: none;
margin-left: 2em;
-moz-margin-start: 2em;
}
#feedHeader[firstrun="true"] #feedIntroText {
@ -49,7 +49,7 @@ html {
}
#feedHeader[firstrun="true"] #feedSubscribeLine {
margin-left: 1.7em;
-moz-margin-start: 1.7em;
background: -moz-Field;
}
@ -66,7 +66,7 @@ html {
#feedSubscribeLink {
background: url("chrome://browser/skin/places/livemarkItem.png") left 0 no-repeat;
padding-left: 18px;
-moz-padding-start: 18px;
font-weight: bold;
-moz-margin-end: .4em;
}
@ -128,7 +128,10 @@ h2 {
#feedTitleLink {
float: right;
margin: 0 0 0 .6em;
-moz-margin-start: .6em;
-moz-margin-end: 0;
margin-top: 0;
margin-bottom: 0;
}
a[href] img {
@ -136,11 +139,17 @@ a[href] img {
}
#feedTitleContainer {
margin: 0 .6em 0 0;
-moz-margin-start: 0;
-moz-margin-end: .6em;
margin-top: 0;
margin-bottom: 0;
}
#feedTitleImage {
margin: 0 0 0 .6em;
-moz-margin-start: .6em;
-moz-margin-end: 0;
margin-top: 0;
margin-bottom: 0;
}
.feedEntryContent {