messagingapp/msgui/msgapp/resources/msglistviewitem.css
changeset 25 84d9eb65b26f
parent 23 238255e8b033
child 27 e4592d119491
child 37 518b245aa84c
child 79 2981cb3aa489
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   pref-width:6un;
       
    80   text-align: left;
       
    81   color: var(list_item_content_normal);
       
    82   font-variant: primary;
       
    83   text-height: var(hb-param-text-height-primary);
       
    84   text-line-count-min:1;
       
    85   text-line-count-max:1;
       
    86 }
       
    87 
       
    88 MsgListViewItem[unReadMsg="true"]::timeLabel[layoutName="custom"]:portrait {
       
    89   right:var(hb-param-margin-gene-right);
       
    90   bottom:var(hb-param-margin-gene-bottom);
       
    91   size-policy-horizontal: fixed;
       
    92   pref-width:12un;
       
    93   text-align: right;
       
    94   color: var(list_item_content_normal);
       
    95   font-variant: primary;
       
    96   text-height: var(hb-param-text-height-tiny);
       
    97   text-line-count-min:1;
       
    98   text-line-count-max:1;
       
    99 }
       
   100 
       
   101 MsgListViewItem[unReadMsg="false"]::timeLabel[layoutName="custom"]:portrait {
       
   102   right:var(hb-param-margin-gene-right);
       
   103   bottom:var(hb-param-margin-gene-bottom);
       
   104   size-policy-horizontal: fixed;
       
   105   pref-width:12un;
       
   106   text-align: right;
       
   107   color: var(list_item_content_normal);
       
   108   font-variant: secondary;
       
   109   text-height: var(hb-param-text-height-tiny);
       
   110   text-line-count-min:1;
       
   111   text-line-count-max:1;
       
   112 }
       
   113 
       
   114 MsgListViewItem::presenceIndicator[layoutName="custom"]:portrait {
       
   115   right: var(hb-param-margin-gene-right);
       
   116   size-policy-horizontal: fixed;
       
   117   size-policy-vertical: fixed;
       
   118   pref-width: var(hb-param-graphic-size-secondary);
       
   119   pref-height: var(hb-param-graphic-size-secondary);
       
   120   aspect-ratio: ignore;
       
   121 }
       
   122 
       
   123 /*Landscape mode*/
       
   124 MsgListViewItem::newMsgIndicator[layoutName="custom"]:landscape {
       
   125   left:-var(hb-param-margin-view-left);
       
   126   size-policy-horizontal: fixed;
       
   127   size-policy-vertical: ignore;
       
   128   pref-width: 1.25un;
       
   129   pref-height: -1;
       
   130   aspect-ratio: ignore;
       
   131 }
       
   132 
       
   133 MsgListViewItem[unReadMsg="true"]::addressLabel[layoutName="custom"]:landscape {
       
   134   top:-var(hb-param-margin-gene-top);
       
   135   left:-var(hb-param-margin-gene-left);
       
   136   right:var(hb-param-margin-gene-middle-horizontal);
       
   137   bottom:var(hb-param-margin-gene-bottom);
       
   138   text-align: left;
       
   139   color: var(list_item_title_normal);
       
   140   font-variant: primary;
       
   141   text-height:var(hb-param-text-height-primary);
       
   142   text-line-count-min:1;
       
   143   text-line-count-max:1;
       
   144 }
       
   145 
       
   146 MsgListViewItem[unReadMsg="false"]::addressLabel[layoutName="custom"]:landscape {
       
   147   top:-var(hb-param-margin-gene-top);
       
   148   left:-var(hb-param-margin-gene-left);
       
   149   right:var(hb-param-margin-gene-middle-horizontal);
       
   150   bottom:var(hb-param-margin-gene-bottom);
       
   151   text-align: left;
       
   152   color: var(list_item_title_normal);
       
   153   font-variant: secondary;
       
   154   text-height:var(hb-param-text-height-primary);
       
   155   text-line-count-min:1;
       
   156   text-line-count-max:1;
       
   157 }
       
   158 
       
   159 MsgListViewItem[unReadMsg="true"]::previewLabel[layoutName="custom"]:landscape {
       
   160   right:var(hb-param-margin-gene-middle-horizontal);
       
   161   text-align: left;
       
   162   color: var(list_item_content_normal);
       
   163   font-variant: primary;
       
   164   text-height: var(hb-param-text-height-secondary);
       
   165   text-line-count-min:1;
       
   166   text-line-count-max:1;
       
   167 }
       
   168 
       
   169 MsgListViewItem[unReadMsg="false"]::previewLabel[layoutName="custom"]:landscape {
       
   170   right:var(hb-param-margin-gene-middle-horizontal);
       
   171   text-align: left;
       
   172   color: var(list_item_content_normal);
       
   173   font-variant: secondary;
       
   174   text-height: var(hb-param-text-height-secondary);
       
   175   text-line-count-min:1;
       
   176   text-line-count-max:1;
       
   177 }
       
   178 
       
   179 MsgListViewItem::unreadCount[layoutName="custom"]:landscape {
       
   180   right:var(hb-param-margin-gene-middle-horizontal);
       
   181   size-policy-horizontal: fixed;
       
   182   pref-width:6un;
       
   183   text-align: left;
       
   184   color: var(list_item_content_normal);
       
   185   font-variant: primary;
       
   186   text-height: var(hb-param-text-height-primary);
       
   187   text-line-count-min:1;
       
   188   text-line-count-max:1;
       
   189 }
       
   190 
       
   191 MsgListViewItem::presenceIndicator[layoutName="custom"]:landscape {
       
   192   right: var(hb-param-margin-gene-middle-horizontal);
       
   193   size-policy-horizontal: fixed;
       
   194   size-policy-vertical: fixed;
       
   195   pref-width: var(hb-param-graphic-size-secondary);
       
   196   pref-height: var(hb-param-graphic-size-secondary);
       
   197   aspect-ratio: ignore;
       
   198 }
       
   199 
       
   200 MsgListViewItem[unReadMsg="true"]::timeLabel[layoutName="custom"]:landscape {
       
   201   right:var(hb-param-margin-gene-right);
       
   202   size-policy-horizontal: fixed;
       
   203   pref-width:12un;
       
   204   text-align: right;
       
   205   color: var(list_item_content_normal);
       
   206   font-variant: primary;
       
   207   text-height: var(hb-param-text-height-tiny);
       
   208   text-line-count-min:1;
       
   209   text-line-count-max:1;
       
   210 }
       
   211 
       
   212 MsgListViewItem[unReadMsg="false"]::timeLabel[layoutName="custom"]:landscape {
       
   213   right:var(hb-param-margin-gene-right);
       
   214   size-policy-horizontal: fixed;
       
   215   pref-width:12un;
       
   216   text-align: right;
       
   217   color: var(list_item_content_normal);
       
   218   font-variant: secondary;
       
   219   text-height: var(hb-param-text-height-tiny);
       
   220   text-line-count-min:1;
       
   221   text-line-count-max:1;
       
   222 }
       
   223 
       
   224