From: Robert Kaiser Date: Fri, 30 Jan 2009 23:22:02 +0000 (+0100) Subject: update to suite default status of 2009-01-30: bug 471372 - customizable toolbars... X-Git-Tag: LCARStrek-2.0a3~14 X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=e8fc8e8ed080f3cee2247b0fa72a2069e7066838;p=themes.git update to suite default status of 2009-01-30: bug 471372 - customizable toolbars for navigator --- diff --git a/EarlyBlue/navigator/navigator.css b/EarlyBlue/navigator/navigator.css index e147bc9a..8a25ff71 100644 --- a/EarlyBlue/navigator/navigator.css +++ b/EarlyBlue/navigator/navigator.css @@ -110,56 +110,68 @@ /* display: none; */ } +toolbar[iconsize="small"] > toolbarpaletteitem > #back-button, 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"] > toolbarpaletteitem > #back-button[disabled="true"], toolbar[iconsize="small"] > #back-button[disabled="true"] { -moz-image-region: rect(32px 32px 48px 16px) !important; } +toolbar[iconsize="small"] > toolbarpaletteitem > #forward-button, 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"] > toolbarpaletteitem > #forward-button[disabled="true"], toolbar[iconsize="small"] > #forward-button[disabled="true"] { -moz-image-region: rect(48px 32px 64px 16px) !important; } +toolbar[iconsize="small"] > toolbarpaletteitem > #reload-button, 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"] > toolbarpaletteitem > #reload-button[disabled="true"], toolbar[iconsize="small"] > #reload-button[disabled="true"] { -moz-image-region: rect(0 32px 16px 16px) !important; } +toolbar[iconsize="small"] > toolbarpaletteitem > #stop-button, 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"] > toolbarpaletteitem > #stop-button[disabled="true"], toolbar[iconsize="small"] > #stop-button[disabled="true"] { -moz-image-region: rect(16px 32px 32px 16px) !important; } +toolbar[iconsize="small"] > toolbarpaletteitem > #print-button, 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"] > toolbarpaletteitem > #print-button[disabled="true"], toolbar[iconsize="small"] > #print-button[disabled="true"] { -moz-image-region: rect(0 32px 16px 16px) !important; } +toolbar[iconsize="small"] > toolbarpaletteitem > #home-button, 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"] > toolbarpaletteitem > #home-button[disabled="true"], toolbar[iconsize="small"] > #home-button[disabled="true"] { -moz-image-region: rect(64px 32px 80px 16px) !important; } @@ -219,6 +231,11 @@ toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon { background-color: #FFFFCC; } +#wrapper-nav-bar-inner[place="palette"] > #nav-bar-inner > .button-toolbar, +#wrapper-nav-bar-inner[place="palette"] > #nav-bar-inner > #urlbar > .urlbar-icons { + display: none; +} + /* ::::: page proxy icon ::::: */ #page-proxy-deck, @@ -246,7 +263,7 @@ toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon { /* ::::: autocomplete ::::: */ .autocomplete-treebody::-moz-tree-cell-text(value) { - padding-left: 13px; + -moz-padding-start: 13px; } .autocomplete-treebody::-moz-tree-cell-text(comment) { @@ -360,6 +377,7 @@ toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon { display: -moz-box !important; } +#PersonalToolbar[iconsize="small"] > toolbarpaletteitem > #home-button > .toolbarbutton-icon, #PersonalToolbar[iconsize="small"] > #home-button > .toolbarbutton-icon { /* width: 16px; height: 16px; */ @@ -373,6 +391,34 @@ toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon { cursor: default !important; } +/* + In customize mode we hide the normal bookmark items and show a placeholder + for the drag/drop UI. +*/ +.bookmarks-toolbar-customize { + list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); + display: none; + max-width: 15em !important; +} + +toolbarpaletteitem[place] > #personal-bookmarks > .bookmarks-toolbar-customize { + display: -moz-box; +} + +toolbarpaletteitem[place="palette"] > #personal-bookmarks > .bookmarks-toolbar-customize { + -moz-box-orient: vertical; +} + +toolbarpaletteitem[place="toolbar"] > #personal-bookmarks > .bookmarks-toolbar-overflow-items, +toolbarpaletteitem[place="toolbar"] > #personal-bookmarks > .bookmarks-toolbar-items { + visibility: collapse; +} + +toolbarpaletteitem[place="palette"] > #personal-bookmarks > .bookmarks-toolbar-overflow-items, +toolbarpaletteitem[place="palette"] > #personal-bookmarks > .bookmarks-toolbar-items { + display: none; +} + /* ::::: feeds ::::: */ #feedsMenu { diff --git a/LCARStrek/navigator/navigator.css b/LCARStrek/navigator/navigator.css index c7e6a255..c2e9ed67 100644 --- a/LCARStrek/navigator/navigator.css +++ b/LCARStrek/navigator/navigator.css @@ -149,85 +149,109 @@ /* display: none; */ } +toolbar[iconsize="small"] > toolbarpaletteitem > #back-button, 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"] > toolbarpaletteitem > #back-button[disabled="true"], toolbar[iconsize="small"] > #back-button[disabled="true"] { -moz-image-region: rect(32px 32px 48px 16px) !important; } +toolbar[iconsize="small"] > toolbarpaletteitem > #back-button:not([disabled="true"]):hover, +toolbar[iconsize="small"] > toolbarpaletteitem > #back-button:not([disabled="true"]):hover:active, toolbar[iconsize="small"] > #back-button:not([disabled="true"]):hover, toolbar[iconsize="small"] > #back-button:not([disabled="true"]):hover:active { -moz-image-region: rect(32px 48px 48px 32px); } +toolbar[iconsize="small"] > toolbarpaletteitem > #forward-button, 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"] > toolbarpaletteitem > #forward-button[disabled="true"], toolbar[iconsize="small"] > #forward-button[disabled="true"] { -moz-image-region: rect(48px 32px 64px 16px) !important; } +toolbar[iconsize="small"] > toolbarpaletteitem > #forward-button:not([disabled="true"]):hover, +toolbar[iconsize="small"] > toolbarpaletteitem > #forward-button:not([disabled="true"]):hover:active, toolbar[iconsize="small"] > #forward-button:not([disabled="true"]):hover, toolbar[iconsize="small"] > #forward-button:not([disabled="true"]):hover:active { -moz-image-region: rect(48px 48px 64px 32px); } +toolbar[iconsize="small"] > toolbarpaletteitem > #reload-button, 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"] > toolbarpaletteitem > #reload-button[disabled="true"], toolbar[iconsize="small"] > #reload-button[disabled="true"] { -moz-image-region: rect(0 32px 16px 16px) !important; } +toolbar[iconsize="small"] > toolbarpaletteitem > #reload-button:not([disabled="true"]):hover, +toolbar[iconsize="small"] > toolbarpaletteitem > #reload-button:not([disabled="true"]):hover:active, toolbar[iconsize="small"] > #reload-button:not([disabled="true"]):hover, toolbar[iconsize="small"] > #reload-button:not([disabled="true"]):hover:active { -moz-image-region: rect(0 48px 16px 32px); } +toolbar[iconsize="small"] > toolbarpaletteitem > #stop-button, 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"] > toolbarpaletteitem > #stop-button[disabled="true"], toolbar[iconsize="small"] > #stop-button[disabled="true"] { -moz-image-region: rect(16px 32px 32px 16px) !important; } +toolbar[iconsize="small"] > toolbarpaletteitem > #stop-button:not([disabled="true"]):hove, +toolbar[iconsize="small"] > toolbarpaletteitem > #stop-button:not([disabled="true"]):hover:active, toolbar[iconsize="small"] > #stop-button:not([disabled="true"]):hover, toolbar[iconsize="small"] > #stop-button:not([disabled="true"]):hover:active { -moz-image-region: rect(16px 48px 32px 32px); } +toolbar[iconsize="small"] > toolbarpaletteitem > #print-button, 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"] > toolbarpaletteitem > #print-button[disabled="true"], toolbar[iconsize="small"] > #print-button[disabled="true"] { -moz-image-region: rect(0 32px 16px 16px) !important; } +toolbar[iconsize="small"] > toolbarpaletteitem > #print-button:not([disabled="true"]):hove, +toolbar[iconsize="small"] > toolbarpaletteitem > #print-button:not([disabled="true"]):hover:active, toolbar[iconsize="small"] > #print-button:not([disabled="true"]):hover, toolbar[iconsize="small"] > #print-button:not([disabled="true"]):hover:active { -moz-image-region: rect(0 48px 16px 32px); } +toolbar[iconsize="small"] > toolbarpaletteitem > #home-button, 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"] > toolbarpaletteitem > #home-butto[disabled="true"]n, toolbar[iconsize="small"] > #home-button[disabled="true"] { -moz-image-region: rect(64px 32px 80px 16px) !important; } +toolbar[iconsize="small"] > toolbarpaletteitem > #home-button:not([disabled="true"]):hover, +toolbar[iconsize="small"] > toolbarpaletteitem > #home-button:not([disabled="true"]):hover:active, toolbar[iconsize="small"] > #home-button:not([disabled="true"]):hover, toolbar[iconsize="small"] > #home-button:not([disabled="true"]):hover:active { -moz-image-region: rect(64px 48px 80px 32px); @@ -302,6 +326,11 @@ toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon { color: #000000; } +#wrapper-nav-bar-inner[place="palette"] > #nav-bar-inner > .button-toolbar, +#wrapper-nav-bar-inner[place="palette"] > #nav-bar-inner > #urlbar > .urlbar-icons { + display: none; +} + /* ::::: page proxy icon ::::: */ #page-proxy-deck, @@ -329,7 +358,7 @@ toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon { /* ::::: autocomplete ::::: */ .autocomplete-treebody::-moz-tree-cell-text(value) { - padding-left: 13px; + -moz-padding-start: 13px; } .autocomplete-treebody::-moz-tree-cell-text(comment) { @@ -468,6 +497,7 @@ toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon { display: -moz-box !important; } +#PersonalToolbar[iconsize="small"] > toolbarpaletteitem > #home-button > .toolbarbutton-icon, #PersonalToolbar[iconsize="small"] > #home-button > .toolbarbutton-icon { /* width: 16px; height: 16px; */ @@ -481,6 +511,34 @@ toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon { cursor: default !important; } +/* + In customize mode we hide the normal bookmark items and show a placeholder + for the drag/drop UI. +*/ +.bookmarks-toolbar-customize { + list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); + display: none; + max-width: 15em !important; +} + +toolbarpaletteitem[place] > #personal-bookmarks > .bookmarks-toolbar-customize { + display: -moz-box; +} + +toolbarpaletteitem[place="palette"] > #personal-bookmarks > .bookmarks-toolbar-customize { + -moz-box-orient: vertical; +} + +toolbarpaletteitem[place="toolbar"] > #personal-bookmarks > .bookmarks-toolbar-overflow-items, +toolbarpaletteitem[place="toolbar"] > #personal-bookmarks > .bookmarks-toolbar-items { + visibility: collapse; +} + +toolbarpaletteitem[place="palette"] > #personal-bookmarks > .bookmarks-toolbar-overflow-items, +toolbarpaletteitem[place="palette"] > #personal-bookmarks > .bookmarks-toolbar-items { + display: none; +} + /* ::::: feeds ::::: */ #feedsMenu {