messagingapp/msgui/conversationview/resources/layouts/msgconversationwidget.css
changeset 52 12db4185673b
parent 44 36f374c67aa8
equal deleted inserted replaced
44:36f374c67aa8 52:12db4185673b
    42 /********************************** BODYTEXT **********************************/
    42 /********************************** BODYTEXT **********************************/
    43 
    43 
    44 MsgConversationWidget::bodyText
    44 MsgConversationWidget::bodyText
    45 {
    45 {
    46   left:-var(hb-param-margin-gene-left);
    46   left:-var(hb-param-margin-gene-left);
    47   top:-var(hb-param-margin-gene-top);
    47   top:-var(hb-param-margin-gene-middle-vertical);
    48   right:1.0un;
    48   right:1.0un;
    49   bottom:var(hb-param-margin-gene-middle-vertical);
       
    50   text-height:var(hb-param-text-height-secondary);
    49   text-height:var(hb-param-text-height-secondary);
    51   font-variant:primary;
    50   font-variant:primary;
    52   text-line-count-min:1;
    51   text-line-count-min:1;
    53   text-line-count-max:30;
    52   text-line-count-max:30;
    54 }
    53 }
    66 MsgConversationWidget[hasAudio="true"]::bodyText:landscape
    65 MsgConversationWidget[hasAudio="true"]::bodyText:landscape
    67 {
    66 {
    68 	left:-var(hb-param-margin-gene-middle-horizontal);
    67 	left:-var(hb-param-margin-gene-middle-horizontal);
    69 }
    68 }
    70 
    69 
       
    70 
       
    71 MsgConversationWidget::headerItem
       
    72 {
       
    73     top:-var(hb-param-margin-gene-top);
       
    74     left:-var(hb-param-margin-gene-left);
       
    75 }
       
    76 
       
    77 MsgConversationWidget::headerItem:landscape
       
    78 {
       
    79     left:-var(hb-param-margin-gene-middle-horizontal);
       
    80 }
       
    81 
    71 /********************************** SUBJECT ***********************************/
    82 /********************************** SUBJECT ***********************************/
    72 
    83 
    73 MsgConversationWidget::subject
    84 MsgConversationWidget::subject
    74 {
    85 {
    75   left:-var(hb-param-margin-gene-left);
       
    76   top:-var(hb-param-margin-gene-top);
       
    77   bottom:var(hb-param-margin-gene-middle-vertical);
       
    78   right:var(hb-param-margin-gene-middle-horizontal);
    86   right:var(hb-param-margin-gene-middle-horizontal);
    79   text-align:left;
    87   text-align:left;
    80   text-height:var(hb-param-text-height-primary);
    88   text-height:var(hb-param-text-height-primary);
    81   font-variant:primary;
    89   font-variant:primary;
    82   text-line-count-min:1;
    90   text-line-count-min:1;
    83   text-line-count-max:1;
    91   text-line-count-max:1;
    84 }
       
    85 
       
    86 MsgConversationWidget[isMMS="false"]::subject
       
    87 {
       
    88   text-line-count-max:30;
       
    89   text-height:var(hb-param-text-height-secondary);
       
    90 }
       
    91 
       
    92 MsgConversationWidget[hasImage="true"]::subject:landscape
       
    93 {
       
    94   left:-var(hb-param-margin-gene-middle-horizontal);
       
    95 }
       
    96 
       
    97 MsgConversationWidget[hasImage="false"][hasAudio="true"]::subject:landscape
       
    98 {
       
    99   left:-var(hb-param-margin-gene-middle-horizontal);
       
   100 }
    92 }
   101 
    93 
   102 
    94 
   103 /******************************* ATTACHMENT ICON ******************************/
    95 /******************************* ATTACHMENT ICON ******************************/
   104 
    96 
   127 /******************************** IMAGE / PREVIEW *****************************/
   119 /******************************** IMAGE / PREVIEW *****************************/
   128 
   120 
   129 MsgConversationWidget::preview
   121 MsgConversationWidget::preview
   130 {
   122 {
   131   left:-var(hb-param-margin-gene-left);
   123   left:-var(hb-param-margin-gene-left);
       
   124   top:-var(hb-param-margin-gene-middle-vertical);
   132   size-policy:fixed fixed;
   125   size-policy:fixed fixed;
   133   aspect-ratio:ignore;
   126   aspect-ratio:ignore;
       
   127 }
       
   128 
       
   129 MsgConversationWidget[hasImage="false"][hasAudio="true"]::preview
       
   130 {
       
   131   zvalue:1;
       
   132   pref-width:var(hb-param-graphic-size-primary-small);
       
   133   pref-height:var(hb-param-graphic-size-primary-small);
   134 }
   134 }
   135 
   135 
   136 MsgConversationWidget::preview:landscape
   136 MsgConversationWidget::preview:landscape
   137 {
   137 {
   138   left:-var(hb-param-margin-gene-left);
   138   left:-var(hb-param-margin-gene-left);
   147 MsgConversationWidget::timeStamp
   147 MsgConversationWidget::timeStamp
   148 {
   148 {
   149   left:-var(hb-param-margin-gene-left);
   149   left:-var(hb-param-margin-gene-left);
   150   right:1.0un;
   150   right:1.0un;
   151   bottom:var(hb-param-margin-gene-bottom);
   151   bottom:var(hb-param-margin-gene-bottom);
       
   152   top:-var(hb-param-margin-gene-middle-vertical);
   152   text-align:left;
   153   text-align:left;
   153   text-height:var(hb-param-text-height-tiny);
   154   text-height:var(hb-param-text-height-tiny);
   154   font-variant:primary;
   155   font-variant:primary;
   155   text-line-count-max:1;
   156   text-line-count-max:1;
   156   text-line-count-min:1;
   157   text-line-count-min:1;
   170 
   171 
   171 MsgConversationWidget::playIcon
   172 MsgConversationWidget::playIcon
   172 {
   173 {
   173   zvalue:1;
   174   zvalue:1;
   174   left:-var(hb-param-margin-gene-middle-horizontal);
   175   left:-var(hb-param-margin-gene-middle-horizontal);
       
   176   top:-var(hb-param-margin-gene-middle-vertical);
   175   aspect-ratio:ignore;
   177   aspect-ratio:ignore;
   176   size-policy:fixed fixed;
   178   size-policy:fixed fixed;
   177   pref-width:var(hb-param-graphic-size-primary-small);
   179   pref-width:var(hb-param-graphic-size-primary-small);
   178   pref-height:var(hb-param-graphic-size-primary-small);
   180   pref-height:var(hb-param-graphic-size-primary-small);
   179 }
   181 }