[Pkg-mozext-commits] [all-in-one-sidebar] 10/49: Major: Hot Fix #14 downloads breaks in firefox 26 (wip: has to be improved in the next version)
David Prévot
taffit at moszumanska.debian.org
Fri Sep 19 16:46:33 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository all-in-one-sidebar.
commit 4e585d32b3edddc778d75566f04f04f0b280c1b6
Author: Ingo Wennemaring <github at addonlab.com>
Date: Thu Jan 2 17:06:24 2014 +0100
Major: Hot Fix #14 downloads breaks in firefox 26 (wip: has to be improved in the next version)
---
chrome.manifest | 5 +-
content/aios.xul | 2 +-
content/prefs/prefs.xul | 5 +-
skin/css/downloads.css | 2 +-
skin/css/{downloads.css => downloads.old.css} | 0
skin/less/downloads.less | 303 +----------------------
skin/less/{downloads.less => downloads.old.less} | 0
7 files changed, 10 insertions(+), 307 deletions(-)
diff --git a/chrome.manifest b/chrome.manifest
index 139298d..32e37a8 100644
--- a/chrome.manifest
+++ b/chrome.manifest
@@ -68,8 +68,9 @@ style about:addons chrom
overlay chrome://mozapps/content/xpinstall/xpinstallConfirm.xul chrome://aios/content/addons_xpinstall.xul
-overlay chrome://mozapps/content/downloads/downloads.xul chrome://aios/content/downloads.xul
-overlay chrome://global/content/alerts/alert.xul chrome://aios/content/downloads_alert.xul
+#overlay chrome://mozapps/content/downloads/downloads.xul chrome://aios/content/downloads.xul
+#overlay chrome://global/content/alerts/alert.xul chrome://aios/content/downloads_alert.xul
+style about:downloads chrome://aios/skin/css/downloads.css
overlay chrome://browser/content/web-panels.xul chrome://aios/content/multipanel.xul
style chrome://browser/content/web-panels.xul chrome://aios/skin/css/multipanel.css
diff --git a/content/aios.xul b/content/aios.xul
index 2b44d6c..4523a51 100644
--- a/content/aios.xul
+++ b/content/aios.xul
@@ -41,7 +41,7 @@
oncommand="toggleSidebar('viewHistorySidebar');" />
<broadcaster id="viewDownloadsSidebar" autoCheck="false" type="checkbox" group="sidebar"
- sidebartitle="&downloads.label;" sidebarurl="chrome://mozapps/content/downloads/downloads.xul"
+ sidebartitle="&downloads.label;" sidebarurl="about:downloads"
onclick="aios_contextEvent(event, this);"
oncommand="toggleSidebar('viewDownloadsSidebar');"
ondragdrop="nsDragAndDrop.drop(event, DownloadsButtonDNDObserver); event.stopPropagation();"
diff --git a/content/prefs/prefs.xul b/content/prefs/prefs.xul
index 9de3465..bba833f 100644
--- a/content/prefs/prefs.xul
+++ b/content/prefs/prefs.xul
@@ -638,6 +638,7 @@
<caption label="&tab.gen.behavior;" />
<checkbox preference="DMOpen" label="&misc.enablesidebar.label; *" aiosChilds="DMLayout, DMAutoOpen, DMAutoClose" oncommand="aios_checkboxObserver(this);" />
+<!--
<vbox class="indent">
<checkbox preference="DMAutoOpen" label="&misc.dm.autoopen.label;" aiosChilds="DMAutoClose" oncommand="aios_checkboxObserver(this);" />
<vbox class="indent">
@@ -648,13 +649,15 @@
<vbox class="indent spacer" aiosAdvanced="true">
<checkbox preference="DMLayout" label="&misc.layout.label;" />
</vbox>
+-->
</groupbox>
+<!--
<groupbox>
<caption label="&tab.gen.appearance;" />
<checkbox preference="DMCount" label="&misc.count.label;" />
</groupbox>
-
+-->
</vbox>
<spacer flex="1" />
diff --git a/skin/css/downloads.css b/skin/css/downloads.css
index 02fcd81..285a3f3 100644
--- a/skin/css/downloads.css
+++ b/skin/css/downloads.css
@@ -1 +1 @@
-#downloadManager,#downloadView{margin:0;padding:0;border:0}#search{direction:rtl}#search *{direction:ltr}#search #searchbox{-moz-box-flex:1000}#search #searchbox,#search #clearListButton{margin:1px}window[aios-appOS="WINNT"] #clearListButton{list-style-image:url(../icons/panels_menus.png);-moz-image-region:rect(0,48px,16px,32px)}window[aios-appOS="Darwin"] #clearListButton{list-style-image:url(../icons/panels_menus.png);-moz-image-region:rect(32px,48px,48px,32px)}richlistitem:not([select [...]
\ No newline at end of file
+#contentAreaDownloadsView{margin:0;padding:0;border:none}
\ No newline at end of file
diff --git a/skin/css/downloads.css b/skin/css/downloads.old.css
similarity index 100%
copy from skin/css/downloads.css
copy to skin/css/downloads.old.css
diff --git a/skin/less/downloads.less b/skin/less/downloads.less
index be86b6e..373ea68 100644
--- a/skin/less/downloads.less
+++ b/skin/less/downloads.less
@@ -1,307 +1,6 @@
-#downloadManager,
-#downloadView {
+#contentAreaDownloadsView {
margin: 0;
padding: 0;
border: none;
}
-
-#search {
- direction: rtl; /* Clear Button rechts in der Toolbar */
-
- * {
- direction: ltr;
- }
-
- #searchbox {
- -moz-box-flex: 1000;
- }
-
- #searchbox,
- #clearListButton {
- margin: 1px;
- }
-}
-
-
-/* @group Icons (Linux hat ein hauseigenes Icon) */
-window[aios-appOS="WINNT"] #clearListButton {
- list-style-image: url(../icons/panels_menus.png);
- -moz-image-region: rect(0, 48px, 16px, 32px);
-}
-
-window[aios-appOS="Darwin"] #clearListButton {
- list-style-image: url(../icons/panels_menus.png);
- -moz-image-region: rect(32px, 48px, 48px, 32px);
-}
-/* @end */
-
-
-/* @group schmale Liste */
-
-/*
- div. Status-Moeglichkeiten
-
- state="-1" => download-starting
- state="0" => download-downloading
- state="1" => download-done
- state="2" => download-failed
- state="3" => download-canceled
- state="4" => download-paused
-*/
-
-richlistitem:not([selected=true]) {
-
- &[state="1"],
- &[state="2"],
- &[state="3"] {
- min-height: 0 !important;
- padding: 5px;
- }
-
- &[state="1"] .downloadTypeIcon,
- &[state="2"] .downloadTypeIcon,
- &[state="3"] .downloadTypeIcon {
- width: 16px;
- height: 16px;
- min-width: 16px;
- min-height: 16px;
- }
-
- &[state="1"] > hbox > vbox > hbox:nth-child(even),
-
- &[state="1"] label.status,
- &[state="2"] label.status,
- &[state="3"] label.status,
-
- &[state="1"] .mini-button,
- &[state="2"] .mini-button,
- &[state="3"] .mini-button,
-
- &[state="1"] #dmtDoneShowBtn,
- &[state="2"] #dmtDoneShowBtn,
- &[state="3"] #dmtDoneShowBtn,
-
- &[state="1"] #dmtDoneReloadBtn,
- &[state="2"] #dmtDoneReloadBtn,
- &[state="3"] #dmtDoneReloadBtn,
-
- &[state="1"] #dmtDoneDeleteBtn,
- &[state="2"] #dmtDoneDeleteBtn,
- &[state="3"] #dmtDoneDeleteBtn,
-
- &[state="1"] #dmtDoneCleanUpBtn,
- &[state="2"] #dmtDoneCleanUpBtn,
- &[state="3"] #dmtDoneCleanUpBtn {
- display: none;
- }
-}
-/* @end */
-
-
-
-/* @group Firefox-Standard-Theme */
-
-*[aios-appDefTheme="true"] {
-
- richlistitem {
-
- .name {
- font-size: 11px;
- font-weight: bold;
- }
-
- &[selected=true] .name,
- &[state="-1"] .name,
- &[state="0"] .name,
- &[state="4"] .name {
- font-size: 13px;
- }
-
- &[selected=true] .status,
- &[selected=true] .dateTime {
- font-size: 11px;
- }
- }
-
-
- /* @group farbige Liste */
- richlistitem:not([selected=true]) {
-
- /* downloaden */
- &[state="-1"],
- &[state="0"],
- &[state="4"] {
- color: #006600;
- background-color: #ECFFEC;
- }
-
- /* fehlgeschlagen oder abgebrochen */
- &[state="2"],
- &[state="3"] {
- color: #660000;
- background-color: #FFECEC;
- }
-
- }
- /* @end */
-
-
- /* @group Windows */
- &[aios-appOS="WINNT"]{
-
- #search {
- padding: 0 1px 1px 1px;
- border-top: 1px solid ThreedHighlight;
- }
-
- richlistitem {
- border-bottom: 1px dotted rgba(0,0,0,0.3);
-
- &[selected="true"] {
- outline: 0;
- }
-
- &:not([selected="true"]) {
-
- &[state="1"] {
- background-color: #FFFFFF;
-
- &:nth-child(odd) {
- background-color: rgba(255,255,255,0.6);
- }
- }
- }
- }
-
-
- /* @group Windows-XP klassisch */
- &[aios-appOSVersion="Windows NT 5.1"] {
-
- #downloadView {
- -moz-appearance: none;
- border-top: 1px solid ThreedShadow;
- background-color: #efedea;
- }
-
- }
- /* @end */
-
-
- /* @group Windows-Standard */
- &:-moz-system-metric(windows-default-theme) {
-
- /* @group Windows XP-Standard */
- &[aios-appOSVersion="Windows NT 5.1"] {
-
- #search {
- background-image: -moz-linear-gradient(rgba(255, 255, 255, 0.5),
- rgba(255, 255, 255, 0));
- }
-
- #downloadView {
- background-color: #EDECEF;
- }
-
- richlistitem[selected="true"] {
- background: #CAD3E1 none;
- }
-
- }
- /* @end */
-
-
- /* @group Windows Vista-7-Standard */
- &:not([aios-appOSVersion="Windows NT 5.1"]) {
-
- #search {
- background-color: #eef3fa;
- border-bottom: 1px solid ThreedShadow;
- }
-
- #downloadView {
- background-color: #EEF3FA;
- }
-
- richlistitem[selected="true"] {
- color: #000000;
- background: #CBD8E8 none;
- }
-
- }
- /* @end */
-
- }
- /* @end */
-
- }
- /* @end */
-
-
- /* @group Darwin */
- &[aios-appOS="Darwin"] {
-
- #downloadView,
- #search {
- -moz-appearance: none;
- background-color: #d4dde5;
-
- &:-moz-window-inactive {
- background-color: #e8e8e8;
- }
- }
-
- #search {
- padding: 6px 1px 10px 3px;
-
- #searchbox {
- margin-right: 6px;
- }
-
- #clearListButton {
- -moz-appearance: none;
- margin-top: 2px;
- padding: 1px 0 1px 5px;
- border: 1px solid #7F7F7F;
- border-radius: 10px;
- background: -moz-linear-gradient(top, #FFF, #ADADAD) repeat-x;
-
- &[disabled="true"],
- &:-moz-window-inactive {
- opacity: 0.5;
- }
- }
-
- }
-
- richlistitem {
-
- &[state="1"]:not([selected=true]) {
- background-color: #FFFFFF;
-
- &:nth-child(odd) {
- background-color: #ECF3FE;
- }
- }
-
- &[selected=true] {
- color: #000;
- background-color: #aab8c6;
-
- .name {
- text-shadow: rgba(255, 255, 255, 0.4) 0 1px 0;
- }
-
- .status,
- .dateTime {
- color: #000 !important;
- }
- }
-
- }
-
- }
- /* @end */
-
-}
-/* @end */
diff --git a/skin/less/downloads.less b/skin/less/downloads.old.less
similarity index 100%
copy from skin/less/downloads.less
copy to skin/less/downloads.old.less
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/all-in-one-sidebar.git
More information about the Pkg-mozext-commits
mailing list