From ff5bd775546d38764c6aaefbc5dcc6c62f12c7be Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sun, 25 Jul 2010 21:15:13 +0200 Subject: [PATCH] update both themes for suite default theme changes up to 2010-07-25 --- EarlyBlue/communicator/communicator.css | 11 +++++++ EarlyBlue/communicator/toolbar.css | 12 +++++++ EarlyBlue/navigator/navigator.css | 42 +++++++++++++++++++++---- LCARStrek/communicator/communicator.css | 11 +++++++ LCARStrek/communicator/toolbar.css | 12 +++++++ LCARStrek/navigator/navigator.css | 22 ++++++++++--- 6 files changed, 100 insertions(+), 10 deletions(-) diff --git a/EarlyBlue/communicator/communicator.css b/EarlyBlue/communicator/communicator.css index 1c2cf0f8..99901bc1 100644 --- a/EarlyBlue/communicator/communicator.css +++ b/EarlyBlue/communicator/communicator.css @@ -104,3 +104,14 @@ menu.menu-iconic > .menu-iconic-left, menuitem.menuitem-iconic > .menu-iconic-left { display: -moz-box; } + +/******* lightweight themes *******/ +window[lwtheme="true"] { + background-repeat: no-repeat; + background-position: top right; +} + +statusbar[lwthemefooter="true"] { + background-repeat: no-repeat; + background-position: bottom left; +} diff --git a/EarlyBlue/communicator/toolbar.css b/EarlyBlue/communicator/toolbar.css index 67858e43..420a40fa 100644 --- a/EarlyBlue/communicator/toolbar.css +++ b/EarlyBlue/communicator/toolbar.css @@ -77,3 +77,15 @@ toolbargrippy[tbgrippy-collapsed="true"] { .collapsed-tray-spacer { border-bottom: 1px solid #9999CC; } + +/* ::::: solid background status bar panel ::::: */ + +.statusbarpanel-backgroundbox { + -moz-box-align: stretch; + padding: 0px; +} + +.statusbarpanel-backgroundbox > .statusbarpanel-contentbox { + padding: 0px 1px; + -moz-box-align: center; +} diff --git a/EarlyBlue/navigator/navigator.css b/EarlyBlue/navigator/navigator.css index c6cb0fc4..cf75a5a2 100644 --- a/EarlyBlue/navigator/navigator.css +++ b/EarlyBlue/navigator/navigator.css @@ -198,6 +198,15 @@ toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon { -moz-box-align: center; } +#urlbar:-moz-lwtheme:not([focused="true"]), +.tabbrowser-tab:-moz-lwtheme:not([selected="true"]) { + opacity: .8; +} + +.tabbrowser-tab:-moz-lwtheme { + text-shadow: none; +} + #urlbar { margin: 0; -moz-margin-start: 3px; @@ -293,6 +302,11 @@ toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon { min-height: 16px; } +#search-button:-moz-lwtheme, +#go-button:-moz-lwtheme { + opacity: .8; +} + #search-button { /* list-style-image: url("chrome://communicator/skin/icons/search.gif"); */ font-weight: bold; @@ -311,29 +325,45 @@ toolbar[mode="icons"] #search-button > .button-box > .button-text { -moz-margin-start: 2px; } -#security-button > .statusbarpanel-icon { +#security-button { list-style-image: url("chrome://communicator/skin/icons/lock-insecure.gif"); } /* |high| and |low| styles could be different, to better reflect the secure level... */ -#security-button[level="high"] > .statusbarpanel-icon, -#security-button[level="low"] > .statusbarpanel-icon { +#security-button[level="high"] > .statusbarpanel-contentbox, +#security-button[level="low"] > .statusbarpanel-contentbox { list-style-image: url("chrome://communicator/skin/icons/lock-secure.gif"); background-color: #FFFFCC; } -#security-button[level="broken"] > .statusbarpanel-icon { +#security-button[level="broken"] > .statusbarpanel-contentbox { list-style-image: url("chrome://communicator/skin/icons/lock-broken.gif"); background-color: #FFCCCC; } -#security-button[label] > .statusbarpanel-icon, +#security-button[label] > .statusbarpanel-contentbox { + background-color: #33FF33; +} + #security-button > .statusbarpanel-text { margin: 0px; - background-color: #33FF33; color: #000000; } +/* make same background-color translucent on lwthemes */ +#security-button[level="high"] > .statusbarpanel-contentbox:-moz-lwtheme, +#security-button[level="low"] > .statusbarpanel-contentbox:-moz-lwtheme { + background-color: rgba(255, 255, 204, .8); +} + +#security-button[level="broken"] > .statusbarpanel-contentbox:-moz-lwtheme { + background-color: rgba(255, 204, 204, .8); +} + +#security-button[label] > .statusbarpanel-contentbox:-moz-lwtheme { + background-color: rgba(51, 255, 51, .8); +} + #ev-button { list-style-image: url("chrome://communicator/skin/icons/identity.png"); } diff --git a/LCARStrek/communicator/communicator.css b/LCARStrek/communicator/communicator.css index 9c9d5ed7..32ab479d 100644 --- a/LCARStrek/communicator/communicator.css +++ b/LCARStrek/communicator/communicator.css @@ -121,3 +121,14 @@ menu.menu-iconic > .menu-iconic-left, menuitem.menuitem-iconic > .menu-iconic-left { display: -moz-box; } + +/******* lightweight themes *******/ +window[lwtheme="true"] { + background-repeat: no-repeat; + background-position: top right; +} + +statusbar[lwthemefooter="true"] { + background-repeat: no-repeat; + background-position: bottom left; +} diff --git a/LCARStrek/communicator/toolbar.css b/LCARStrek/communicator/toolbar.css index 3121a574..70881a8f 100644 --- a/LCARStrek/communicator/toolbar.css +++ b/LCARStrek/communicator/toolbar.css @@ -58,3 +58,15 @@ .toolbar-primary > .toolbar-box > toolbargrippy:hover { background-color: #FFCF00; } + +/* ::::: solid background status bar panel ::::: */ + +.statusbarpanel-backgroundbox { + -moz-box-align: stretch; + padding: 0px; +} + +.statusbarpanel-backgroundbox > .statusbarpanel-contentbox { + padding: 0px 2px; + -moz-box-align: center; +} diff --git a/LCARStrek/navigator/navigator.css b/LCARStrek/navigator/navigator.css index f3735006..aadd47c8 100644 --- a/LCARStrek/navigator/navigator.css +++ b/LCARStrek/navigator/navigator.css @@ -281,6 +281,15 @@ toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon { -moz-box-align: center; } +#urlbar:-moz-lwtheme:not([focused="true"]), +.tabbrowser-tab:-moz-lwtheme:not([selected="true"]) { + opacity: .8; +} + +.tabbrowser-tab:-moz-lwtheme { + text-shadow: none; +} + #urlbar { -moz-border-radius: 5px; margin: 0; @@ -392,6 +401,11 @@ toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon { min-height: 16px; } +#search-button:-moz-lwtheme, +#go-button:-moz-lwtheme { + opacity: .8; +} + #search-button { /* list-style-image: url("chrome://communicator/skin/icons/search.gif"); */ } @@ -420,18 +434,18 @@ toolbar[mode="icons"] #search-button > .button-box > .button-text { } /* |high| and |low| styles could be different, to better reflect the secure level... */ -#security-button[level="high"], -#security-button[level="low"] { +#security-button[level="high"] > .statusbarpanel-contentbox, +#security-button[level="low"] > .statusbarpanel-contentbox { list-style-image: url("chrome://communicator/skin/icons/lock-secure-hover.png"); background-color: #FFCF00; } -#security-button[level="broken"] { +#security-button[level="broken"] > .statusbarpanel-contentbox { list-style-image: url("chrome://communicator/skin/icons/lock-broken.gif"); background-color: #FF0000; } -#security-button[label][level="high"] { +#security-button[label][level="high"] > .statusbarpanel-contentbox { list-style-image: url("chrome://communicator/skin/icons/lock-secure.gif"); background-color: #008484; color: #FFCF00; -- 2.43.0