X-Git-Url: https://git-public.kairo.at/?a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdownloads%2Fdownloads.css;h=f23eb36c2caa3d65769ca11bb0aeb890aa451805;hb=a6757852d5e238f92623d779d7820b856518a575;hp=b7d846ef95aad98ad004f210f68a1450535a51be;hpb=5968ec68c9037501866a4d997203c8934f16fbad;p=themes.git diff --git a/LCARStrek/browser/downloads/downloads.css b/LCARStrek/browser/downloads/downloads.css index b7d846ef..f23eb36c 100644 --- a/LCARStrek/browser/downloads/downloads.css +++ b/LCARStrek/browser/downloads/downloads.css @@ -80,8 +80,8 @@ richlistitem[type="download"]:first-child { .downloadTypeIcon { -moz-margin-end: 8px; /* Prevent flickering when changing states. */ - min-height: 32px; - min-width: 32px; + height: 32px; + width: 32px; } .blockedIcon { @@ -144,7 +144,8 @@ richlistitem[type="download"]:first-child { /*** Highlighted list items ***/ -#downloadsPanel:not([keyfocus]) > #downloadsListBox > richlistitem[type="download"][state="1"]:hover { +/* #downloadsPanel:not([keyfocus]) > #downloadsListBox > richlistitem[type="download"][state="1"][exists]:hover { */ +#downloadsPanel:not([keyfocus]) > #downloadsListBox > richlistitem[type="download"]:hover { border-radius: 3px; background-color: #794900; color: #FFCF00; @@ -192,7 +193,7 @@ richlistitem[type="download"]:hover > stack > .downloadButton.downloadRetry:acti /*** Main indicator icon ***/ #downloads-indicator-icon { - background: -moz-image-rect(url("chrome://browser/skin/Toolbar.png"), + background: -moz-image-rect(url("chrome://browser/skin/FxToolbar.png"), 0, 108, 18, 90) center no-repeat; min-width: 18px; min-height: 18px; @@ -201,8 +202,9 @@ richlistitem[type="download"]:hover > stack > .downloadButton.downloadRetry:acti #downloads-indicator:hover > #downloads-indicator-anchor > #downloads-indicator-icon, #downloads-indicator[open="true"] > #downloads-indicator-anchor > #downloads-indicator-icon, #downloads-indicator[attention]:hover > #downloads-indicator-anchor > #downloads-indicator-icon { - background: -moz-image-rect(url("chrome://browser/skin/Toolbar.png"), + background: -moz-image-rect(url("chrome://browser/skin/FxToolbar.png"), 18, 108, 36, 90) center no-repeat; + color: #000000; } #downloads-indicator-icon:-moz-lwtheme-brighttext { @@ -218,7 +220,7 @@ richlistitem[type="download"]:hover > stack > .downloadButton.downloadRetry:acti equivalent to -moz-any([progress], [paused]). */ #downloads-indicator:not([counter]) > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-counter { - background: -moz-image-rect(url("chrome://browser/skin/Toolbar.png"), + background: -moz-image-rect(url("chrome://browser/skin/FxToolbar.png"), 0, 108, 18, 90) center no-repeat; background-size: 12px; } @@ -228,9 +230,11 @@ richlistitem[type="download"]:hover > stack > .downloadButton.downloadRetry:acti } #downloads-indicator:not([counter]):hover > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-counter, +#downloads-indicator[open="true"]:not([counter]) > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-counter, #downloads-indicator:not([counter])[attention]:hover > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-counter { - background: -moz-image-rect(url("chrome://browser/skin/Toolbar.png"), + background: -moz-image-rect(url("chrome://browser/skin/FxToolbar.png"), 18, 108, 36, 90) center no-repeat; + background-size: 12px; } /*** Download notifications ***/ @@ -293,6 +297,11 @@ richlistitem[type="download"]:hover > stack > .downloadButton.downloadRetry:acti 0 1px 1.5px rgba(0,0,0,.5);*/ } +#downloads-indicator[counter]:hover > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-counter, +#downloads-indicator[counter][open="true"] > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-counter { + color: #000000; +} + #downloads-indicator-progress { width: 16px; height: 5px; @@ -326,3 +335,8 @@ richlistitem[type="download"]:hover > stack > .downloadButton.downloadRetry:acti #downloads-indicator[paused] > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-progress > .progress-remainder { background-color: #404048; } + +toolbar[mode="full"] > #downloads-indicator > .toolbarbutton-text { + margin: 0; + text-align: center; +}