Reply
Thread Tools
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#331
 
Posts: 276 | Thanked: 109 times | Joined on Dec 2009 @ Vancouver,Canada / Dubai,UAE
#332
Originally Posted by Ronaldo View Post

can you tell me how i can add my picture to original one instead of "you"
Check out page 4 of this thread

Cheers
 
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#333
Originally Posted by b666m View Post
last tweak for tonight:



Code:
/**
 * Style rules for the MessageBuffer
 */

/**
 * the body defaults
 */
body {
  padding: 0px 16px;
  margin: 0px;
}

/**
 * The table column formats
 */

div.Message {
  clear: both;
  margin-top: -22px;
}

div.Message.Self {
  float: left;
}

div.Message.Other {
  float: right; 
}

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

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

div.BubbleSelf {
  position: relative;
  z-index: 2;

  background: #600000;

  text-shadow:black 3px 2px 5px;



  -moz-border-radius-topright: 30px;
  -moz-border-radius-bottomright: 30px;
  -moz-border-radius-bottomleft: 30px;

  border-style: solid;

  border-width: 2px;

  margin: 35px 0px 4px -15px;
  padding: 8px;

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

div.BubbleOther {
  position: relative;
  z-index: 2;

  background: #2F4F4F;

  text-shadow:black 3px 2px 5px;



  -moz-border-radius-topleft: 30px;
  -moz-border-radius-bottomleft: 30px;
  -moz-border-radius-bottomright: 30px;

  border-style: solid;

  border-width: 2px;
  
  margin: 35px -19px 4px 0px;
  padding: 8px;
  
  display: inline-block;
  min-height: 44px;
  max-width: 636px;
  /* overflow: hidden; this bugs mouse events. see bug #123077 */
}

div.BubbleSelfClicked {
  position: relative;
  z-index: 2;

  text-shadow:black 3px 2px 5px;



  -moz-border-radius-topright: 30px;
  -moz-border-radius-bottomright: 30px;
  -moz-border-radius-bottomleft: 30px;

  border-style: solid;

  border-width: 2px;

  margin: 35px 0px 4px -15px;
  padding: 8px;

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


div.BubbleOtherClicked {
  position: relative;
  z-index: 2;

  text-shadow:black 3px 2px 5px;



  -moz-border-radius-topleft: 30px;
  -moz-border-radius-bottomleft: 30px;
  -moz-border-radius-bottomright: 30px;

  border-style: solid;

  border-width: 2px;
  
  margin: 35px -19px 4px 0px;
  padding: 8px;
  
  display: inline-block;
  min-height: 44px;
  max-width: 636px;
  /* 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: 60px;
  display: inline-block;
  vertical-align: top;
}

.MessageAvatar.Self {
  position: relative;
  z-index: 1;
  margin-top: 4px;
  margin-right: 0px;
  width: 60px;
  height: 60px;

  -moz-border-radius-topleft: 30px;
  -moz-border-radius-topright: 30px;
  -moz-border-radius-bottomleft: 30px;
  -moz-border-radius-bottomright: 30px;

  border-width: 2px;

  border-style: solid;

}

.MessageAvatar.Other {
  position: relative;
  z-index: 1;
  margin-top: 4px;
  width: 60px;
  height: 60px;

  -moz-border-radius-topright: 30px;
  -moz-border-radius-topleft: 30px;
  -moz-border-radius-bottomright: 30px;
  -moz-border-radius-bottomleft: 30px;

  border-width: 2px;

  border-style: solid;

}

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.Self {
  text-align: left;
  vertical-align: middle;
  word-wrap: break-word;
}

span.MessageText.Other {
  text-align: right;
  vertical-align: middle; 
  word-wrap: break-word;
}

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

img.MessageBusinessCardImg {
  vertical-align: middle;
}

img.MessageStatusImg {
  vertical-align: middle;
}

.MessagingWidgetsSmiley {
  height: 24px;
  width: 24px;
}
feel free to post critique or suggestions

... or just have fun with it xD




edit: with 0.8 opacity for the bubbles and bit re-aligned:

i like this but it scrolls SOOOOOOO slow, plus avatars dont show
 
b666m's Avatar
Posts: 1,090 | Thanked: 476 times | Joined on Jan 2010 @ Ingolstadt, Germany
#334
Originally Posted by f2thak View Post
i like this but it scrolls SOOOOOOO slow, plus avatars dont show
you need the modded html- and js-file too. (:
and of course copy over a picture for your avatar since it's not loading correctly for sms conversations from id. ^^

and yep. it's kind of slow.
but that's because of the poor javascript performance of the mozilla browser engine which is used for displaying those conversations.
i posted something in the js speed comparision thread that mozilla is working on "jaegermonkey" which should speed up js performance to a level like webkits (tear, midori) and safari (well-known from iphone).

right now mozilla is using an engine from 2007 (!!!) which tries to find loops in js-code to make it faster.
if it doesn't find any of those - it's slow as hell.
other browser are using a much easier way which pays off more often:
they are building blocks in js code and speeding up the calculation. (this is where jaegermonkey will step in)

i'll make some zips.
programming an app for doing this replacement isn't hard at all because the only thing it has to do is copy the content of a directory in MyDocs (where you have access with usb and normal user) to the html-folder (where you have to be root to change things).

i think if some more people would be interested in modding conversations a programmer like VDVsx (who has made the bootscreen-app which is doing nearly the exact same thing as this app should do) could write a small app for doing this.

Last edited by b666m; 2010-02-28 at 09:48.
 
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#335
thanks, if someone made an app, it would be really appreciated
 
b666m's Avatar
Posts: 1,090 | Thanked: 476 times | Joined on Jan 2010 @ Ingolstadt, Germany
#336
mhm... how would you like a css-file with comments where i explain what the command below is doing exactly.

something like:
Code:
/* moving the bubble around: top right bottom left */
margin: 25px -19px 4px 0px;
then you could easily change the alignments, colors, opacity, size and so on?! (:
 

The Following User Says Thank You to b666m For This Useful Post:
b666m's Avatar
Posts: 1,090 | Thanked: 476 times | Joined on Jan 2010 @ Ingolstadt, Germany
#337
so...
here's the package you'll always need which contains the modded html- and js-file to have both avatars.

and in addition there's the css which does the following:


i have added many comments to the code itself to help you in case you want to change something

for instructions on where you have to place these files and what to do to get your own avatar, please refer to:
http://talk.maemo.org/showpost.php?p...5&postcount=33 ^^

have fun, everyone!

EDIT:
updated the js-file with the scroll-fix which will prevent the conversation view starting from the top. now it will be down at the bottom of the conversation showing the latest messages.
Attached Files
File Type: zip css_bubble_transparency.zip (1.8 KB, 646 views)
File Type: zip html_and_js.zip (7.5 KB, 585 views)

Last edited by b666m; 2010-03-13 at 14:03.
 

The Following 11 Users Say Thank You to b666m For This Useful Post:
b666m's Avatar
Posts: 1,090 | Thanked: 476 times | Joined on Jan 2010 @ Ingolstadt, Germany
#338
for getting into the whole css-stuff have a look at the css-file attached to my posting above.

if you want another basis for your own style:


if you'd rather have corners than of roundings it's just a matter of seconds to edit the css.
just look at the -moz-border-radius lines. (:

Attached Files
File Type: zip css_no_gap.zip (1.2 KB, 177 views)

Last edited by b666m; 2010-02-28 at 11:03.
 

The Following User Says Thank You to b666m For This Useful Post:
Posts: 276 | Thanked: 109 times | Joined on Dec 2009 @ Vancouver,Canada / Dubai,UAE
#339
b666m , Thanks for the uploads

Any chance of getting the 7610 style ones with proper alignment and codes ?

For the one you have posted already , If I send a 2 sentence txt , would the bubbles and avatars look ok and aligned ?

There is a need for the app , SOME1 should make app to change the looks of conversation with ability to change the colors and shades
 
b666m's Avatar
Posts: 1,090 | Thanked: 476 times | Joined on Jan 2010 @ Ingolstadt, Germany
#340
Originally Posted by SR90 View Post
b666m Any chance of getting the 7610 style ones with proper alignment and codes ?
screenshot please.
then we'll see what can be done.

For the one you have posted already , If I send a 2 sentence txt , would the bubbles and avatars look ok and aligned ?
everything looks fine even with multiple line text-bubbles. ^^

There is a need for the app , SOME1 should make app to change the looks of conversation with ability to change the colors and shades
i could write a script for executing within terminal or with help of a shortcut or automatically on shutdown. xD
but a gui would be the best for enduser.
maybe i should learn to make programs for the n900.
 

The Following User Says Thank You to b666m For This Useful Post:
Reply

Tags
bada rox, his lunchbox

Thread Tools

 
Forum Jump


All times are GMT. The time now is 00:38.