From e1313d59a1c9110ddef3376207066ed526037f15 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sat, 1 Jan 2011 21:39:06 +0100 Subject: [PATCH] update both themes for global winstripe changes up to 2010-12-30 --- EarlyBlue/global/notification.css | 14 +++++++ EarlyBlue/global/popup.css | 16 ++++++++ EarlyBlue/global/webConsole.css | 17 ++++++-- EarlyBlue/mozapps/extensions/about.css | 45 ++++++++++++++++----- EarlyBlue/mozapps/extensions/extensions.css | 20 +++++++++ LCARStrek/global/notification.css | 14 +++++++ LCARStrek/global/popup.css | 16 ++++++++ LCARStrek/global/webConsole.css | 17 ++++++-- LCARStrek/mozapps/extensions/about.css | 44 ++++++++++++++------ LCARStrek/mozapps/extensions/extensions.css | 20 +++++++++ 10 files changed, 193 insertions(+), 30 deletions(-) diff --git a/EarlyBlue/global/notification.css b/EarlyBlue/global/notification.css index 5488ed13..d3d59b0f 100644 --- a/EarlyBlue/global/notification.css +++ b/EarlyBlue/global/notification.css @@ -47,3 +47,17 @@ notification[type="critical"] .messageImage { .messageCloseButton > .toolbarbutton-icon { -moz-margin-start: 5px; } + +/* Popup notification */ + +.popup-notification-description { + max-width: 248px; +} + +.popup-notification-menubutton { + margin-top: 17px; +} + +.popup-notification-closeitem { + list-style-image: url("chrome://global/skin/icons/close-button.gif"); +} diff --git a/EarlyBlue/global/popup.css b/EarlyBlue/global/popup.css index 078954c4..b3129357 100644 --- a/EarlyBlue/global/popup.css +++ b/EarlyBlue/global/popup.css @@ -51,6 +51,18 @@ panel[type="arrow"] { -moz-transition: opacity 300ms; } +panel[type="arrow"][side="top"], +panel[type="arrow"][side="bottom"] { + margin-left: -25px; + margin-right: -25px; +} + +panel[type="arrow"][side="left"], +panel[type="arrow"][side="right"] { + margin-top: -25px; + margin-bottom: -25px; +} + .panel-arrowcontent { border-radius: 6px; padding: 6px; @@ -62,6 +74,7 @@ panel[type="arrow"] { margin-left: 6px; margin-right: 6px; margin-bottom: -13px; + margin-top: -4px; } .panel-arrow[side="bottom"] { @@ -69,6 +82,7 @@ panel[type="arrow"] { margin-left: 6px; margin-right: 6px; margin-top: -12px; + margin-bottom: -4px; } .panel-arrow[side="left"] { @@ -76,6 +90,7 @@ panel[type="arrow"] { margin-top: 6px; margin-bottom: 6px; margin-right: -12px; + margin-left: -4px; } .panel-arrow[side="right"] { @@ -84,6 +99,7 @@ panel[type="arrow"] { margin-top: 6px; margin-bottom: 6px; margin-left: -12px; + margin-right: -4px; } tooltip { diff --git a/EarlyBlue/global/webConsole.css b/EarlyBlue/global/webConsole.css index 8ef278f1..440c91af 100644 --- a/EarlyBlue/global/webConsole.css +++ b/EarlyBlue/global/webConsole.css @@ -189,18 +189,27 @@ height: 1px; width: 1px; position: relative; top: 92%; display: block; } -.jsterm-input-node { +.jsterm-input-node, +.jsterm-complete-node { font-family: monospace; font-size: 9pt; - background: url("chrome://global/skin/icons/commandline.png") 4px 3px no-repeat; border: none; - padding: 0px 0px 0px 16px; + padding: 0 0 0 16px; +} + +.jsterm-input-node { + background: url("chrome://global/skin/icons/commandline.png") 4px 3px no-repeat; } -.jsterm-input-node > .textbox-input-box > .textbox-textarea { +:-moz-any(.jsterm-input-node, + .jsterm-complete-node) > .textbox-input-box > .textbox-textarea { overflow-x: hidden; } +.jsterm-complete-node > .textbox-input-box > .textbox-textarea { + color: #808080; +} + .jsterm-output-line { font-size: 1em; } diff --git a/EarlyBlue/mozapps/extensions/about.css b/EarlyBlue/mozapps/extensions/about.css index 92d681e8..9a19ccac 100644 --- a/EarlyBlue/mozapps/extensions/about.css +++ b/EarlyBlue/mozapps/extensions/about.css @@ -1,8 +1,38 @@ +#genericAbout { + padding: 0px; + min-height: 200px; + max-height: 400px; + width: 30em; +} + #clientBox { background-color: #FFFFFF; color: #000000; } +.basic-info { + padding: 10px; +} + +#extensionIcon { + list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); + max-width: 64px; + max-height: 64px; + -moz-margin-end: 6px; +} + +#genericAbout[addontype="theme"] #extensionIcon { + list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png"); +} + +#genericAbout[addontype="locale"] #extensionIcon { + list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png"); +} + +#genericAbout[addontype="plugin"] #extensionIcon { + list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png"); +} + #extensionName { font-size: large; font-weight: bold; @@ -13,22 +43,17 @@ color: #808080; } -#genericAbout { - padding: 0px 0px 10px; - min-height: 200px; - width: 30em; +#extensionDescription { + margin-top: 4px; } #groove { margin-top: 0px; } -#clientBox { - padding: 10px; -} - -#extensionDescription { - color: #666699; +#extensionDetailsBox { + overflow: auto; + min-height: 100px; } .boxIndent { diff --git a/EarlyBlue/mozapps/extensions/extensions.css b/EarlyBlue/mozapps/extensions/extensions.css index 3a93bc31..7b074c64 100644 --- a/EarlyBlue/mozapps/extensions/extensions.css +++ b/EarlyBlue/mozapps/extensions/extensions.css @@ -111,6 +111,15 @@ } } +/* Plugins aren't yet disabled by safemode (bug 342333), + so don't show that warning when viewing plugins. */ +#addons-page[warning="safemode"] .view-pane[type="plugin"] .global-warning-container, +#addons-page[warning="safemode"] #detail-view[loading="true"] .global-warning-container { + background-color: inherit; + background-image: none; +} + + /*** notification icons ***/ .warning-icon { @@ -780,12 +789,23 @@ richlistbox:focus > .addon-view[notification="warning"][selected="true"] { margin: 0 8px; } +.download-progress[mode="undetermined"] .status-container { + padding: 0 2px; +} + .download-progress .start-cap, .download-progress[complete] .end-cap, +.download-progress[mode="undetermined"] .end-cap, .download-progress .progress .progress-bar { background-color: #336699; } +.download-progress .progress .progress-bar { + border-left-width: 0; + border-right-width: 0; + min-height: 21px; +} + .download-progress .progress { background-color: transparent; padding: 0; diff --git a/LCARStrek/global/notification.css b/LCARStrek/global/notification.css index 689be2ba..0eb17ae2 100644 --- a/LCARStrek/global/notification.css +++ b/LCARStrek/global/notification.css @@ -54,3 +54,17 @@ notification[type="critical"] .messageImage { .messageCloseButton > .toolbarbutton-icon { -moz-margin-start: 5px; } + +/* Popup notification */ + +.popup-notification-description { + max-width: 248px; +} + +.popup-notification-menubutton { + margin-top: 17px; +} + +.popup-notification-closeitem { + list-style-image: url("chrome://global/skin/icons/close-button.gif"); +} diff --git a/LCARStrek/global/popup.css b/LCARStrek/global/popup.css index 108c08d7..d4b60d1d 100644 --- a/LCARStrek/global/popup.css +++ b/LCARStrek/global/popup.css @@ -55,6 +55,18 @@ panel[type="arrow"] { -moz-transition: opacity 300ms; } +panel[type="arrow"][side="top"], +panel[type="arrow"][side="bottom"] { + margin-left: -25px; + margin-right: -25px; +} + +panel[type="arrow"][side="left"], +panel[type="arrow"][side="right"] { + margin-top: -25px; + margin-bottom: -25px; +} + .panel-arrowcontent { border-radius: 6px; padding: 6px; @@ -66,6 +78,7 @@ panel[type="arrow"] { margin-left: 6px; margin-right: 6px; margin-bottom: -13px; + margin-top: -4px; } .panel-arrow[side="bottom"] { @@ -73,6 +86,7 @@ panel[type="arrow"] { margin-left: 6px; margin-right: 6px; margin-top: -12px; + margin-bottom: -4px; } .panel-arrow[side="left"] { @@ -80,6 +94,7 @@ panel[type="arrow"] { margin-top: 6px; margin-bottom: 6px; margin-right: -12px; + margin-left: -4px; } .panel-arrow[side="right"] { @@ -88,6 +103,7 @@ panel[type="arrow"] { margin-top: 6px; margin-bottom: 6px; margin-left: -12px; + margin-right: -4px; } tooltip { diff --git a/LCARStrek/global/webConsole.css b/LCARStrek/global/webConsole.css index 0b25735c..5d442217 100644 --- a/LCARStrek/global/webConsole.css +++ b/LCARStrek/global/webConsole.css @@ -188,18 +188,27 @@ height: 1px; width: 1px; position: relative; top: 92%; display: block; } -.jsterm-input-node { +.jsterm-input-node, +.jsterm-complete-node { font-family: monospace; font-size: 9pt; - background: url("chrome://global/skin/icons/commandline.png") 4px 3px no-repeat; border: none; - padding: 0px 0px 0px 16px; + padding: 0 0 0 16px; +} + +.jsterm-input-node { + background: url("chrome://global/skin/icons/commandline.png") 4px 3px no-repeat; } -.jsterm-input-node > .textbox-input-box > .textbox-textarea { +:-moz-any(.jsterm-input-node, + .jsterm-complete-node) > .textbox-input-box > .textbox-textarea { overflow-x: hidden; } +.jsterm-complete-node > .textbox-input-box > .textbox-textarea { + color: #8050B0; +} + .jsterm-output-line { font-size: 1em; } diff --git a/LCARStrek/mozapps/extensions/about.css b/LCARStrek/mozapps/extensions/about.css index a9498a40..803d8acc 100644 --- a/LCARStrek/mozapps/extensions/about.css +++ b/LCARStrek/mozapps/extensions/about.css @@ -1,8 +1,38 @@ +#genericAbout { + padding: 0px; + min-height: 200px; + max-height: 400px; + width: 30em; +} + #clientBox { background-color: #000000; color: #FF9F00; } +.basic-info { + padding: 10px; +} + +#extensionIcon { + list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); + max-width: 64px; + max-height: 64px; + -moz-margin-end: 6px; +} + +#genericAbout[addontype="theme"] #extensionIcon { + list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png"); +} + +#genericAbout[addontype="locale"] #extensionIcon { + list-style-image: url("chrome://mozapps/skin/extensions/localeGeneric.png"); +} + +#genericAbout[addontype="plugin"] #extensionIcon { + list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric.png"); +} + #extensionName { font-size: large; font-weight: bold; @@ -13,24 +43,14 @@ color: #9C9CFF; } -#genericAbout { - padding: 0px 0px 10px; - min-height: 200px; - width: 30em; +#extensionDescription { + margin-top: 4px; } #groove { margin-top: 0px; } -#clientBox { - padding: 10px; -} - -#extensionDescription { - color: #8050B0; -} - .boxIndent { -moz-margin-start: 6px; } diff --git a/LCARStrek/mozapps/extensions/extensions.css b/LCARStrek/mozapps/extensions/extensions.css index f58806c9..0d74db7c 100644 --- a/LCARStrek/mozapps/extensions/extensions.css +++ b/LCARStrek/mozapps/extensions/extensions.css @@ -111,6 +111,15 @@ } } +/* Plugins aren't yet disabled by safemode (bug 342333), + so don't show that warning when viewing plugins. */ +#addons-page[warning="safemode"] .view-pane[type="plugin"] .global-warning-container, +#addons-page[warning="safemode"] #detail-view[loading="true"] .global-warning-container { + background-color: inherit; + background-image: none; +} + + /*** notification icons ***/ .warning-icon { @@ -816,12 +825,23 @@ margin: 0 8px; } +.download-progress[mode="undetermined"] .status-container { + padding: 0 2px; +} + .download-progress .start-cap, .download-progress[complete] .end-cap, +.download-progress[mode="undetermined"] .end-cap, .download-progress .progress .progress-bar { background-color: #008484; } +.download-progress .progress .progress-bar { + border-left-width: 0; + border-right-width: 0; + min-height: 21px; +} + .download-progress .progress { background-color: transparent; padding: 0; -- 2.43.0