Help With Firebird

I seem to have a problem locating the code that edits the Bookmark-Large.png file. I want to make it look like if i was using the SAF-P Bookmark Button. Right now I'm using SSMilk7. I tried editing and exchanging each PNG file but it still looks like this:

Normal

bookmark.jpg

Hovered and chopped off

hover.jpg

Can anyone tell me line of code I should edit in the browser.css in order to get the SAF-P bookmark button look.

Also, I don't know if anyone else is getting this problem, but when I switch frome one them to another, my download dialog stretches out.

dialog.jpg

Anyone know how to correct this? I thank anyone in advance if you try to help me out.

#109852

Originally posted by XJOSHATTACKX@Feb 4 2004, 08:45 AM

Can anyone tell me line of code I should edit in the browser.css in order to get the SAF-P bookmark button look.

Also, I don't know if anyone else is getting this problem, but when I switch frome one them to another, my download dialog stretches out.

go into your jar file(for my theme its saf-p), go to the browser folder, and what you want is browser.css.

the lines of code are(if your using large icons, which you are; there's a section for small too):

#bookmarks-button {

  list-style-image: url('chrome://browser/skin/bookmarks-large.png');

  -moz-image-region: rect(0px 35px 16px -8px)

}

#bookmarks-button:hover {

  -moz-image-region: rect(0px 89px 16px 46px);

}

#bookmarks-button[disabled=true] {

  -moz-image-region: rect(0px 89px 16px 46px);

}

#bookmarks-button:hover:active,

#bookmarks-button[checked=true] {

    -moz-image-region: rect(0px 89px 16px 46px);

}

i tested shifting the bookmark icon with

margin-left: -4px !important;

you want to go the other way, which i'm guessing is margin-right: 5 to 10 px ,

but i think you need to properly specify image region, or size, or maybe even padding to avoid the clipping(i'm not sure), just backup your css and play around and you'll get it. Might be easiest to make sure that your new png images position/size match the old one, though maybe not possible. You will get it if you just play around.

maybe there are lines in the global folder, but i found this and it works.

Your second problem is weird.

:canadian:

have fun.

#110081

Thank you very much realitybath. That placed the image exactly where I wanted it.

I was wondering what each value of (0px 89px 24px 46px) means. Is it Left Right, Up, Down or soemthing else?

The image is still being clipped on the right side when I hover and select. I'm using the same image size from the default SSMilk7.jar file. What would i edit to make the image display wider so the clipping will disappear.

#110146

Originally posted by XJOSHATTACKX@Feb 4 2004, 11:13 PM

Thank you very much realitybath. That placed the image exactly where I wanted it.

I was wondering what each value of (0px 89px 24px 46px) means. Is it Left Right, Up, Down or soemthing else?

The image is still being clipped on the right side when I hover and select. I'm using the same image size from the default SSMilk7.jar file. What would i edit to make the image display wider so the clipping will disappear.

hey, good it worked at least partly.

i'm not sure about those values, as i haven't delved into changing multiresource images yet but soon :banging: , could it be : starting y, ending x, ending y, starting x. hmmm, i don't know, looks like a weird order and i don't know where to look on the web for info, so its just poke around alot.

I'm guessing if your image is clipped its either your region selection or the padding you set, though i'm not sure if the second would do it. i'm working on something else write now, but i'll probably run into that prob. when i get back to moding firebird and i'll give you a shout if i figure it out. ;)

i'm pretty hopeless so far though!

edit: it really helps to look through the other code in browse.css, etc, as you can pick up 'leads' in there and don't be afraid to muck about, you can't break it too bad :lol:

#110226

yeah thats what I did, to get mine right

#111035