.toolbarpaletteitem-box[type="bookmarks-toolbar"][place="palette"] {
width: 32px;
height: 32px;
- background: url("chrome://browser/skin/Bookmarks-folder.png") no-repeat;
+ background: url("chrome://browser/skin/icons/bookmarks-folder.gif") no-repeat;
}
.bookmarks-toolbar-customize {
.toolbarbutton-1 {
-moz-box-orient: vertical;
min-width: 0px;
- list-style-image: url("chrome://browser/skin/Toolbar.png");
}
toolbarbutton:not([disabled="true"]):hover,
}
#new-tab-button {
- -moz-image-region: rect(0px 320px 32px 288px);
-}
-#new-tab-button:hover,
-#new-tab-button[checked="true"] {
- -moz-image-region: rect(32px 320px 64px 288px);
+ list-style-image: url("chrome://browser/skin/icons/new-tab.gif");
}
#new-tab-button[disabled="true"] {
- -moz-image-region: rect(64px 320px 96px 288px);
+ list-style-image: url("chrome://browser/skin/icons/new-tab-disabled.gif");
}
#new-window-button {
- -moz-image-region: rect(0px 352px 32px 320px);
-}
-#new-window-button:hover,
-#new-window-button[checked="true"] {
- -moz-image-region: rect(32px 352px 64px 320px);
+ list-style-image: url("chrome://browser/skin/icons/new-window.gif");
}
#new-window-button[disabled="true"] {
- -moz-image-region: rect(64px 352px 96px 320px);
+ list-style-image: url("chrome://browser/skin/icons/new-window-disabled.gif");
}
#downloads-button {
/* ::::: small primary toolbar buttons ::::: */
-toolbar[iconsize="small"] .toolbarbutton-1 {
- list-style-image: url("chrome://browser/skin/Toolbar-small.png");
-}
-
toolbar[iconsize="small"] #back-button {
list-style-image: url("chrome://browser/skin/icons/back-small.gif");
}
}
toolbar[iconsize="small"] #new-tab-button {
- -moz-image-region: rect(0px 200px 20px 180px);
-}
-toolbar[iconsize="small"] #new-tab-button:hover,
-toolbar[iconsize="small"] #new-tab-button[checked="true"] {
- -moz-image-region: rect(20px 200px 40px 180px);
+ list-style-image: url("chrome://browser/skin/icons/new-tab-small.gif");
}
toolbar[iconsize="small"] #new-tab-button[disabled="true"] {
- -moz-image-region: rect(40px 200px 60px 180px) !important;
+ list-style-image: url("chrome://browser/skin/icons/new-tab-small-disabled.gif");
}
toolbar[iconsize="small"] #new-window-button {
- -moz-image-region: rect(0px 220px 20px 200px);
-}
-toolbar[iconsize="small"] #new-window-button:hover,
-toolbar[iconsize="small"] #new-window-button[checked="true"] {
- -moz-image-region: rect(20px 220px 40px 200px);
+ list-style-image: url("chrome://browser/skin/icons/new-window-small.gif");
}
toolbar[iconsize="small"] #new-window-button[disabled="true"] {
- -moz-image-region: rect(40px 220px 60px 200px) !important;
+ list-style-image: url("chrome://browser/skin/icons/new-window-small-disabled.gif");
}
toolbar[iconsize="small"] #bookmarks-button {
}
#page-proxy-button {
- list-style-image: url("chrome://global/skin/icons/Folder-item.png") !important;
- -moz-image-region: rect(0px, 16px, 16px, 0px);}
+ list-style-image: url("chrome://browser/skin/icons/bookmark-item.png") !important;
#page-proxy-button[pageproxystate="invalid"] {
cursor: default;
- -moz-image-region: rect(32px, 16px, 48px, 0px); !important;
+ list-style-image: none !important;
}
#search-proxy-button {
margin: 2px;
- list-style-image: url("chrome://browser/skin/Search-bar.png");
+ list-style-image: url("chrome://browser/skin/icons/search-bar.gif");
}
/* ::::: autocomplete ::::: */
margin: 0;
padding: 0;
min-width: 0;
- list-style-image: url("chrome://browser/skin/Go.png");
- -moz-image-region: rect(0px, 20px, 20px, 0px);
+ list-style-image: url("chrome://browser/skin/icons/go.gif");
}
#go-button {
- -moz-appearance: toolbarbutton;
border-width: 1px !important;
-moz-border-top-colors: transparent;
-moz-border-right-colors: transparent;
-moz-border-bottom-colors: transparent;
-moz-border-left-colors: transparent;
- -moz-appearance: toolbarbutton;
}
#go-button:hover {
-moz-border-right-colors: ThreeDShadow;
-moz-border-bottom-colors: ThreeDShadow;
-moz-border-left-colors: ThreeDHighlight;
- -moz-image-region: rect(0px, 40px, 20px, 20px);
}
#go-button:hover:active {
}
#go-button[disabled="true"] {
- -moz-image-region: rect(0px, 60px, 20px, 40px);
+ list-style-image: url("chrome://browser/skin/icons/go-disabled.gif");
border-color: transparent;
}
}
#security-button[level="high"] {
- list-style-image: url("chrome://browser/skin/Secure.png");
+ list-style-image: url("chrome://browser/skin/icons/secure.gif");
display: -moz-box;
}
#security-button[level="low"] {
- list-style-image: url("chrome://browser/skin/Secure.png");
+ list-style-image: url("chrome://browser/skin/icons/secure.gif");
display: -moz-box;
}
#security-button[level="broken"] {
- list-style-image: url("chrome://browser/skin/Security-broken.png");
+ list-style-image: url("chrome://browser/skin/icons/security-broken.gif");
display: -moz-box;
}
#page-report-button[blocked] {
display: -moz-box;
- list-style-image: url("chrome://browser/skin/Info.png");
+ list-style-image: url("chrome://browser/skin/icons/info.gif");
padding: 0px 3px 0px 3px;
}
--- /dev/null
+<?xml version="1.0"?>
+
+<bindings id="globalBindings"
+ 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"
+ xmlns:xbl="http://www.mozilla.org/xbl">
+
+ <!-- :::/ widgets \ ::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
+
+ <binding id="toolbar-menu-button" display="xul:menu"
+ extends="chrome://global/content/bindings/toolbarbutton.xml#menu-button">
+ <content>
+ <children includes="observes|template|menupopup|tooltip"/>
+ <xul:stack class="box-inherit toolbarbutton-menubutton-stack" flex="1">
+ <xul:toolbarbutton class="box-inherit toolbarbutton-menubutton-button"
+ anonid="button" allowevents="true"
+ xbl:inherits="disabled,image,label,crop,accesskey,command,
+ buttonover,buttondown,align,dir,pack,orient"/>
+ <xul:dropmarker type="menu-button" xbl:inherits="open,disabled"
+ class="toolbarbutton-menubutton-dropmarker"/>
+ </xul:stack>
+ </content>
+ </binding>
+
+</bindings>