Active Topics

 


Reply
Thread Tools
b666m's Avatar
Posts: 1,090 | Thanked: 476 times | Joined on Jan 2010 @ Ingolstadt, Germany
#121
Originally Posted by Reflektorfalke View Post
Probably, but the avatar is to small to make it really noteable ;-)
you could stretch it to 80 or 100 px ;D

Regarding 3D: A glossy background image like here would be cool ;-)
should be possible.
you have to play with the background images and the alignment through margin and padding in the css

edit: mhm... the bubbles and images should have a fixed size. not like in your example where the bubbles/images are resized to the text.

Regarding transparancy: moz-opacity is obsolete according to this site. Guess just opacity:<number> should work. Havenīt tried yet...
tried opacity: but didn't work
maybe it was just on the wrong place.
i think i had it at the top of the block.

Last edited by b666m; 2010-01-30 at 12:03.
 

The Following User Says Thank You to b666m For This Useful Post:
x61's Avatar
Posts: 932 | Thanked: 278 times | Joined on Sep 2009 @ Kentucky
#122
Originally Posted by b666m View Post
hard to do, but possible.
and i have to say that it wouldn't look good



that's default. ^^
just look a few pages back.
i uploaded this config for someone yet.

edit: that's the one -> http://talk.maemo.org/showpost.php?p...7&postcount=35
Thanks for the link. I modified it accordingly; however, there seems to be a huge gap between the message and avarta of the sender. The format of mine seems to perfect. Anyway of getting this to properly aligned?
 
b666m's Avatar
Posts: 1,090 | Thanked: 476 times | Joined on Jan 2010 @ Ingolstadt, Germany
#123
Originally Posted by x61 View Post
Thanks for the link. I modified it accordingly; however, there seems to be a huge gap between the message and avarta of the sender. The format of mine seems to perfect. Anyway of getting this to properly aligned?
mhm?
in my case there is no big gap at all.
if you take the html with both avatars on the left side you need to reconfigure your css-file.

if you want: upload screenshot and css please.
 

The Following User Says Thank You to b666m For This Useful Post:
x61's Avatar
Posts: 932 | Thanked: 278 times | Joined on Sep 2009 @ Kentucky
#124
Alright, here we go:

/**
* Style rules for the MessageBuffer
*/

/**
* the body defaults
*/
body {
margin-left: 8px;
margin-right: 8px;
}

/**
* The table column formats
*/

div.Message {
padding-bottom: 8px;
clear: both;
display: block;
padding-left: 8px;
}

div.Message:first-child {
padding-top: 0px;
}

div.Message:last-child {
padding-bottom: 0px;
}

div.BubbleSelf {

-moz-border-radius: 8px;
border-style: solid;
border-width: 1px;

margin-left: 0px;
margin-right: 0px;
vertical-align: middle;
padding: 4px 8px;

display: inline-block;
width: 616px;
min-height: 56px;
/* overflow: hidden; this bugs mouse events. see bug #123077 */
}

div.BubbleOther {

-moz-border-radius: 8px;
border-style: solid;
border-width: 1px;

margin-left: 70px;
margin-right: 0px;
vertical-align: middle;
padding: 4px 8px;

display: inline-block;
width: 616px;
min-height: 56px;
/* overflow: hidden; this bugs mouse events. see bug #123077 */
}

div.BubbleSpacer {
padding: 0px;
margin: 0px;
vertical-align: middle;
display: table-cell;
width: 664px;
max-width: 664px;
height: 52px;
}

div.BubbleSelfClicked {
-moz-border-radius: 8px;
border-style: solid;
border-width: 1px;

margin-left: 0px;
margin-right: 0px;
vertical-align: middle;
padding: 4px 8px;

display: inline-block;
width: 616px;
min-height: 56px;
/* overflow: hidden; this bugs mouse events. see bug #123077 */
}


div.BubbleOtherClicked {
-moz-border-radius: 8px;
border-style: solid;
border-width: 1px;
text-shadow: 0.1em 0.1em #000;

vertical-align: middle;
padding: 4px 8px;
margin-left: 70px;

display: inline-block;
width: 616px;
min-height: 56px;
/* overflow: hidden; this bugs mouse events. see bug #123077 */
}

/**
* Others' Avatars
*
* This needs a "drop down" shadow, but no idea if that can be done
*Adele: please note that this drop down shadow might be subjected to change
*I've talked about it with Vilja who's in charge of address book layout
*and we might change it so that it's a double border colour to indicate
*that the avatar is clickable. drop shawdow doesn't seem to work with
*dark backgrounds unless it's a light colour drop shadow.
*PLEASE tell me if it's difficult to implement the drop shadow.
* Looks like drop shadow is dropped from ui specs. And bug 139130 made me
*remove the space for it anyway.
*/

div.Avatar {
width: 64px;
display: inline-block;
vertical-align: middle;
}

.MessageAvatar {
width: 64px;
height:64px;
outline-style: solid;
outline-width: 1px;
-moz-outline-radius: 6px;
}

img.MessagePresence {
vertical-align: middle;
width: 16px;
height: 16px;
}

/**
* the Name field
*/
span.MessageNameField {
word-wrap: break-word;
vertical-align: middle;
}

/**
* the Text field
*/
span.MessageText {
text-align: left;
vertical-align: middle;
word-wrap: break-word;
}

/**
* the TimeStamp default rules
*/
div.MessageRight {
float: right;
padding-left: 16px;
white-space: nowrap;
text-align: right;
display: inline-block;
}

img.MessageBusinessCardImg {
vertical-align: middle;
padding-right: 4px;
}

img.MessageStatusImg {
vertical-align: middle;
padding-right: 8px;
}

.MessagingWidgetsSmiley {
height: 24px;
width: 24px;
}
Attached Images
 
 

The Following User Says Thank You to x61 For This Useful Post:
b666m's Avatar
Posts: 1,090 | Thanked: 476 times | Joined on Jan 2010 @ Ingolstadt, Germany
#125
Code:
div.BubbleOther {

-moz-border-radius: 8px;
border-style: solid;
border-width: 1px;

margin-left: 70px;
there you make a 70px gap
 

The Following 2 Users Say Thank You to b666m For This Useful Post:
x61's Avatar
Posts: 932 | Thanked: 278 times | Joined on Sep 2009 @ Kentucky
#126
This solved the problem.
 
Reflektorfalke's Avatar
Posts: 597 | Thanked: 490 times | Joined on Dec 2009 @ Germany
#127
Added the Modded files for IM-Conversations to Post 108.

Download SMS-Mod Files

Download IM-Mod Files
 

The Following 4 Users Say Thank You to Reflektorfalke For This Useful Post:
Posts: 6 | Thanked: 1 time | Joined on Jan 2010
#128
Originally Posted by b666m View Post
mhm?
1 px = 1 pixel
the display resolution of the n900 is 800 * 480 px.
so 64 * 64 px isn't just a dot on the screen.




the first option is to set up a ssh server on your n900 and ssh in from your pc to edit the files on your pc.
just search for "ssh windows" or something - there is even a wiki-thread about this topic.
(best solution for editing files because you can do it via your pc and if something messes up your system you maybe haven't to reflash your device as you can ssh into it and repair what's wrong ^^)

the second option is that you copy the files to a folder which is shown when your n900 is in mass storage mode.
therefore you have to install "rootsh" (for gaining root access to the folders).
if you want to copy the files in a graphical way then you should install "mc" (aka midnight commander).
after that open x-term and type:
1. sudo gainroot
2. mkdir MyDocs/rtcom
then you have the choice:
3. mc
(then you can copy the files from html to rtcom in a graphical way)
or
3. cp /usr/share/rtcom-messaging-ui/html/* MyDocs/rtcom/
4. connect your n900 via usb and check out the rtcom-folder
5. make a backup of these files on your pc
6. edit the files you want to and move them back into the rtcom-folder
(7. if you closed x-term or mc then open it again with sudo gainroot as first command)
8. in mc copy the files back from rtcom to html
or
8. cp MyDocs/rtcom/* /usr/share/rtcom-messaging-ui/html/
9. open any of your conversations, close it and open it again to see what you have done to the file
(10. you can play around with these files or just copy the backup files for returning to default view)

the third option is to edit the files on your n900.
to do that i would recommend you installing "leafpad" (GUI) or "vim" (CLI).
in x-term:
1. sudo gainroot
2. mkdir MyDocs/rtcom_backup
3. cp /usr/share/rtcom-messaging-ui/html/* MyDocs/rtcom_backup
4. vim /usr/share/rtcom-messaging-ui/html/file-to-be-opened.extension
or
4. leafpad /usr/share/rtcom-messaging-ui/html/whatever-you-want-to-edit.extension
5. edit the file and save the changes
6. open any of your conversations, close it and open it again to see what you have done to the file
(7. you can play around with these files or just copy the backup files for returning to default view)
Thank you so very much, my friend! I followed your steps and have successfully got my avatar to show up. Thank you for taking the time to write up the steps. I, and I'm sure, many other people like me, greatly appreciate the effort! Cheers bud!
 
Posts: 739 | Thanked: 114 times | Joined on Sep 2009
#129
Here's mine w/ transparency and background:
Attached Images
 

Last edited by romanianusa; 2010-02-01 at 06:26.
 
Posts: 18 | Thanked: 2 times | Joined on Jan 2010
#130
Originally Posted by b666m View Post
lalala
new layout:

EDIT: you have to download the SMSconversation.zip from one of my posts above too. ^^

EDIT2: there's a small bug (or feature xD) which moves the contact's bubble to the left while beeing clicked - sms_css.zip will fix that.
(so download the first file only if you want to have a look at the bubble moving around when beeing clicked ^^)
b666m thanks!!! perfect layout for my taste...

How i can have same layout for chats? So chats and sms looks like exactly the same?
 
Reply

Tags
bada rox, his lunchbox


 
Forum Jump


All times are GMT. The time now is 20:05.