[Australis] Bug 968595 - Adjust Download panel alignment and panel styling, r=mikedeboer, a=sylvestre
authorStephen Horlander <shorlander@mozilla.com>
Wed, 12 Feb 2014 19:18:00 +0000
changeset 182906 01c5b49eeaed6eca4e1167ef3542b5c6911bd759
parent 182905 e8eecab71e67ac638acdb49e166270279fc17391
child 182907 7c1316ed444b1cb0304e921eef38b6c94f57b47a
push id3343
push userffxbld
push dateMon, 17 Mar 2014 21:55:32 +0000
treeherdermozilla-beta@2f7d3415f79f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmikedeboer, sylvestre
bugs968595
milestone29.0a2
[Australis] Bug 968595 - Adjust Download panel alignment and panel styling, r=mikedeboer, a=sylvestre
browser/themes/osx/downloads/downloads.css
--- a/browser/themes/osx/downloads/downloads.css
+++ b/browser/themes/osx/downloads/downloads.css
@@ -1,71 +1,65 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /*** Panel and outer controls ***/
 
+#downloadsPanel {
+  margin-top: -1px;
+}
+
 #downloadsPanel > .panel-arrowcontainer > .panel-arrowcontent {
   padding: 0;
 }
 
 #downloadsListBox {
   background: transparent;
   padding: 4px;
   color: inherit;
 }
 
 #downloadsPanel:not([hasdownloads]) > #downloadsListBox {
   display: none;
 }
 
 #downloadsFooter {
-  border-bottom-left-radius: 6px;
-  border-bottom-right-radius: 6px;
+  border-bottom-left-radius: 4px;
+  border-bottom-right-radius: 4px;
 }
 
 #downloadsHistory {
   background: transparent;
   color: hsl(210,100%,75%);
   cursor: pointer;
 }
 
-#downloadsPanel:not([hasdownloads]) > #downloadsFooter > #downloadsHistory {
-  border-top-left-radius: 6px;
-  border-top-right-radius: 6px;
-}
-
 #downloadsPanel[hasdownloads] > #downloadsFooter {
   background: #e5e5e5;
   border-top: 1px solid hsla(0,0%,0%,.1);
   box-shadow: 0 -1px hsla(0,0%,100%,.5) inset, 0 1px 1px hsla(0,0%,0%,.03) inset;
 }
 
 #downloadsHistory > .button-box {
   color: #808080;
   margin: 1em;
 }
 
 #downloadsPanel[keyfocus] > #downloadsFooter > #downloadsSummary:focus,
 #downloadsPanel[keyfocus] > #downloadsFooter > #downloadsHistory:focus {
   outline: 2px -moz-mac-focusring solid;
   outline-offset: -2px;
-  -moz-outline-radius-bottomleft: 5px;
-  -moz-outline-radius-bottomright: 5px;
+  -moz-outline-radius-bottomleft: 4px;
+  -moz-outline-radius-bottomright: 4px;
 }
 
 #downloadsPanel:not([hasdownloads]) > #downloadsFooter > #downloadsHistory:focus {
-  -moz-outline-radius-topleft: 5px;
-  -moz-outline-radius-topright: 5px;
-}
-
-#downloadsPanel:not([hasdownloads]) > #downloadsFooter > #downloadsHistory:focus > .button-box {
-  border-bottom-left-radius: 6px;
-  border-bottom-right-radius: 6px;
+  -moz-outline-radius-topleft: 4px;
+  -moz-outline-radius-topright: 4px;
 }
 
 /*** Downloads Summary and List items ***/
 
 #downloadsSummary,
 richlistitem[type="download"] {
   height: 7em;
   -moz-padding-end: 0;