meshing of message views?

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Post Reply
User avatar
andru_911
Frappa
Posts: 202
Joined: Tue Jan 04, 2005 5:45 am

meshing of message views?

Post by andru_911 »

could someone be a sweetheart and outline how (or execute it) to get the header used in shadowrunner and apply it to other message views? i would love to use it on ichadium right now...
tia!
User avatar
twopeak
Crema
Posts: 407
Joined: Tue Jan 25, 2005 2:53 pm
Location: Flanders - Belgium

Post by twopeak »

if you send the two styles to twopeak@gmail.com I'll take a stab at it!
I'm not a wizard so I'm not sure it's going to work...
Image
Son of a Preacher Man
Crema
Posts: 499
Joined: Sat Dec 04, 2004 12:05 am
Location: Derby/York, UK
Contact:

Post by Son of a Preacher Man »

It's easy, if a little time consuming. Don't know why you'd want to, though, that header sucks muchly.

Copy "header.html" from Shadowrunner into the other style.

There's only one object in it, identified by id="header1". So, in the css files, we look for "header1". You'll find it in main.css:

Code: Select all

#header1 {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    margin: 0;
    padding: 10px;
    overflow: auto;
    color: white;
    font-family: Arial;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    background: rgba(0,0,0,.65);
    z-index: 999;
}
Paste that into the main.css file of the other style. (Incidentally, the reason this bit of css starts with a # instead of a . is because we're dealing with an object that has an id, rather than a class. The difference between them isn't important for what we're doing, though.)

That'll give you the black version. If you want the white version, open up mainModWhite.css, which changes two lines:

Code: Select all

    color: black;
    background: rgba(255,255,255,.65);
Just change those in what you pasted into the new style.
Image
User avatar
andru_911
Frappa
Posts: 202
Joined: Tue Jan 04, 2005 5:45 am

Post by andru_911 »

thanks! worked to perfection :D
thanks a lot...i know it's not the most appealing combo of message styles, but i like having the header showing at all time, plus it matches my dock, dragthing, and growl notifications 8)

ps - how do i change the name? it still says ichadium in the messageview selector in the preferences...i changed the name to ichadiumMod, but to no avail. do i have to change it in one of the css or plist docs?

THANKS AGAIN :D
User avatar
Tipo 61
Grandé
Posts: 910
Joined: Fri Dec 10, 2004 11:12 pm
Location: Boston, MA
Contact:

Post by Tipo 61 »

I think the name is in the info.plist file, change it there, and you should be good
User avatar
andru_911
Frappa
Posts: 202
Joined: Tue Jan 04, 2005 5:45 am

Post by andru_911 »

thanks tipo, had to relaunch adium for it to take effect...

is there any additional info i can add to the header? perhaps status of the person, more detailed date (day, month, year), etc.
User avatar
andru_911
Frappa
Posts: 202
Joined: Tue Jan 04, 2005 5:45 am

Post by andru_911 »

Image
Post Reply