Sorry, had to break it up, here's the rest.
/* ::::: Small Buttons ::::: */
toolbar[iconsize="small"] .toolbarbutton-1 {
}
/* ::::: BACK-BUTTON ::::: */
toolbar[iconsize="small"] #back-button,
toolbar[iconsize="small"] #back-button:hover {
list-style-image: url(buttons-small.png) !important;
margin-right: -1px !important;
-moz-image-region: rect(0px 447px 25px 420px) !important;
}
toolbar[iconsize="small"] #back-button[buttondown="true"] {
-moz-image-region: rect(25px 447px 50px 420px) !important;
}
toolbar[iconsize="small"] #back-button[disabled="true"] {
-moz-image-region: rect(50px 447px 75px 420px) !important;
}
/* ::::: FORWARD-BUTTON ::::: */
toolbar[iconsize="small"] #forward-button,
toolbar[iconsize="small"] #forward-button:hover {
list-style-image: url(buttons-small.png) !important;
margin-left: -1px !important;
-moz-image-region: rect(0px 474px 25px 448px) !important;
}
toolbar[iconsize="small"] #forward-button[buttondown="true"] {
-moz-image-region: rect(25px 474px 50px 448px) !important;
}
toolbar[iconsize="small"] #forward-button[disabled="true"] {
-moz-image-region: rect(50px 474px 75px 448px) !important;
}
/* ::::: RELOAD-BUTTON ::::: */
toolbar[iconsize="small"] #reload-button {
list-style-image: url(buttons-small.png) !important;
-moz-image-region: rect(0px 84px 25px 56px) !important;
}
toolbar[iconsize="small"] #reload-button:active {
-moz-image-region: rect(25px 84px 50px 56px) !important;
}
toolbar[iconsize="small"] #reload-button[disabled="true"] {
-moz-image-region: rect(0px 84px 25px 56px) !important;
}
/* ::::: STOP-BUTTON ::::: */
toolbar[iconsize="small"] #stop-button {
list-style-image: url(buttons-small.png) !important;
-moz-image-region: rect(0px 420px 25px 392px) !important;
}
toolbar[iconsize="small"] #stop-button:active {
-moz-image-region: rect(25px 420px 50px 392px) !important;
}
toolbar[iconsize="small"] #stop-button[disabled="true"] {
-moz-image-region: rect(50px 420px 75px 392px) !important;
}
/* ::::: HOME-BUTTON ::::: */
toolbar[iconsize="small"] #home-button {
list-style-image: url(buttons-small.png) !important;
-moz-image-region: rect(0px 28px 25px 0px) !important;
}
toolbar[iconsize="small"] #home-button:active {
-moz-image-region: rect(25px 28px 50px 0px) !important;
}
toolbar[iconsize="small"] #home-button[disabled="true"] {
-moz-image-region: rect(0px 28px 25px 0px) !important;
}
/* ::::: PRINT-BUTTON ::::: */
toolbar[iconsize="small"] #print-button {
list-style-image: url(buttons-small.png) !important;
-moz-image-region: rect(0px 168px 25px 140px) !important;
}
toolbar[iconsize="small"] #print-button:active {
-moz-image-region: rect(25px 168px 50px 140px) !important;
}
toolbar[iconsize="small"] #print-button[disabled="true"] {
-moz-image-region: rect(0px 168px 25px 140px) !important;
}
/* ::::: DOWNLOADS-BUTTON ::::: */
toolbar[iconsize="small"] #downloads-button {
list-style-image: url(buttons-small.png) !important;
-moz-image-region: rect(0px 140px 25px 112px) !important;
}
toolbar[iconsize="small"] #downloads-button:active {
-moz-image-region: rect(25px 140px 50px 112px) !important;
}
toolbar[iconsize="small"] #downloads-button[checked="true"] {
-moz-image-region: rect(0px 140px 25px 112px) !important;
}
toolbar[iconsize="small"] #downloads-button[disabled="true"] {
-moz-image-region: rect(0px 140px 25px 112px) !important;
}
/* ::::: NEW-TAB-BUTTON ::::: */
toolbar[iconsize="small"] #new-tab-button {
list-style-image: url(buttons-small.png) !important;
-moz-image-region: rect(0px 252px 25px 224px) !important;
}
toolbar[iconsize="small"] #new-tab-button:active {
-moz-image-region: rect(25px 252px 50px 224px) !important;
}
toolbar[iconsize="small"] #new-tab-button[checked="true"],
toolbar[iconsize="small"] #new-tab-button[disabled="true"] {
-moz-image-region: rect(0px 252px 25px 224px) !important;
}
/* ::::: NEW-WINDOW-BUTTON ::::: */
toolbar[iconsize="small"] #new-window-button {
list-style-image: url(buttons-small.png) !important;
-moz-image-region: rect(0px 280px 25px 252px) !important;
}
toolbar[iconsize="small"] #new-window-button :active {
-moz-image-region: rect(25px 280px 50px 252px) !important;
}
toolbar[iconsize="small"] #new-window-button [checked="true"],
toolbar[iconsize="small"] #new-window-button [disabled="true"] {
-moz-image-region: rect(50px 280px 75px 252px) !important;
}
/* ::::: BOOKMARKS-BUTTON ::::: */
toolbar[iconsize="small"] #bookmarks-button {
list-style-image: none !important;
background: url("bookmarks.png") !important;
}
toolbar[iconsize="small"] #bookmarks-button:hover {
background: url("bookmarks-hover.png") !important;
}
toolbar[iconsize="small"] #bookmarks-button:active,
toolbar[iconsize="small"] #bookmarks-button[checked="true"] {
background: url("bookmarks-pressed.png") !important;
}
toolbar[iconsize="small"] #bookmarks-button[disabled="true"] {
background: url("bookmarks.png") !important;
}
/* ::::: HISTORY-BUTTON ::::: */
toolbar[iconsize="small"] #history-button {
list-style-image: url(buttons-small.png) !important;
-moz-image-region: rect(0px 56px 25px 28px) !important;
}
toolbar[iconsize="small"] #history-button:active {
-moz-image-region: rect(25px 56px 50px 28px) !important;
}
toolbar[iconsize="small"] #history-button[checked="true"],
toolbar[iconsize="small"] #history-button[disabled="true"] {
-moz-image-region: rect(0px 56px 25px 28px) !important;
}
/* ::::: CUT-BUTTON ::::: */
toolbar[iconsize="small"] #cut-button {
list-style-image: url(buttons-small.png) !important;
-moz-image-region: rect(0px 392px 25px 364px) !important;
}
toolbar[iconsize="small"] #cut-button:active {
-moz-image-region: rect(25px 392px 50px 364px) !important;
}
toolbar[iconsize="small"] #cut-button[disabled="true"] {
-moz-image-region: rect(50px 392px 75px 364px) !important;
}
/* ::::: PASTE-BUTTON ::::: */
toolbar[iconsize="small"] #paste-button {
list-style-image: url(buttons-small.png) !important;
-moz-image-region: rect(0px 336px 25px 308px) !important;
}
toolbar[iconsize="small"] #paste-button:active {
-moz-image-region: rect(25px 336px 50px 308px) !important;
}
toolbar[iconsize="small"] #paste-button[checked="true"],
toolbar[iconsize="small"] #paste-button[disabled="true"] {
-moz-image-region: rect(50px 336px 75px 308px) !important;
}
/* ::::: COPY-BUTTON ::::: */
toolbar[iconsize="small"] #copy-button {
list-style-image: url(buttons-small.png) !important;
-moz-image-region: rect(0px 364px 25px 336px) !important;
}
toolbar[iconsize="small"] #copy-button:active {
-moz-image-region: rect(25px 364px 50px 336px) !important;
}
toolbar[iconsize="small"] #copy-button[checked="true"],
toolbar[iconsize="small"] #copy-button[disabled="true"] {
-moz-image-region: rect(50px 364px 75px 336px) !important;
}
/* ::::: REPORTER-BUTTON ::::: */
toolbar[iconsize="small"] #reporterMenuButton{
list-style-image: url(buttons-small.png) !important;
-moz-image-region: rect(0px 112px 25px 84px) !important;
}
toolbar[iconsize="small"] #reporterMenuButton:active {
-moz-image-region: rect(25px 112px 50px 84px) !important;
}
toolbar[iconsize="small"] toolbarbutton#reporterMenuButton[checked="true"],
toolbar[iconsize="small"] toolbarbutton#reporterMenuButton[disabled="true"] {
-moz-image-region: rect(0px 112px 25px 84px) !important;
Then, take the following images from the SaFire jar file and put them in the chrome subdirectory of your profile folder:
browser/buttons.png
browser/buttons-small.png
browser/bookmarks.png
browser/bookmarks-hover.png
browser/bookmarks-pressed.png
Make sure you save the userChrome.css file, then close and restart Firefox. The buttons should work in both small and large icon mode. At least, they are working for me, right now.
The code is a little messy because I ripped it straight out of the browser.css file from SaFire. I'd clean it up some more, but since it works... why mess with it?
If there's legal ramifications, I don't know. I've always been under the impression the code was fair game but the images were off limits unless you credit the author. But just to play it safe:
Original work here:
http://www.deviantar...ation/20457909/