Bug 1154218 - get rid of webapprt's downloads-aero.css, r=dao,marco

This commit is contained in:
Gijs Kruitbosch 2015-04-14 13:27:44 +01:00
parent c47ee8a4b6
commit 2ececf466e
9 changed files with 33 additions and 43 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -1,32 +0,0 @@
/* 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 downloads.css
@media (-moz-windows-compositor) {
#downloadManager {
-moz-appearance: -moz-win-glass;
background: transparent;
}
#downloadView {
/* Clamp glass bounds to the rich list so our glass haze stays constant. */
-moz-appearance: -moz-win-exclude-glass;
border: none;
}
windowdragbox {
-moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
}
#clearListButton {
-moz-margin-start: 0;
margin-bottom: 0;
}
#searchbox {
-moz-margin-end: 0;
margin-bottom: 0;
}
}

View File

@ -110,3 +110,31 @@ richlistitem[type="download"] .dateTime {
min-width: 0;
margin-top: 3px;
}
@media (-moz-windows-compositor) {
#downloadManager {
-moz-appearance: -moz-win-glass;
background: transparent;
}
#downloadView {
/* Clamp glass bounds to the rich list so our glass haze stays constant. */
-moz-appearance: -moz-win-exclude-glass;
border: none;
}
windowdragbox {
-moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
}
#clearListButton {
-moz-margin-start: 0;
margin-bottom: 0;
}
#searchbox {
-moz-margin-end: 0;
margin-bottom: 0;
}
}

View File

@ -3,18 +3,12 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
webapprt.jar:
% skin webapprt classic/1.0 %skin/classic/webapprt/ os=WINNT osversion<6
% skin webapprt classic/1.0 %skin/classic/webapprt/ os!=WINNT
# NOTE: If you add a new file here, you'll need to add it to the aero
# section at the bottom of this file
% skin webapprt classic/1.0 %skin/classic/webapprt/
skin/classic/webapprt/downloads/downloadButtons.png (downloads/downloadButtons.png)
skin/classic/webapprt/downloads/downloadButtons-XP.png (downloads/downloadButtons-XP.png)
skin/classic/webapprt/downloads/downloadIcon.png (downloads/downloadIcon.png)
skin/classic/webapprt/downloads/downloadIcon-XP.png (downloads/downloadIcon-XP.png)
skin/classic/webapprt/downloads/downloads.css (downloads/downloads.css)
#ifdef XP_WIN
webapprt.jar:
% skin webapprt classic/1.0 %skin/classic/aero/webapprt/ os=WINNT osversion>=6
skin/classic/aero/webapprt/downloads/downloadButtons.png (downloads/downloadButtons-aero.png)
skin/classic/aero/webapprt/downloads/downloadIcon.png (downloads/downloadIcon-aero.png)
* skin/classic/aero/webapprt/downloads/downloads.css (downloads/downloads-aero.css)
#endif
% override chrome://webapprt/skin/downloads/downloadButtons.png chrome://webapprt/skin/downloads/downloadButtons-XP.png os=WINNT osversion<6
% override chrome://webapprt/skin/downloads/downloadIcon.png chrome://webapprt/skin/downloads/downloadIcon-XP.png os=WINNT osversion<6