Profile: Jim Myhrberg (jimeh)
http://jimeh.me/ | |
40 comments | |
1 xtras |
Latest comments
# by jimeh on 11/30/09 at 20:56:58
Unfortunately, unless something has changed with the CSS spec, or WebKit has gotten smarter than the spec requires in the past 12 months, it's still limited to working only on elements with a fixed set width.
Most message styles as far as I know don't have a bubble/box that varies in width depending on the length of the message text, which would make it work. Unfortunately that's not my case. But that said, I might as well quickly test it again just for paranoia reasons when I tackle this bug once and for all :)
Most message styles as far as I know don't have a bubble/box that varies in width depending on the length of the message text, which would make it work. Unfortunately that's not my case. But that said, I might as well quickly test it again just for paranoia reasons when I tackle this bug once and for all :)
# by jimeh on 11/30/09 at 20:52:52
Thanks :)
Regarding the header, you'll need to go to ~/Library/Application Support/Adium 2.0/Message Styles/ and right click > Show Package Content on Modern Bubbling. In the new window, navigate to Content/Resources/styles/_headers and open _global_override.css with TextEdit or any text editor.
Then simply remove the /* and */ around the @import line for the style you want. The Blue RSS header is the Tiger style.
Repeat this for both the normal and the compact message style packages.
Unfortunately there is no easier way to switch between header styles at the moment due to limitations in Adium's support for Message Style settings. I have an idea or two for work arounds, which I'll be playing with at some point in the hopefully not to distant future :)
Regarding the header, you'll need to go to ~/Library/Application Support/Adium 2.0/Message Styles/ and right click > Show Package Content on Modern Bubbling. In the new window, navigate to Content/Resources/styles/_headers and open _global_override.css with TextEdit or any text editor.
Then simply remove the /* and */ around the @import line for the style you want. The Blue RSS header is the Tiger style.
Repeat this for both the normal and the compact message style packages.
Unfortunately there is no easier way to switch between header styles at the moment due to limitations in Adium's support for Message Style settings. I have an idea or two for work arounds, which I'll be playing with at some point in the hopefully not to distant future :)
# by jimeh on 11/30/09 at 20:01:36
I haven't had a chance to play much with CSS reflections yet, but it's on my todo list. But generally people won't be changing variants every 20 seconds, so it shouldn't be a major issue.
As for long words, the word-break css property doesn't work on non-fixed width elements, which is exactly what all the chat bubbles are. There are other work arounds, but they involve injecting invisible characters into long words, which means I'll need to hack the message inject javascripts. The only potential problem with this approach is URLs, which sometimes are really long, and I currently don't know if any or all of the available word-break invisible HTML characters effects the URL string itself when parsed and converted to a link by Adium. In other words, it needs testing, and it's on my todo list as well :)
As for long words, the word-break css property doesn't work on non-fixed width elements, which is exactly what all the chat bubbles are. There are other work arounds, but they involve injecting invisible characters into long words, which means I'll need to hack the message inject javascripts. The only potential problem with this approach is URLs, which sometimes are really long, and I currently don't know if any or all of the available word-break invisible HTML characters effects the URL string itself when parsed and converted to a link by Adium. In other words, it needs testing, and it's on my todo list as well :)
# by jimeh on 02/22/10 at 07:44:47
Browse to "~/Library/Application Support/Adium 2.0/Message Styles/" (where ~ is your home folder), find the Modern Bubbling style you want to change, and right click > Show Package Contents.
Now you should have a new Finder window, from there open "Contents/Resources/styles/_headers/_global_override.css" in a text editor, and uncomment the Tiger style.
Basically, change the line that looks like this:
/*@import url("header-styles/tiger-header.css");*/
To this:
@import url("header-styles/tiger-header.css");
In the next version, I will hopefully have figured out how to more easily change settings like this.