Bug 620467 - Give Account Central system colors. ui-r=andreasn, r=bwinton.

This commit is contained in:
Richard Marti 2010-12-21 18:33:33 -05:00
Родитель adb7a5cce9
Коммит 90aab84e0a
1 изменённых файлов: 32 добавлений и 18 удалений

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

@ -20,6 +20,7 @@
* the Initial Developer. All Rights Reserved. * the Initial Developer. All Rights Reserved.
* *
* Contributor(s): * Contributor(s):
* Richard Marti <mozilla@paenglab.ch>
* *
* Alternatively, the contents of this file may be used under the terms of * Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or * either the GNU General Public License Version 2 or later (the "GPL"), or
@ -44,7 +45,7 @@
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
#acctCentralGrid { #acctCentralGrid {
background-color: #FFFFFF; background-color: Window;
} }
separator { separator {
@ -64,7 +65,7 @@ separator.thin {
-moz-padding-end: 0px; -moz-padding-end: 0px;
font-size: 180%; font-size: 180%;
font-weight: bold; font-weight: bold;
color: #000000; color: WindowText;
} }
.acctCentralRow { .acctCentralRow {
@ -79,18 +80,24 @@ separator.thin {
} }
.acctCentralRowTitleBox { .acctCentralRowTitleBox {
background-color: -moz-Dialog; background-color: ButtonFace;
-moz-appearance: toolbox; border: 1px solid ThreeDDarkShadow;
margin: 15px 6px 0px;
border-radius: 3px;
color: -moz-DialogText;
padding-top: 2px;
padding-bottom: 0;
-moz-padding-start: 8px;
-moz-padding-end: 4px;
font-size: 150%; font-size: 150%;
font-weight: bold; font-weight: bold;
color: #000000;
} }
/* ::::: links ::::: */ /* ::::: links ::::: */
.acctCentralLinkText { .acctCentralLinkText {
cursor: pointer; cursor: pointer;
color: #212731; color: WindowText;
-moz-padding-start: 45px; -moz-padding-start: 45px;
margin-top: .55em; margin-top: .55em;
margin-bottom: .55em; margin-bottom: .55em;
@ -98,15 +105,15 @@ separator.thin {
} }
.acctCentralLinkText:hover { .acctCentralLinkText:hover {
color: #39598E; color: -moz-NativehyperlinkText;
} }
.acctCentralLinkText:hover:active { .acctCentralLinkText:hover:active {
color: #000000; color: -moz-html-CellHighlight;
} }
#ReadMessages label { #ReadMessages label {
background: url("chrome://messenger/skin/accountcentral/read-messages.png") no-repeat !important; background: url("chrome://messenger/skin/accountcentral/read-messages.png") no-repeat !important;
} }
#ReadMessages label:-moz-locale-dir(rtl) { #ReadMessages label:-moz-locale-dir(rtl) {
@ -114,7 +121,7 @@ separator.thin {
} }
#ComposeMessage label { #ComposeMessage label {
background: url("chrome://messenger/skin/accountcentral/write-message.png") no-repeat !important; background: url("chrome://messenger/skin/accountcentral/write-message.png") no-repeat !important;
} }
#ComposeMessage label:-moz-locale-dir(rtl) { #ComposeMessage label:-moz-locale-dir(rtl) {
@ -122,7 +129,7 @@ separator.thin {
} }
#AccountSettings label { #AccountSettings label {
background: url("chrome://messenger/skin/accountcentral/account-settings.png") no-repeat !important; background: url("chrome://messenger/skin/accountcentral/account-settings.png") no-repeat !important;
} }
#AccountSettings label:-moz-locale-dir(rtl) { #AccountSettings label:-moz-locale-dir(rtl) {
@ -130,7 +137,7 @@ separator.thin {
} }
#CreateAccount label { #CreateAccount label {
background: url("chrome://messenger/skin/accountcentral/create-account.png") no-repeat !important; background: url("chrome://messenger/skin/accountcentral/create-account.png") no-repeat !important;
} }
#CreateAccount label:-moz-locale-dir(rtl) { #CreateAccount label:-moz-locale-dir(rtl) {
@ -138,7 +145,7 @@ separator.thin {
} }
#SearchMessages label { #SearchMessages label {
background: url("chrome://messenger/skin/accountcentral/search-messages.png") no-repeat !important; background: url("chrome://messenger/skin/accountcentral/search-messages.png") no-repeat !important;
} }
#SearchMessages label:-moz-locale-dir(rtl) { #SearchMessages label:-moz-locale-dir(rtl) {
@ -146,7 +153,7 @@ separator.thin {
} }
#CreateFilters label { #CreateFilters label {
background: url("chrome://messenger/skin/accountcentral/manage-filters.png") no-repeat !important; background: url("chrome://messenger/skin/accountcentral/manage-filters.png") no-repeat !important;
} }
#CreateFilters label:-moz-locale-dir(rtl) { #CreateFilters label:-moz-locale-dir(rtl) {
@ -154,7 +161,7 @@ separator.thin {
} }
#OfflineSettings label { #OfflineSettings label {
background: url("chrome://messenger/skin/accountcentral/offline-settings.png") no-repeat !important; background: url("chrome://messenger/skin/accountcentral/offline-settings.png") no-repeat !important;
} }
#OfflineSettings label:-moz-locale-dir(rtl) { #OfflineSettings label:-moz-locale-dir(rtl) {
@ -162,7 +169,7 @@ separator.thin {
} }
#SubscribeImapFolders label { #SubscribeImapFolders label {
background: url("chrome://messenger/skin/accountcentral/manage-imap.png") no-repeat !important; background: url("chrome://messenger/skin/accountcentral/manage-imap.png") no-repeat !important;
} }
#SubscribeImapFolders label:-moz-locale-dir(rtl) { #SubscribeImapFolders label:-moz-locale-dir(rtl) {
@ -170,7 +177,7 @@ separator.thin {
} }
#SubscribeNewsgroups label { #SubscribeNewsgroups label {
background: url("chrome://messenger/skin/accountcentral/manage-newsgroups.png") no-repeat !important; background: url("chrome://messenger/skin/accountcentral/manage-newsgroups.png") no-repeat !important;
} }
#SubscribeNewsgroups label:-moz-locale-dir(rtl) { #SubscribeNewsgroups label:-moz-locale-dir(rtl) {
@ -178,10 +185,17 @@ separator.thin {
} }
#SubscribeRSS label { #SubscribeRSS label {
background: url("chrome://messenger/skin/accountcentral/manage-rss.png") no-repeat !important; background: url("chrome://messenger/skin/accountcentral/manage-rss.png") no-repeat !important;
} }
#SubscribeRSS label:-moz-locale-dir(rtl) { #SubscribeRSS label:-moz-locale-dir(rtl) {
background: url("chrome://messenger/skin/accountcentral/manage-rss.png") right no-repeat !important; background: url("chrome://messenger/skin/accountcentral/manage-rss.png") right no-repeat !important;
} }
#JunkSettingsMail label {
background: url("chrome://messenger/skin/icons/junk.png") no-repeat !important;
}
#JunkSettingsMail label:-moz-locale-dir(rtl) {
background: url("chrome://messenger/skin/icons/junk.png") right no-repeat !important;
}