Bug 965032 - Fix layout of Sync preferences in signed-out state. r=ttaubert

This commit is contained in:
Marco Bonardo 2014-02-27 21:37:19 +01:00
parent c0add714ea
commit dd0aed7be9
4 changed files with 37 additions and 3 deletions

View File

@ -186,18 +186,17 @@
</vbox>
<vbox id="noFxaAccount">
<description>&welcome.description;</description>
<label value="&welcome.description;"/>
<label class="text-link"
onclick="gSyncPane.signUp(); return false;"
value="&welcome.createAccount.label;"/>
<label class="text-link"
onclick="gSyncPane.signIn(); return false;"
value="&welcome.signIn.label;"/>
<spacer flex="1"/>
<separator/>
<label class="text-link"
onclick="gSyncPane.openOldSyncSupportPage(); return false;"
value="&welcome.useOldSync.label;"/>
<spacer flex="10"/>
</vbox>
<vbox id="hasFxaAccount">

View File

@ -46,6 +46,10 @@ radio[pane=paneSync] {
}
%endif
#tabPrefsBox {
margin: 5px;
}
/* Applications Pane */
#BrowserPreferences[animated="true"] #handlersView {
height: 25em;
@ -148,4 +152,13 @@ radio[pane=paneSync] {
margin-bottom: 1em;
}
#noFxaAccount {
margin: 5px;
line-height: 1.2em;
}
#noFxaAccount > label:first-child {
margin-bottom: 0.6em;
}
%endif

View File

@ -218,4 +218,13 @@ html|a.inline-link:-moz-focusring {
margin: 0;
}
#noFxaAccount {
margin: 12px 4px;
line-height: 1.2em;
}
#noFxaAccount > label:first-child {
margin-bottom: 0.6em;
}
%endif

View File

@ -45,6 +45,10 @@ radio[pane=paneSync] {
}
%endif
#tabPrefsBox {
margin: 6px;
}
/* Applications Pane */
#BrowserPreferences[animated="true"] #handlersView {
height: 25em;
@ -138,4 +142,13 @@ radio[pane=paneSync] {
margin-bottom: 1em;
}
#noFxaAccount {
margin: 6px;
line-height: 1.2em;
}
#noFxaAccount > label:first-child {
margin-bottom: 0.6em;
}
%endif