Bug 494927 - toolbarbutton image transparency/anti-aliasing should accommodate different background colors. r=dao

This commit is contained in:
Stephen Horlander 2009-08-14 01:12:07 +02:00
parent f45ce76b76
commit cbef7929fd
2 changed files with 4 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 58 KiB

View File

@ -572,13 +572,13 @@ toolbar[iconsize="small"] #unified-back-forward-button > #back-forward-dropmarke
} }
#history-button[checked="true"] { #history-button[checked="true"] {
-moz-image-region: rect(69px, 252px, 92px, 216px); -moz-image-region: rect(92px, 252px, 115px, 216px);
background-color: transparent; background-color: transparent;
border-color: transparent; border-color: transparent;
} }
#history-button[checked="true"]:hover:active { #history-button[checked="true"]:hover:active {
-moz-image-region: rect(92px, 252px, 115px, 216px); -moz-image-region: rect(115px, 252px, 138px, 216px);
} }
/* ----- DEFAULT BOOKMARKS BUTTON ----- */ /* ----- DEFAULT BOOKMARKS BUTTON ----- */
@ -596,13 +596,13 @@ toolbar[iconsize="small"] #unified-back-forward-button > #back-forward-dropmarke
} }
#bookmarks-button[checked="true"] { #bookmarks-button[checked="true"] {
-moz-image-region: rect(69px, 288px, 92px, 252px); -moz-image-region: rect(92px, 288px, 115px, 252px);
background-color: transparent; background-color: transparent;
border-color: transparent; border-color: transparent;
} }
#bookmarks-button[checked="true"]:hover:active { #bookmarks-button[checked="true"]:hover:active {
-moz-image-region: rect(92px, 288px, 115px, 252px); -moz-image-region: rect(115px, 288px, 138px, 252px);
} }
/* ----- DEFAULT PRINT BUTTON ----- */ /* ----- DEFAULT PRINT BUTTON ----- */