messagingapp/msgui/msgapp/resources/xml/msglistviewitem.css
changeset 25 84d9eb65b26f
child 27 e4592d119491
equal deleted inserted replaced
23:238255e8b033 25:84d9eb65b26f
       
     1 MsgListViewItem:portrait {
       
     2   layout: layout-portrait;
       
     3 }
       
     4 
       
     5 MsgListViewItem:landscape {
       
     6   layout: layout-landscape;
       
     7 }
       
     8 
       
     9 MsgListViewItem[layoutName="custom"]:portrait{
       
    10   layout:layout-portrait;
       
    11 }
       
    12 
       
    13 MsgListViewItem[layoutName="custom"]:landscape{
       
    14   layout:layout-landscape;
       
    15 }
       
    16 
       
    17 MsgListViewItem::newMsgIndicator[layoutName="custom"]:portrait {
       
    18   left:-var(hb-param-margin-view-left);
       
    19   size-policy-horizontal: fixed;
       
    20   size-policy-vertical: fixed;
       
    21   pref-width: 1.25un;
       
    22   pref-height: 15.1un;
       
    23   aspect-ratio: ignore;
       
    24 }
       
    25 
       
    26 MsgListViewItem[unReadMsg="true"]::addressLabel[layoutName="custom"]:portrait {
       
    27   top:-var(hb-param-margin-gene-top);
       
    28   left:-var(hb-param-margin-gene-middle-horizontal);
       
    29   right:var(hb-param-margin-gene-middle-horizontal);
       
    30   bottom:var(hb-param-margin-gene-middle-vertical);
       
    31   text-align: left;
       
    32   color: var(list_item_title_normal);
       
    33   font-variant: primary;
       
    34   text-height:var(hb-param-text-height-primary);
       
    35   text-line-count-min:1;
       
    36   text-line-count-max:1;
       
    37 }
       
    38 
       
    39 MsgListViewItem[unReadMsg="false"]::addressLabel[layoutName="custom"]:portrait {
       
    40   top:-var(hb-param-margin-gene-top);
       
    41   left:-var(hb-param-margin-gene-middle-horizontal);
       
    42   right:var(hb-param-margin-gene-middle-horizontal);
       
    43   bottom:var(hb-param-margin-gene-middle-vertical);
       
    44   text-align: left;
       
    45   color: var(list_item_title_normal);
       
    46   font-variant: secondary;
       
    47   text-height:var(hb-param-text-height-primary);
       
    48   text-line-count-min:1;
       
    49   text-line-count-max:1;
       
    50 }
       
    51 
       
    52 MsgListViewItem[unReadMsg="true"]::previewLabel[layoutName="custom"]:portrait {
       
    53   left:-var(hb-param-margin-gene-middle-horizontal);
       
    54   bottom:-var(hb-param-margin-gene-bottom);
       
    55   right:var(hb-param-margin-gene-middle-horizontal);
       
    56   text-align: left top;
       
    57   color: var(list_item_content_normal);
       
    58   font-variant: primary;
       
    59   text-height: var(hb-param-text-height-secondary);
       
    60   text-line-count-min:2;
       
    61   text-line-count-max:2;
       
    62 }
       
    63 
       
    64 MsgListViewItem[unReadMsg="false"]::previewLabel[layoutName="custom"]:portrait {
       
    65   left:-var(hb-param-margin-gene-middle-horizontal);
       
    66   bottom:-var(hb-param-margin-gene-bottom);
       
    67   right:var(hb-param-margin-gene-middle-horizontal);
       
    68   text-align: left top;
       
    69   color: var(list_item_content_normal);
       
    70   font-variant: secondary;
       
    71   text-height: var(hb-param-text-height-secondary);
       
    72   text-line-count-min:2;
       
    73   text-line-count-max:2;
       
    74 }
       
    75 
       
    76 MsgListViewItem::unreadCount[layoutName="custom"]:portrait {
       
    77   right:var(hb-param-margin-gene-middle-horizontal);
       
    78   size-policy-horizontal: fixed;
       
    79   text-align: right;
       
    80   color: var(list_item_content_normal);
       
    81   font-variant: primary;
       
    82   text-height: var(hb-param-text-height-primary);
       
    83   text-line-count-min:1;
       
    84   text-line-count-max:1;
       
    85 }
       
    86 
       
    87 MsgListViewItem[unReadMsg="true"]::timeLabel[layoutName="custom"]:portrait {
       
    88   right:var(hb-param-margin-gene-right);
       
    89   bottom:var(hb-param-margin-gene-bottom);
       
    90   size-policy-horizontal: fixed;
       
    91   pref-width:12un;
       
    92   text-align: right;
       
    93   color: var(list_item_content_normal);
       
    94   font-variant: primary;
       
    95   text-height: var(hb-param-text-height-tiny);
       
    96   text-line-count-min:1;
       
    97   text-line-count-max:1;
       
    98 }
       
    99 
       
   100 MsgListViewItem[unReadMsg="false"]::timeLabel[layoutName="custom"]:portrait {
       
   101   right:var(hb-param-margin-gene-right);
       
   102   bottom:var(hb-param-margin-gene-bottom);
       
   103   size-policy-horizontal: fixed;
       
   104   pref-width:12un;
       
   105   text-align: right;
       
   106   color: var(list_item_content_normal);
       
   107   font-variant: secondary;
       
   108   text-height: var(hb-param-text-height-tiny);
       
   109   text-line-count-min:1;
       
   110   text-line-count-max:1;
       
   111 }
       
   112 
       
   113 MsgListViewItem::presenceIndicator[layoutName="custom"]:portrait {
       
   114   right: var(hb-param-margin-gene-right);
       
   115   size-policy-horizontal: fixed;
       
   116   size-policy-vertical: fixed;
       
   117   pref-width: var(hb-param-graphic-size-secondary);
       
   118   pref-height: var(hb-param-graphic-size-secondary);
       
   119   aspect-ratio: ignore;
       
   120 }
       
   121 
       
   122 /*Landscape mode*/
       
   123 MsgListViewItem::newMsgIndicator[layoutName="custom"]:landscape {
       
   124   left:-var(hb-param-margin-view-left);
       
   125   size-policy-horizontal: fixed;
       
   126   size-policy-vertical: ignore;
       
   127   pref-width: 1.25un;
       
   128   pref-height: -1;
       
   129   aspect-ratio: ignore;
       
   130 }
       
   131 
       
   132 MsgListViewItem[unReadMsg="true"]::addressLabel[layoutName="custom"]:landscape {
       
   133   top:-var(hb-param-margin-gene-top);
       
   134   left:-var(hb-param-margin-gene-left);
       
   135   right:var(hb-param-margin-gene-middle-horizontal);
       
   136   bottom:var(hb-param-margin-gene-bottom);
       
   137   text-align: left;
       
   138   color: var(list_item_title_normal);
       
   139   font-variant: primary;
       
   140   text-height:var(hb-param-text-height-primary);
       
   141   text-line-count-min:1;
       
   142   text-line-count-max:1;
       
   143 }
       
   144 
       
   145 MsgListViewItem[unReadMsg="false"]::addressLabel[layoutName="custom"]:landscape {
       
   146   top:-var(hb-param-margin-gene-top);
       
   147   left:-var(hb-param-margin-gene-left);
       
   148   right:var(hb-param-margin-gene-middle-horizontal);
       
   149   bottom:var(hb-param-margin-gene-bottom);
       
   150   text-align: left;
       
   151   color: var(list_item_title_normal);
       
   152   font-variant: secondary;
       
   153   text-height:var(hb-param-text-height-primary);
       
   154   text-line-count-min:1;
       
   155   text-line-count-max:1;
       
   156 }
       
   157 
       
   158 MsgListViewItem[unReadMsg="true"]::previewLabel[layoutName="custom"]:landscape {
       
   159   right:var(hb-param-margin-gene-middle-horizontal);
       
   160   text-align: left;
       
   161   color: var(list_item_content_normal);
       
   162   font-variant: primary;
       
   163   text-height: var(hb-param-text-height-secondary);
       
   164   text-line-count-min:1;
       
   165   text-line-count-max:1;
       
   166 }
       
   167 
       
   168 MsgListViewItem[unReadMsg="false"]::previewLabel[layoutName="custom"]:landscape {
       
   169   right:var(hb-param-margin-gene-middle-horizontal);
       
   170   text-align: left;
       
   171   color: var(list_item_content_normal);
       
   172   font-variant: secondary;
       
   173   text-height: var(hb-param-text-height-secondary);
       
   174   text-line-count-min:1;
       
   175   text-line-count-max:1;
       
   176 }
       
   177 
       
   178 MsgListViewItem::unreadCount[layoutName="custom"]:landscape {
       
   179   right:var(hb-param-margin-gene-middle-horizontal);
       
   180   size-policy-horizontal: fixed;
       
   181   text-align: right;
       
   182   color: var(list_item_content_normal);
       
   183   font-variant: primary;
       
   184   text-height: var(hb-param-text-height-primary);
       
   185   text-line-count-min:1;
       
   186   text-line-count-max:1;
       
   187 }
       
   188 
       
   189 MsgListViewItem::presenceIndicator[layoutName="custom"]:landscape {
       
   190   right: var(hb-param-margin-gene-middle-horizontal);
       
   191   size-policy-horizontal: fixed;
       
   192   size-policy-vertical: fixed;
       
   193   pref-width: var(hb-param-graphic-size-secondary);
       
   194   pref-height: var(hb-param-graphic-size-secondary);
       
   195   aspect-ratio: ignore;
       
   196 }
       
   197 
       
   198 MsgListViewItem[unReadMsg="true"]::timeLabel[layoutName="custom"]:landscape {
       
   199   right:var(hb-param-margin-gene-right);
       
   200   size-policy-horizontal: fixed;
       
   201   pref-width:12un;
       
   202   text-align: right;
       
   203   color: var(list_item_content_normal);
       
   204   font-variant: primary;
       
   205   text-height: var(hb-param-text-height-tiny);
       
   206   text-line-count-min:1;
       
   207   text-line-count-max:1;
       
   208 }
       
   209 
       
   210 MsgListViewItem[unReadMsg="false"]::timeLabel[layoutName="custom"]:landscape {
       
   211   right:var(hb-param-margin-gene-right);
       
   212   size-policy-horizontal: fixed;
       
   213   pref-width:12un;
       
   214   text-align: right;
       
   215   color: var(list_item_content_normal);
       
   216   font-variant: secondary;
       
   217   text-height: var(hb-param-text-height-tiny);
       
   218   text-line-count-min:1;
       
   219   text-line-count-max:1;
       
   220 }
       
   221 
       
   222