|
2010-02-28
, 09:08
|
Posts: 276 |
Thanked: 109 times |
Joined on Dec 2009
@ Vancouver,Canada / Dubai,UAE
|
#332
|
can you tell me how i can add my picture to original one instead of "you"
|
2010-02-28
, 09:26
|
|
Posts: 4,365 |
Thanked: 2,467 times |
Joined on Jan 2010
@ Australia Mate
|
#333
|
last tweak for tonight:
feel free to post critique or suggestionsCode:/** * 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; }
... or just have fun with it xD
edit: with 0.8 opacity for the bubbles and bit re-aligned:
|
2010-02-28
, 09:43
|
|
Posts: 1,090 |
Thanked: 476 times |
Joined on Jan 2010
@ Ingolstadt, Germany
|
#334
|
|
2010-02-28
, 09:46
|
|
Posts: 4,365 |
Thanked: 2,467 times |
Joined on Jan 2010
@ Australia Mate
|
#335
|
|
2010-02-28
, 09:54
|
|
Posts: 1,090 |
Thanked: 476 times |
Joined on Jan 2010
@ Ingolstadt, Germany
|
#336
|
/* moving the bubble around: top right bottom left */ margin: 25px -19px 4px 0px;
The Following User Says Thank You to b666m For This Useful Post: | ||
|
2010-02-28
, 10:50
|
|
Posts: 1,090 |
Thanked: 476 times |
Joined on Jan 2010
@ Ingolstadt, Germany
|
#337
|
The Following 11 Users Say Thank You to b666m For This Useful Post: | ||
|
2010-02-28
, 11:01
|
|
Posts: 1,090 |
Thanked: 476 times |
Joined on Jan 2010
@ Ingolstadt, Germany
|
#338
|
The Following User Says Thank You to b666m For This Useful Post: | ||
|
2010-02-28
, 11:26
|
Posts: 276 |
Thanked: 109 times |
Joined on Dec 2009
@ Vancouver,Canada / Dubai,UAE
|
#339
|
|
2010-02-28
, 11:36
|
|
Posts: 1,090 |
Thanked: 476 times |
Joined on Jan 2010
@ Ingolstadt, Germany
|
#340
|
b666m 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
The Following User Says Thank You to b666m For This Useful Post: | ||
Tags |
bada rox, his lunchbox |
|
I'll try this at home
Lausanne & Lyon de descente...
----------------
Schturman's home page
Schturman's repo on openrepos
RPM packaging directly on your Jolla phone.
Root & User SSH access to Jolla via WinSCP.
Root and User SSH access to Jolla via Nautilus on Linux PC.