From 38b75e2e0c3847fd3a7410d927995343cb72ef3f Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sun, 27 Feb 2011 20:15:33 +0100 Subject: [PATCH 1/1] update both themes for toolkit winstripe changes up to 2011-02-27 --- EarlyBlue/global/webConsole.css | 19 ++++++++ EarlyBlue/mozapps/extensions/extensions.css | 52 +++++++++++++++++++-- LCARStrek/global/webConsole.css | 19 ++++++++ LCARStrek/mozapps/extensions/extensions.css | 44 +++++++++++++++++ 4 files changed, 130 insertions(+), 4 deletions(-) diff --git a/EarlyBlue/global/webConsole.css b/EarlyBlue/global/webConsole.css index a468233d..ade85f34 100644 --- a/EarlyBlue/global/webConsole.css +++ b/EarlyBlue/global/webConsole.css @@ -95,6 +95,25 @@ margin: 0 6px; } +/* Repeated messages */ +.webconsole-msg-repeat { + margin: 2px 0; + padding-left: 4px; + padding-right: 4px; + width: 1em; + color: #FFFFFF; + background-color: #FF0000; + border-radius: 40px; + /* font: message-box; */ + font-size: 10px; + font-weight: 600; +} + +/* TODO move this and other functional rules to content - bug 635359 */ +.webconsole-msg-repeat[value="1"] { + display: none; +} + .webconsole-location { margin-top: 0; margin-bottom: 0; diff --git a/EarlyBlue/mozapps/extensions/extensions.css b/EarlyBlue/mozapps/extensions/extensions.css index e5fe8613..48de940a 100644 --- a/EarlyBlue/mozapps/extensions/extensions.css +++ b/EarlyBlue/mozapps/extensions/extensions.css @@ -77,6 +77,7 @@ -moz-image-region: rect(63px 50px 84px 25px); } + /*** global warnings ***/ .global-warning-container { @@ -174,6 +175,7 @@ border: 1px inset #CCD0DD; border-radius: 8px; background-color: #CCD0DD; + background-clip: padding-box; } .alert .alert-title { @@ -439,10 +441,8 @@ width: 48px; height: 48px; margin: 3px 7px; -} - -.addon[active="false"] .icon { -/* filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale"); */ + -moz-box-align: center; + -moz-box-pack: center; } .icon { @@ -451,6 +451,10 @@ max-height: 48px; } +.addon[active="false"] .icon { +/* filter: url("chrome://mozapps/skin/extensions/extensions.svg#greyscale"); */ +} + .addon-view[type="theme"] .icon { list-style-image: url("chrome://mozapps/skin/extensions/themeGeneric.png"); } @@ -468,6 +472,7 @@ font-weight: bold; color: #404040; margin-bottom: 0; + -moz-box-align: end; } .creator { @@ -481,6 +486,7 @@ .description-container { margin-top: 8px; -moz-margin-start: 6px; + -moz-box-align: center; } .description { @@ -493,6 +499,44 @@ .info { -moz-margin-start: 48px; font-weight: bold; + -moz-box-align: center; +} + +.content-container, +.basicinfo-container { + -moz-box-align: start; +} + +.addon[status="installing"] > .content-container { + -moz-box-align: stretch; +} + +.update-info-container { + -moz-box-align: center; +} + +.advancedinfo-container, +.update-available { + -moz-box-align: end; +} + +.install-status-container { + -moz-box-pack: end; + -moz-box-align: end; +} + +.name-outer-container { + -moz-box-pack: center; +} + +.relnotes-toggle-container, +.icon-outer-container { + -moz-box-pack: start; +} + +.status-container, +.control-container { + -moz-box-pack: end; } .addon-view .warning { diff --git a/LCARStrek/global/webConsole.css b/LCARStrek/global/webConsole.css index 88bcc231..88608089 100644 --- a/LCARStrek/global/webConsole.css +++ b/LCARStrek/global/webConsole.css @@ -95,6 +95,25 @@ margin: 0 6px; } +/* Repeated messages */ +.webconsole-msg-repeat { + margin: 2px 0; + padding-left: 4px; + padding-right: 4px; + width: 1em; + color: #000000; + background-color: #FF0000; + border-radius: 40px; + /* font: message-box; */ + font-size: 10px; + font-weight: 600; +} + +/* TODO move this and other functional rules to content - bug 635359 */ +.webconsole-msg-repeat[value="1"] { + display: none; +} + .webconsole-location { margin-top: 0; margin-bottom: 0; diff --git a/LCARStrek/mozapps/extensions/extensions.css b/LCARStrek/mozapps/extensions/extensions.css index a8b94900..c5ac80b5 100644 --- a/LCARStrek/mozapps/extensions/extensions.css +++ b/LCARStrek/mozapps/extensions/extensions.css @@ -77,6 +77,7 @@ -moz-image-region: rect(63px 50px 84px 25px); } + /*** global warnings ***/ .global-warning-container { @@ -174,6 +175,7 @@ border: 1px solid #9C9CFF; border-radius: 8px; background-color: #000000; + background-clip: padding-box; } .alert .alert-title { @@ -470,6 +472,8 @@ width: 48px; height: 48px; margin: 3px 7px; + -moz-box-align: center; + -moz-box-pack: center; } .icon { @@ -499,6 +503,7 @@ font-weight: bold; color: #9C9CFF; margin-bottom: 0; + -moz-box-align: end; } .creator { @@ -512,6 +517,7 @@ .description-container { margin-top: 8px; -moz-margin-start: 6px; + -moz-box-align: center; } .description { @@ -524,6 +530,44 @@ .info { -moz-margin-start: 48px; font-weight: bold; + -moz-box-align: center; +} + +.content-container, +.basicinfo-container { + -moz-box-align: start; +} + +.addon[status="installing"] > .content-container { + -moz-box-align: stretch; +} + +.update-info-container { + -moz-box-align: center; +} + +.advancedinfo-container, +.update-available { + -moz-box-align: end; +} + +.install-status-container { + -moz-box-pack: end; + -moz-box-align: end; +} + +.name-outer-container { + -moz-box-pack: center; +} + +.relnotes-toggle-container, +.icon-outer-container { + -moz-box-pack: start; +} + +.status-container, +.control-container { + -moz-box-pack: end; } .addon-view .warning { -- 2.35.3