messagingapp/msgui/conversationview/resources/layouts/msgconversationwidget.css
changeset 44 36f374c67aa8
parent 43 35b64624a9e7
child 52 12db4185673b
equal deleted inserted replaced
43:35b64624a9e7 44:36f374c67aa8
    47   top:-var(hb-param-margin-gene-top);
    47   top:-var(hb-param-margin-gene-top);
    48   right:1.0un;
    48   right:1.0un;
    49   bottom:var(hb-param-margin-gene-middle-vertical);
    49   bottom:var(hb-param-margin-gene-middle-vertical);
    50   text-height:var(hb-param-text-height-secondary);
    50   text-height:var(hb-param-text-height-secondary);
    51   font-variant:primary;
    51   font-variant:primary;
    52   text-align:left;
       
    53   text-line-count-min:1;
    52   text-line-count-min:1;
    54   text-line-count-max:100;
    53   text-line-count-max:30;
       
    54 }
       
    55 
       
    56 MsgConversationWidget[isMMS="true"]::bodyText
       
    57 {
       
    58 	top:-var(hb-param-margin-gene-middle-vertical);
       
    59 }
       
    60 
       
    61 MsgConversationWidget[hasImage="true"]::bodyText:landscape
       
    62 {
       
    63 	left:-var(hb-param-margin-gene-middle-horizontal);
       
    64 }
       
    65 
       
    66 MsgConversationWidget[hasAudio="true"]::bodyText:landscape
       
    67 {
       
    68 	left:-var(hb-param-margin-gene-middle-horizontal);
    55 }
    69 }
    56 
    70 
    57 /********************************** SUBJECT ***********************************/
    71 /********************************** SUBJECT ***********************************/
    58 
    72 
    59 MsgConversationWidget::subject
    73 MsgConversationWidget::subject
    69   text-line-count-max:1;
    83   text-line-count-max:1;
    70 }
    84 }
    71 
    85 
    72 MsgConversationWidget[isMMS="false"]::subject
    86 MsgConversationWidget[isMMS="false"]::subject
    73 {
    87 {
    74   text-line-count-max:100;
    88   text-line-count-max:30;
    75   text-height:var(hb-param-text-height-secondary);
    89   text-height:var(hb-param-text-height-secondary);
    76 }
    90 }
    77 
    91 
    78 MsgConversationWidget[hasImage="true"]::subject:landscape
    92 MsgConversationWidget[hasImage="true"]::subject:landscape
    79 {
    93 {
   110   pref-height:var(hb-param-graphic-size-secondary);
   124   pref-height:var(hb-param-graphic-size-secondary);
   111 }
   125 }
   112 
   126 
   113 /******************************** IMAGE / PREVIEW *****************************/
   127 /******************************** IMAGE / PREVIEW *****************************/
   114 
   128 
   115 MsgConversationWidget::preview:portrait
   129 MsgConversationWidget::preview
   116 {
   130 {
   117   left:-var(hb-param-margin-gene-left);
   131   left:-var(hb-param-margin-gene-left);
   118   right:1.0un;
       
   119   bottom:var(hb-param-margin-gene-middle-vertical);
       
   120   /*aspect-ratio:keep;*/
       
   121   /*max-width:var(bubble_width);*/
       
   122   /*max-width:41.36un;
       
   123   max-height:31.02un;*/
       
   124   /*max-height:var(bubble_height);*/
       
   125   /*min-width:16un;
       
   126   min-height:12un;*/
       
   127   size-policy:fixed fixed;
   132   size-policy:fixed fixed;
   128   aspect-ratio:ignore;
   133   aspect-ratio:ignore;
   129 }
   134 }
   130 
   135 
   131 MsgConversationWidget::preview:landscape
   136 MsgConversationWidget::preview:landscape
   132 {
   137 {
   133   left:-var(hb-param-margin-gene-left);
   138   left:-var(hb-param-margin-gene-left);
   134   top:-var(hb-param-margin-gene-top);
   139   top:-var(hb-param-margin-gene-top);
   135   bottom:var(hb-param-margin-gene-bottom);
   140   bottom:var(hb-param-margin-gene-bottom);
   136   /*aspect-ratio:keep;
       
   137   max-width:41.36un;
       
   138   max-height:31.02un;
       
   139   min-width:16un;
       
   140   min-height:12un;*/
       
   141   size-policy:fixed fixed;
   141   size-policy:fixed fixed;
   142   aspect-ratio:ignore;
   142   aspect-ratio:ignore;
   143 }
   143 }
   144 
   144 
   145 /****************************** TIMESTAMP TEXT ********************************/
   145 /****************************** TIMESTAMP TEXT ********************************/
   154   font-variant:primary;
   154   font-variant:primary;
   155   text-line-count-max:1;
   155   text-line-count-max:1;
   156   text-line-count-min:1;
   156   text-line-count-min:1;
   157 }
   157 }
   158 
   158 
       
   159 MsgConversationWidget[hasImage="true"]::timeStamp:landscape
       
   160 {
       
   161   left:-var(hb-param-margin-gene-middle-horizontal);
       
   162 }
       
   163 
       
   164 MsgConversationWidget[hasAudio="true"]::timeStamp:landscape
       
   165 {
       
   166   left:-var(hb-param-margin-gene-middle-horizontal);
       
   167 }
       
   168 
   159 /******************************* OVERLAY PLAY ICON ****************************/
   169 /******************************* OVERLAY PLAY ICON ****************************/
   160 
   170 
   161 MsgConversationWidget::playIcon
   171 MsgConversationWidget::playIcon
   162 {
   172 {
   163   zvalue:1;
   173   zvalue:1;
       
   174   left:-var(hb-param-margin-gene-middle-horizontal);
   164   aspect-ratio:ignore;
   175   aspect-ratio:ignore;
   165   size-policy:fixed fixed;
   176   size-policy:fixed fixed;
   166   pref-width:var(hb-param-graphic-size-primary-medium);
   177   pref-width:var(hb-param-graphic-size-primary-small);
   167   pref-height:var(hb-param-graphic-size-primary-medium);
   178   pref-height:var(hb-param-graphic-size-primary-small);
   168 }
   179 }
   169 
   180 
   170 /******************************** AUDIO ICON **********************************/
   181 MsgConversationWidget::playIcon:landscape
   171 
       
   172 MsgConversationWidget[hasAudio="true"]::audioIcon
       
   173 {
   182 {
   174   top:-var(hb-param-margin-gene-top);
   183   top:-var(hb-param-margin-gene-top);
   175   left:-var(hb-param-margin-gene-left);
       
   176   bottom:var(hb-param-margin-gene-middle-vertical);
       
   177   aspect-ratio:ignore;
       
   178   size-policy:fixed fixed;
       
   179   pref-width:var(hb-param-graphic-size-primary-large);
       
   180   pref-height:var(hb-param-graphic-size-primary-large);
       
   181 }
   184 }
   182 
   185 
       
   186 
   183 /* EOF */
   187 /* EOF */