Bug 746307 - Get rid of empty space on the right of Filelink preferences dialog if Lightning is installed. r=mconley, ui-r=bwinton, a=bienvenu.
authorAndreas Nilsson <nisses.mail@home.se>
Mon, 23 Apr 2012 16:33:54 -0400
changeset 11254 bbd6494a2ec44b9e78979f2d94e10e8b676a70b7
parent 11253 bd2c19647e4d0812a38437f3d530f6b4881fbf14
child 11255 07480ef159caf7b18a788c7428b0c11c82bedec2
push id463
push userbugzilla@standard8.plus.com
push dateTue, 24 Apr 2012 17:34:51 +0000
treeherdercomm-beta@e53588e8f7b0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmconley, bwinton, bienvenu
bugs746307
Bug 746307 - Get rid of empty space on the right of Filelink preferences dialog if Lightning is installed. r=mconley, ui-r=bwinton, a=bienvenu.
mail/themes/gnomestripe/mail/preferences/preferences.css
mail/themes/pinstripe/mail/preferences/preferences.css
mail/themes/qute/mail/preferences/preferences-aero.css
mail/themes/qute/mail/preferences/preferences.css
--- a/mail/themes/gnomestripe/mail/preferences/preferences.css
+++ b/mail/themes/gnomestripe/mail/preferences/preferences.css
@@ -159,34 +159,36 @@ a {
 }
 
 #provider-listing {
   max-width: 150px;
 }
 
 #provider-space {
   text-align: right;
-  margin-right: 160px;
+  margin-right: 190px;
   margin-top: 50px;
   height: 100px;
 }
 
 #upgrade {
   margin-top: 1em;
 }
 
 #provider-space-visuals {
   width: 150px;
   height: 150px;
   float: right;
 }
 
 #provider-account-settings {
-/*  margin-top: 100px; */
   text-align: right;
+  position: absolute;
+  bottom: 8px;
+  right: 10px;
 }
 
 .space-swatch {
   display: inline-block;
   width: 1em;
   height: 1em;
   border: 1px solid rgba(0,0,0,0.5);
   border-radius: 2px;
@@ -207,19 +209,17 @@ a {
 /* Loading panel */
 #cloudFileLoadingPanel, #cloudFileDefaultPanel {
   text-align: center;
   padding-top: 150px;
 }
 
 /* Flexing */
 #provider-management {
-  height: 310px; /* As far as I can see, the height and width values needs to be hardcoded :( */
-  width: 420px;
-  display: -moz-box;
+  display: block;
   -moz-box-orient: vertical;
 }
 
 #provider-space label {
   -moz-margin-end: 0.5ch;
   vertical-align: middle;
 }
 
--- a/mail/themes/pinstripe/mail/preferences/preferences.css
+++ b/mail/themes/pinstripe/mail/preferences/preferences.css
@@ -230,33 +230,36 @@ a {
 }
 
 #provider-listing {
   max-width: 150px;
 }
 
 #provider-space {
   text-align: right;
-  margin-right: 160px;
+  margin-right: 180px;
   margin-top: 50px;
   height: 100px;
 }
 
 #upgrade {
   margin-top: 1em;
 }
 
 #provider-space-visuals {
   width: 150px;
   height: 150px;
   float: right;
 }
 
 #provider-account-settings {
   text-align: right;
+  position: absolute;
+  bottom: 8px;
+  right: 10px;
 }
 
 .space-swatch {
   display: inline-block;
   width: 1em;
   height: 1em;
   border: 1px solid rgba(0,0,0,0.5);
   border-radius: 2px;
@@ -281,19 +284,17 @@ a {
 }
 
 #provider-settings .indented {
   margin-left: 75px;
 }
 
 /* Flexing */
 #provider-management {
-  height: 390px; /* As far as I can see, the height and width values needs to be hardcoded :( */
-  width: 340px;
-  display: -moz-box;
+  display: block;
   -moz-box-orient: vertical;
 }
 
 #provider-space label {
   -moz-margin-end: 0.5ch;
   vertical-align: middle;
 }
 
--- a/mail/themes/qute/mail/preferences/preferences-aero.css
+++ b/mail/themes/qute/mail/preferences/preferences-aero.css
@@ -54,20 +54,8 @@ radio[pane]:hover {
   color: -moz-fieldtext;
   background-color: rgb(224, 232, 246);
   background-image: none;
 }
 
 radio[pane][selected="true"] {
   background-color: rgb(193, 210, 238);
 }
-
-#provider-management {
-  height: 240px; /* As far as I can see, the height and width values needs to be hardcoded :( */
-  width: 350px;
-}
-
-@media all and (-moz-windows-default-theme) {
-  #provider-management {
-    height: 270px; /* As far as I can see, the height and width values needs to be hardcoded :( */
-    width: 350px;
-  }
-}
--- a/mail/themes/qute/mail/preferences/preferences.css
+++ b/mail/themes/qute/mail/preferences/preferences.css
@@ -186,30 +186,33 @@ a {
 }
 
 #provider-listing {
   max-width: 150px;
 }
 
 #provider-space {
   text-align: right;
-  margin-right: 170px;
+  margin-right: 200px;
   height: 100px;
 }
 
 #upgrade {
   margin-top: 1em;
 }
 
 #provider-space-visuals {
   float: right;
 }
 
 #provider-account-settings {
   text-align: right;
+  position: absolute;
+  bottom: 8px;
+  right: 10px;
 }
 
 .space-swatch {
   display: inline-block;
   width: 1em;
   height: 1em;
   border: 1px solid rgba(0,0,0,0.5);
   border-radius: 2px;
@@ -230,19 +233,17 @@ a {
 /* Loading panel */
 #cloudFileLoadingPanel, #cloudFileDefaultPanel {
   text-align: center;
   padding-top: 120px;
 }
 
 /* Flexing */
 #provider-management {
-  height: 230px; /* As far as I can see, the height and width values needs to be hardcoded :( */
-  width: 355px;
-  display: -moz-box;
+  display: block;
   -moz-box-orient: vertical;
 }
 
 #provider-space label {
   -moz-margin-end: 0.5ch;
   vertical-align: middle;
 }