messagingapp/msgui/conversationview/resources/layouts/msgconversationwidget.css
changeset 43 35b64624a9e7
parent 34 84197e66a4bd
child 44 36f374c67aa8
equal deleted inserted replaced
34:84197e66a4bd 43:35b64624a9e7
     7   bubble_height:expr((3*var(bubble_width))/4);
     7   bubble_height:expr((3*var(bubble_width))/4);
     8 }
     8 }
     9 
     9 
    10 MsgConversationWidget:portrait
    10 MsgConversationWidget:portrait
    11 {
    11 {
    12   layout:layout-mms-portrait;
    12   layout:layout-msg-portrait;
    13 }
    13 }
    14 
    14 
    15 MsgConversationWidget[hasImage="true"]:landscape
    15 MsgConversationWidget:landscape
    16 {
    16 {
    17   layout:layout-mms-image-landscape;
    17   layout:layout-msg-landscape;
    18 }
       
    19 
       
    20 MsgConversationWidget[hasImage="false"]:landscape
       
    21 {
       
    22   layout:layout-mms-landscape;
       
    23 }
       
    24 
       
    25 MsgConversationWidget[hasImage="false"][hasAudio="true"][hasVideo="false"]:portrait
       
    26 {
       
    27   layout:layout-mms-audio-text-portrait;
       
    28 }
       
    29 
       
    30 MsgConversationWidget[hasImage="false"][hasAudio="true"][hasVideo="false"]:landscape
       
    31 {
       
    32   layout:layout-mms-audio-text-landscape;
       
    33 }
    18 }
    34 
    19 
    35 /********************* UNREAD INDICATOR / NEW ITEM ICON ************************/
    20 /********************* UNREAD INDICATOR / NEW ITEM ICON ************************/
    36 
    21 
    37 MsgConversationWidget::newItemIcon
    22 MsgConversationWidget::newItemIcon
    67   text-align:left;
    52   text-align:left;
    68   text-line-count-min:1;
    53   text-line-count-min:1;
    69   text-line-count-max:100;
    54   text-line-count-max:100;
    70 }
    55 }
    71 
    56 
    72 MsgConversationWidget[hasImage="true"]::bodyText:landscape
       
    73 {
       
    74   left:-var(hb-param-margin-gene-middle-horizontal);
       
    75 }
       
    76 
       
    77 MsgConversationWidget[hasImage="false"][hasAudio="true"]::bodyText:landscape
       
    78 {
       
    79   left:-var(hb-param-margin-gene-middle-horizontal);
       
    80 }
       
    81 
       
    82 /********************************** SUBJECT ***********************************/
    57 /********************************** SUBJECT ***********************************/
    83 
    58 
    84 MsgConversationWidget::subject
    59 MsgConversationWidget::subject
    85 {
    60 {
    86   left:-var(hb-param-margin-gene-left);
    61   left:-var(hb-param-margin-gene-left);
    87   top:-var(hb-param-margin-gene-top);
    62   top:-var(hb-param-margin-gene-top);
    88   bottom:var(hb-param-margin-gene-middle-vertical);
    63   bottom:var(hb-param-margin-gene-middle-vertical);
       
    64   right:var(hb-param-margin-gene-middle-horizontal);
    89   text-align:left;
    65   text-align:left;
    90   text-height:var(hb-param-text-height-primary);
    66   text-height:var(hb-param-text-height-primary);
    91   font-variant:primary;
    67   font-variant:primary;
    92   text-line-count-min:1;
    68   text-line-count-min:1;
    93   text-line-count-max:1;
    69   text-line-count-max:1;
   112 
    88 
   113 /******************************* ATTACHMENT ICON ******************************/
    89 /******************************* ATTACHMENT ICON ******************************/
   114 
    90 
   115 MsgConversationWidget::attachment
    91 MsgConversationWidget::attachment
   116 {
    92 {
   117   right:var(hb-param-margin-gene-right);
    93   right:1.0un;
   118   left:-var(hb-param-margin-gene-middle-horizontal);
       
   119   center-vertical:0.0un;
    94   center-vertical:0.0un;
   120   aspect-ratio:ignore;
    95   aspect-ratio:ignore;
   121   size-policy:fixed fixed;
    96   size-policy:fixed fixed;
   122   pref-width:var(hb-param-graphic-size-secondary);
    97   pref-width:var(hb-param-graphic-size-secondary);
   123   pref-height:var(hb-param-graphic-size-secondary);
    98   pref-height:var(hb-param-graphic-size-secondary);
   125 
   100 
   126 /********************************* PRIORITY ICON ******************************/
   101 /********************************* PRIORITY ICON ******************************/
   127 
   102 
   128 MsgConversationWidget::priority
   103 MsgConversationWidget::priority
   129 {
   104 {
   130   left:-var(hb-param-margin-gene-middle-horizontal);
   105   right:0.5un;
   131   center-vertical:0.0un;
   106   center-vertical:0.0un;
   132   aspect-ratio:ignore;
   107   aspect-ratio:ignore;
   133   size-policy:fixed fixed;
   108   size-policy:fixed fixed;
   134   pref-width:var(hb-param-graphic-size-secondary);
   109   pref-width:var(hb-param-graphic-size-secondary);
   135   pref-height:var(hb-param-graphic-size-secondary);
   110   pref-height:var(hb-param-graphic-size-secondary);
   136 }
   111 }
   137 
   112 
   138 /******************************** IMAGE / PREVIEW *****************************/
   113 /******************************** IMAGE / PREVIEW *****************************/
   139 
   114 
   140 MsgConversationWidget[hasImage="true"]::preview:portrait
   115 MsgConversationWidget::preview:portrait
   141 {
   116 {
   142   left:-var(hb-param-margin-gene-left);
   117   left:-var(hb-param-margin-gene-left);
   143   right:1.0un;
   118   right:1.0un;
   144   bottom:var(hb-param-margin-gene-middle-vertical);
   119   bottom:var(hb-param-margin-gene-middle-vertical);
   145   /*aspect-ratio:keep;*/
   120   /*aspect-ratio:keep;*/
   148   max-height:31.02un;*/
   123   max-height:31.02un;*/
   149   /*max-height:var(bubble_height);*/
   124   /*max-height:var(bubble_height);*/
   150   /*min-width:16un;
   125   /*min-width:16un;
   151   min-height:12un;*/
   126   min-height:12un;*/
   152   size-policy:fixed fixed;
   127   size-policy:fixed fixed;
       
   128   aspect-ratio:ignore;
   153 }
   129 }
   154 
   130 
   155 MsgConversationWidget[hasImage="true"]::preview:landscape
   131 MsgConversationWidget::preview:landscape
   156 {
   132 {
   157   left:-var(hb-param-margin-gene-left);
   133   left:-var(hb-param-margin-gene-left);
   158   top:-var(hb-param-margin-gene-top);
   134   top:-var(hb-param-margin-gene-top);
   159   bottom:var(hb-param-margin-gene-bottom);
   135   bottom:var(hb-param-margin-gene-bottom);
   160   /*aspect-ratio:keep;
   136   /*aspect-ratio:keep;
   161   max-width:41.36un;
   137   max-width:41.36un;
   162   max-height:31.02un;
   138   max-height:31.02un;
   163   min-width:16un;
   139   min-width:16un;
   164   min-height:12un;*/
   140   min-height:12un;*/
   165   size-policy:fixed fixed;
   141   size-policy:fixed fixed;
       
   142   aspect-ratio:ignore;
   166 }
   143 }
   167 
   144 
   168 /****************************** TIMESTAMP TEXT ********************************/
   145 /****************************** TIMESTAMP TEXT ********************************/
   169 
   146 
   170 MsgConversationWidget::timeStamp
   147 MsgConversationWidget::timeStamp
   175   text-align:left;
   152   text-align:left;
   176   text-height:var(hb-param-text-height-tiny);
   153   text-height:var(hb-param-text-height-tiny);
   177   font-variant:primary;
   154   font-variant:primary;
   178   text-line-count-max:1;
   155   text-line-count-max:1;
   179   text-line-count-min:1;
   156   text-line-count-min:1;
   180 }
       
   181 
       
   182 MsgConversationWidget[hasImage="true"]::timeStamp:landscape
       
   183 {
       
   184   left:-var(hb-param-margin-gene-middle-horizontal);
       
   185 }
       
   186 
       
   187 MsgConversationWidget[hasImage="false"][hasAudio="true"]::timeStamp:landscape
       
   188 {
       
   189   left:-var(hb-param-margin-gene-middle-horizontal);
       
   190 }
   157 }
   191 
   158 
   192 /******************************* OVERLAY PLAY ICON ****************************/
   159 /******************************* OVERLAY PLAY ICON ****************************/
   193 
   160 
   194 MsgConversationWidget::playIcon
   161 MsgConversationWidget::playIcon