Bug 518719: addon manager links on first run page should be buttons, r=mfinkle
authorGavin Sharp <gavin@mozilla.com>
Thu, 24 Sep 2009 20:31:09 -0400
changeset 65632 016e54103f00690b9ca55e012683564b9893adb1
parent 65631 0f1b4f9ef37d3c5f7dfbd4655499f24375e5d1ce
child 65633 c03fb0e31b686f97e0dc1fc88b9e72977c60d85d
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle
bugs518719
Bug 518719: addon manager links on first run page should be buttons, r=mfinkle
mobile/chrome/content/firstrun.xhtml
mobile/themes/hildon/firstRun.css
mobile/themes/wince/firstRun.css
--- a/mobile/chrome/content/firstrun.xhtml
+++ b/mobile/chrome/content/firstrun.xhtml
@@ -89,23 +89,25 @@
     <p>&overview.description;</p>
 
     <h2>&nextSteps.title;</h2>
     <hr/>
 
     <div class="go" id="weave">
       <h3>&sync.title;</h3>
       <p>&sync.description;</p>
-      <p><a id="sync" onclick="goToAddons('weave');"><img src="chrome://browser/skin/images/weave.png"/> &sync.link;</a></p>
+      <img src="chrome://browser/skin/images/weave.png"/>
+      <p class="rightalign"><input type="button" id="sync" onclick="goToAddons('weave');" value="&sync.link;"/></p>
     </div>
 
     <div class="go" id="addons">
       <h3>&getPersonal.title;</h3>
       <p>&getPersonal.description;</p>
-      <p><a id="getPersonal" onclick="goToAddons();"><img src="chrome://browser/skin/images/addons.png"/> &getPersonal.link;</a></p>
+      <img src="chrome://browser/skin/images/addons.png"/>
+      <p class="rightalign"><input type="button" id="getPersonal" onclick="goToAddons();" value="&getPersonal.link;"/></p>
     </div>
 
     <!--
     <hr/>
     <p><a id="skip" href="">&skip.link;</a></p>
     -->
   </div>
 </body>
--- a/mobile/themes/hildon/firstRun.css
+++ b/mobile/themes/hildon/firstRun.css
@@ -58,16 +58,27 @@ h3 {
 a {
   color: #0489b7;
   text-decoration: none;
   display: block;
   padding: 5px 40px 5px 0;
   background: url("images/arrowright-16.png") right center no-repeat;
 }
 
+p.rightalign {
+  text-align: right;
+  padding: 0;
+  margin: 0;
+}
+
+input[type="button"] {
+  font-size: 2.4mm;
+  margin-bottom: 20px;
+}
+
 hr {
   color: #bdcdcf;
   height: 3px;
   border: 0;
   padding: 0;
   background: #bdcdcf;
 }
 
--- a/mobile/themes/wince/firstRun.css
+++ b/mobile/themes/wince/firstRun.css
@@ -58,16 +58,27 @@ h3 {
 a {
   color: #0489b7;
   text-decoration: none;
   display: block;
   padding: 5px 40px 5px 0;
   background: url("images/arrowright-16.png") right center no-repeat;
 }
 
+p.rightalign {
+  text-align: right;
+  padding: 0;
+  margin: 0;
+}
+
+input[type="button"] {
+  font-size: 8pt;
+  margin-bottom: 20px;
+}
+
 hr {
   color: #bdcdcf;
   height: 3px;
   border: 0;
   padding: 0;
   background: #bdcdcf;
 }