bugzilla 84077 r=blake, sr=hewitt - adds image precaching elements to windows classic skin.

This commit is contained in:
andreww%netscape.com 2001-07-05 17:27:47 +00:00
Родитель 1163402894
Коммит 660d6d281f
12 изменённых файлов: 214 добавлений и 1 удалений

Просмотреть файл

@ -26,6 +26,11 @@
in order to share with all users of editor
*/
/********* image pre-cacheing ********/
#resource_bundle_editor{
-moz-binding : url('chrome://editor/skin/resources.xml#resource_bundle_editor')
}
#content-frame {
min-width: 10px;
min-height: 10px;

Просмотреть файл

@ -4,4 +4,5 @@ classic.jar:
skin/classic/editor/EdImageMapPage.css (EdImageMapPage.css)
skin/classic/editor/EditorDialog.css (EditorDialog.css)
skin/classic/editor/EditorToolbars.css (EditorToolbars.css)
skin/classic/editor/resources.xml (resources.xml)
skin/classic/editor/editor.css (editor.css)

Просмотреть файл

@ -0,0 +1,43 @@
<?xml version="1.0"?>
<bindings id="EditorResourcesBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<binding id="resource_bundle_editor" extends="" >
<resources>
<!-- begin resources -->
<image src="chrome://editor/skin/images/newfile-hover.gif" />
<image src="chrome://editor/skin/images/newfile-hover-active.gif" />
<image src="chrome://editor/skin/images/openfile-hover.gif" />
<image src="chrome://editor/skin/images/openfile-hover-active.gif" />
<image src="chrome://editor/skin/images/savefile-disabled.gif" />
<image src="chrome://editor/skin/images/savefile-hover.gif" />
<image src="chrome://editor/skin/images/savefile-hover-active.gif" />
<image src="chrome://editor/skin/images/savefile-hover.gif" />
<image src="chrome://editor/skin/images/savefile-hover-active.gif" />
<image src="chrome://editor/skin/images/preview-hover.gif" />
<image src="chrome://editor/skin/images/preview-hover-active.gif" />
<image src="chrome://editor/skin/images/print-hover.gif" />
<image src="chrome://editor/skin/images/print-hover-active.gif" />
<image src="chrome://editor/skin/images/link-hover.gif" />
<image src="chrome://editor/skin/images/link-hover-active.gif" />
<image src="chrome://editor/skin/images/image-hover.gif" />
<image src="chrome://editor/skin/images/image-hover-active.gif" />
<image src="chrome://editor/skin/images/anchor-hover.gif" />
<image src="chrome://editor/skin/images/anchor-hover-active.gif" />
<image src="chrome://editor/skin/images/hline-hover.gif" />
<image src="chrome://editor/skin/images/hline-hover-active.gif" />
<image src="chrome://editor/skin/images/table-hover.gif" />
<image src="chrome://editor/skin/images/table-hover-active.gif" />
<image src="chrome://editor/skin/images/spell-hover.gif" />
<image src="chrome://editor/skin/images/spell-hover-active.gif" />
<!-- end resources -->
</resources>
</binding>
</bindings>

Просмотреть файл

@ -23,6 +23,12 @@ Rights Reserved.
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */
@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for XUL elements */
/********** addressbook image precaching ***********/
#resource_bundle_addressbook {
-moz-binding: url('chrome://messenger/skin/addressbook/resources.xml#resource_bundle_addressbook');
}
/* CardView styles - used in the Card View Pane */
#CardViewOuterBox {

Просмотреть файл

@ -1,2 +1,3 @@
classic.jar:
skin/classic/messenger/addressbook/addressbook.css (addressbook.css)
skin/classic/messenger/addressbook/resources.xml (resources.xml)

Просмотреть файл

@ -0,0 +1,30 @@
<?xml version="1.0"?>
<bindings id="resourcesBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<binding id="resource_bundle_addressbook" extends="" >
<resources>
<!-- begin resources -->
<image src="chrome://messenger/skin/addressbook/newcard-hover.gif" />
<image src="chrome://messenger/skin/addressbook/newcard-hover-active.gif" />
<image src="chrome://messenger/skin/addressbook/newlist-hover.gif" />
<image src="chrome://messenger/skin/addressbook/newlist-hover-active.gif" />
<image src="chrome://messenger/skin/addressbook/person-hover.gif" />
<image src="chrome://messenger/skin/addressbook/person-hover-active.gif" />
<image src="chrome://messenger/skin/addressbook/newmsg-hover.gif" />
<image src="chrome://messenger/skin/addressbook/newmsg-hover-active.gif" />
<image src="chrome://messenger/skin/addressbook/trash-hover.gif" />
<image src="chrome://messenger/skin/addressbook/trash-hover-active.gif" />
<image src="chrome://global/skin/stop-hover.gif" />
<image src="chrome://global/skin/stop-hover-active.gif" />
<image src="chrome://messenger/skin/addressbook/searchold-hover.gif" />
<image src="chrome://messenger/skin/addressbook/searchold-hover-active.gif" />
<!-- end resources -->
</resources>
</binding>
</bindings>

Просмотреть файл

@ -5,4 +5,6 @@ classic.jar:
skin/classic/messenger/folderPane.css
skin/classic/messenger/messenger.css
skin/classic/messenger/subscribe.css
skin/classic/messenger/resources.xml
skin/classic/messenger/msgAccountCentral.css

Просмотреть файл

@ -29,7 +29,14 @@
display : none;
}
/**
/*** image precacheing **/
#resource_bundle_messenger
{
-moz-binding : url("chrome://messenger/skin/resources.xml#resource_bundle_messenger");
}
/**
* toolbar button images
*/
#button-getmsg

Просмотреть файл

@ -0,0 +1,84 @@
<?xml version="1.0"?>
<bindings id="resourcesBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<binding id="resource_bundle_messenger" extends="">
<resources>
<image src="chrome://messenger/skin/getmsg-disabled.gif"/>
<image src="chrome://messenger/skin/getmsg-hover.gif"/>
<image src="chrome://messenger/skin/getmsg-hover-active.gif"/>
<image src="chrome://messenger/skin/newmsg.gif"/>
<image src="chrome://messenger/skin/newmsg-disabled.gif"/>
<image src="chrome://messenger/skin/newmsg-hover.gif"/>
<image src="chrome://messenger/skin/newmsg-hover-active.gif"/>
<image src="chrome://messenger/skin/mark.gif"/>
<image src="chrome://messenger/skin/mark-disabled.gif"/>
<image src="chrome://messenger/skin/mark-hover.gif"/>
<image src="chrome://messenger/skin/mark-clicked.gif"/>
<image src="chrome://messenger/skin/reply.gif"/>
<image src="chrome://messenger/skin/reply-disabled.gif"/>
<image src="chrome://messenger/skin/reply-hover.gif"/>
<image src="chrome://messenger/skin/reply-hover-active.gif"/>
<image src="chrome://messenger/skin/replyall.gif"/>
<image src="chrome://messenger/skin/replyall-disabled.gif"/>
<image src="chrome://messenger/skin/replyall-hover.gif"/>
<image src="chrome://messenger/skin/replyall-hover-active.gif"/>
<image src="chrome://messenger/skin/forward.gif"/>
<image src="chrome://messenger/skin/forward-disabled.gif"/>
<image src="chrome://messenger/skin/forward-hover.gif"/>
<image src="chrome://messenger/skin/forward-hover-active.gif"/>
<image src="chrome://messenger/skin/file.gif"/>
<image src="chrome://messenger/skin/file-disabled.gif"/>
<image src="chrome://messenger/skin/file-hover.gif"/>
<image src="chrome://messenger/skin/file-hover-active.gif"/>
<image src="chrome://messenger/skin/next.gif"/>
<image src="chrome://messenger/skin/next-disabled.gif"/>
<image src="chrome://messenger/skin/next-hover.gif"/>
<image src="chrome://messenger/skin/next-hover-active.gif"/>
<image src="chrome://messenger/skin/trash.gif"/>
<image src="chrome://messenger/skin/trash-disabled.gif"/>
<image src="chrome://messenger/skin/trash-hover.gif"/>
<image src="chrome://messenger/skin/trash-hover-active.gif"/>
<image src="chrome://global/skin/print.gif"/>
<image src="chrome://global/skin/print-disabled.gif"/>
<image src="chrome://global/skin/print-hover.gif"/>
<image src="chrome://global/skin/print-hover-active.gif"/>
<image src="chrome://global/skin/stop.gif"/>
<image src="chrome://global/skin/stop-disabled.gif"/>
<image src="chrome://global/skin/stop-hover.gif"/>
<image src="chrome://global/skin/stop-hover-active.gif"/>
<!-- end resources -->
</resources>
</binding>
<binding id="resource_bundle_messengercompose" extends="">
<resources>
<image src="chrome://messenger/skin/messengercompose/send-hover.gif"/>
<image src="chrome://messenger/skin/messengercompose/send-hover-active.gif"/>
<image src="chrome://messenger/skin/messengercompose/address-disabled.gif"/>
<image src="chrome://messenger/skin/messengercompose/address-hover.gif"/>
<image src="chrome://messenger/skin/messengercompose/address-hover-active.gif"/>
<image src="chrome://messenger/skin/messengercompose/attach-hover.gif"/>
<image src="chrome://messenger/skin/messengercompose/attach-hover-active.gif"/>
<image src="chrome://messenger/skin/messengercompose/quote-hover.gif"/>
<image src="chrome://messenger/skin/messengercompose/quote-hover-active.gif"/>
<image src="chrome://messenger/skin/messengercompose/spelling-hover.gif"/>
<image src="chrome://messenger/skin/messengercompose/spelling-hover-active.gif"/>
<image src="chrome://messenger/skin/messengercompose/savemsg-hover.gif"/>
<image src="chrome://messenger/skin/messengercompose/savemsg-hover-active.gif"/>
<image src="chrome://global/skin/stop-hover.gif"/>
<image src="chrome://global/skin/stop-hover-active.gif"/>
</resources>
</binding>
</bindings>

Просмотреть файл

@ -1,2 +1,4 @@
classic.jar:
skin/classic/navigator/navigator.css
skin/classic/navigator/resources.xml

Просмотреть файл

@ -6,6 +6,13 @@
@import url(chrome://navigator/skin/personalToolbar.css);
@import url(chrome://communicator/skin/sidebar/sidebar.css);
/********** resource bundle binding **********/
#resource_bundle_navigator
{
-moz-binding : url('chrome://navigator/skin/resources.xml#resource_bundle_navigator')
}
#content
{
border-left : 1px solid ThreeDDarkShadow;

Просмотреть файл

@ -0,0 +1,25 @@
<?xml version="1.0"?>
<bindings id="NavigatorResourcesBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<binding id="resource_bundle_navigator" extends="" >
<resources>
<!-- begin resources -->
<image src="chrome://navigator/skin/back-hover.gif" />
<image src="chrome://navigator/skin/back-hover-active.gif" />
<image src="chrome://navigator/skin/forward-hover.gif" />
<image src="chrome://navigator/skin/forward-hover-active.gif" />
<image src="chrome://navigator/skin/stop-hover.gif" />
<image src="chrome://navigator/skin/stop-hover-active.gif" />
<image src="chrome://navigator/skin/reload-hover.gif" />
<image src="chrome://navigator/skin/reload-hover-active.gif" />
<image src="chrome://global/skin/print-hover.gif" />
<image src="chrome://global/skin/print-hover-active.gif" />
<!-- end resources -->
</resources>
</binding>
</bindings>