From de6d0eaf6eb0b61fc1c8eea6bc53db2f0f8fde6a Mon Sep 17 00:00:00 2001
From: Horst3180
Date: Mon, 23 Jan 2017 15:16:14 +0100
Subject: update to 51.0rc2
---
.../chrome/browser/downloads/download-summary.png | Bin 691 -> 0 bytes
.../chrome/browser/downloads/download-summary.svg | 11 +++
.../chrome/browser/downloads/downloads.css | 86 +++++++++++++++++----
.../browser/downloads/menubutton-dropmarker.svg | 8 ++
4 files changed, 92 insertions(+), 13 deletions(-)
delete mode 100644 arc-firefox-theme/chrome/browser/downloads/download-summary.png
create mode 100644 arc-firefox-theme/chrome/browser/downloads/download-summary.svg
create mode 100644 arc-firefox-theme/chrome/browser/downloads/menubutton-dropmarker.svg
(limited to 'arc-firefox-theme/chrome/browser/downloads')
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
Binary files a/arc-firefox-theme/chrome/browser/downloads/download-summary.png and /dev/null 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 @@
+
+
+
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 @@
+
+
+
--
cgit v1.2.3