From: Robert Kaiser Date: Tue, 23 Dec 2008 22:49:52 +0000 (+0100) Subject: EarlyBlue 2.0a1 -> 2.0a2, navigator part, also remove now unused old gif versions... X-Git-Tag: EarlyBlue-2.0a2~2 X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=749ee10941a6eba7ea637e683d4968a4aee067ee;p=themes.git EarlyBlue 2.0a1 -> 2.0a2, navigator part, also remove now unused old gif versions of LCARStrek navigator icons --- diff --git a/EarlyBlue/navigator/icons/back-disabled.gif b/EarlyBlue/navigator/icons/back-disabled.gif deleted file mode 100755 index e030c9cb..00000000 Binary files a/EarlyBlue/navigator/icons/back-disabled.gif and /dev/null differ diff --git a/EarlyBlue/navigator/icons/back.gif b/EarlyBlue/navigator/icons/back.gif deleted file mode 100755 index 5d83ff6d..00000000 Binary files a/EarlyBlue/navigator/icons/back.gif and /dev/null differ diff --git a/EarlyBlue/navigator/icons/forward-disabled.gif b/EarlyBlue/navigator/icons/forward-disabled.gif deleted file mode 100755 index 85fc056d..00000000 Binary files a/EarlyBlue/navigator/icons/forward-disabled.gif and /dev/null differ diff --git a/EarlyBlue/navigator/icons/forward.gif b/EarlyBlue/navigator/icons/forward.gif deleted file mode 100755 index 5eb275e9..00000000 Binary files a/EarlyBlue/navigator/icons/forward.gif and /dev/null differ diff --git a/EarlyBlue/navigator/icons/navigatoricons-small.png b/EarlyBlue/navigator/icons/navigatoricons-small.png new file mode 100644 index 00000000..b5838ebb Binary files /dev/null and b/EarlyBlue/navigator/icons/navigatoricons-small.png differ diff --git a/EarlyBlue/navigator/icons/navigatoricons.png b/EarlyBlue/navigator/icons/navigatoricons.png new file mode 100644 index 00000000..a8026757 Binary files /dev/null and b/EarlyBlue/navigator/icons/navigatoricons.png differ diff --git a/EarlyBlue/navigator/icons/reload-disabled.gif b/EarlyBlue/navigator/icons/reload-disabled.gif deleted file mode 100644 index 3952f170..00000000 Binary files a/EarlyBlue/navigator/icons/reload-disabled.gif and /dev/null differ diff --git a/EarlyBlue/navigator/icons/reload.gif b/EarlyBlue/navigator/icons/reload.gif deleted file mode 100755 index 5c8effa5..00000000 Binary files a/EarlyBlue/navigator/icons/reload.gif and /dev/null differ diff --git a/EarlyBlue/navigator/navigator.css b/EarlyBlue/navigator/navigator.css index 27f1ef1b..ef39f5e8 100644 --- a/EarlyBlue/navigator/navigator.css +++ b/EarlyBlue/navigator/navigator.css @@ -52,7 +52,7 @@ } #back-button[disabled="true"] { - -moz-image-region: rect(42px 50px 63px 25px) !important; + -moz-image-region: rect(42px 50px 63px 25px); } #forward-button { @@ -61,15 +61,16 @@ } #forward-button[disabled="true"] { - -moz-image-region: rect(63px 50px 84px 25px) !important; + -moz-image-region: rect(63px 50px 84px 25px); } #reload-button { - list-style-image: url("chrome://navigator/skin/icons/reload.gif"); + list-style-image: url("chrome://navigator/skin/icons/navigatoricons.png"); + -moz-image-region: rect(0px 25px 21px 0px); } - + #reload-button[disabled="true"] { - list-style-image: url("chrome://navigator/skin/icons/reload-disabled.gif") !important; + -moz-image-region: rect(0px 50px 21px 25px); } #stop-button { @@ -78,7 +79,7 @@ } #stop-button[disabled="true"] { - -moz-image-region: rect(21px 50px 42px 25px) !important; + -moz-image-region: rect(21px 50px 42px 25px); } #print-button { @@ -87,59 +88,36 @@ } #print-button[disabled="true"] { - -moz-image-region: rect(0px 50px 21px 25px) !important; + -moz-image-region: rect(0px 50px 21px 25px); } #clear-button { list-style-image: url("chrome://global/skin/icons/close-button.gif"); } -/* Hides text below the above buttons - should now be configurable */ -/* -.toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-text, -.toolbarbutton-1 > .toolbarbutton-text { - display: none; -} -*/ - -#fullscreen-exit-button { - list-style-image: none; -} - -#fullscreen-exit-button > .toolbarbutton-text { -/* display: normal; */ -} - /* ::::: small primary toolbar buttons ::::: */ -.toolbarbutton-text[toolbarmode="small"] { - display: none; -} - -.toolbarbutton-icon[toolbarmode="small"] { - display: inline; -} - -#nav-bar[mode="text"] > #nav-bar-inner, -#nav-bar[mode="icons"] > #nav-bar-inner, -#nav-bar[toolbarmode="small"] > #nav-bar-inner { - margin: 2px 0px 2px 4px; -} - -toolbar[toolbarmode="small"] > toolbargrippy { - display: none; +#nav-bar[inFullscreen="true"] .toolbar-grippy { + /* display: none; */ } /* ::::: fullscreen window controls ::::: */ #window-controls { -moz-box-align: center; - padding: 0 2px 0 4px; + padding: 0 2px; border-left: 1px solid #9999CC; + -moz-margin-start: 2px; } #window-controls > toolbarbutton { - padding: 2px 0px 2px 2px; + padding: 3px; + -moz-padding-start: 2px; + -moz-padding-end: 1px; +} + +toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon { + display: -moz-box; } #minimize-button { @@ -157,15 +135,21 @@ toolbar[toolbarmode="small"] > toolbargrippy { /* ::::: nav-bar-inner ::::: */ #nav-bar-inner { - padding-left: 0px; + -moz-padding-start: 1px; + -moz-padding-end: 1px; min-width: 0px; - margin: 7px 4px 8px 4px; + -moz-box-align: center; } #urlbar { - outline: none; - border: 1px inset #CCD0DD; - margin: 0px 7px 0px 0px; + -moz-border-radius: 5px; + margin: 0; + -moz-margin-start: 3px; +} + +#urlbar > .autocomplete-textbox-container { + -moz-border-radius: 3px 0 0 3px; + padding: 2px; } #urlbar[level="high"] > .autocomplete-textbox-container, @@ -184,7 +168,7 @@ toolbar[toolbarmode="small"] > toolbargrippy { #page-proxy-deck { cursor: -moz-grab; - margin: 1px 1px 1px 2px; + margin: 0; } #page-proxy-button { @@ -235,17 +219,32 @@ toolbar[toolbarmode="small"] > toolbargrippy { #search-button, #go-button { - margin: 0px 3px 0px 0px; -/* min-height: 25px; */ + margin: 0; + padding: 1px 0; + -moz-margin-start: 2px; font-weight: bold; background-color: #9999CC; } +/* care that those buttons base on the same min height of 16px that the urlbar + autocomplete box gets through site icon and urlbar icons at the right */ +#search-button > .button-box , +#go-button > .button-box { + min-height: 16px; +} + #search-button { /* list-style-image: url("chrome://communicator/skin/icons/search.gif"); */ font-weight: bold; } +/* +toolbar[mode="text"] #search-button > .button-box > .button-icon, +toolbar[mode="icons"] #search-button > .button-box > .button-text { + display: none; +} +*/ + /* ::::: security button ::::: */ #security-button { @@ -278,17 +277,36 @@ toolbar[toolbarmode="small"] > toolbargrippy { } #home-button { - list-style-image: url("chrome://communicator/skin/bookmarks/home.gif"); + list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); + -moz-image-region: rect(84px 25px 105px 0px); +} + +#home-button[disabled="true"] { + -moz-image-region: rect(84px 50px 105px 25px); } -#bookmarks-chevron { +#toolbarbutton.chevron { list-style-image: url("chrome://navigator/skin/icons/chevron.gif") !important; } -#bookmarks-chevron > .toolbarbutton-menu-dropmarker { +#toolbarbutton.chevron > .toolbarbutton-menu-dropmarker { display: none; } +toolbarbutton.chevron > .toolbarbutton-text { + display: none; /* hide chevron label which has a width even if blank */ +} + +toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon { + display: -moz-box; /* display chevron icon in text mode */ +} + +/* Prevent [mode="icons"|"text"] from hiding the label and icon */ +#bookmarks-ptf .bookmark-item > .toolbarbutton-text, +#bookmarks-ptf .bookmark-item > .toolbarbutton-icon { + display: -moz-box !important; +} + /* ::::: feeds ::::: */ #feedsMenu { @@ -312,3 +330,72 @@ toolbar[toolbarmode="small"] > toolbargrippy { #feedsButton:hover:active { -moz-image-region: rect(48px 32px 64px 16px); } + +toolbar[iconsize="small"] > #back-button { + list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); + -moz-image-region: rect(32px 16px 48px 0); +} + +toolbar[iconsize="small"] > #back-button[disabled="true"] { + -moz-image-region: rect(32px 32px 48px 16px) !important; +} + +toolbar[iconsize="small"] > #forward-button { + list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); + -moz-image-region: rect(48px 16px 64px 0); +} + +toolbar[iconsize="small"] > #forward-button[disabled="true"] { + -moz-image-region: rect(48px 32px 64px 16px) !important; +} + +toolbar[iconsize="small"] > #reload-button { + list-style-image: url("chrome://navigator/skin/icons/navigatoricons-small.png"); + -moz-image-region: rect(0 16px 16px 0); +} + +toolbar[iconsize="small"] > #reload-button[disabled="true"] { + -moz-image-region: rect(0 32px 16px 16px) !important; +} + +toolbar[iconsize="small"] > #stop-button { + list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); + -moz-image-region: rect(16px 16px 32px 0); +} + +toolbar[iconsize="small"] > #stop-button[disabled="true"] { + -moz-image-region: rect(16px 32px 32px 16px) !important; +} + +toolbar[iconsize="small"] > #print-button { + list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); + -moz-image-region: rect(0 16px 16px 0); +} + +toolbar[iconsize="small"] > #print-button[disabled="true"] { + -moz-image-region: rect(0 32px 16px 16px) !important; +} + +toolbar[iconsize="small"] > #home-button { + list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); + -moz-image-region: rect(64px 16px 80px 0); +} + +toolbar[iconsize="small"] > #home-button[disabled="true"] { + -moz-image-region: rect(64px 32px 80px 16px) !important; +} + +/* ::::: home button on the personal toolbar ::::: */ + +#PersonalToolbar[iconsize="small"] > #home-button > .toolbarbutton-icon { + /* width: 16px; + height: 16px; */ +} + +#PersonalToolbar > #home-button { + cursor: pointer; +} + +#PersonalToolbar > #home-button[disabled="true"] { + cursor: default !important; +} diff --git a/LCARStrek/navigator/icons/back-disabled.gif b/LCARStrek/navigator/icons/back-disabled.gif deleted file mode 100755 index 477f8b2f..00000000 Binary files a/LCARStrek/navigator/icons/back-disabled.gif and /dev/null differ diff --git a/LCARStrek/navigator/icons/back-hover.gif b/LCARStrek/navigator/icons/back-hover.gif deleted file mode 100755 index 6b8b9782..00000000 Binary files a/LCARStrek/navigator/icons/back-hover.gif and /dev/null differ diff --git a/LCARStrek/navigator/icons/back.gif b/LCARStrek/navigator/icons/back.gif deleted file mode 100755 index 039cb124..00000000 Binary files a/LCARStrek/navigator/icons/back.gif and /dev/null differ diff --git a/LCARStrek/navigator/icons/forward-disabled.gif b/LCARStrek/navigator/icons/forward-disabled.gif deleted file mode 100755 index 05abf2fc..00000000 Binary files a/LCARStrek/navigator/icons/forward-disabled.gif and /dev/null differ diff --git a/LCARStrek/navigator/icons/forward-hover.gif b/LCARStrek/navigator/icons/forward-hover.gif deleted file mode 100755 index b9f356c8..00000000 Binary files a/LCARStrek/navigator/icons/forward-hover.gif and /dev/null differ diff --git a/LCARStrek/navigator/icons/forward.gif b/LCARStrek/navigator/icons/forward.gif deleted file mode 100755 index e328606d..00000000 Binary files a/LCARStrek/navigator/icons/forward.gif and /dev/null differ diff --git a/LCARStrek/navigator/icons/reload-disabled.gif b/LCARStrek/navigator/icons/reload-disabled.gif deleted file mode 100644 index ef568ef9..00000000 Binary files a/LCARStrek/navigator/icons/reload-disabled.gif and /dev/null differ diff --git a/LCARStrek/navigator/icons/reload-hover.gif b/LCARStrek/navigator/icons/reload-hover.gif deleted file mode 100755 index e0750845..00000000 Binary files a/LCARStrek/navigator/icons/reload-hover.gif and /dev/null differ diff --git a/LCARStrek/navigator/icons/reload.gif b/LCARStrek/navigator/icons/reload.gif deleted file mode 100755 index 42d4f8ab..00000000 Binary files a/LCARStrek/navigator/icons/reload.gif and /dev/null differ