--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/messagingapp/msgui/conversationview/resources/layouts/msgconversationwidget.css Fri Jun 25 15:47:40 2010 +0530
@@ -0,0 +1,187 @@
+
+/*********************************** LAYOUTS **********************************/
+
+@variables
+{
+ bubble_width:expr(var(hb-param-screen-width)-var(hb-param-margin-gene-middle-horizontal)-var(hb-param-graphic-size-primary-small)-var(hb-param-margin-gene-left)-var(hb-param-margin-gene-right));
+ bubble_height:expr((3*var(bubble_width))/4);
+}
+
+MsgConversationWidget:portrait
+{
+ layout:layout-msg-portrait;
+}
+
+MsgConversationWidget:landscape
+{
+ layout:layout-msg-landscape;
+}
+
+/********************* UNREAD INDICATOR / NEW ITEM ICON ************************/
+
+MsgConversationWidget::newItemIcon
+{
+ left:-0.25un;
+ top:-1.0un;
+ bottom:1.0un;
+ size-policy:fixed preferred;
+ fixed-width:1.25un;
+}
+
+/*********************************** BUBBLE ***********************************/
+
+MsgConversationWidget::bubble
+{
+ left:0.0un;
+ top:0.0un;
+ right:0.0un;
+ bottom:0.0un;
+ zvalue:-1;
+}
+
+/********************************** BODYTEXT **********************************/
+
+MsgConversationWidget::bodyText
+{
+ left:-var(hb-param-margin-gene-left);
+ top:-var(hb-param-margin-gene-top);
+ right:1.0un;
+ bottom:var(hb-param-margin-gene-middle-vertical);
+ text-height:var(hb-param-text-height-secondary);
+ font-variant:primary;
+ text-line-count-min:1;
+ text-line-count-max:30;
+}
+
+MsgConversationWidget[isMMS="true"]::bodyText
+{
+ top:-var(hb-param-margin-gene-middle-vertical);
+}
+
+MsgConversationWidget[hasImage="true"]::bodyText:landscape
+{
+ left:-var(hb-param-margin-gene-middle-horizontal);
+}
+
+MsgConversationWidget[hasAudio="true"]::bodyText:landscape
+{
+ left:-var(hb-param-margin-gene-middle-horizontal);
+}
+
+/********************************** SUBJECT ***********************************/
+
+MsgConversationWidget::subject
+{
+ left:-var(hb-param-margin-gene-left);
+ top:-var(hb-param-margin-gene-top);
+ bottom:var(hb-param-margin-gene-middle-vertical);
+ right:var(hb-param-margin-gene-middle-horizontal);
+ text-align:left;
+ text-height:var(hb-param-text-height-primary);
+ font-variant:primary;
+ text-line-count-min:1;
+ text-line-count-max:1;
+}
+
+MsgConversationWidget[isMMS="false"]::subject
+{
+ text-line-count-max:30;
+ text-height:var(hb-param-text-height-secondary);
+}
+
+MsgConversationWidget[hasImage="true"]::subject:landscape
+{
+ left:-var(hb-param-margin-gene-middle-horizontal);
+}
+
+MsgConversationWidget[hasImage="false"][hasAudio="true"]::subject:landscape
+{
+ left:-var(hb-param-margin-gene-middle-horizontal);
+}
+
+
+/******************************* ATTACHMENT ICON ******************************/
+
+MsgConversationWidget::attachment
+{
+ right:1.0un;
+ center-vertical:0.0un;
+ aspect-ratio:ignore;
+ size-policy:fixed fixed;
+ pref-width:var(hb-param-graphic-size-secondary);
+ pref-height:var(hb-param-graphic-size-secondary);
+}
+
+/********************************* PRIORITY ICON ******************************/
+
+MsgConversationWidget::priority
+{
+ right:0.5un;
+ center-vertical:0.0un;
+ aspect-ratio:ignore;
+ size-policy:fixed fixed;
+ pref-width:var(hb-param-graphic-size-secondary);
+ pref-height:var(hb-param-graphic-size-secondary);
+}
+
+/******************************** IMAGE / PREVIEW *****************************/
+
+MsgConversationWidget::preview
+{
+ left:-var(hb-param-margin-gene-left);
+ size-policy:fixed fixed;
+ aspect-ratio:ignore;
+}
+
+MsgConversationWidget::preview:landscape
+{
+ left:-var(hb-param-margin-gene-left);
+ top:-var(hb-param-margin-gene-top);
+ bottom:var(hb-param-margin-gene-bottom);
+ size-policy:fixed fixed;
+ aspect-ratio:ignore;
+}
+
+/****************************** TIMESTAMP TEXT ********************************/
+
+MsgConversationWidget::timeStamp
+{
+ left:-var(hb-param-margin-gene-left);
+ right:1.0un;
+ bottom:var(hb-param-margin-gene-bottom);
+ text-align:left;
+ text-height:var(hb-param-text-height-tiny);
+ font-variant:primary;
+ text-line-count-max:1;
+ text-line-count-min:1;
+}
+
+MsgConversationWidget[hasImage="true"]::timeStamp:landscape
+{
+ left:-var(hb-param-margin-gene-middle-horizontal);
+}
+
+MsgConversationWidget[hasAudio="true"]::timeStamp:landscape
+{
+ left:-var(hb-param-margin-gene-middle-horizontal);
+}
+
+/******************************* OVERLAY PLAY ICON ****************************/
+
+MsgConversationWidget::playIcon
+{
+ zvalue:1;
+ left:-var(hb-param-margin-gene-middle-horizontal);
+ aspect-ratio:ignore;
+ size-policy:fixed fixed;
+ pref-width:var(hb-param-graphic-size-primary-small);
+ pref-height:var(hb-param-graphic-size-primary-small);
+}
+
+MsgConversationWidget::playIcon:landscape
+{
+ top:-var(hb-param-margin-gene-top);
+}
+
+
+/* EOF */
\ No newline at end of file