From e75098eb38611d5e2f2277ea6ff11077b8aba86f Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sat, 2 Mar 2013 20:29:30 +0100 Subject: [PATCH] small fixes: make hover/open states on downloads button correct; do highlighting on active downloads as well; make devtools tabs match other tabs; reduce sizes of SeaMonkey statusbar buttons --- LCARStrek/browser/devtools/toolbox.css | 4 +++- LCARStrek/browser/downloads/downloads.css | 10 +++++++++- LCARStrek/communicator/button.css | 7 +++++++ 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/LCARStrek/browser/devtools/toolbox.css b/LCARStrek/browser/devtools/toolbox.css index d5efca7b..8e5ea9cc 100644 --- a/LCARStrek/browser/devtools/toolbox.css +++ b/LCARStrek/browser/devtools/toolbox.css @@ -92,10 +92,12 @@ window { .devtools-tab { min-width: 78px; min-height: 22px; - border-radius: 3px 3px 0 0; + border-radius: 8px 8px 0 0; margin: 0; -moz-margin-end: 3px; -moz-padding-start: 5px; + background-color: #C09070; + color: #000000; } .devtools-tab[selected=true] { diff --git a/LCARStrek/browser/downloads/downloads.css b/LCARStrek/browser/downloads/downloads.css index b7d846ef..e75837d2 100644 --- a/LCARStrek/browser/downloads/downloads.css +++ b/LCARStrek/browser/downloads/downloads.css @@ -144,7 +144,7 @@ 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"]:hover { border-radius: 3px; background-color: #794900; color: #FFCF00; @@ -203,6 +203,7 @@ richlistitem[type="download"]:hover > stack > .downloadButton.downloadRetry:acti #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; + color: #000000; } #downloads-indicator-icon:-moz-lwtheme-brighttext { @@ -228,9 +229,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"), 18, 108, 36, 90) center no-repeat; + background-size: 12px; } /*** Download notifications ***/ @@ -293,6 +296,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; diff --git a/LCARStrek/communicator/button.css b/LCARStrek/communicator/button.css index bcabf172..1baf76f1 100644 --- a/LCARStrek/communicator/button.css +++ b/LCARStrek/communicator/button.css @@ -17,6 +17,13 @@ -moz-box-orient: vertical; } +statusbarpanel > .toolbarbutton-1, +statusbarpanel > .toolbarbutton-1 > .toolbarbutton-menubutton-button { + min-width: 16px; + min-height: 16px; + -moz-box-orient: vertical; +} + .toolbarbutton-1[type="menu-button"] { -moz-box-orient: horizontal; } -- 2.43.0