changing contact list highlight |
Author: |
Message: |
duck!
Senior Member
Posts: 546 Reputation: 27
– / /
Joined: Sep 2006
|
O.P. changing contact list highlight
I need help trying to change the highlight in the contact list, (when you click a contact and that box thing goes around it, to show you have clicked it) ive looked at other skins, but they didn't really help, ive made my 3 states, i just need to put them in, how would i go about doing this?
|
|
12-31-2007 02:28 AM |
|
|
djdannyp
Elite Member
Danny <3 Sarah
Posts: 3546 Reputation: 31
38 / /
Joined: Mar 2006
|
RE: changing contact list highlight
ooh, yeah, this would also be pretty useful for me if i could edit the existing highlight to make it slightly see through, or just add in my own slightly see-through one
any ideas skinning gods?
|
|
12-31-2007 11:44 AM |
|
|
duck!
Senior Member
Posts: 546 Reputation: 27
– / /
Joined: Sep 2006
|
O.P. RE: changing contact list highlight
Does anyone know?
|
|
12-31-2007 05:07 PM |
|
|
stuartbennett
Senior Member
Posts: 952 Reputation: 1
43 / /
Joined: Nov 2003
|
RE: changing contact list highlight
refer to lines 1 - 33 of your 1004 styles and 1009 styles files which looks like this.
quote: <Style ResID=clss>
Element
{
FontFace:"MS Shell Dlg 2";
FontSize:8pt;
ContentAlign:MiddleLeft;
}
Element[id=atom(listitem)][selected]
{
Background:rgb(0,0,0); // 210,234,246
Foreground:rgb(255,255,255); // 0,0,0
}
Element[id=atom(listitem)][selected][windowactive=false]
{
Background:rgb(0,0,0); // 228,228,228
Foreground:rgb(255,255,255); // 0,0,0
}
Element[id=atom(listitem)][selected][keyfocused=false]
{
Background:rgb(0,0,0); // 228,228,228
Foreground:rgb(255,255,255); // 0,0,0
}
Element[id=atom(listitem)][selected][indrag]
{
Background:rgb(0,0,0); // 210,234,246
Foreground:rgb(255,255,255); // 0,0,0
Alpha:128;
}
Element[id=atom(listitem)] // this element has been added in
{
Background:argb(0,0,0,0); // added in
Foreground:rgb(255,255,255); // 0,0,0
}
that code is from our easter theme and is used to put a highlight with a black background with white text, do this in both the 1004 and 1009 styles files which for the most part are layed out almost identically and your ready to go.
danny and duck i hope that this helps you, im only assuming this is right based on the name listitem as it sounds like the right thing but to be 100% certain check with freak544 as he coded this element into several of our themes in our skin.
|
|
12-31-2007 11:02 PM |
|
|
duck!
Senior Member
Posts: 546 Reputation: 27
– / /
Joined: Sep 2006
|
O.P. RE: changing contact list highlight
Thanks, ive now done that, i also added some cool animation things to it
|
|
12-31-2007 11:32 PM |
|
|
stuartbennett
Senior Member
Posts: 952 Reputation: 1
43 / /
Joined: Nov 2003
|
RE: changing contact list highlight
cool glad i was able to help, you see i knew it was black with white text on it so just looked for any code that had those 2 colours together, i just got lucky that it was the first block of code in the file lol.
danny in the code above we used simple rgb but if you use argb instead thatll enable you to set the level of transparency to make the highlighter partly transparent i hope that helps.
This post was edited on 12-31-2007 at 11:42 PM by stuartbennett.
|
|
12-31-2007 11:39 PM |
|
|
djdannyp
Elite Member
Danny <3 Sarah
Posts: 3546 Reputation: 31
38 / /
Joined: Mar 2006
|
RE: changing contact list highlight
wicked, yeah, i just needed to add an alpha tag to those elements.
can i just ask why 1004 and 1009 are both needed? i've only changed 1009 in my skin (both for contact list font, and for this highlighting transparency) and both things seem to have worked fine without the 1004 file included
This post was edited on 01-01-2008 at 01:07 AM by djdannyp.
|
|
01-01-2008 01:06 AM |
|
|
stuartbennett
Senior Member
Posts: 952 Reputation: 1
43 / /
Joined: Nov 2003
|
RE: changing contact list highlight
click the 2 arrows button on your word wheel and select show contact details youll get a different version of your contact list show up 1009 is one version 1004 is the other by doing the same changes to both no matter which contact list style your users prefer they will still be able to enjoy the design you made.
|
|
01-01-2008 09:41 AM |
|
|
vaccination
Veteran Member
Posts: 2513 Reputation: 43
32 / / –
Joined: Apr 2005
|
RE: changing contact list highlight
djdannyp: 1004 = "Show contacts' details" enabled
1009 = "Show contacts' details" disabled (or, the default view )
If their both the same though they'll match so ;p
|
|
01-01-2008 02:11 PM |
|
|
djdannyp
Elite Member
Danny <3 Sarah
Posts: 3546 Reputation: 31
38 / /
Joined: Mar 2006
|
RE: changing contact list highlight
yeah, i realise that now
i've added in 1004 to my skin now. it's one of the changes that'll come with version 1.1
|
|
01-01-2008 04:05 PM |
|
|
Pages: (2):
« First
[ 1 ]
2
»
Last »
|
|