maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Customize N900 Conversations (https://talk.maemo.org/showthread.php?t=36618)

b666m 2010-03-28 20:24

Re: Customize N900 Conversations
 
Quote:

Originally Posted by byte_76 (Post 585490)
1. I want the text bubbles to expand dynamically according to the amount of text inside.

take a look at the css code of my latest creation.

Quote:

2. I only want the text of the conversations to be inside the bubbles. The name and date/time should be outside the bubble.
edit the html-file and move the name and the timestamp blocks outside of the bubble block ;)

Quote:

3. How do I change the color of the name of sender and the date/time?
just add a line "color: #A1B2C3;" inside the responsible css-block :)

the blocks are called something with "Name" and "TextRight" i think *to lazy to look it up* XD

b666m 2010-03-28 23:52

Re: Customize N900 Conversations
 
Quote:

Originally Posted by regp81 (Post 585585)
I tried this on my N900 and looks very nice but it doesn't display my avatar...

how can I put it in?.

thanks,

you need a modded js-file too.

just take the js-file out of any of my layouts. :)

most other layouts here use my js-file too. (only this one doesn't xD)

then move the file and a picture with 64*64 or 60*60 pixels (have a look at the css file and which size it uses for avatars... but it doesn't really matter in the end ^^) to the html-folder... ehm yes... it must be called "avatar.png" (:

niqbal 2010-03-29 08:40

Theme 2
 
2 Attachment(s)
thanks to b666m + joshua for ball rolling this thread. thanks to maemo being open source and thank God for google! Second version of Conversations-UI

maxximuscool 2010-03-29 10:34

Re: Theme 2
 
Quote:

Originally Posted by niqbal (Post 586342)
thanks to b666m + joshua for ball rolling this thread. thanks to maemo being open source and thank God for google! Second version of Conversations-UI


is this slow like the previous version?

byte_76 2010-03-29 11:43

Re: Theme 2
 
Quote:

Originally Posted by niqbal (Post 586342)
thanks to b666m + joshua for ball rolling this thread. thanks to maemo being open source and thank God for google! Second version of Conversations-UI

Wow, it looks great. Thanks for sharing.

niqbal 2010-03-29 13:48

Re: Theme 2
 
Quote:

Originally Posted by maxximuscool (Post 586468)
is this slow like the previous version?

aah well i havent tried those versions myself so i cant compare. This one renders smoothly (as far as i am concerned)

b666m 2010-03-29 15:05

Re: Theme 2
 
Quote:

Originally Posted by maxximuscool (Post 586468)
is this slow like the previous version?

it renders pretty smooth.... and i think the reasons are:

- he doesn't use opacity/transparency
- he doesn't use shadows for text and bubbles
- he doesn't too much modification of bubbles, avatars and content

:)

so... if you remove transparancy and shadows from my version it would scroll much smoother too... but wouldn't look as cool as it does now *laugh* XD

btw: your layout looks nice and clean :) pretty cool ;) @ niqbal

byte_76 2010-03-29 18:29

Re: Customize N900 Conversations
 
1 Attachment(s)
I have made a few changes to niqbal's files (thank you niqbal) and have attached the files here:

The changes were all done in the HTML and CSS files because I have no Javascript experience:

1. Made the bubbles re-size according to the text inside
2. Changed the text bubble colors to a slight aqua blue and grey.
3. Made some changes to the alignment and spacing of various components

My experience in CSS is very limited so I expect bugs. Please report back.

byte_76 2010-03-29 20:50

Re: Customize N900 Conversations
 
I also barely know CSS.

I was also looking for a way to improve the appearance of the speech bubbles. It seems that there is a way to add a gradient when using webkit but I have not found anything without it.

byte_76 2010-03-29 22:29

Re: Customize N900 Conversations
 
niqbal have you got any idea why the text in the speech bubble on the left is appearing higher up in the bubble instead of being in the middle?

When there is a one line message it is most notable that it appears too high up in the bubble.


All times are GMT. The time now is 04:59.

vBulletin® Version 3.8.8