diff --git a/browser/base/Makefile.in b/browser/base/Makefile.in index 8e02e041182d..2b0c29df0568 100644 --- a/browser/base/Makefile.in +++ b/browser/base/Makefile.in @@ -26,6 +26,14 @@ VPATH = @srcdir@ include $(DEPTH)/config/autoconf.mk +ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT))) +# Use Pinstripe on MacOS X +DIRS += skin/mac +else +# Use Qute on Windows and Linux +DIRS += skin +endif + include $(topsrcdir)/config/config.mk include $(topsrcdir)/config/rules.mk diff --git a/browser/base/jar.mn b/browser/base/jar.mn index d614df111f25..ab99111018ae 100644 --- a/browser/base/jar.mn +++ b/browser/base/jar.mn @@ -21,29 +21,6 @@ browser.jar: * content/browser/utilityOverlay.js (content/utilityOverlay.js) content/browser/web-panels.js (content/web-panels.js) content/browser/web-panels.xul (content/web-panels.xul) - -classic.jar: - skin/classic/browser/aboutDialog.css (skin/aboutDialog.css) - skin/classic/browser/Bookmarks-folder.png (skin/Bookmarks-folder.png) - skin/classic/browser/browser.css (skin/browser.css) - skin/classic/browser/browser.xml (skin/browser.xml) - skin/classic/browser/contents.rdf (skin/contents.rdf) - skin/classic/browser/Close-tab.png (skin/Close-tab.png) - skin/classic/browser/Go.png (skin/Go.png) - skin/classic/browser/Info.png (skin/Info.png) - skin/classic/browser/lock-insecure.gif (skin/lock-insecure.gif) - skin/classic/browser/lock-mixed.gif (skin/lock-mixed.gif) - skin/classic/browser/pageInfo.css (skin/pageInfo.css) - skin/classic/browser/page-themes.png (skin/page-themes.png) - skin/classic/browser/Search-bar.png (skin/Search-bar.png) - skin/classic/browser/Secure.png (skin/Secure.png) - skin/classic/browser/Security-broken.png (skin/Security-broken.png) - skin/classic/browser/Throbber.png (skin/Throbber.png) - skin/classic/browser/Throbber.gif (skin/Throbber.gif) - skin/classic/browser/Throbber-small.png (skin/Throbber-small.png) - skin/classic/browser/Throbber-small.gif (skin/Throbber-small.gif) - skin/classic/browser/Toolbar-small.png (skin/Toolbar-small.png) - skin/classic/browser/Toolbar.png (skin/Toolbar.png) en-US.jar: locale/en-US/browser/contents.rdf (locale/contents.rdf) diff --git a/browser/base/skin/Makefile.in b/browser/base/skin/Makefile.in new file mode 100644 index 000000000000..4497190ec222 --- /dev/null +++ b/browser/base/skin/Makefile.in @@ -0,0 +1,29 @@ +# +# The contents of this file are subject to the Netscape Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/NPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Netscape +# Communications Corporation. Portions created by Netscape are +# Copyright (C) 1998 Netscape Communications Corporation. All +# Rights Reserved. +# +# Contributor(s): +# + +DEPTH = ../../.. +topsrcdir = @top_srcdir@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +include $(DEPTH)/config/autoconf.mk + +include $(topsrcdir)/config/rules.mk diff --git a/browser/base/skin/jar.mn b/browser/base/skin/jar.mn new file mode 100644 index 000000000000..135a07eccc57 --- /dev/null +++ b/browser/base/skin/jar.mn @@ -0,0 +1,22 @@ +classic.jar: + skin/classic/browser/aboutDialog.css + skin/classic/browser/Bookmarks-folder.png + skin/classic/browser/browser.css + skin/classic/browser/browser.xml + skin/classic/browser/contents.rdf + skin/classic/browser/Close-tab.png + skin/classic/browser/Go.png + skin/classic/browser/Info.png + skin/classic/browser/lock-insecure.gif + skin/classic/browser/lock-mixed.gif + skin/classic/browser/pageInfo.css + skin/classic/browser/page-themes.png + skin/classic/browser/Search-bar.png + skin/classic/browser/Secure.png + skin/classic/browser/Security-broken.png + skin/classic/browser/Throbber.png + skin/classic/browser/Throbber.gif + skin/classic/browser/Throbber-small.png + skin/classic/browser/Throbber-small.gif + skin/classic/browser/Toolbar-small.png + skin/classic/browser/Toolbar.png diff --git a/browser/base/skin/mac/Go.png b/browser/base/skin/mac/Go.png new file mode 100644 index 000000000000..8349ba2ff074 Binary files /dev/null and b/browser/base/skin/mac/Go.png differ diff --git a/browser/base/skin/mac/Info.png b/browser/base/skin/mac/Info.png new file mode 100644 index 000000000000..12f95543a8e1 Binary files /dev/null and b/browser/base/skin/mac/Info.png differ diff --git a/browser/base/skin/mac/Makefile.in b/browser/base/skin/mac/Makefile.in new file mode 100644 index 000000000000..271e3434d371 --- /dev/null +++ b/browser/base/skin/mac/Makefile.in @@ -0,0 +1,29 @@ +# +# The contents of this file are subject to the Netscape Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/NPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Netscape +# Communications Corporation. Portions created by Netscape are +# Copyright (C) 1998 Netscape Communications Corporation. All +# Rights Reserved. +# +# Contributor(s): +# + +DEPTH = ../../../.. +topsrcdir = @top_srcdir@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +include $(DEPTH)/config/autoconf.mk + +include $(topsrcdir)/config/rules.mk diff --git a/browser/base/skin/mac/Popup-blocked.png b/browser/base/skin/mac/Popup-blocked.png new file mode 100644 index 000000000000..7a060558e2d5 Binary files /dev/null and b/browser/base/skin/mac/Popup-blocked.png differ diff --git a/browser/base/skin/mac/Search-bar-wdropmarker.png b/browser/base/skin/mac/Search-bar-wdropmarker.png new file mode 100644 index 000000000000..2eb7caec96f4 Binary files /dev/null and b/browser/base/skin/mac/Search-bar-wdropmarker.png differ diff --git a/browser/base/skin/mac/Search-bar.png b/browser/base/skin/mac/Search-bar.png new file mode 100644 index 000000000000..fa0c2155e250 Binary files /dev/null and b/browser/base/skin/mac/Search-bar.png differ diff --git a/browser/base/skin/mac/SearchBarLeft.png b/browser/base/skin/mac/SearchBarLeft.png new file mode 100644 index 000000000000..b8a2b25683fc Binary files /dev/null and b/browser/base/skin/mac/SearchBarLeft.png differ diff --git a/browser/base/skin/mac/SearchBarMiddle.png b/browser/base/skin/mac/SearchBarMiddle.png new file mode 100644 index 000000000000..6dad042740a4 Binary files /dev/null and b/browser/base/skin/mac/SearchBarMiddle.png differ diff --git a/browser/base/skin/mac/SearchBarRight.png b/browser/base/skin/mac/SearchBarRight.png new file mode 100644 index 000000000000..973a48d817e2 Binary files /dev/null and b/browser/base/skin/mac/SearchBarRight.png differ diff --git a/browser/base/skin/mac/Secure.png b/browser/base/skin/mac/Secure.png new file mode 100644 index 000000000000..d00198c692c5 Binary files /dev/null and b/browser/base/skin/mac/Secure.png differ diff --git a/browser/base/skin/mac/Security-broken.png b/browser/base/skin/mac/Security-broken.png new file mode 100644 index 000000000000..c7712c64d7ee Binary files /dev/null and b/browser/base/skin/mac/Security-broken.png differ diff --git a/browser/base/skin/mac/Toolbar-small.png b/browser/base/skin/mac/Toolbar-small.png new file mode 100644 index 000000000000..da1c612edfb1 Binary files /dev/null and b/browser/base/skin/mac/Toolbar-small.png differ diff --git a/browser/base/skin/mac/Toolbar.png b/browser/base/skin/mac/Toolbar.png new file mode 100644 index 000000000000..58265318a55b Binary files /dev/null and b/browser/base/skin/mac/Toolbar.png differ diff --git a/browser/base/skin/mac/bookmark-hover-dropmarker.png b/browser/base/skin/mac/bookmark-hover-dropmarker.png new file mode 100644 index 000000000000..32d6494cd8a6 Binary files /dev/null and b/browser/base/skin/mac/bookmark-hover-dropmarker.png differ diff --git a/browser/base/skin/mac/bookmark-hover-left.png b/browser/base/skin/mac/bookmark-hover-left.png new file mode 100644 index 000000000000..52c1a3ea2ec3 Binary files /dev/null and b/browser/base/skin/mac/bookmark-hover-left.png differ diff --git a/browser/base/skin/mac/bookmark-hover-mid.png b/browser/base/skin/mac/bookmark-hover-mid.png new file mode 100644 index 000000000000..99b9d5e7fffe Binary files /dev/null and b/browser/base/skin/mac/bookmark-hover-mid.png differ diff --git a/browser/base/skin/mac/bookmark-hover-right.png b/browser/base/skin/mac/bookmark-hover-right.png new file mode 100644 index 000000000000..52e0ef9888aa Binary files /dev/null and b/browser/base/skin/mac/bookmark-hover-right.png differ diff --git a/browser/base/skin/mac/bookmarks/Bookmarks-toolbar.png b/browser/base/skin/mac/bookmarks/Bookmarks-toolbar.png new file mode 100644 index 000000000000..52285888738e Binary files /dev/null and b/browser/base/skin/mac/bookmarks/Bookmarks-toolbar.png differ diff --git a/browser/base/skin/mac/bookmarks/bookmark-folder.png b/browser/base/skin/mac/bookmarks/bookmark-folder.png new file mode 100644 index 000000000000..1d26d948f55d Binary files /dev/null and b/browser/base/skin/mac/bookmarks/bookmark-folder.png differ diff --git a/browser/base/skin/mac/bookmarks/bookmark-item.png b/browser/base/skin/mac/bookmarks/bookmark-item.png new file mode 100644 index 000000000000..c279e3339df6 Binary files /dev/null and b/browser/base/skin/mac/bookmarks/bookmark-item.png differ diff --git a/browser/base/skin/mac/bookmarks/bookmarksManager.css b/browser/base/skin/mac/bookmarks/bookmarksManager.css new file mode 100755 index 000000000000..9556aaf93763 --- /dev/null +++ b/browser/base/skin/mac/bookmarks/bookmarksManager.css @@ -0,0 +1,78 @@ +#bookmark-window toolbarbutton { + list-style-image: url("chrome://browser/skin/bookmarks/Bookmarks-toolbar.png"); + -moz-box-orient: vertical; +} + +toolbarbutton#newbookmark { + -moz-image-region: rect(0px, 224px, 32px, 192px); +} +toolbarbutton#newbookmark:active { + -moz-image-region: rect(32px, 224px, 64px, 192px); +} +toolbarbutton#newbookmark[disabled="true"] { + -moz-image-region: rect(64px, 224px, 96px, 192px); +} + +toolbarbutton#newfolder { + -moz-image-region: rect(0px, 32px, 32px, 0px); +} +toolbarbutton#newfolder:active { + -moz-image-region: rect(32px, 32px, 64px, 0px); +} +toolbarbutton#newfolder[disabled="true"] { + -moz-image-region: rect(64px, 32px, 96px, 0px); +} + +toolbarbutton#newseparator { + -moz-image-region: rect(0px, 64px, 32px, 32px); +} +toolbarbutton#newseparator:active { + -moz-image-region: rect(32px, 64px, 64px, 32px); +} +toolbarbutton#newseparator[disabled="true"] { + -moz-image-region: rect(64px, 64px, 96px, 32px); +} + +toolbarbutton#moveBookmark { + -moz-image-region: rect(0px, 96px, 32px, 64px); +} +toolbarbutton#moveBookmark:active { + -moz-image-region: rect(32px, 96px, 64px, 64px); +} +toolbarbutton#moveBookmark[disabled="true"] { + -moz-image-region: rect(64px, 96px, 96px, 64px); +} + +toolbarbutton#properties { + -moz-image-region: rect(0px, 128px, 32px, 96px); +} +toolbarbutton#properties:active { + -moz-image-region: rect(32px, 128px, 64px, 96px); +} +toolbarbutton#properties[disabled="true"] { + -moz-image-region: rect(64px, 128px, 96px, 96px); +} + +toolbarbutton#rename { + -moz-image-region: rect(0px, 160px, 32px, 128px); +} +toolbarbutton#rename:active { + -moz-image-region: rect(32px, 160px, 64px, 128px); +} +toolbarbutton#rename[disabled="true"] { + -moz-image-region: rect(64px, 160px, 96px, 128px); +} + +toolbarbutton#delete { + -moz-image-region: rect(0px, 192px, 32px, 160px); +} +toolbarbutton#delete:active { + -moz-image-region: rect(32px, 192px, 64px, 160px); +} +toolbarbutton#delete[disabled="true"] { + -moz-image-region: rect(64px, 192px, 96px, 160px); +} + +#bookmarks-search { + background-image: none; +} diff --git a/browser/base/skin/mac/bookmarks/folderarrow-hover.png b/browser/base/skin/mac/bookmarks/folderarrow-hover.png new file mode 100644 index 000000000000..f738baa07787 Binary files /dev/null and b/browser/base/skin/mac/bookmarks/folderarrow-hover.png differ diff --git a/browser/base/skin/mac/bookmarks/folderarrow.png b/browser/base/skin/mac/bookmarks/folderarrow.png new file mode 100644 index 000000000000..c00faf78006d Binary files /dev/null and b/browser/base/skin/mac/bookmarks/folderarrow.png differ diff --git a/browser/base/skin/mac/browser.css b/browser/base/skin/mac/browser.css new file mode 100755 index 000000000000..35e1cb3bb956 --- /dev/null +++ b/browser/base/skin/mac/browser.css @@ -0,0 +1,791 @@ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: NPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Netscape Public License + * Version 1.1 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * http://www.mozilla.org/NPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998-1999 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Joe Hewitt (hewitt@netscape.com) + * Jason Kersey (kerz@netscape.com) + * Pierre Chanial (chanial@noos.fr) + * Kevin Gerich (webmail@kmgerich.com) + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the NPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the NPL, the GPL or the LGPL. + * ***** END LICENSE BLOCK ***** */ + +@import url("chrome://global/skin/"); + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +#main-window { + -moz-appearance: none; +} + +/* ::::: bookmark buttons ::::: */ + +toolbarbutton.bookmark-item[type=menu] { + padding-left: 7px; +} + +toolbarbutton.bookmark-item[type=menu] > .toolbarbutton-menu-dropmarker { + padding-right: 7px; +} + +toolbarbutton.bookmark-item:not([type=menu]) { + -moz-binding: url("chrome://browser/skin/browser.xml#bm-toolbarbutton"); +} + +toolbarbutton.bookmark-item { + margin: 1px; + padding: 1px 0px 1px 0px; + min-width: 0; + max-width: 13em; + font-weight: bold; + color: #565656; + border: none !important; +} + +.bookmark-item > .toolbarbutton-icon { + margin: 0px; + display: none; + +} + +toolbarbutton.bookmark-item .toolbarbutton-text { + font-size: 100% !important; + margin: 0px !important; +} + + +.bookmark-image-left, .bookmark-image-right { + width: 7px !important; + height: 16px; +} + +.bookmark-item:hover > .bookmark-image-left { + background: url("chrome://browser/skin/bookmark-hover-left.png") no-repeat center left; +} + +.bookmark-item:hover > .bookmark-image-right { + background: url("chrome://browser/skin/bookmark-hover-right.png") no-repeat center right; +} + +.bookmark-item:hover > .toolbarbutton-text { + background: url("chrome://browser/skin/bookmark-hover-mid.png") repeat-x; +} + +.bookmark-item:hover > .toolbarbutton-menu-dropmarker { + background: url("chrome://browser/skin/bookmark-hover-dropmarker.png") no-repeat; + list-style-image: url("chrome://browser/skin/bookmarks/folderarrow-hover.png"); +} + +toolbarbutton.bookmark-item[type=menu]:hover { + background: url("chrome://browser/skin/bookmark-hover-left.png") no-repeat center left; +} + +/* Prevent [mode="icons"] from hiding the label */ +.bookmark-item > .toolbarbutton-text { + display: -moz-box !important; + height: 16px !important; + padding-top: 1px; +} + +.bookmark-item > .toolbarbutton-menu-dropmarker { +list-style-image: url("chrome://browser/skin/bookmarks/folderarrow.png"); + height: 16px !important; +padding-top: 5px; +padding-left: 3px; +padding-bottom: 4px; +} + +.toolbarpaletteitem-box[type="bookmarks-toolbar"][place="palette"] { + background: url("chrome://browser/skin/bookmarks/Toolbar-bookmarks.png") no-repeat; +} + +.bookmarks-toolbar-customize { + display: none; + max-width: 15em !important; +} + +toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-customize { + display: -moz-box; +} + +toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-overflow-items { + visibility: hidden; +} + +toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-items { + visibility: hidden; +} + +/* ::::: bookmark menus ::::: */ + +.bookmark-item > .menu-iconic-left > .menu-iconic-icon { + width: 16px; + height: 16px; +} + +/* ..... drag and drop styles ..... */ + +.bookmark-item[dragover-left="true"] { + -moz-border-left-colors: #000000; +} +.bookmark-item[dragover-right="true"] { + -moz-border-right-colors: #000000; +} +.bookmark-item[dragover-top="true"] { + -moz-border-top-colors: #000000; +} +.bookmark-item[dragover-bottom="true"] { + -moz-border-bottom-colors: #000000; +} +/* ::::: primary toolbar buttons ::::: */ + +.toolbarbutton-1 { + min-width: 0px; + list-style-image: url("chrome://browser/skin/Toolbar.png"); + -moz-box-orient: vertical; +} + +.toolbarbutton-text { + margin: 0px; + padding: 0px; +} + +.toolbarbutton-menubutton-stack { + margin: 0px !important; + padding: 0px; + -moz-box-orient: horizontal; +} + + +.toolbarbutton-menubutton-button { + margin: 0px !important; + padding: 0px !important; +} + +.toolbarbutton-menubutton-stack > .toolbarbutton-menubutton-button { + -moz-box-orient: vertical; +} +toolbarbutton:not([disabled="true"]):hover, +menubutton:not([disabled="true"]):hover, +toolbarbutton:not([disabled="true"]):hover:active, +menubutton:not([disabled="true"]):hover:active { + color: ButtonText !important; +} + +.toolbarbutton-menubutton-stack, +.toolbarbutton-menubutton-button, +.toolbarbutton-menubutton-stack:hover, +.toolbarbutton-menubutton-button:hover, +.toolbarbutton-menubutton-stack:hover:active, +.toolbarbutton-menubutton-button:hover:active { + margin: 0px !important; + display: -moz-box; +} + +toolbar[mode="icons"] .toolbarbutton-text { + display: none; +} + +toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker, +toolbar[mode="text"] .toolbarbutton-icon { + display: none; +} + +toolbar[mode="text"] .toolbarbutton-text { + padding: 0px !important; + margin: 3px 5px !important; +} + +#back-button, #forward-button { + -moz-binding: url("chrome://browser/skin/browser.xml#toolbar-menu-button"); +} + +#back-button { + -moz-image-region: rect(0px 32px 32px 0px); +} +#back-button[buttondown="true"] { + -moz-image-region: rect(32px 32px 64px 0px); +} +#back-button[disabled="true"] { + -moz-image-region: rect(64px 32px 96px 0px); +} + +#forward-button { + -moz-image-region: rect(0px 64px 32px 32px); +} +#forward-button[buttondown="true"] { + -moz-image-region: rect(32px 64px 64px 32px); +} +#forward-button[disabled="true"] { + -moz-image-region: rect(64px 64px 96px 32px) !important; +} + +#reload-button { + -moz-image-region: rect(0px 128px 32px 96px); + padding-left: 3px; +} +#reload-button:active { + -moz-image-region: rect(32px 128px 64px 96px); +} +#reload-button[disabled="true"] { + -moz-image-region: rect(64px 128px 96px 96px) !important; +} + + +#stop-button { + -moz-image-region: rect(0px 96px 32px 64px); +} +#stop-button:active { + -moz-image-region: rect(32px 96px 64px 64px); +} +#stop-button[disabled="true"] { + -moz-image-region: rect(64px 96px 96px 64px) !important; +} + +#home-button { + -moz-image-region: rect(0px 160px 32px 128px); +} +#home-button:active { + -moz-image-region: rect(32px 160px 64px 128px); +} +#home-button[disabled="true"] { + -moz-image-region: rect(64px 160px 96px 128px) !important; +} + +#print-button { + -moz-image-region: rect(0px 288px 32px 256px); +} +#print-button:active { + -moz-image-region: rect(32px 288px 64px 256px); +} +#print-button[disabled="true"] { + -moz-image-region: rect(64px 288px 96px 256px); +} + +#new-tab-button { + -moz-image-region: rect(0px 320px 32px 288px); +} +#new-tab-button:active, +#new-tab-button[checked="true"] { + -moz-image-region: rect(32px 320px 64px 288px); +} +#new-tab-button[disabled="true"] { + -moz-image-region: rect(64px 320px 96px 288px); +} + +#new-window-button { + -moz-image-region: rect(0px 352px 32px 320px); +} +#new-window-button:active, +#new-window-button[checked="true"] { + -moz-image-region: rect(32px 352px 64px 320px); +} +#new-window-button[disabled="true"] { + -moz-image-region: rect(64px 352px 96px 320px); +} + +#downloads-button { + -moz-image-region: rect(0px 192px 32px 160px); +} +#downloads-button:active { + -moz-image-region: rect(32px 192px 64px 160px); +} +#downloads-button[disabled="true"] { + -moz-image-region: rect(64px 192px 96px 160px); +} + +#bookmarks-button { + -moz-image-region: rect(0px 256px 32px 224px); +} +#bookmarks-button:active { + -moz-image-region: rect(32px 256px 64px 224px); +} +#bookmarks-button[disabled="true"] { + -moz-image-region: rect(64px 256px 96px 224px); +} + +#history-button { + -moz-image-region: rect(0px 224px 32px 192px); +} +#history-button:active { + -moz-image-region: rect(32px 224px 64px 192px); +} +#history-button[disabled="true"] { + -moz-image-region: rect(64px 224px 96px 192px); +} + +#cut-button { + -moz-image-region: rect(0px 384px 32px 352px); +} +#cut-button:active, +#cut-button[checked="true"] { + -moz-image-region: rect(32px 384px 64px 352px); +} +#cut-button[disabled="true"] { + -moz-image-region: rect(64px 384px 96px 352px); +} + +#copy-button { + -moz-image-region: rect(0px 416px 32px 384px); +} +#copy-button:active, +#copy-button[checked="true"] { + -moz-image-region: rect(32px 416px 64px 384px); +} +#copy-button[disabled="true"] { + -moz-image-region: rect(64px 416px 96px 384px); +} + +#paste-button { + -moz-image-region: rect(0px 448px 32px 416px); +} +#paste-button:active, +#copy-button[checked="true"] { + -moz-image-region: rect(32px 448px 64px 416px); +} +#paste-button[disabled="true"] { + -moz-image-region: rect(64px 448px 96px 416px); +} + +/* ::::: small primary toolbar buttons ::::: */ + +toolbar[iconsize="small"] .toolbarbutton-1 { + list-style-image: url("chrome://browser/skin/Toolbar-small.png"); + padding: 1px 3px 1px 3px !important; +} + +toolbar[iconsize="small"] #back-button { + -moz-image-region: rect(0px 24px 24px 0px); +} + +toolbar[iconsize="small"] #back-button[buttondown="true"] { + -moz-image-region: rect(24px 24px 48px 0px); +} +toolbar[iconsize="small"] #back-button[disabled="true"] { + -moz-image-region: rect(48px 24px 72px 0px); +} + +toolbar[iconsize="small"] #forward-button { + -moz-image-region: rect(0px 48px 24px 24px); + padding-right: 2px; +} +toolbar[iconsize="small"] #forward-button[buttondown="true"] { + -moz-image-region: rect(24px 48px 48px 24px); +} +toolbar[iconsize="small"] #forward-button[disabled="true"] { + -moz-image-region: rect(48px 48px 72px 24px) !important; +} + +toolbar[iconsize="small"] #reload-button { + -moz-image-region: rect(0px 96px 24px 72px); +} +toolbar[iconsize="small"] #reload-button:active { + -moz-image-region: rect(24px 96px 48px 72px); +} +toolbar[iconsize="small"] #reload-button[disabled="true"] { + -moz-image-region: rect(48px 96px 72px 72px) !important; +} + +toolbar[iconsize="small"] #stop-button { + -moz-image-region: rect(0px 72px 24px 48px); +} +toolbar[iconsize="small"] #stop-button:active { + -moz-image-region: rect(24px 72px 48px 48px); +} +toolbar[iconsize="small"] #stop-button[disabled="true"] { + -moz-image-region: rect(48px 72px 72px 48px) !important; +} + +toolbar[iconsize="small"] #home-button { + -moz-image-region: rect(0px 120px 24px 96px); +} +toolbar[iconsize="small"] #home-button:active { + -moz-image-region: rect(24px 120px 48px 96px); +} + +toolbar[iconsize="small"] #print-button { + -moz-image-region: rect(0px 216px 24px 192px); +} +toolbar[iconsize="small"] #print-button:active { + -moz-image-region: rect(24px 216px 48px 192px); +} +toolbar[iconsize="small"] #print-button[disabled="true"] { + -moz-image-region: rect(48px 216px 72px 192px); +} + +toolbar[iconsize="small"] #downloads-button { + -moz-image-region: rect(0px 144px 24px 120px); +} +toolbar[iconsize="small"] #downloads-button:active { + -moz-image-region: rect(24px 144px 48px 120px); +} +toolbar[iconsize="small"] #downloads-button[disabled="true"] { + -moz-image-region: rect(48px 144px 72px 120px) !important; +} + +toolbar[iconsize="small"] #new-tab-button { + -moz-image-region: rect(0px 240px 24px 216px); +} +toolbar[iconsize="small"] #new-tab-button:active, +toolbar[iconsize="small"] #new-tab-button[checked="true"] { + -moz-image-region: rect(24px 240px 48px 216px); +} +toolbar[iconsize="small"] #new-tab-button[disabled="true"] { + -moz-image-region: rect(48px 240px 72px 216px) !important; +} + +toolbar[iconsize="small"] #new-window-button { + -moz-image-region: rect(0px 264px 24px 240px); +} +toolbar[iconsize="small"] #new-window-button:active { + -moz-image-region: rect(24px 264px 48px 240px); +} +toolbar[iconsize="small"] #new-window-button[disabled="true"] { + -moz-image-region: rect(48px 264px 72px 240px) !important; +} + +toolbar[iconsize="small"] #bookmarks-button { + -moz-image-region: rect(0px 192px 24px 168px); +} +toolbar[iconsize="small"] #bookmarks-button:active { + -moz-image-region: rect(24px 192px 48px 168px); +} +toolbar[iconsize="small"] #bookmarks-button[disabled="true"] { + -moz-image-region: rect(48px 192px 72px 168px) !important; +} + +toolbar[iconsize="small"] #history-button { + -moz-image-region: rect(0px 168px 24px 144px); +} +toolbar[iconsize="small"] #history-button:active, { + -moz-image-region: rect(24px 168px 48px 144px); +} +toolbar[iconsize="small"] #history-button[disabled="true"] { + -moz-image-region: rect(48px 168px 72px 144px) !important; +} + +toolbar[iconsize="small"] #cut-button { + -moz-image-region: rect(0px 288px 24px 264px); +} +toolbar[iconsize="small"] #cut-button:active { + -moz-image-region: rect(24px 288px 48px 264px); +} +toolbar[iconsize="small"] #cut-button[disabled="true"] { + -moz-image-region: rect(48px 288px 72px 264px) !important; +} + +toolbar[iconsize="small"] #copy-button { + -moz-image-region: rect(0px 312px 24px 288px); +} +toolbar[iconsize="small"] #copy-button:active { + -moz-image-region: rect(24px 312px 48px 288px); +} +toolbar[iconsize="small"] #copy-button[disabled="true"] { + -moz-image-region: rect(48px 312px 72px 288px) !important; +} + +toolbar[iconsize="small"] #paste-button { + -moz-image-region: rect(0px 336px 24px 312px); +} +toolbar[iconsize="small"] #paste-button:active { + -moz-image-region: rect(24px 336px 48px 312px); +} +toolbar[iconsize="small"] #paste-button[disabled="true"] { + -moz-image-region: rect(48px 336px 72px 312px) !important; +} +/* ::::: fullscreen window controls ::::: */ + +#window-controls { + -moz-box-align: center; + padding: 0 2px 0 4px; +} + +#minimize-button { + list-style-image: url("chrome://global/skin/icons/minimize.gif"); +} +#restore-button { + list-style-image: url("chrome://global/skin/icons/restore.gif"); +} +#close-button { + list-style-image: url("chrome://global/skin/icons/close.gif"); +} + +/* ::::: nav-bar-inner ::::: */ + +#urlbar { + margin: 5px 4px 5px 4px; + padding: 0px; + font: icon !important; +} + + +/* ::::: page proxy icon ::::: */ + +#page-proxy-deck, +#page-proxy-favicon, +#page-proxy-button, +#search-proxy-button { + width: 16px; + height: 16px; + margin: 0px; + padding: 0px; +} + +#page-proxy-deck { + cursor: -moz-grab; + //margin: 2px 3px; +} + +#page-proxy-favicon { + list-style-image: none; +} + +#page-proxy-button { + list-style-image: url("chrome://browser/skin/bookmarks/bookmark-item.png"); +} + +#page-proxy-button[pageproxystate="invalid"] { + cursor: default; + -moz-opacity: 0.5; +} + + +statusbarpanel#statusbar-display { + padding-left: 0; +} + +/* ::::: search-bar ::::: */ + +#search-proxy-button { + padding: 3px 0px 2px 7px; + list-style-image: url("chrome://browser/skin/Search-bar-wdropmarker.png"); + background: url("chrome://browser/skin/SearchBarLeft.png") no-repeat; + width: 23px !important; +} + +#miSearchModeFind, #__PhoenixFindInPage { + list-style-image: url("chrome://browser/skin/Search-bar.png"); +} + +#miSearchModeFind[checked="true"] { + list-style-image: url("chrome://global/skin/menu/menu-check.png"); +} + +/* ::::: autocomplete ::::: */ + +.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) { + color: #555566; +} + +/* ::::: go button ::::: */ + +#go-button, +#go-container { + -moz-appearance: none; + background-color: transparent; + margin: 0; + padding: 0; + min-width: 0; + list-style-image: url("chrome://browser/skin/Go.png"); + -moz-image-region: rect(0px, 20px, 20px, 0px); +} + +#go-button { + -moz-appearance: toolbarbutton; +} + +#go-button:hover:active { + -moz-image-region: rect(0px, 40px, 20px, 20px); +} + +#go-button[disabled="true"] { + -moz-image-region: rect(0px, 60px, 20px, 40px); +} + +#go-button > .button-box > .button-text { + margin-left: 5px !important; +} + +#go-button > .button-box { + border: none; +} + +sidebarheader { + border-bottom: 1px solid #A3A3A3; + background: url("chrome://global/skin/inset_gradient_1px.png") repeat !important; +} + +#sidebar-box { + -moz-appearance: dialog; +} + +#sidebar-splitter { + // background: url("chrome://global/skin/splitter/splitter-hrz-mid.png") transparent repeat center; + border-right: 1px solid #8e8e8e; + border-left: 1px solid #bebebe; + background-color: #ececec; +} + +#sidebar-title { + font: icon; + color: #000; +} + +#sidebar-throbber[loading="true"] { + list-style-image: url("chrome://global/skin/icons/loading_16.gif"); +} + + +/* ::::: content area ::::: */ + +#security-button { + display: none; +} + +#security-button[level="high"] { + list-style-image: url("chrome://browser/skin/Secure.png"); + display: -moz-box; +} + +#security-button[level="low"] { + list-style-image: url("chrome://browser/skin/Secure.png"); + display: -moz-box; +} + +#security-button[level="broken"] { + list-style-image: url("chrome://browser/skin/Security-broken.png"); + display: -moz-box; +} + +#page-report-button { + display: none; +} + +#page-report-button[blocked] { + display: -moz-box; + list-style-image: url("chrome://browser/skin/Popup-blocked.png"); + padding: 0px 3px 0px 3px; +} + +#page-theme-button { + display: none; +} + +#page-theme-button[themes] { + display: -moz-box; + list-style-image: url("chrome://browser/skin/page-themes.png"); + padding: 0px 3px 0px 3px; +} + +/* :::::: throbber :::::::::: */ + +#navigator-throbber { + -moz-appearance: none; + -moz-user-focus: ignore; + -moz-box-pack: center; + margin: 0px 1px 0px 1px !important; + border: none !important; + padding: 0px !important; + min-width: 0; + background-color: transparent; + list-style-image: url("chrome://global/skin/icons/notloading_16.png"); + padding: 8px !important; + +} + + +#navigator-throbber[busy="true"] { + list-style-image: url("chrome://global/skin/icons/loading_16.gif"); +} + +toolbar[iconsize="small"] #navigator-throbber, +toolbar[mode="text"] #navigator-throbber { + list-style-image: url("chrome://global/skin/icons/notloading_16.png"); + padding: 4px !important; +} +toolbar[iconsize="small"] #navigator-throbber[busy="true"], +toolbar[mode="text"] #navigator-throbber[busy="true"] { + list-style-image: url("chrome://global/skin/icons/loading_16.gif"); +} + +toolbarbutton.chevron { + list-style-image: url("chrome://global/skin/icons/chevron.png") !important; +} + + +toolbarbutton.chevron > .toolbarbutton-menu-dropmarker { + display: none; +} + + +#search-bar > .autocomplete-textbox-container { + background: url("chrome://browser/skin/SearchBarRight.png") right center no-repeat; + border: none; + padding-right: 10px; + margin: 0px; +} + +#search-bar { + width: 14em; + margin: 4px 5px 4px 5px; + background: transparent; + -moz-appearance: none !important; + height: 21px !important; + border: none !important; +} +#search-bar .textbox-input-box { + background: url("chrome://browser/skin/SearchBarMiddle.png") repeat-x !important; + margin: 0px 0px 0px -2px; + padding: 2px 0px 0px 6px; + font: icon; +} + +#PersonalToolbar { + //background: url("chrome://browser/skin/personal-toolbar-background.png") #FFFFFF repeat-x center center !important; + background-image: none; +} + +.bookmark-item { + list-style-image: url("chrome://browser/skin/bookmarks/bookmark-item.png"); +} + +.tabs-left { + display: none !important; +} + +/* ::::: close button ::::: */ .tabs-closebutton { + padding-right: 4px; + list-style-image: url("chrome://global/skin/icons/closetab.png") !important; + list-style-image: none; + border: none; } + +.tabs-closebutton:hover:active { + list-style-image: url("chrome://global/skin/icons/closetab-active.png") !important; +} diff --git a/browser/base/skin/mac/browser.xml b/browser/base/skin/mac/browser.xml new file mode 100755 index 000000000000..b05af13a6252 --- /dev/null +++ b/browser/base/skin/mac/browser.xml @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/browser/base/skin/mac/contents.rdf b/browser/base/skin/mac/contents.rdf new file mode 100755 index 000000000000..99dc48f79851 --- /dev/null +++ b/browser/base/skin/mac/contents.rdf @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + diff --git a/browser/base/skin/mac/downloads/downloadmanager.css b/browser/base/skin/mac/downloads/downloadmanager.css new file mode 100755 index 000000000000..f1180e3d69f1 --- /dev/null +++ b/browser/base/skin/mac/downloads/downloadmanager.css @@ -0,0 +1,56 @@ +.bold { + font-weight: bold; +} + +#downloadView { + padding: 10px 0px 10px 10px; + background-color: #FFFFFF; + +} + +download { + padding: 3px 0px 3px 3px; + min-height: 25px; +} + +#downloadHistoryView > treechildren::-moz-tree-image(Name) { + margin-right: 2px; +} + +.indented { + margin-left: 17px; +} + +listcell { + margin-top: 2px; + margin-bottom: 2px; + margin-left: 4px; + margin-right: 4px; +} + +.link { + cursor: pointer; + -moz-user-focus: normal; + border: 1px solid transparent; + text-decoration: underline; + color: blue; +} + +#close-button { + list-style-image: url("chrome://global/skin/icons/closetab.png"); +} + +sidebarheader { + border-bottom: 1px solid #A3A3A3; + background: url("chrome://global/skin/inset_gradient_1px.png") repeat !important; + margin: 0px; +} + +#downloadView { + border-bottom: 1px solid #a3a3a3 !important; +} + +sidebarheader > label { + font: icon; + color: #404040; +} diff --git a/browser/base/skin/mac/jar.mn b/browser/base/skin/mac/jar.mn new file mode 100644 index 000000000000..00a2d9042dc2 --- /dev/null +++ b/browser/base/skin/mac/jar.mn @@ -0,0 +1,35 @@ +classic.jar: + skin/classic/browser/bookmark-hover-dropmarker.png + skin/classic/browser/bookmark-hover-left.png + skin/classic/browser/bookmark-hover-mid.png + skin/classic/browser/bookmark-hover-right.png + skin/classic/browser/browser.css + skin/classic/browser/browser.xml + skin/classic/browser/contents.rdf + skin/classic/browser/Go.png + skin/classic/browser/Info.png + skin/classic/browser/lock-insecure.gif + skin/classic/browser/lock-mixed.gif + skin/classic/browser/page-themes.png + skin/classic/browser/pageInfo.css + skin/classic/browser/personal-toolbar-background.png + skin/classic/browser/Popup-blocked.png + skin/classic/browser/Search-bar-wdropmarker.png + skin/classic/browser/Search-bar.png + skin/classic/browser/SearchBarLeft.png + skin/classic/browser/SearchBarMiddle.png + skin/classic/browser/SearchBarRight.png + skin/classic/browser/Secure.png + skin/classic/browser/Security-broken.png + skin/classic/browser/Toolbar-small.png + skin/classic/browser/Toolbar.png + skin/classic/browser/bookmarks/bookmark-folder.png (bookmarks/bookmark-folder.png) + skin/classic/browser/bookmarks/bookmark-item.png (bookmarks/bookmark-item.png) + skin/classic/browser/bookmarks/Bookmarks-toolbar.png (bookmarks/Bookmarks-toolbar.png) + skin/classic/browser/bookmarks/bookmarksManager.css (bookmarks/bookmarksManager.css) + skin/classic/browser/bookmarks/folderarrow-hover.png (bookmarks/folderarrow-hover.png) + skin/classic/browser/bookmarks/folderarrow.png (bookmarks/folderarrow.png) + skin/classic/browser/downloads/downloadmanager.css (downloads/downloadmanager.css) + skin/classic/browser/pref/Options.png (pref/Options.png) + skin/classic/browser/pref/pref.css (pref/pref.css) + diff --git a/browser/base/skin/mac/lock-insecure.gif b/browser/base/skin/mac/lock-insecure.gif new file mode 100755 index 000000000000..addb6b9fc1d0 Binary files /dev/null and b/browser/base/skin/mac/lock-insecure.gif differ diff --git a/browser/base/skin/mac/lock-mixed.gif b/browser/base/skin/mac/lock-mixed.gif new file mode 100755 index 000000000000..82e4391ffe4f Binary files /dev/null and b/browser/base/skin/mac/lock-mixed.gif differ diff --git a/browser/base/skin/mac/page-themes.png b/browser/base/skin/mac/page-themes.png new file mode 100644 index 000000000000..ffcd89f1069b Binary files /dev/null and b/browser/base/skin/mac/page-themes.png differ diff --git a/browser/base/skin/mac/pageInfo.css b/browser/base/skin/mac/pageInfo.css new file mode 100644 index 000000000000..4ec807dc4789 --- /dev/null +++ b/browser/base/skin/mac/pageInfo.css @@ -0,0 +1,51 @@ +/* ***** BEGIN LICENSE BLOCK ***** + * Version: NPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Netscape Public License + * Version 1.1 (the "License"); you may not use this file except in + * compliance with the License. You may obtain a copy of the License at + * http://www.mozilla.org/NPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is mozilla.org code. + * + * The Initial Developer of the Original Code is + * Netscape Communications Corporation. + * Portions created by the Initial Developer are Copyright (C) 1998-1999 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * Kevin Gerich (webmail@kmgerich.com) + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the NPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the NPL, the GPL or the LGPL. + * ***** END LICENSE BLOCK ***** */ + +@import "chrome://global/skin/"; tree { margin: .5em; } textbox, textbox > .textbox-internal-box, textbox > .textarea-internal-box { + background: transparent !important; border: none; padding: 0px; -moz-appearance: none; +} +textbox.header { + margin-left: 0; } + +.iframe { margin: .5em; + background: white; + overflow: auto; +} + +#thepreviewimage { margin: 1em; +} + +.fixedsize { height: 8.5em; } \ No newline at end of file diff --git a/browser/base/skin/mac/personal-toolbar-background.png b/browser/base/skin/mac/personal-toolbar-background.png new file mode 100644 index 000000000000..53e87697aabc Binary files /dev/null and b/browser/base/skin/mac/personal-toolbar-background.png differ diff --git a/browser/base/skin/mac/pref/Options.png b/browser/base/skin/mac/pref/Options.png new file mode 100644 index 000000000000..58eacc1d030f Binary files /dev/null and b/browser/base/skin/mac/pref/Options.png differ diff --git a/browser/base/skin/mac/pref/pref.css b/browser/base/skin/mac/pref/pref.css new file mode 100755 index 000000000000..9756e32ae48e --- /dev/null +++ b/browser/base/skin/mac/pref/pref.css @@ -0,0 +1,198 @@ +/* +# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is Mozilla.org Code. +# +# The Initial Developer of the Original Code is +# Doron Rosenberg. +# Portions created by the Initial Developer are Copyright (C) 2001 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# Ben Goodger (Original Author) +# Kevin Gerich (webmail@kmgerich.com) +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 2 or later (the "GPL"), or +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** +*/ + +page { + font: menu; +} + +page description { + font-size: 95%; +} + +page button { + -moz-appearance: button-small; + font: message-box; +} + +#pref-navigator { + font: menu !important; +} + +.listBox { + -moz-appearance: none; + margin: 2px 4px; + background: none; + border-top: 1px solid #A1A1A1; + border-right: 1px solid #C3C3C3; + border-bottom: 1px solid #DDDDDD; + border-left: 1px solid #C3C3C3; + background-color: #FFFFFF; +} + + +.buttonBox { + margin: 0px 5px 0px 0px !important; + -moz-border-left-colors: transparent; + -moz-border-bottom-colors: transparent; + -moz-border-top-colors: transparent; + background-color: transparent; +} + +#prefsCategories { + -moz-border-right-colors: #A7A7A7; +} + +.buttonBoxButton { + -moz-appearance: none; + border: none; + list-style-image: url("chrome://browser/skin/pref/Options.png"); + margin: 0px 0px; + padding: 6px 4px; + background-image: none; + border-top: 1px solid transparent; + border-bottom: 1px solid transparent; + border-left: 1px solid transparent; + font: icon; +} + +.buttonBoxButton > .button-box { + border: none !important; +} + +.buttonBoxButton > .button-box > .button-icon { + width: 32px; + height: 32px; +} + +.buttonBoxButton[checked="true"] { + border: none; + background: url("chrome://global/skin/10pct_transparent_pixel.png") repeat; + border-top: 1px solid #A7A7A7; + border-bottom: 1px solid #A7A7A7; + border-left: 1px solid #A7A7A7; + +} + +#catGeneralButton {-moz-image-region: rect(0px, 32px, 32px, 0px)} +#catPrivacyButton {-moz-image-region: rect(0px, 64px, 32px, 32px)} +#catFeaturesbutton {-moz-image-region: rect(0px, 96px, 32px, 64px)} +#catThemesButton {-moz-image-region: rect(0px, 128px, 32px, 96px)} +#catExtButton {-moz-image-region: rect(0px, 160px, 32px, 128px)} +#catAdvancedButton {-moz-image-region: rect(0px, 192px, 32px, 160px)} +#catDownloadsButton {-moz-image-region: rect(0px, 224px, 32px, 192px)} + +.indent { + margin-left: 23px; + margin-right: 23px; +} + +.uniWidthButton { + min-width: 8em; +} + +/** Privacy Panel Expander Box **/ +#privacyCategories { + margin: 5px; + padding: 5px; +} + +.settingsContainer { + padding: 3px 5px 5px 20px; +} + +.expanderButton { + cursor: default; + -moz-appearance: treetwisty; + width: 10px; /* The image's width is 10 pixels */ + font-weight: bold; + margin-top: -2px; +} + +.expanderButton:hover:active, +.expanderButton[open="true"]:hover:active { + background: transparent; +} + +expander { + border: 1px solid #a3a3a3; + margin: 0px 0px 3px 0px; +} + +.expanderButton[open="true"] { + -moz-appearance: treetwistyopen; +} + +.header { + -moz-appearance: none !important; + margin: 6px; +} + +/* Themes/Extensions Items */ +.themesLink { + margin-left: 5px; + text-decoration: underline; + color: blue; + cursor: pointer; +} + +.themesLink:active { + color: red; +} + +#previewImageContainer { + height: 93px; + padding: 1px; +} + +#previewImage { + max-width: 355px; + min-width: 355px; + max-height: 85px; + min-height: 85px; +} + +.extensionInfoArea { + background-color: -moz-Field !important; + height: 10em; +} + +button { + -moz-appearance: button-small; +} \ No newline at end of file