X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdownloads%2FallDownloadsViewOverlay.css;fp=LCARStrek%2Fbrowser%2Fdownloads%2FallDownloadsViewOverlay.css;h=4ac7d8e0d666992f44b4481a8fe077acec93e301;hp=1c945f232aadcc61aaf42439dfcb64bf5bea9aaa;hb=b1d1a8bbaca0a31b2c2581911368b6892d447718;hpb=c8618eaacf7389abc4d9f467d4981ebc1398c300 diff --git a/LCARStrek/browser/downloads/allDownloadsViewOverlay.css b/LCARStrek/browser/downloads/allDownloadsViewOverlay.css index 1c945f23..4ac7d8e0 100644 --- a/LCARStrek/browser/downloads/allDownloadsViewOverlay.css +++ b/LCARStrek/browser/downloads/allDownloadsViewOverlay.css @@ -4,6 +4,9 @@ /* === BEGIN allDownloadsViewOverlay.inc.css === */ +/* In the original, this is at the end of the file as a preprocessor-include */ +@import url("progressmeter.inc.css"); + /*** View and outer controls ***/ #downloadsRichListBox { @@ -21,16 +24,13 @@ } .downloadTypeIcon { - margin-top: 8px; - margin-inline-end: 12px; - margin-bottom: 8px; - margin-inline-start: 0; + margin: 8px 13px; width: 32px; height: 32px; } .downloadBlockedBadge { - margin: 0 4px; + margin: 0 5px; background: url("chrome://browser/skin/downloads/download-blocked.svg") top right / 16px no-repeat; } @@ -51,14 +51,15 @@ richlistitem.download > toolbarseparator { } .downloadTarget { - margin-bottom: 3px; - cursor: inherit; + margin: 0; } .downloadDetails { opacity: 0.7; font-size: 95%; - cursor: inherit; + /* Use calc() to keep the height consistent with .downloadTarget, so that the + progress bar can be vertically centered. */ + margin: 4px 0 calc(1em / 0.95 - 1em); } .downloadButton { @@ -66,9 +67,9 @@ richlistitem.download > toolbarseparator { background: transparent; min-width: 0; min-height: 0; - margin: 3px; + margin: 0; border: none; - padding: 5px; + padding: 0 18px; color: inherit; } @@ -76,7 +77,6 @@ richlistitem.download > toolbarseparator { -moz-appearance: none; padding: 2px !important; border-radius: 50%; - color: graytext; } .downloadButton > .button-box > .button-icon { @@ -100,10 +100,6 @@ richlistitem.download > toolbarseparator { background-color: #FF9F00; } -richlistitem.download[selected] > .downloadButtonArea > .downloadButton > .button-box { - color: inherit; -} - richlistitem.download[selected] > .downloadButtonArea > .downloadButton:hover > .button-box { background-color: #FFCF00; color: #000000; @@ -128,6 +124,9 @@ richlistitem.download[selected] > .downloadButtonArea > .downloadButton:hover:ac list-style-image: url("chrome://browser/skin/panel-icons.svg#retry"); } +/*** Progressmeter ***/ +/* %include progressmeter.inc.css - this happens as @import at the start of the file */ + /* === END allDownloadsViewOverlay.inc.css === */ /*** List items ***/