Bug 746307 - Get rid of empty space on the right of Filelink preferences dialog if Lightning is installed. r=mconley, ui-r=bwinton.
authorAndreas Nilsson <nisses.mail@home.se>
Mon, 23 Apr 2012 14:47:48 -0400
changeset 11706 80e0310cd63c6e847c4884f157b92fd824bddd3a
parent 11705 28380252259ecaefc75ffdaa826f8408d6538187
child 11707 968ca62d78549c72c202c371ef0ea59efd0d1b69
push idunknown
push userunknown
push dateunknown
reviewersmconley, bwinton
bugs746307
Bug 746307 - Get rid of empty space on the right of Filelink preferences dialog if Lightning is installed. r=mconley, ui-r=bwinton.
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;
 }