third part of syncing LCARStrek with Firefox 45-48 windows theme changes
[themes.git] / LCARStrek / browser / downloads / allDownloadsViewOverlay.css
index f4fb871cf6db3c0b882c1c0ccd404b2d026cace4..d87aa7e42ea2f12626694fa9486f42ddc9122251 100644 (file)
@@ -2,6 +2,11 @@
  * 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/. */
 
  * 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/. */
 
+/* === BEGIN allDownloadsViewOverlay.inc.css === */
+
+/*** View and outer controls ***/
+
+
 #downloadsRichListBox {
   /** The default listbox appearance comes with an unwanted margin. **/
   -moz-appearance: none;
 #downloadsRichListBox {
   /** The default listbox appearance comes with an unwanted margin. **/
   -moz-appearance: none;
@@ -9,8 +14,10 @@
   border: none;
 }
 
   border: none;
 }
 
+/*** List items ***/
+
 #downloadsRichListBox > richlistitem.download {
 #downloadsRichListBox > richlistitem.download {
-  height: 6em;
+  height: var(--downloads-item-height);
   padding: 5px 8px;
 }
 
   padding: 5px 8px;
 }
 
   list-style-image: url("chrome://browser/skin/downloads/buttons.png");
 }
 
   list-style-image: url("chrome://browser/skin/downloads/buttons.png");
 }
 
+/* === END allDownloadsViewOverlay.inc.css === */
+
+/*** List items ***/
+
+:root {
+  --downloads-item-height: 6em;
+}
+
 /*** Highlighted list items ***/
 
 richlistitem.download:not([selected]):hover {
 /*** Highlighted list items ***/
 
 richlistitem.download:not([selected]):hover {
@@ -58,10 +73,14 @@ richlistitem.download:not([selected]):hover {
 
 /*** Button icons ***/
 
 
 /*** Button icons ***/
 
+.downloadButton.downloadConfirmBlock,
 .downloadButton.downloadCancel {
   -moz-image-region: rect(0px, 16px, 16px, 0px);
 }
 
 .downloadButton.downloadCancel {
   -moz-image-region: rect(0px, 16px, 16px, 0px);
 }
 
+richlistitem.download:hover > .downloadButton.downloadConfirmBlock,
+richlistitem.download:hover > .downloadButton.downloadConfirmBlock:hover,
+richlistitem.download:hover > .downloadButton.downloadConfirmBlock:active,
 richlistitem.download:hover > .downloadButton.downloadCancel,
 richlistitem.download:hover > .downloadButton.downloadCancel:hover,
 richlistitem.download:hover > .downloadButton.downloadCancel:active {
 richlistitem.download:hover > .downloadButton.downloadCancel,
 richlistitem.download:hover > .downloadButton.downloadCancel:hover,
 richlistitem.download:hover > .downloadButton.downloadCancel:active {
@@ -88,6 +107,10 @@ richlistitem.download:hover > .downloadButton.downloadRetry:active {
    -moz-image-region: rect(32px, 32px, 48px, 16px);
 }
 
    -moz-image-region: rect(32px, 32px, 48px, 16px);
 }
 
+richlistitem.download[selected] > .downloadButton.downloadConfirmBlock,
+richlistitem.download[selected]:hover > .downloadButton.downloadConfirmBlock,
+richlistitem.download[selected]:hover > .downloadButton.downloadConfirmBlock:hover,
+richlistitem.download[selected]:hover > .downloadButton.downloadConfirmBlock:active,
 richlistitem.download[selected] > .downloadButton.downloadCancel,
 richlistitem.download[selected]:hover > .downloadButton.downloadCancel,
 richlistitem.download[selected]:hover > .downloadButton.downloadCancel:hover,
 richlistitem.download[selected] > .downloadButton.downloadCancel,
 richlistitem.download[selected]:hover > .downloadButton.downloadCancel,
 richlistitem.download[selected]:hover > .downloadButton.downloadCancel:hover,