Page 1 of 1

meshing of message views?

Posted: Fri May 27, 2005 12:27 pm
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!

Posted: Fri May 27, 2005 2:12 pm
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...

Posted: Fri May 27, 2005 2:28 pm
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.

Posted: Sat May 28, 2005 12:06 am
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

Posted: Sat May 28, 2005 12:10 am
by Tipo 61
I think the name is in the info.plist file, change it there, and you should be good

Posted: Sat May 28, 2005 12:14 am
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.

Posted: Sat May 28, 2005 1:17 am
by andru_911
Image