MozillaZine

How do I get rid of the Hearts in iCandy

Discuss application theming and theme development.
nujackk
 
Posts: 62
Joined: April 24th, 2004, 1:44 pm
Location: Seattle, WA
April 24th, 2004, 1:48 pm

Post Posted April 24th, 2004, 1:48 pm

Hi
I installed and Love the iCandy Jr theme with 1 exception the Hearts are tooo sweet for me.
I would love to stick with this theme but can't tolerate the Hearts.
How can I change the heart icons? To something (anything ) else.

Thank you

aaron

User avatar
 
Posts: 3019
Joined: November 4th, 2002, 8:49 pm
Location: Round Rock, Texas
April 24th, 2004, 2:17 pm

Post Posted April 24th, 2004, 2:17 pm

Put the following code in your userchrome.css file -- note: it will only change the hearts on the tabs and on the bookmarks toolbar. I don't know why it doesn't change the hearts in the bookmark manager. :(

For Firefox:
Code: Select all
#content .tab-icon { list-style-image: url('chrome://browser/skin/icons/bookmark_group.png') !important; }

.bookmark-item { list-style-image: url("chrome://browser/skin/icons/bookmark_group.png") !important; }

.bookmark-item[container="true"] {
  list-style-image: url("chrome://browser/skin/icons/folder.png") !important;
}
.bookmark-item[open="true"],
.bookmark-item[container="true"][open="true"] {
  list-style-image: url("chrome://browser/skin/icons/folder.png") !important;
}



For Mozilla/Netscape:
Code: Select all
#content .tab-icon { list-style-image: url('chrome://communicator/skin/bookmarks/bookmark_group.png') !important; }

.bookmark-item { list-style-image: url("chrome://communicator/skin/bookmarks/bookmark_group.png") !important; }

.bookmark-item[container="true"] {
  list-style-image: url("chrome://communicator/skin/bookmarks/bookmark_folder.png") !important;
}
.bookmark-item[open="true"],
.bookmark-item[container="true"][open="true"] {
  list-style-image: url("chrome://communicator/skin/bookmarks/bookmark_folder.png") !important;
}

nujackk
 
Posts: 62
Joined: April 24th, 2004, 1:44 pm
Location: Seattle, WA
April 24th, 2004, 2:21 pm

Post Posted April 24th, 2004, 2:21 pm

Thank you I really appreciate the quick response

c∂n

User avatar
 
Posts: 700
Joined: June 28th, 2003, 8:31 am
Location: Longitude 0ish
April 24th, 2004, 2:29 pm

Post Posted April 24th, 2004, 2:29 pm

Bookmark manager displays a tree.

springofdark

User avatar
 
Posts: 197
Joined: March 20th, 2004, 6:14 pm
Location: Northern Wisconsin
April 24th, 2004, 3:33 pm

Post Posted April 24th, 2004, 3:33 pm

The code for changing tree items is in: global/tree.css

treechildren::-moz-tree-image(Name) {
margin: 0px 2px;
list-style-image: url("chrome://global/skin/icons/folder-item.png") !important;
-moz-image-region: rect(0px, 16px, 16px, 0px);
}

I don't know what the icandy code is though...

nujackk
 
Posts: 62
Joined: April 24th, 2004, 1:44 pm
Location: Seattle, WA
April 25th, 2004, 5:00 pm

Post Posted April 25th, 2004, 5:00 pm

Thanks I'll look into it see if I can get those changed as well, But if not I think I can live with the changes aaron has given me.
At least I don't have to look at the hearts all the time now.

FOOOD

User avatar
 
Posts: 40
Joined: December 19th, 2003, 12:28 pm
April 26th, 2004, 12:24 am

Post Posted April 26th, 2004, 12:24 am

Yea, you could replace them with the favourites star from iCandy Junior ( http://www.foood.net/icandy-junior.htm ) & the Add to Favourites from the iCandy Junior Toolbar Icons ( http://www.foood.net/icandy-junior-toolbar-icons.htm )

:)

cgr
 
Posts: 22
Joined: November 6th, 2002, 6:58 am
Location: Germany
April 27th, 2004, 5:08 am

Post Posted April 27th, 2004, 5:08 am

Aaron, would it be possible to add the star icon FOOOD mentioned to the theme (or the old icon you used in previous releases) and then make it a theme option to choose either the star or the heart?

Other than that, I really like your themes and appreciate the effort!

Cheers,
Christian

Dunderklumpen
 
Posts: 16224
Joined: March 9th, 2003, 8:12 am
April 27th, 2004, 5:25 am

Post Posted April 27th, 2004, 5:25 am

1. Rename the themefile to .zip
2. Open it
3. Replace the icon - look in browser/icons
4. Replace the bookmark_item.png
5. Close
6. rename back to .jar
7. Delete them iCandy theme in your browser
8. Reinstall - use your "personalized" version of iCandy

Mind you - you need to edit the icon/picture of your choice and make it in the same size as the original.

cgr
 
Posts: 22
Joined: November 6th, 2002, 6:58 am
Location: Germany
April 27th, 2004, 6:02 am

Post Posted April 27th, 2004, 6:02 am

Yes, I already did that. But, because I am lazy, I thought Aaron could include them in his next release, so I won't have to do it again :).

BTW, FOOODs icons already come (among others) in the correct size.

aaron

User avatar
 
Posts: 3019
Joined: November 4th, 2002, 8:49 pm
Location: Round Rock, Texas
April 27th, 2004, 6:55 am

Post Posted April 27th, 2004, 6:55 am

Springofdark:
I tried putting that code (changing the location to point to my image) in userchrome.css, and it did change the hearts to the world icons, but it also changed the folders to worlds too. Looks like there's not much that can be done via userchome.css to the Bookmark Manager window.

Cgr:
The star is already present in the theme, so I will give you the code to make the change via userchrome.css. I don't really want to make this a theme option, because I would prefer to have the theme options the same for all my themes. Anyway, here is the code.
Firefox:
Code: Select all
#content .tab-icon { list-style-image: url('chrome://browser/skin/icons/throbber-small.png') !important; }

.bookmark-item { list-style-image: url("chrome://browser/skin/icons/throbber-small.png") !important; }

.bookmark-item[container="true"] {
  list-style-image: url("chrome://browser/skin/icons/folder.png") !important;
}
.bookmark-item[open="true"],
.bookmark-item[container="true"][open="true"] {
  list-style-image: url("chrome://browser/skin/icons/folder.png") !important;
}


Mozilla/Netscape:
Code: Select all
#content .tab-icon { list-style-image: url('chrome://communicator/skin/brand/throbber16.png') !important; }

.bookmark-item { list-style-image: url("chrome://communicator/skin/brand/throbber16.png") !important; }

.bookmark-item[container="true"] {
  list-style-image: url("chrome://communicator/skin/bookmarks/bookmark_folder.png") !important;
}
.bookmark-item[open="true"],
.bookmark-item[container="true"][open="true"] {
  list-style-image: url("chrome://communicator/skin/bookmarks/bookmark_folder.png") !important;
}

koen
 
Posts: 1
Joined: February 23rd, 2005, 12:51 pm
February 23rd, 2005, 12:54 pm

Post Posted February 23rd, 2005, 12:54 pm

Sorry for the kick, but the code from aaron did replaced the hearts by the bookmarks, but not the little heart next to the URL (the adress bar). Does anyone know how to do that?

Raila

User avatar
 
Posts: 519
Joined: January 21st, 2005, 2:02 pm
Location: huh? Where? WHEN?!? OH! Indiana
February 23rd, 2005, 8:14 pm

Post Posted February 23rd, 2005, 8:14 pm

Catthief's site has a lot of info on that for changing stuff. I was really surprised at all the little tweaks he had there :>

And he has EXACTLY how to do what ya want as well :)
Athlon XP 2500+
Win XP SP2
Firefox Nightlies - 1.8.1+
Extensions-TBE, IETab, MouseGestures, ChromEdit, FavIcon, Stylish, Paulfox's AdBlocker, WellRounded

aaron

User avatar
 
Posts: 3019
Joined: November 4th, 2002, 8:49 pm
Location: Round Rock, Texas
February 24th, 2005, 7:46 am

Post Posted February 24th, 2005, 7:46 am

CatThief's actually a she... :)

Koen, if you still need code, let me know.

CatThief

User avatar
 
Posts: 1617
Joined: January 19th, 2004, 12:19 am
Location: Northeast USA
February 24th, 2005, 9:45 am

Post Posted February 24th, 2005, 9:45 am

Thank you, Aaron. :D
Mostly Crystal - themes for Firefox, Thunderbird, and SeaMonkey

Return to Theme Development


Who is online

Users browsing this forum: Aronnax!, MSNbot Media and 1 guest