X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdownloads%2Fdownloads.css;h=a6c13292f47a5d44b38c63ea0a43b8683f002b66;hp=e91d6f23c4b5d5b6213e8b0c95e4a15c3a0911da;hb=7b9280260c845074b0e106d9e3e1ed28e7a87a57;hpb=64897c3a854fb98e44c6d36c851ac49d72b25c5b diff --git a/LCARStrek/browser/downloads/downloads.css b/LCARStrek/browser/downloads/downloads.css index e91d6f23..a6c13292 100644 --- a/LCARStrek/browser/downloads/downloads.css +++ b/LCARStrek/browser/downloads/downloads.css @@ -4,18 +4,6 @@ /*** Panel and outer controls ***/ -#downloadsHistory, -#downloadsHistory:-moz-focusring > .button-box { - border-bottom-left-radius: 6px; - border-bottom-right-radius: 6px; -} - -#downloadsPanel:not([hasdownloads]) > #downloadsHistory, -#downloadsPanel:not([hasdownloads]) > #downloadsHistory:-moz-focusring > .button-box { - border-top-left-radius: 6px; - border-top-right-radius: 6px; -} - #downloadsPanel > .panel-arrowcontainer > .panel-arrowcontent { /* Avoid that the arrow overlaps the selection on first item */ padding-top: 5px; @@ -26,14 +14,17 @@ } #downloadsListBox { - width: 60ch; background-color: transparent; padding: 4px; color: inherit; } +#downloadsPanel:not([hasdownloads]) > #downloadsListBox { + display: none; +} + #downloadsHistory { - background: inherit; + background: transparent; color: #9C9CFF; cursor: pointer; } @@ -42,15 +33,35 @@ margin: 1em; } -/*** List items ***/ +/*** Downloads Summary and List items ***/ +#downloadsSummary, richlistitem[type="download"] { height: 7em; + -moz-padding-end: 0; + color: inherit; +} + +#downloadsSummary { + padding: 8px 38px 8px 12px; + cursor: pointer; +} + +#downloadsSummary > .downloadTypeIcon { + height: 24px; + width: 24px; + list-style-image: url("chrome://mozapps/skin/downloads/downloadIcon.png"); +} + +#downloadsSummaryDescription { + color: -moz-nativehyperlinktext; +} + +richlistitem[type="download"] { margin: 0; border-bottom: 1px dotted #9C9CFF; background: transparent; - padding: 0; - color: inherit; + padding: 8px; } richlistitem[type="download"]:first-child { @@ -60,12 +71,7 @@ richlistitem[type="download"]:first-child { #downloadsListBox:-moz-focusring > richlistitem[type="download"][selected] { outline: 1px #008484 dotted; outline-offset: -1px; - -moz-outline-radius: 3px; -} - -.downloadInfo { - padding: 8px; - -moz-padding-end: 0; + /*-moz-outline-radius: 3px;*/ } .downloadTypeIcon { @@ -107,11 +113,7 @@ richlistitem[type="download"]:first-child { /*** Highlighted list items ***/ -richlistitem[type="download"][state="1"] > .downloadInfo { - -moz-padding-end: 8px; -} - -richlistitem[type="download"][state="1"] > .downloadInfo:hover { +richlistitem[type="download"][state="1"]:hover { background-color: #794900; color: #FFCF00; cursor: pointer; @@ -120,38 +122,32 @@ richlistitem[type="download"][state="1"] > .downloadInfo:hover { /*** Button icons ***/ .downloadButton.downloadCancel { - -moz-image-region: rect(0px, 14px, 14px, 0px); + -moz-image-region: rect(0px, 16px, 16px, 0px); } .downloadButton.downloadCancel:hover, .downloadButton.downloadCancel:active { - -moz-image-region: rect(0px, 28px, 14px, 14px); + -moz-image-region: rect(0px, 32px, 16px, 16px); } .downloadButton.downloadShow { - -moz-image-region: rect(14px, 14px, 28px, 0px); + -moz-image-region: rect(16px, 16px, 32px, 0px); } .downloadButton.downloadShow:hover, .downloadButton.downloadShow:active { - -moz-image-region: rect(14px, 28px, 28px, 14px); + -moz-image-region: rect(16px, 32px, 32px, 16px); } .downloadButton.downloadRetry { - -moz-image-region: rect(28px, 14px, 42px, 0px); + -moz-image-region: rect(32px, 16px, 48px, 0px); } .downloadButton.downloadRetry:hover, .downloadButton.downloadRetry:active { - -moz-image-region: rect(28px, 28px, 42px, 14px); + -moz-image-region: rect(32px, 32px, 48px, 16px); } /*** Status and progress indicator ***/ -#downloads-indicator { - width: 35px; -} - #downloads-indicator-anchor { - min-width: 18px; - min-height: 18px; /* Makes the outermost stack element positioned, so that its contents are rendered over the main browser window in the Z order. This is required by the animated event notification. */ @@ -163,17 +159,19 @@ richlistitem[type="download"][state="1"] > .downloadInfo:hover { #downloads-indicator-icon { background: -moz-image-rect(url("chrome://browser/skin/Toolbar.png"), 0, 108, 18, 90) center no-repeat; + min-width: 18px; + min-height: 18px; } #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"), 18, 108, 36, 90) center no-repeat; } #downloads-indicator[attention] > #downloads-indicator-anchor > #downloads-indicator-icon { - background: -moz-image-rect(url("chrome://browser/skin/downloads/download-glow.png"), - 15, 33, 33, 15) center no-repeat; + background-image: url("chrome://browser/skin/downloads/download-glow.png"); } #downloads-indicator:not([counter]) > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-counter { @@ -183,8 +181,7 @@ richlistitem[type="download"][state="1"] > .downloadInfo:hover { } #downloads-indicator:not([counter])[attention] > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-counter { - background-image: -moz-image-rect(url("chrome://browser/skin/downloads/download-glow.png"), - 16, 32, 32, 16); + background-image: url("chrome://browser/skin/downloads/download-glow.png"); } #downloads-indicator:not([counter]):hover > #downloads-indicator-anchor > #downloads-indicator-progress-area > #downloads-indicator-counter, @@ -202,47 +199,48 @@ richlistitem[type="download"][state="1"] > .downloadInfo:hover { background-size: 16px; } -@-moz-keyframes downloadsIndicatorNotificationRight { - from { opacity: 0; -moz-transform: translate(-128px, 128px) scale(8); } - 20% { opacity: .85; -moz-animation-timing-function: ease-out; } - to { opacity: 0; -moz-transform: translate(0) scale(1); } +@keyframes downloadsIndicatorNotificationRight { + from { opacity: 0; transform: translate(-128px, 128px) scale(8); } + 20% { opacity: .85; animation-timing-function: ease-out; } + to { opacity: 0; transform: translate(0) scale(1); } } -@-moz-keyframes downloadsIndicatorNotificationLeft { - from { opacity: 0; -moz-transform: translate(128px, 128px) scale(8); } - 20% { opacity: .85; -moz-animation-timing-function: ease-out; } - to { opacity: 0; -moz-transform: translate(0) scale(1); } +@keyframes downloadsIndicatorNotificationLeft { + from { opacity: 0; transform: translate(128px, 128px) scale(8); } + 20% { opacity: .85; animation-timing-function: ease-out; } + to { opacity: 0; transform: translate(0) scale(1); } } #downloads-indicator[notification] > #downloads-indicator-anchor > #downloads-indicator-notification { - -moz-animation-name: downloadsIndicatorNotificationRight; - -moz-animation-duration: 1s; + animation-name: downloadsIndicatorNotificationRight; + animation-duration: 1s; } #downloads-indicator[notification]:-moz-locale-dir(rtl) > #downloads-indicator-anchor > #downloads-indicator-notification { - -moz-animation-name: downloadsIndicatorNotificationLeft; + animation-name: downloadsIndicatorNotificationLeft; } /*** Progress bar and text ***/ #downloads-indicator-counter { - height: 12px; - margin: 0; + height: 9px; + margin: -3px 0 0; color: #FFCF00; - font-size: 10px; - line-height: 10px; + font-size: 9px; + line-height: 9px; text-align: center; } #downloads-indicator-progress { - width: 24px; - height: 4px; + width: 16px; + height: 5px; min-width: 0; min-height: 0; margin-top: 1px; margin-bottom: 2px; border-radius: 2px; - border: 1px solid #FFCF00; + background-color: #795900; + /*border: 1px solid #FFCF00;*/ } #downloads-indicator-progress > .progress-bar {