Bug 971283 - Preferences links to Terms of Service and Privacy Notice are too high and and too large. r=ttaubert
authorMarco Bonardo <mbonardo@mozilla.com>
Fri, 28 Feb 2014 11:07:14 +0100
changeset 171538 2789e24048c99e24e0f8615c70df064e39d98d4b
parent 171537 26020d6a32f25e579ad7e2fb5a1bfbe58e4507c8
child 171539 48432355c9fbb0ff9f0efa22afe07c0f5d9d2418
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
reviewersttaubert
bugs971283
milestone30.0a1
Bug 971283 - Preferences links to Terms of Service and Privacy Notice are too high and and too large. r=ttaubert
browser/components/preferences/sync.xul
browser/themes/linux/preferences/preferences.css
browser/themes/osx/preferences/preferences.css
browser/themes/windows/preferences/preferences.css
--- a/browser/components/preferences/sync.xul
+++ b/browser/components/preferences/sync.xul
@@ -299,20 +299,21 @@
           <hbox align="center">
             <label value="&syncDeviceName.label;"
                    accesskey="&syncDeviceName.accesskey;"
                    control="syncComputerName"/>
             <textbox id="fxaSyncComputerName"
                      flex="1"
                      onchange="gSyncUtils.changeName(this)"/>
           </hbox>
+          <spacer flex="1"/>
           <hbox id="tosPP" pack="center">
-            <label class="text-link"
+            <label class="text-link small"
                    onclick="event.stopPropagation();gSyncUtils.openToS();"
                    value="&prefs.tosLink.label;"/>
-            <label class="text-link"
+            <label class="text-link small"
                    onclick="event.stopPropagation();gSyncUtils.openPrivacyPolicy();"
                    value="&fxaPrivacyNotice.link.label;"/>
           </hbox>
         </vbox>
       </deck>
   </prefpane>
 </overlay>
--- a/browser/themes/linux/preferences/preferences.css
+++ b/browser/themes/linux/preferences/preferences.css
@@ -41,16 +41,20 @@ radio[pane=paneAdvanced] {
 }
 
 %ifdef MOZ_SERVICES_SYNC
 radio[pane=paneSync] {
   list-style-image: url("chrome://browser/skin/preferences/Options-sync.png") !important;
 }
 %endif
 
+label.small {
+  font-size: smaller;
+}
+
 #tabPrefsBox {
   margin: 5px;
 }
 
 /* Applications Pane */
 #BrowserPreferences[animated="true"] #handlersView {
   height: 25em;
 }
--- a/browser/themes/osx/preferences/preferences.css
+++ b/browser/themes/osx/preferences/preferences.css
@@ -65,16 +65,19 @@ radio[pane=paneAdvanced] {
 %ifdef MOZ_SERVICES_SYNC
 /* ----- SYNC BUTTON ----- */
 
 radio[pane=paneSync] {
   list-style-image: url("chrome://browser/skin/preferences/Options-sync.png");
 }
 %endif
 
+label.small {
+  font-size: smaller;
+}
 
 /* ----- APPLICATIONS PREFPANE ----- */
 #BrowserPreferences[animated="true"] #handlersView {
   height: 25em;
 }
 
 #BrowserPreferences[animated="false"] #handlersView {
   -moz-box-flex: 1;
--- a/browser/themes/windows/preferences/preferences.css
+++ b/browser/themes/windows/preferences/preferences.css
@@ -40,16 +40,20 @@ radio[pane=paneAdvanced] {
 }
 
 %ifdef MOZ_SERVICES_SYNC
 radio[pane=paneSync] {
   list-style-image: url("chrome://browser/skin/preferences/Options-sync.png") !important;
 }
 %endif
 
+label.small {
+  font-size: smaller;
+}
+
 #tabPrefsBox {
   margin: 6px;
 }
 
 /* Applications Pane */
 #BrowserPreferences[animated="true"] #handlersView {
   height: 25em;
 }