messagingapp/msgui/msgapp/resources/xml/msglistviewitem.css
changeset 52 12db4185673b
parent 31 ebfee66fde93
equal deleted inserted replaced
44:36f374c67aa8 52:12db4185673b
    67   text-height: var(hb-param-text-height-secondary);
    67   text-height: var(hb-param-text-height-secondary);
    68   text-line-count-min:2;
    68   text-line-count-min:2;
    69   text-line-count-max:2;
    69   text-line-count-max:2;
    70 }
    70 }
    71 
    71 
       
    72 MsgListViewItem[unReadMsg="true"]::timeLabel[layoutName="custom"]:portrait {
       
    73   right:var(hb-param-margin-gene-right);
       
    74   bottom:var(hb-param-margin-gene-bottom);
       
    75   size-policy-horizontal: fixed;
       
    76   pref-width:12un;
       
    77   text-align: right;
       
    78   font-variant: primary;
       
    79   text-height: var(hb-param-text-height-tiny);
       
    80   text-line-count-min:1;
       
    81   text-line-count-max:1;
       
    82 }
       
    83 
       
    84 MsgListViewItem[unReadMsg="false"]::timeLabel[layoutName="custom"]:portrait {
       
    85   right:var(hb-param-margin-gene-right);
       
    86   bottom:var(hb-param-margin-gene-bottom);
       
    87   size-policy-horizontal: fixed;
       
    88   pref-width:12un;
       
    89   text-align: right;
       
    90   font-variant: secondary;
       
    91   text-height: var(hb-param-text-height-tiny);
       
    92   text-line-count-min:1;
       
    93   text-line-count-max:1;
       
    94 }
       
    95 
    72 MsgListViewItem::unreadCount[layoutName="custom"]:portrait {
    96 MsgListViewItem::unreadCount[layoutName="custom"]:portrait {
    73   right:var(hb-param-margin-gene-middle-horizontal);
    97   right:var(hb-param-margin-gene-right);
    74   size-policy-horizontal: fixed;
    98   size-policy-horizontal: fixed;
       
    99   min-width: 5un;
    75   text-align: right;
   100   text-align: right;
    76   font-variant: primary;
   101   font-variant: primary;
    77   text-height: var(hb-param-text-height-primary);
   102   text-height: var(hb-param-text-height-primary);
    78   text-line-count-min:1;
   103   text-line-count-min:1;
    79   text-line-count-max:1;
   104   text-line-count-max:1;
    80 }
   105 }
    81 
   106 
    82 MsgListViewItem[unReadMsg="true"]::timeLabel[layoutName="custom"]:portrait {
   107 MsgListViewItem::msgCommonIndicator[layoutName="custom"]:portrait {
    83   right:var(hb-param-margin-gene-right);
       
    84   bottom:var(hb-param-margin-gene-bottom);
       
    85   size-policy-horizontal: fixed;
       
    86   pref-width:12un;
       
    87   text-align: right;
       
    88   font-variant: primary;
       
    89   text-height: var(hb-param-text-height-tiny);
       
    90   text-line-count-min:1;
       
    91   text-line-count-max:1;
       
    92 }
       
    93 
       
    94 MsgListViewItem[unReadMsg="false"]::timeLabel[layoutName="custom"]:portrait {
       
    95   right:var(hb-param-margin-gene-right);
       
    96   bottom:var(hb-param-margin-gene-bottom);
       
    97   size-policy-horizontal: fixed;
       
    98   pref-width:12un;
       
    99   text-align: right;
       
   100   font-variant: secondary;
       
   101   text-height: var(hb-param-text-height-tiny);
       
   102   text-line-count-min:1;
       
   103   text-line-count-max:1;
       
   104 }
       
   105 
       
   106 MsgListViewItem::presenceIndicator[layoutName="custom"]:portrait {
       
   107   right: var(hb-param-margin-gene-right);
       
   108   size-policy-horizontal: fixed;
   108   size-policy-horizontal: fixed;
   109   size-policy-vertical: fixed;
   109   size-policy-vertical: fixed;
   110   pref-width: var(hb-param-graphic-size-secondary);
   110   pref-width: var(hb-param-graphic-size-secondary);
   111   pref-height: var(hb-param-graphic-size-secondary);
   111   pref-height: var(hb-param-graphic-size-secondary);
   112   aspect-ratio: ignore;
   112   aspect-ratio: ignore;
   113 }
   113 }
   114 
   114 
       
   115 
   115 /*Landscape mode*/
   116 /*Landscape mode*/
       
   117 
   116 MsgListViewItem::newMsgIndicator[layoutName="custom"]:landscape {
   118 MsgListViewItem::newMsgIndicator[layoutName="custom"]:landscape {
   117   left:-var(hb-param-margin-view-left);
   119   left:-var(hb-param-margin-view-left);
   118   size-policy-horizontal: fixed;
   120   size-policy-horizontal: fixed;
   119   size-policy-vertical: ignore;
   121   size-policy-vertical: ignore;
   120   pref-width: 1.25un;
   122   pref-width: 1.25un;
   165 }
   167 }
   166 
   168 
   167 MsgListViewItem::unreadCount[layoutName="custom"]:landscape {
   169 MsgListViewItem::unreadCount[layoutName="custom"]:landscape {
   168   right:var(hb-param-margin-gene-middle-horizontal);
   170   right:var(hb-param-margin-gene-middle-horizontal);
   169   size-policy-horizontal: fixed;
   171   size-policy-horizontal: fixed;
       
   172   min-width: 5un;
   170   text-align: right;
   173   text-align: right;
   171   font-variant: primary;
   174   font-variant: primary;
   172   text-height: var(hb-param-text-height-primary);
   175   text-height: var(hb-param-text-height-primary);
   173   text-line-count-min:1;
   176   text-line-count-min:1;
   174   text-line-count-max:1;
   177   text-line-count-max:1;
   175 }
   178 }
   176 
   179 
   177 MsgListViewItem::presenceIndicator[layoutName="custom"]:landscape {
   180 MsgListViewItem::msgCommonIndicator[layoutName="custom"]:landscape {
   178   right: var(hb-param-margin-gene-middle-horizontal);
       
   179   size-policy-horizontal: fixed;
   181   size-policy-horizontal: fixed;
   180   size-policy-vertical: fixed;
   182   size-policy-vertical: fixed;
   181   pref-width: var(hb-param-graphic-size-secondary);
   183   pref-width: var(hb-param-graphic-size-secondary);
   182   pref-height: var(hb-param-graphic-size-secondary);
   184   pref-height: var(hb-param-graphic-size-secondary);
   183   aspect-ratio: ignore;
   185   aspect-ratio: ignore;