aboutsummaryrefslogtreecommitdiff
path: root/arc-firefox-theme/chrome/browser/downloads
diff options
context:
space:
mode:
authorHorst31802017-01-23 15:16:14 +0100
committerHorst31802017-01-23 15:16:14 +0100
commitde6d0eaf6eb0b61fc1c8eea6bc53db2f0f8fde6a (patch)
tree41244fb3be08f78984328eb02f5539182ee975da /arc-firefox-theme/chrome/browser/downloads
parent436efe96181eaff50fac1647f140e298fe11569e (diff)
downloadsolarc-firefox-theme-de6d0eaf6eb0b61fc1c8eea6bc53db2f0f8fde6a.tar.gz
solarc-firefox-theme-de6d0eaf6eb0b61fc1c8eea6bc53db2f0f8fde6a.tar.xz
solarc-firefox-theme-de6d0eaf6eb0b61fc1c8eea6bc53db2f0f8fde6a.zip
update to 51.0rc2
Diffstat (limited to 'arc-firefox-theme/chrome/browser/downloads')
-rw-r--r--arc-firefox-theme/chrome/browser/downloads/download-summary.pngbin691 -> 0 bytes
-rw-r--r--arc-firefox-theme/chrome/browser/downloads/download-summary.svg11
-rw-r--r--arc-firefox-theme/chrome/browser/downloads/downloads.css86
-rw-r--r--arc-firefox-theme/chrome/browser/downloads/menubutton-dropmarker.svg8
4 files changed, 92 insertions, 13 deletions
diff --git a/arc-firefox-theme/chrome/browser/downloads/download-summary.png b/arc-firefox-theme/chrome/browser/downloads/download-summary.png
deleted file mode 100644
index c5d4754..0000000
--- a/arc-firefox-theme/chrome/browser/downloads/download-summary.png
+++ /dev/null
Binary files differ
diff --git a/arc-firefox-theme/chrome/browser/downloads/download-summary.svg b/arc-firefox-theme/chrome/browser/downloads/download-summary.svg
new file mode 100644
index 0000000..c10ee95
--- /dev/null
+++ b/arc-firefox-theme/chrome/browser/downloads/download-summary.svg
@@ -0,0 +1,11 @@
+<?xml version="1.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/. -->
+<svg xmlns="http://www.w3.org/2000/svg"
+ width="32" height="32" viewBox="0 0 32 32">
+ <path fill="#fff" d="M26.2,31.4H6.8c-1.8,0-3.4-1.5-3.4-3.3V3.8c0-1.8,1.6-3.3,3.4-3.3H23l5.6,6.4V28C28.7,29.9,28,31.4,26.2,31.4z" />
+ <path fill="#939393" d="M26.2,31.9H6.8c-2,0-3.8-1.7-3.8-3.8V3.8C3,1.7,4.8,0,6.8,0h16.4L29,6.7v21.4C29,30.2,28.2,31.9,26.2,31.9z M6.8,1C5.2,1,4,2.3,4,3.8V28c0,1.6,1.4,3,2.9,3h19.2c1.6,0,2-1.5,2-3V7.1L22.7,1C22.7,1,6.8,1,6.8,1z" />
+ <path fill="#4c4c4c" d="M22.5,18.2L17,23.6c-0.3,0.3-0.6,0.4-1.1,0.4c-0.3,0-0.8-0.1-1.1-0.4l-5.5-5.4c-0.5-0.5-0.4-1.1,0.4-1.1H13 v-5.9c0-0.5,0.4-1,1-1h3.9c0.5,0,1,0.4,1,1v5.9h3.1C22.8,17.2,23,17.6,22.5,18.2z" />
+ <polygon fill="#939393" points="27,9 21,9 21,1.9 22,1.9 22,8 27,8" />
+</svg>
diff --git a/arc-firefox-theme/chrome/browser/downloads/downloads.css b/arc-firefox-theme/chrome/browser/downloads/downloads.css
index 0ab69eb..ec00aba 100644
--- a/arc-firefox-theme/chrome/browser/downloads/downloads.css
+++ b/arc-firefox-theme/chrome/browser/downloads/downloads.css
@@ -24,26 +24,30 @@
background: transparent;
padding: 4px;
color: inherit;
+ -moz-appearance: none;
+ margin: 0;
+ border: none;
}
#emptyDownloads {
- padding: 10px 20px;
+ padding: 16px 25px;
+ margin: 0;
/* The panel can be wider than this description after the blocked subview is
shown, so center the text. */
text-align: center;
}
.downloadsPanelFooter {
- background-color: hsla(210,4%,10%,.07);
- border-top: 1px solid hsla(210,4%,10%,.14);
+ background-color: var(--arrowpanel-dimmed);
+ border-top: 1px solid var(--panel-separator-color);
}
-.downloadsPanelFooter > toolbarseparator {
+.downloadsPanelFooter toolbarseparator {
margin: 0;
border: 0;
min-width: 0;
- border-left: 1px solid hsla(210,4%,10%,.14);
- -moz-appearance: none !important;
+ border-left: 1px solid var(--panel-separator-color);
+ -moz-appearance: none;
}
.downloadsPanelFooterButton {
@@ -52,17 +56,20 @@
color: inherit;
margin: 0;
padding: 0;
+ min-width: 0;
min-height: 40px;
+ border: none;
}
.downloadsPanelFooterButton:hover {
- outline: 1px solid hsla(210,4%,10%,.07);
- background-color: hsla(210,4%,10%,.07);
+ outline: 1px solid var(--arrowpanel-dimmed);
+ background-color: var(--arrowpanel-dimmed);
}
-.downloadsPanelFooterButton:hover:active {
- outline: 1px solid hsla(210,4%,10%,.12);
- background-color: hsla(210,4%,10%,.12);
+.downloadsPanelFooterButton:hover:active,
+.downloadsPanelFooterButton[open="true"] {
+ outline: 1px solid var(--arrowpanel-dimmed-further);
+ background-color: var(--arrowpanel-dimmed-further);
box-shadow: 0 1px 0 hsla(210,4%,10%,.05) inset;
}
@@ -79,6 +86,60 @@
background-color: #0568ba;
}
+.downloadsPanelFooterButton > .button-box {
+ padding: 0;
+ margin: 0;
+ border: none;
+}
+
+#downloadsHistory {
+ padding-inline-start: 10px;
+ padding-inline-end: 10px;
+}
+
+#downloadsPanel[hasdownloads] #downloadsFooterButtons:not(.downloadsHideDropmarker) > #downloadsHistory {
+ padding-inline-start: 68px;
+}
+
+toolbarseparator.downloadsDropmarkerSplitter {
+ margin: 7px 0;
+}
+
+#downloadsFooter:hover toolbarseparator.downloadsDropmarkerSplitter,
+#downloadsFooter[showingdropdown] toolbarseparator {
+ margin: 0;
+}
+
+.downloadsDropmarker {
+ padding: 0 21px;
+}
+
+.downloadsDropmarker > .button-box > hbox {
+ display: none;
+}
+
+.downloadsDropmarker > .button-box > .button-menu-dropmarker {
+ /* This is to override the linux !important */
+ -moz-appearance: none !important;
+ display: -moz-box;
+ padding: 0;
+ margin: 0;
+}
+
+.downloadsDropmarker > .button-box > .button-menu-dropmarker > .dropmarker-icon {
+ width: 16px;
+ height: 16px;
+ list-style-image: url("chrome://browser/skin/downloads/menubutton-dropmarker.svg");
+ filter: url("chrome://browser/skin/filters.svg#fill");
+ fill: currentColor;
+}
+
+/* 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;
@@ -86,10 +147,9 @@
}
#downloadsSummary > .downloadTypeIcon {
- list-style-image: url("chrome://browser/skin/downloads/download-summary.png");
+ list-style-image: url("chrome://browser/skin/downloads/download-summary.svg");
}
-
#downloadsSummaryDescription {
color: -moz-nativehyperlinktext;
}
diff --git a/arc-firefox-theme/chrome/browser/downloads/menubutton-dropmarker.svg b/arc-firefox-theme/chrome/browser/downloads/menubutton-dropmarker.svg
new file mode 100644
index 0000000..76af113
--- /dev/null
+++ b/arc-firefox-theme/chrome/browser/downloads/menubutton-dropmarker.svg
@@ -0,0 +1,8 @@
+<?xml version="1.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/. -->
+<svg xmlns="http://www.w3.org/2000/svg"
+ width="16" height="16" viewBox="0 0 16 16">
+ <path d="m 2,6 6,6 6,-6 -1.5,-1.5 -4.5,4.5 -4.5,-4.5 z" />
+</svg>