Bug 1301384 - Part 1 - Remove special styling for the Downloads Summary on Windows 7 and earlier. r=seanlee
MozReview-Commit-ID: 6BXBc38ZS0X
--- a/browser/themes/shared/downloads/allDownloadsViewOverlay.inc.css
+++ b/browser/themes/shared/downloads/allDownloadsViewOverlay.inc.css
@@ -66,23 +66,21 @@
}
@item@ > toolbarseparator {
display: none;
}
.downloadTarget {
margin-bottom: 3px;
- cursor: inherit;
}
.downloadDetails {
opacity: 0.7;
font-size: 95%;
- cursor: inherit;
}
.downloadButton {
-moz-appearance: none;
-moz-box-align: center;
background: transparent;
min-width: 0;
min-height: 0;
--- a/browser/themes/shared/downloads/downloads.inc.css
+++ b/browser/themes/shared/downloads/downloads.inc.css
@@ -146,17 +146,16 @@ toolbarseparator.downloadsDropmarkerSpli
/* Override default icon size which is too small for this dropdown */
.downloadsDropmarker > .button-box > .button-menu-dropmarker {
width: 16px;
height: 16px;
}
#downloadsSummary {
padding: 0 12px;
- cursor: pointer;
-moz-user-focus: normal;
}
#downloadsSummary > .downloadTypeIcon {
list-style-image: url("chrome://browser/skin/downloads/download-summary.svg");
}
#downloadsSummaryDescription {
@@ -230,28 +229,26 @@ richlistitem[type="download"] > .downloa
#downloadsSummaryDetails,
.downloadContainer {
font-size: calc(100% * var(--downloads-item-font-size-factor));
}
#downloadsSummaryDescription,
.downloadTarget {
margin-bottom: var(--downloads-item-target-margin-bottom);
- cursor: inherit;
}
.downloadTarget {
font-size: calc(100% / var(--downloads-item-font-size-factor));
}
#downloadsSummaryDetails,
.downloadDetails {
margin-top: var(--downloads-item-details-margin-top);
opacity: var(--downloads-item-details-opacity);
- cursor: inherit;
}
@item@[verdict] > toolbarseparator {
visibility: hidden;
}
.downloadButton {
-moz-appearance: none;
--- a/browser/themes/windows/downloads/downloads.css
+++ b/browser/themes/windows/downloads/downloads.css
@@ -1,55 +1,16 @@
/* 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/. */
%include ../../shared/downloads/downloads.inc.css
/*** Panel and outer controls ***/
-#downloadsSummary {
- background-color: hsla(210,4%,10%,.04);
- box-shadow: 0 1px 0 hsla(210,4%,10%,.08) inset;
- transition-duration: 150ms;
- transition-property: background-color;
-}
-
-#downloadsSummary:hover {
- background-color: hsla(210,4%,10%,.05);
-}
-
-#downloadsSummary:hover:active {
- background-color: hsla(210,4%,10%,.1);
- box-shadow: 0 2px 0 0 hsla(210,4%,10%,.1) inset;
-}
-
-@media (-moz-os-version: windows-xp),
- (-moz-os-version: windows-vista),
- (-moz-os-version: windows-win7) {
- @media (-moz-windows-default-theme) {
- #downloadsSummary,
- #downloadsSummary:hover,
- #downloadsSummary:hover:active {
- background-color: #f1f5fb;
- box-shadow: 0px 1px 2px rgb(204,214,234) inset;
- transition-duration: 0s;
- cursor: pointer;
- }
-
- @media (-moz-os-version: windows-xp) {
- #downloadsSummary,
- #downloadsSummary:hover,
- #downloadsSummary:hover:active {
- background-color: hsla(216,45%,88%,.98);
- }
- }
- }
-}
-
@keyfocus@ #downloadsSummary:focus,
@keyfocus@ .downloadsPanelFooterButton:focus {
outline: 1px -moz-dialogtext dotted;
outline-offset: -1px;
}
@keyfocus@ #downloadsSummary:focus {
outline-offset: -5px;