[Slider.edc] Slider new style is added for indicator popup.
[platform/core/uifw/efl-theme-tizen.git] / themes / widgets / genlist / genlist_email.edc
old mode 100755 (executable)
new mode 100644 (file)
index 53fa4ff..f4face7
 /*\r
- * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved\r
+ * efl-theme-tizen\r
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.\r
  *\r
- * PROPRIETARY/CONFIDENTIAL\r
+ * Licensed under the Apache License, Version 2.0 (the License);\r
+ * you may not use this file except in compliance with the License.\r
+ * You may obtain a copy of the License at\r
  *\r
- * This software is the confidential and proprietary information of SAMSUNG\r
- * ELECTRONICS ("Confidential Information"). You agree and acknowledge that this\r
- * software is owned by Samsung and you shall not disclose such Confidential\r
- * Information and shall use it only in accordance with the terms of the license\r
- * agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no\r
- * representations or warranties about the suitability of the software, either\r
- * express or implied, including but not limited to the implied warranties of\r
- * merchantability, fitness for a particular purpose, or non-infringement.\r
- * SAMSUNG shall not be liable for any damages suffered by licensee arising out\r
- * of or releated to this software.\r
+ *     http://www.apache.org/licenses/LICENSE-2.0\r
  *\r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an AS IS BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
  */\r
 \r
-// -------------------------------------------------------------------\r
-// Email Style -------------------------------------------------------\r
-// -------------------------------------------------------------------\r
-#define GENLIST_EMAIL_PADDING_SIZE_LEFT               19\r
-#define GENLIST_EMAIL_PADDING_SIZE_TOP_3LINE          8\r
-#define GENLIST_EMAIL_PADDING_SIZE_BOTTOM_3LINE       8\r
-#define GENLIST_EMAIL_PADDING_SIZE_SUB_TEXT_BOTTOM       3\r
-#define GENLIST_EMAIL_PADDING_SIZE_DEFAULT            10\r
-\r
-#define GENLIST_EMAIL_ICON_CHECK_RADIO_SIZE     45\r
-\r
-#define GENLIST_EMAIL_TEXT_FOCUS_COLOR                      255 255 255 255\r
-#define GENLIST_EMAIL_TEXT_FOCUS_COLOR_STYLE                "#FFFFFFFF"\r
-\r
-#define GENLIST_EMAIL_MAIN_TEXT_SIZE                        38\r
-#define GENLIST_EMAIL_MAIN_TEXT_UNREAD_COLOR_STYLE          "#000000FF"\r
-#define GENLIST_EMAIL_MAIN_TEXT_UNREAD_DIM_COLOR_STYLE      "#00000066"\r
-#define GENLIST_EMAIL_MAIN_TEXT_READ_COLOR_STYLE            "#808080FF"\r
-#define GENLIST_EMAIL_MAIN_TEXT_READ_DIM_COLOR_STYLE      "#808080CC"\r
-\r
-#define GENLIST_EMAIL_SUB_TEXT_SIZE                         30\r
-#define GENLIST_EMAIL_SUB_TEXT_COLOR_STYLE                  "#808080FF"\r
-\r
-#define GENLIST_EMAIL_COUNT_TEXT_SIZE                       28\r
-#define GENLIST_EMAIL_COUNT_TEXT_UNREAD_COLOR               59 115 182 255\r
-#define GENLIST_EMAIL_COUNT_TEXT_UNREAD_COLOR_STYLE         "#3B73B6FF"\r
-#define GENLIST_EMAIL_COUNT_TEXT_READ_COLOR                 128 128 128 255\r
-#define GENLIST_EMAIL_COUNT_TEXT_READ_COLOR_STYLE           "#808080FF"\r
-\r
-#define GENLIST_EMAIL_CONTENTS_TEXT_SIZE                    26\r
-#define GENLIST_EMAIL_CONTENTS_TIME_TEXT_SIZE               24\r
-#define GENLIST_EMAIL_CONTENTS_TEXT_COLOR_STYLE             "#808080FF" // 128 128 128\r
-\r
-#define GENLIST_EMAIL_MATCH_TAG_COLOR                       "+ color=#1382FF" // 19 130 255\r
-\r
-#define STYLE_TAG \\r
-      tag:  "br" "\n";\\r
-      tag:  "ps" "ps";\\r
-      tag:  "tab" "\t";\\r
-      tag:  "b" "+ font=Tizen:style=Bold";\r
-\r
-#define STYLE_TAG_MATCH_EMAIL \\r
-      tag:  "match" GENLIST_EMAIL_MATCH_TAG_COLOR;\r
-\r
-#define STYLE_TAG_MATCH_EMAIL_FOCUS \\r
-      tag:  "match" GENLIST_EMAIL_TEXT_FOCUS_COLOR_STYLE;\r
-\r
-\r
-   styles {\r
-      style { name: "email_style_main";\r
-         base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_MAIN_TEXT_SIZE" color="GENLIST_EMAIL_MAIN_TEXT_UNREAD_COLOR_STYLE" text_class=list_item ellipsis=1.0";\r
-         STYLE_TAG\r
-         STYLE_TAG_MATCH_EMAIL\r
-      }\r
-      style { name: "email_style_main_dim";\r
-         base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_MAIN_TEXT_SIZE" color="GENLIST_EMAIL_MAIN_TEXT_UNREAD_DIM_COLOR_STYLE" text_class=list_item ellipsis=1.0";\r
-         STYLE_TAG\r
-         STYLE_TAG_MATCH_EMAIL\r
-      }\r
-      style { name: "email_style_main_read";\r
-         base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_MAIN_TEXT_SIZE" color="GENLIST_EMAIL_MAIN_TEXT_READ_COLOR_STYLE" text_class=list_item ellipsis=1.0";\r
-         STYLE_TAG\r
-         STYLE_TAG_MATCH_EMAIL\r
-      }\r
-      style { name: "email_style_main_read_dim";\r
-         base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_MAIN_TEXT_SIZE" color="GENLIST_EMAIL_MAIN_TEXT_READ_DIM_COLOR_STYLE" text_class=list_item ellipsis=1.0";\r
-         STYLE_TAG\r
-         STYLE_TAG_MATCH_EMAIL\r
-      }\r
-      style { name: "email_style_main_focus";\r
-         base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_MAIN_TEXT_SIZE" color="GENLIST_EMAIL_TEXT_FOCUS_COLOR_STYLE" text_class=list_item ellipsis=1.0";\r
-         STYLE_TAG\r
-         STYLE_TAG_MATCH_EMAIL_FOCUS\r
-      }\r
-      style { name: "email_style_sub";\r
-         base: "font=Tizen:style=Bold font_size="GENLIST_EMAIL_SUB_TEXT_SIZE" color="GENLIST_EMAIL_SUB_TEXT_COLOR_STYLE" text_class=tizen ellipsis=1.0";\r
-         STYLE_TAG\r
-         STYLE_TAG_MATCH_EMAIL\r
-      }\r
-      style { name: "email_style_sub_focus";\r
-         base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_SUB_TEXT_SIZE" color="GENLIST_EMAIL_TEXT_FOCUS_COLOR_STYLE" text_class=tizen ellipsis=1.0";\r
-         STYLE_TAG\r
-         STYLE_TAG_MATCH_EMAIL_FOCUS\r
-      }\r
-      style { name: "email_style_contents";\r
-         base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_CONTENTS_TEXT_SIZE" color="GENLIST_EMAIL_CONTENTS_TEXT_COLOR_STYLE" text_class=tizen ellipsis=1.0";\r
-         STYLE_TAG\r
-         STYLE_TAG_MATCH_EMAIL\r
-      }\r
-      style { name: "email_style_contents_time";\r
-         base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_CONTENTS_TIME_TEXT_SIZE" color="GENLIST_EMAIL_CONTENTS_TEXT_COLOR_STYLE" text_class=tizen ellipsis=1.0";\r
-         STYLE_TAG\r
-         STYLE_TAG_MATCH_EMAIL\r
-      }\r
-      style { name: "email_style_contents_time_focus";\r
-         base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_CONTENTS_TIME_TEXT_SIZE" color="GENLIST_EMAIL_TEXT_FOCUS_COLOR_STYLE" text_class=tizen ellipsis=1.0";\r
-         STYLE_TAG\r
-         STYLE_TAG_MATCH_EMAIL_FOCUS\r
-      }\r
-      style { name: "email_style_contents_focus";\r
-         base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_CONTENTS_TEXT_SIZE" color="GENLIST_EMAIL_TEXT_FOCUS_COLOR_STYLE" text_class=tizen ellipsis=1.0";\r
-         STYLE_TAG\r
-         STYLE_TAG_MATCH_EMAIL_FOCUS\r
-      }\r
-   }\r
-\r
-// email main text\r
-#define PARAM_EMAIL_MAIN \\r
-   text { \\r
-      align: 0 0.5; \\r
-      min: 0 1; \\r
-      style: "email_style_main"; \\r
-   }\r
-\r
-#define DESCRIPTION_EMAIL_MAIN_OTHERS \\r
-   description { state: "disabled" 0.0; \\r
-      inherit: "default" 0.0; \\r
-      text.style: "email_style_main_dim"; \\r
-   } \\r
-   description { state: "read" 0.0; \\r
-      inherit: "default" 0.0; \\r
-      text.style: "email_style_main_read"; \\r
-   } \\r
-   description { state: "read,disabled" 0.0; \\r
-      inherit: "default" 0.0; \\r
-      text.style: "email_style_main_read_dim"; \\r
-   } \\r
-   description { state: "selected" 0.0; \\r
-      inherit: "default" 0.0; \\r
-      text.style: "email_style_main_focus"; \\r
-   }\r
-\r
-// email sub text\r
-#define PARAM_EMAIL_SUB \\r
-   text { \\r
-      align: 0 0.5; \\r
-      min: 0 1; \\r
-      style: "email_style_sub"; \\r
-   }\r
-\r
-#define DESCRIPTION_EMAIL_SUB_OTHERS \\r
-   description { state: "selected" 0.0; \\r
-      inherit: "default" 0.0; \\r
-      text.style: "email_style_sub_focus"; \\r
-   }\r
-\r
-// email contents text\r
-#define PARAM_EMAIL_COUNT \\r
-   color: GENLIST_EMAIL_COUNT_TEXT_UNREAD_COLOR; \\r
-   text { \\r
-      align: 0 0.5; \\r
-      min: 0 1; \\r
-      font: "Tizen:style=Medium"; \\r
-      size: GENLIST_EMAIL_COUNT_TEXT_SIZE; \\r
-      text_class: "tizen"; \\r
-   }\r
-\r
-#define DESCRIPTION_EMAIL_COUNT_OTHERS \\r
-   description { state: "read" 0.0; \\r
-      inherit: "default" 0.0; \\r
-      color: GENLIST_EMAIL_COUNT_TEXT_READ_COLOR; \\r
-   } \\r
-   description { state: "selected" 0.0; \\r
-      inherit: "default" 0.0; \\r
-      color: GENLIST_EMAIL_TEXT_FOCUS_COLOR; \\r
-   }\r
-\r
-// email contents text\r
-#define PARAM_EMAIL_CONTENTS \\r
-   text { \\r
-      align: 0 0.5; \\r
-      min: 0 1; \\r
-      font: "Tizen:style=Regular"; \\r
-      style: "email_style_contents"; \\r
-   }\r
-\r
-#define PARAM_EMAIL_CONTENTS_TIME \\r
-   text { \\r
-      align: 0 0.5; \\r
-      min: 0 1; \\r
-      font: "Tizen:style=Regular"; \\r
-      style: "email_style_contents_time"; \\r
-   }\r
-\r
-#define DESCRIPTION_EMAIL_CONTENTS_TIME_FOCUS \\r
-   description { state: "selected" 0.0; \\r
-      inherit: "default" 0.0; \\r
-      text.style: "email_style_contents_time_focus"; \\r
-   }\r
-\r
-#define DESCRIPTION_EMAIL_CONTENTS_OTHERS \\r
-   description { state: "selected" 0.0; \\r
-      inherit: "default" 0.0; \\r
-      text.style: "email_style_contents_focus"; \\r
-   }\r
-\r
-#define GENLIST_PART_PADDING_EMAIL_BOTTOM_TO_SIZE( NAME, SIZE ) \\r
-         GENLIST_PART_SPACER(NAME, \\r
-            GENLIST_DESCRIPTION_LRT("elm.icon.2", "elm.text.4", "elm.text.3", \\r
-               min: 0 SIZE; \\r
-               fixed: 0 1; \\r
-            )  \\r
-         )\r
-\r
-#define GENLIST_PARAM_ICON_EMAIL_CHECK_RADIO \\r
-         min: GENLIST_EMAIL_ICON_CHECK_RADIO_SIZE GENLIST_EMAIL_ICON_CHECK_RADIO_SIZE; \\r
-         max: GENLIST_EMAIL_ICON_CHECK_RADIO_SIZE GENLIST_EMAIL_ICON_CHECK_RADIO_SIZE;\r
-\r
-#define GENLIST_PART_ICON_EMAIL_CHECK_RADIO_L(NAME, LEFT) \\r
-   GENLIST_PART_ICON(NAME, \\r
-      GENLIST_DESCRIPTION_LTB(LEFT, "elm.padding.top", "elm.padding.bottom", \\r
-         GENLIST_PARAM_ICON_EMAIL_CHECK_RADIO \\r
-         fixed: 1 1; \\r
-      ) \\r
-   )\r
-\r
-#define HEIGHT_EMAIL_MAIN         54\r
-#define HEIGHT_EMAIL_SUB          42\r
-#define HEIGHT_EMAIL_CONTENTS      38\r
-\r
-// 2.2.3.5 (Email Style)\r
-   group { GENLIST_NAME("email.list/default")\r
-      GENLIST_PROLOG_NORMAL\r
-      data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4";\r
-      data.item: "contents" "elm.swallow.colorbar elm.icon.1 elm.icon.1.touch elm.icon.2 elm.icon.3 elm.icon.4 elm.icon.4.touch";\r
-\r
-      script {\r
-         public readed = 0;\r
-      }\r
-      parts {\r
-         GENLIST_PART_BG_NORMAL\r
-         GENLIST_PART_BASE\r
-         GENLIST_PART_BOTTOM_LINE\r
-         GENLIST_PART_PADDING_LEFT_SIZE(GENLIST_EMAIL_PADDING_SIZE_LEFT)\r
-         GENLIST_PART_PADDING_RIGHT\r
-         GENLIST_PART_PADDING_TOP_SIZE( GENLIST_EMAIL_PADDING_SIZE_TOP_3LINE )\r
-         GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_EMAIL_PADDING_SIZE_BOTTOM_3LINE )\r
-         GENLIST_PART_COLORBAR\r
-\r
-         GENLIST_PART_ICON("elm.icon.1.touch",\r
-            GENLIST_DESCRIPTION_ENVELOP("elm.icon.1",\r
-               rel1.offset: -10 -17;\r
-               rel2.offset: 10 10;\r
-            )\r
-         )\r
-         GENLIST_PART_ICON_EMAIL_CHECK_RADIO_L("elm.icon.1", "elm.padding.left")\r
-         GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1")\r
-\r
-         GENLIST_PART_TEXTBLOCK("elm.text.1",\r
-            GENLIST_DESCRIPTION_LRT("elm.padding.icon1.right", "elm.text.limit", "elm.padding.top",\r
-               PARAM_EMAIL_MAIN\r
-               min: 0 HEIGHT_EMAIL_MAIN;\r
-               fixed: 1 1; align: 0 0; text.max: 1 0;  // This limits text growing.\r
-            )\r
-            DESCRIPTION_EMAIL_MAIN_OTHERS\r
-         )\r
-\r
-         // FIXME: because script cannot be inherited, text.5 is defined here and can be inherited\r
-         GENLIST_PART_TEXT("elm.text.5",\r
-            GENLIST_DESCRIPTION_LTB("elm.text.1", "elm.padding.top", "elm.text.3",\r
-               PARAM_EMAIL_COUNT\r
-               min: 45 HEIGHT_EMAIL_MAIN;\r
-               max: 45 HEIGHT_EMAIL_MAIN;\r
-               text.min: 1 0;\r
-               text.align: 0.5 0.65;\r
-               fixed: 1 1;\r
-               visible: 0;\r
-            )\r
-         )\r
-         // Virtual part for Maxmimum right X axis of TEXT\r
-         GENLIST_PART_SPACER("elm.text.limit",\r
-            GENLIST_DESCRIPTION_R("elm.icon.3",\r
-               min: 0 0;\r
-               max: 0 0;\r
-               fixed: 1 0;\r
-            )\r
-         )\r
-         GENLIST_PART_ICON("elm.icon.3",\r
-            GENLIST_DESCRIPTION_RTB("elm.padding.icon4.left", "elm.padding.top", "elm.text.3",\r
-               min: 45 45;\r
-               max: HEIGHT_EMAIL_MAIN HEIGHT_EMAIL_MAIN;\r
-               fixed: 1 0;\r
-            )\r
-         )\r
-         GENLIST_PART_PADDING_R_SIZE("elm.padding.icon4.left", "elm.icon.4", GENLIST_EMAIL_PADDING_SIZE_DEFAULT)\r
-         GENLIST_PART_ICON("elm.icon.4",\r
-            GENLIST_DESCRIPTION_RTB("elm.padding.right", "elm.padding.top", "elm.text.3",\r
-               min: 45 45;\r
-               max: HEIGHT_EMAIL_MAIN HEIGHT_EMAIL_MAIN;\r
-               fixed: 1 0;\r
-            )\r
-         )\r
-         GENLIST_PART_ICON("elm.icon.4.touch",\r
-            GENLIST_DESCRIPTION_ENVELOP("elm.icon.4",\r
-               rel1.offset: -4 -7;\r
-               rel2.offset: 26 8;\r
-            )\r
-         )\r
-         GENLIST_PART_ICON("elm.icon.2",\r
-            GENLIST_DESCRIPTION_LTB("elm.padding.icon1.right", "elm.text.1", "elm.text.2",\r
-               fixed: 1 0;\r
-            )\r
-         )\r
-         GENLIST_PART_TEXTBLOCK("elm.text.3",\r
-            GENLIST_DESCRIPTION_LRT("elm.icon.2", "elm.text.4", "elm.text.1",\r
-               PARAM_EMAIL_SUB\r
-               min: 0 HEIGHT_EMAIL_SUB;\r
-               fixed: 0 1;\r
-            )\r
-            DESCRIPTION_EMAIL_SUB_OTHERS\r
-         )\r
-         GENLIST_PART_TEXTBLOCK("elm.text.4",\r
-            GENLIST_DESCRIPTION_RTB("elm.padding.right", "elm.text.1", "elm.padding.text3.bottom",\r
-               PARAM_EMAIL_CONTENTS_TIME\r
-               GENLIST_PARAM_TEXT_LIMIT_RT\r
-               min: 0 HEIGHT_EMAIL_SUB;\r
-               fixed: 1 0;\r
-            )\r
-            DESCRIPTION_EMAIL_CONTENTS_TIME_FOCUS\r
-         )\r
-\r
-         GENLIST_PART_PADDING_EMAIL_BOTTOM_TO_SIZE( "elm.padding.text3.bottom", GENLIST_EMAIL_PADDING_SIZE_SUB_TEXT_BOTTOM)\r
-\r
-         GENLIST_PART_TEXTBLOCK("elm.text.2",\r
-            GENLIST_DESCRIPTION("elm.padding.icon1.right", "elm.padding.right", "elm.padding.text3.bottom", "elm.padding.bottom",\r
-               PARAM_EMAIL_CONTENTS\r
-               min: 0 HEIGHT_EMAIL_CONTENTS;\r
-            )\r
-            DESCRIPTION_EMAIL_CONTENTS_OTHERS\r
-         )\r
-         GENLIST_PART_FLIP\r
-      }\r
-      GENLIST_PROGRAMS_READ_TEXT( target: "elm.text.1";\r
-         target: "elm.text.2"; target: "elm.text.3";\r
-         target: "elm.text.4"; target: "elm.text.5";\r
-         target: "elm.swallow.colorbar";\r
-         target: "elm.icon.1"; target: "elm.icon.1.touch";\r
-         target: "elm.icon.2"; target: "elm.icon.3";\r
-         target: "elm.icon.4"; target: "elm.icon.4.touch";\r
-      )\r
-      GENLIST_PROGRAM_SOUND("elm.icon.4.touch")\r
-   }\r
-\r
-// email list with conversation text\r
-   group { GENLIST_NAME("email.list.conversation/default")\r
-      inherit: "elm/genlist/item/email.list/default";\r
-\r
-      data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4 elm.text.5";\r
-      parts {\r
-         GENLIST_PART_TEXT("elm.text.5",\r
-            GENLIST_DESCRIPTION_LTB("elm.text.1", "elm.padding.top", "elm.text.3",\r
-               visible: 1;\r
-            )\r
-            DESCRIPTION_EMAIL_COUNT_OTHERS\r
-         )\r
-         // Virtual part for Maxmimum right X axis of TEXT\r
-         GENLIST_PART_SPACER("elm.text.limit",\r
-            GENLIST_DESCRIPTION_R("elm.icon.3",\r
-               min: 45 HEIGHT_EMAIL_MAIN;\r
-               max: 45 HEIGHT_EMAIL_MAIN;\r
-            )\r
-         )\r
-      }\r
-   }\r
-\r
-   // 2.2.3.13\r
-   // email outbox style\r
-   group { GENLIST_NAME("email.outbox/default")\r
-      GENLIST_PROLOG_NORMAL\r
-      data.item: "texts" "elm.text.1 elm.text.2 elm.text.3";\r
-      data.item: "contents" "elm.swallow.colorbar elm.icon.1 elm.icon.1.touch elm.icon.2 elm.icon.3 elm.icon.4 elm.icon.4.touch elm.icon.5";\r
-\r
-      script {\r
-         public readed = 0;\r
-      }\r
-      parts {\r
-         GENLIST_PART_BG_NORMAL\r
-         GENLIST_PART_BASE\r
-         GENLIST_PART_BOTTOM_LINE\r
-         GENLIST_PART_PADDING_LEFT_SIZE(GENLIST_EMAIL_PADDING_SIZE_LEFT)\r
-         GENLIST_PART_PADDING_RIGHT_EDIT\r
-         GENLIST_PART_PADDING_TOP_SIZE( GENLIST_EMAIL_PADDING_SIZE_TOP_3LINE )\r
-         GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_EMAIL_PADDING_SIZE_BOTTOM_3LINE )\r
-         GENLIST_PART_COLORBAR\r
-\r
-         GENLIST_PART_ICON("elm.icon.1.touch",\r
-            GENLIST_DESCRIPTION_ENVELOP("elm.icon.1",\r
-               rel1.offset: -10 -17;\r
-               rel2.offset: 10 10;\r
-            )\r
-         )\r
-\r
-         GENLIST_PART_ICON_EMAIL_CHECK_RADIO_L("elm.icon.1", "elm.padding.left")\r
-         GENLIST_PART_PADDING_L("elm.padding.icon1.right", "elm.icon.1")\r
-\r
-         GENLIST_PART_TEXTBLOCK("elm.text.1",\r
-            GENLIST_DESCRIPTION_LRT("elm.padding.icon1.right", "elm.text.limit", "elm.padding.top",\r
-               PARAM_EMAIL_MAIN\r
-               min: 0 HEIGHT_EMAIL_MAIN;\r
-               fixed: 1 1; align: 0 0; text.max: 1 0;  // This limits text growing.\r
-            )\r
-            DESCRIPTION_EMAIL_MAIN_OTHERS\r
-         )\r
-         // FIXME: because script cannot be inherited, text.4 is defined here and can be inherited\r
-         GENLIST_PART_TEXT("elm.text.4",\r
-            GENLIST_DESCRIPTION_LTB("elm.text.1", "elm.padding.top", "elm.text.3",\r
-               PARAM_EMAIL_COUNT\r
-               min: 0 HEIGHT_EMAIL_MAIN;\r
-               max: 0 HEIGHT_EMAIL_MAIN;\r
-               text.min: 1 0;\r
-               text.align: 0.5 0.65;\r
-               fixed: 1 0;\r
-               visible: 0;\r
-            )\r
-         )\r
-         // Virtual part for Maxmimum right X axis of TEXT\r
-         GENLIST_PART_SPACER("elm.text.limit",\r
-            GENLIST_DESCRIPTION_R("elm.icon.3",\r
-               min: 0 0;\r
-               max: 0 0;\r
-               fixed: 1 0;\r
-            )\r
-         )\r
-         GENLIST_PART_ICON("elm.icon.3",\r
-            GENLIST_DESCRIPTION_RTB("elm.padding.icon4.left", "elm.padding.top", "elm.text.3",\r
-               min: 45 45;\r
-               max: HEIGHT_EMAIL_MAIN HEIGHT_EMAIL_MAIN;\r
-               fixed: 1 0;\r
-            )\r
-         )\r
-         GENLIST_PART_PADDING_R_SIZE("elm.padding.icon4.left", "elm.icon.4", GENLIST_EMAIL_PADDING_SIZE_DEFAULT)\r
-         GENLIST_PART_ICON("elm.icon.4",\r
-            GENLIST_DESCRIPTION_RTB("elm.padding.right", "elm.padding.top", "elm.text.3",\r
-               min: 45 45;\r
-               max: HEIGHT_EMAIL_MAIN HEIGHT_EMAIL_MAIN;\r
-               fixed: 1 0;\r
-            )\r
-         )\r
-         GENLIST_PART_ICON("elm.icon.4.touch",\r
-            GENLIST_DESCRIPTION_ENVELOP("elm.icon.4",\r
-               rel1.offset: -4 -7;\r
-               rel2.offset: 26 8;\r
-            )\r
-         )\r
-\r
-         GENLIST_PART_ICON("elm.icon.2",\r
-            GENLIST_DESCRIPTION_LTB("elm.padding.icon1.right", "elm.text.1", "elm.text.2",\r
-               fixed: 1 1;\r
-            )\r
-         )\r
-         GENLIST_PART_TEXTBLOCK("elm.text.3",\r
-            GENLIST_DESCRIPTION_LRT("elm.icon.2", "elm.padding.icon5.left", "elm.text.1",\r
-               PARAM_EMAIL_SUB\r
-               min: 0 HEIGHT_EMAIL_SUB;\r
-               fixed: 0 1;\r
-            )\r
-            DESCRIPTION_EMAIL_SUB_OTHERS\r
-         )\r
-\r
-         GENLIST_PART_PADDING_EMAIL_BOTTOM_TO_SIZE( "elm.padding.text3.bottom", GENLIST_EMAIL_PADDING_SIZE_SUB_TEXT_BOTTOM)\r
-\r
-         GENLIST_PART_TEXTBLOCK("elm.text.2",\r
-            GENLIST_DESCRIPTION("elm.padding.icon1.right", "elm.padding.icon5.left", "elm.padding.text3.bottom", "elm.padding.bottom",\r
-               PARAM_EMAIL_CONTENTS\r
-               min: 0 HEIGHT_EMAIL_CONTENTS;\r
-            )\r
-            DESCRIPTION_EMAIL_CONTENTS_OTHERS\r
-         )\r
-         GENLIST_PART_PADDING_R("elm.padding.icon5.left", "elm.icon.5")\r
-         GENLIST_PART_ICON("elm.icon.5",\r
-            GENLIST_DESCRIPTION_RTB("elm.padding.right", "elm.text.1", "elm.padding.bottom",\r
-               min: 180 74;\r
-               max: 180 74;\r
-               fixed: 1 1;\r
-            )\r
-         )\r
-         GENLIST_PART_FLIP\r
-      }\r
-      GENLIST_PROGRAMS_READ_TEXT( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3";\r
-         target: "elm.text.4";\r
-         target: "elm.swallow.colorbar"; target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3";\r
-         target: "elm.icon.4"; target: "elm.icon.5";\r
-      )\r
-      GENLIST_PROGRAM_SOUND("elm.icon.4.touch")\r
-   }\r
-\r
-// email outbox style with conversation\r
-   group { GENLIST_NAME("email.outbox.conversation/default")\r
-      inherit: "elm/genlist/item/email.outbox/default";\r
-\r
-      data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4";\r
-\r
-      parts {\r
-         GENLIST_PART_TEXT("elm.text.4",\r
-            GENLIST_DESCRIPTION_LTB("elm.text.1", "elm.padding.top", "elm.icon.5",\r
-               min: 45 HEIGHT_EMAIL_MAIN;\r
-               max: 45 HEIGHT_EMAIL_MAIN;\r
-               visible: 1;\r
-            )\r
-            DESCRIPTION_EMAIL_COUNT_OTHERS\r
-         )\r
-         GENLIST_PART_SPACER("elm.text.limit",\r
-            GENLIST_DESCRIPTION_R("elm.icon.3",\r
-               min: 45 HEIGHT_EMAIL_MAIN;\r
-               max: 45 HEIGHT_EMAIL_MAIN;\r
-            )\r
-         )\r
-      }\r
-   }\r
-\r
+// -------------------------------------------------------------------
+// Email Style -------------------------------------------------------
+// -------------------------------------------------------------------
+// For Handling checkbox srolling issue we have increased the size of check box
+// background to 64*64 though the check image is 45*45 as per GUI. These leaves
+// 9 pixel extra space before the check image and 10 pixel after the check image.
+// So to adjust this extra space the padding is reduced from 19 to 10.
+// This means padding will be 10 pixel and extra space before the checkbox will be 9
+// So it will again get to 19 pixel as gap before the checkbox as per GUI
+#define GENLIST_EMAIL_PADDING_SIZE_LEFT               10
+#define GENLIST_EMAIL_PADDING_SIZE_TOP_3LINE          8
+#define GENLIST_EMAIL_PADDING_SIZE_BOTTOM_3LINE       8
+#define GENLIST_EMAIL_PADDING_SIZE_SUB_TEXT_BOTTOM       3
+#define GENLIST_EMAIL_PADDING_SIZE_DEFAULT            10
+
+#define GENLIST_EMAIL_ICON_CHECK_RADIO_SIZE     45
+
+#define GENLIST_EMAIL_TEXT_FOCUS_COLOR                      255 255 255 255
+#define GENLIST_EMAIL_TEXT_FOCUS_COLOR_STYLE                "#FFFFFFFF"
+
+#define GENLIST_EMAIL_MAIN_TEXT_SIZE                        38
+#define GENLIST_EMAIL_MAIN_TEXT_UNREAD_COLOR_STYLE          "#000000FF"
+#define GENLIST_EMAIL_MAIN_TEXT_UNREAD_DIM_COLOR_STYLE      "#00000066"
+#define GENLIST_EMAIL_MAIN_TEXT_READ_COLOR_STYLE            "#808080FF"
+#define GENLIST_EMAIL_MAIN_TEXT_READ_DIM_COLOR_STYLE      "#808080CC"
+
+#define GENLIST_EMAIL_SUB_TEXT_SIZE                         30
+#define GENLIST_EMAIL_SUB_TEXT_COLOR_STYLE                  "#808080FF"
+
+#define GENLIST_EMAIL_COUNT_TEXT_SIZE                       28
+#define GENLIST_EMAIL_COUNT_TEXT_UNREAD_COLOR               59 115 182 255
+#define GENLIST_EMAIL_COUNT_TEXT_UNREAD_COLOR_STYLE         "#3B73B6FF"
+#define GENLIST_EMAIL_COUNT_TEXT_READ_COLOR                 128 128 128 255
+#define GENLIST_EMAIL_COUNT_TEXT_READ_COLOR_STYLE           "#808080FF"
+
+#define GENLIST_EMAIL_CONTENTS_TEXT_SIZE                    26
+#define GENLIST_EMAIL_CONTENTS_TIME_TEXT_SIZE               24
+ // 128 128 128
+#define GENLIST_EMAIL_CONTENTS_TEXT_COLOR_STYLE             "#808080FF"
+
+ // 19 130 255
+#define GENLIST_EMAIL_MATCH_TAG_COLOR                       "+ color=#1382FF"
+
+#define STYLE_TAG \
+      tag:  "br" "\n";\
+      tag:  "ps" "ps";\
+      tag:  "tab" "\t";\
+      tag:  "b" "+ font=Tizen:style=Bold";
+
+#define STYLE_TAG_MATCH_EMAIL \
+      tag:  "match" GENLIST_EMAIL_MATCH_TAG_COLOR;
+
+#define STYLE_TAG_MATCH_EMAIL_FOCUS \
+      tag:  "match" GENLIST_EMAIL_TEXT_FOCUS_COLOR_STYLE;
+
+
+   styles {
+      style { name: "email_style_main";
+         base: "font=Tizen:style=Bold font_size="GENLIST_EMAIL_MAIN_TEXT_SIZE" color="GENLIST_EMAIL_MAIN_TEXT_UNREAD_COLOR_STYLE" text_class=list_item ellipsis=1.0";
+         STYLE_TAG
+         STYLE_TAG_MATCH_EMAIL
+      }
+      style { name: "email_style_main_dim";
+         base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_MAIN_TEXT_SIZE" color="GENLIST_EMAIL_MAIN_TEXT_UNREAD_DIM_COLOR_STYLE" text_class=list_item ellipsis=1.0";
+         STYLE_TAG
+         STYLE_TAG_MATCH_EMAIL
+      }
+      style { name: "email_style_main_read";
+         base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_MAIN_TEXT_SIZE" color="GENLIST_EMAIL_MAIN_TEXT_READ_COLOR_STYLE" text_class=list_item ellipsis=1.0";
+         STYLE_TAG
+         STYLE_TAG_MATCH_EMAIL
+      }
+      style { name: "email_style_main_read_dim";
+         base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_MAIN_TEXT_SIZE" color="GENLIST_EMAIL_MAIN_TEXT_READ_DIM_COLOR_STYLE" text_class=list_item ellipsis=1.0";
+         STYLE_TAG
+         STYLE_TAG_MATCH_EMAIL
+      }
+      style { name: "email_style_main_focus";
+         base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_MAIN_TEXT_SIZE" color="GENLIST_EMAIL_TEXT_FOCUS_COLOR_STYLE" text_class=list_item ellipsis=1.0";
+         STYLE_TAG
+         STYLE_TAG_MATCH_EMAIL_FOCUS
+      }
+      style { name: "email_style_sub";
+         base: "font=Tizen:style=Bold font_size="GENLIST_EMAIL_SUB_TEXT_SIZE" color="GENLIST_EMAIL_SUB_TEXT_COLOR_STYLE" text_class=tizen ellipsis=1.0";
+         STYLE_TAG
+         STYLE_TAG_MATCH_EMAIL
+      }
+      style { name: "email_style_sub_focus";
+         base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_SUB_TEXT_SIZE" color="GENLIST_EMAIL_TEXT_FOCUS_COLOR_STYLE" text_class=tizen ellipsis=1.0";
+         STYLE_TAG
+         STYLE_TAG_MATCH_EMAIL_FOCUS
+      }
+      style { name: "email_style_contents";
+         base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_CONTENTS_TEXT_SIZE" color="GENLIST_EMAIL_CONTENTS_TEXT_COLOR_STYLE" text_class=tizen ellipsis=1.0";
+         STYLE_TAG
+         STYLE_TAG_MATCH_EMAIL
+      }
+      style { name: "email_style_contents_time";
+         base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_CONTENTS_TIME_TEXT_SIZE" color="GENLIST_EMAIL_CONTENTS_TEXT_COLOR_STYLE" text_class=tizen ellipsis=1.0";
+         STYLE_TAG
+         STYLE_TAG_MATCH_EMAIL
+      }
+      style { name: "email_style_contents_time_focus";
+         base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_CONTENTS_TIME_TEXT_SIZE" color="GENLIST_EMAIL_TEXT_FOCUS_COLOR_STYLE" text_class=tizen ellipsis=1.0";
+         STYLE_TAG
+         STYLE_TAG_MATCH_EMAIL_FOCUS
+      }
+      style { name: "email_style_contents_focus";
+         base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_CONTENTS_TEXT_SIZE" color="GENLIST_EMAIL_TEXT_FOCUS_COLOR_STYLE" text_class=tizen ellipsis=1.0";
+         STYLE_TAG
+         STYLE_TAG_MATCH_EMAIL_FOCUS
+      }
+   }
+
+// email main text
+#define PARAM_EMAIL_MAIN \
+   text { \
+      align: 0 0.5; \
+      min: 0 1; \
+      style: "email_style_main"; \
+   }
+
+#define DESCRIPTION_EMAIL_MAIN_OTHERS \
+   description { state: "disabled" 0.0; \
+      inherit: "default" 0.0; \
+      text.style: "email_style_main_dim"; \
+   } \
+   description { state: "read" 0.0; \
+      inherit: "default" 0.0; \
+      text.style: "email_style_main_read"; \
+   } \
+   description { state: "read,disabled" 0.0; \
+      inherit: "default" 0.0; \
+      text.style: "email_style_main_read_dim"; \
+   } \
+   description { state: "selected" 0.0; \
+      inherit: "default" 0.0; \
+      text.style: "email_style_main_focus"; \
+   }
+
+// email sub text
+#define PARAM_EMAIL_SUB \
+   text { \
+      align: 0 0.5; \
+      min: 0 1; \
+      style: "email_style_sub"; \
+   }
+
+#define DESCRIPTION_EMAIL_SUB_OTHERS \
+   description { state: "selected" 0.0; \
+      inherit: "default" 0.0; \
+      text.style: "email_style_sub_focus"; \
+   }
+
+// email contents text
+#define PARAM_EMAIL_COUNT \
+   color: GENLIST_EMAIL_COUNT_TEXT_UNREAD_COLOR; \
+   text { \
+      align: 0 0.5; \
+      min: 0 1; \
+      font: "Tizen:style=Bold"; \
+      size: GENLIST_EMAIL_COUNT_TEXT_SIZE; \
+      text_class: "tizen"; \
+   }
+
+#define DESCRIPTION_EMAIL_COUNT_OTHERS \
+   description { state: "read" 0.0; \
+      inherit: "default" 0.0; \
+      color: GENLIST_EMAIL_COUNT_TEXT_READ_COLOR; \
+      text { \
+         align: 0 0.5; \
+         min: 0 1; \
+         font: "Tizen:style=Regular"; \
+         size: GENLIST_EMAIL_COUNT_TEXT_SIZE; \
+         text_class: "tizen"; \
+      } \
+   } \
+   description { state: "selected" 0.0; \
+      inherit: "default" 0.0; \
+      color: GENLIST_EMAIL_TEXT_FOCUS_COLOR; \
+      text { \
+         align: 0 0.5; \
+         min: 0 1; \
+         font: "Tizen:style=Regular"; \
+         size: GENLIST_EMAIL_COUNT_TEXT_SIZE; \
+         text_class: "tizen"; \
+      } \
+   }
+
+// email contents text
+#define PARAM_EMAIL_CONTENTS \
+   text { \
+      align: 0 0.5; \
+      min: 0 1; \
+      font: "Tizen:style=Regular"; \
+      style: "email_style_contents"; \
+   }
+
+#define PARAM_EMAIL_CONTENTS_TIME \
+   text { \
+      align: 0 0.5; \
+      min: 0 1; \
+      font: "Tizen:style=Regular"; \
+      style: "email_style_contents_time"; \
+   }
+
+#define DESCRIPTION_EMAIL_CONTENTS_TIME_FOCUS \
+   description { state: "selected" 0.0; \
+      inherit: "default" 0.0; \
+      text.style: "email_style_contents_time_focus"; \
+   }
+
+#define DESCRIPTION_EMAIL_CONTENTS_OTHERS \
+   description { state: "selected" 0.0; \
+      inherit: "default" 0.0; \
+      text.style: "email_style_contents_focus"; \
+   }
+
+#define GENLIST_PART_PADDING_EMAIL_BOTTOM_TO_SIZE( NAME, SIZE ) \
+         GENLIST_PART_SPACER(NAME, \
+            GENLIST_DESCRIPTION_LRT("elm.icon.2", "elm.text.5", "elm.text.2", \
+               min: 0 SIZE; \
+               fixed: 0 1; \
+            )  \
+         )
+
+#define GENLIST_PART_PADDING_EMAIL_OUTBOX_BOTTOM_TO_SIZE( NAME, SIZE ) \
+         GENLIST_PART_SPACER(NAME, \
+            GENLIST_DESCRIPTION_LRT("elm.icon.2", "elm.icon.5", "elm.text.2", \
+               min: 0 SIZE; \
+               fixed: 0 1; \
+            )  \
+         )
+
+#define GENLIST_PARAM_ICON_EMAIL_CHECK_RADIO \
+         min: GENLIST_EMAIL_ICON_CHECK_RADIO_SIZE GENLIST_EMAIL_ICON_CHECK_RADIO_SIZE; \
+         max: GENLIST_EMAIL_ICON_CHECK_RADIO_SIZE GENLIST_EMAIL_ICON_CHECK_RADIO_SIZE;
+
+#define GENLIST_PART_ICON_EMAIL_CHECK_RADIO_L(NAME, LEFT) \
+   GENLIST_PART_ICON(NAME, \
+      GENLIST_DESCRIPTION_LTB(LEFT, "elm.padding.top", "elm.padding.bottom", \
+         GENLIST_PARAM_ICON_EMAIL_CHECK_RADIO \
+         fixed: 1 1; \
+      ) \
+   )
+
+#define HEIGHT_EMAIL_MAIN         54
+#define HEIGHT_EMAIL_SUB          42
+#define HEIGHT_EMAIL_CONTENTS      38
+
+
+#define GENLIST_PROGRAMS_EMAIL( TARGET ) \
+   programs { \
+      GENLIST_PROGRAM_DEFAULT( TARGET \
+         target: "bg"; \
+         target: "bg_clip"; \
+         target: "bottom_line"; \
+         target: "bottom_line2"; \
+         target: "bottom_line_clip"; \
+         target: "bg_reorder"; \
+         target: "elm.padding.left"; \
+         target: "elm.padding.right"; \
+      ) \
+      GENLIST_PROGRAM_DISABLED( TARGET \
+         target: "bg"; \
+         target: "bottom_line"; \
+         target: "bottom_line2"; \
+         target: "bg_reorder"; \
+      ) \
+      GENLIST_PROGRAM_FOCUS \
+      GENLIST_PROGRAM_SELECT( TARGET \
+         target: "bg"; \
+         target: "bottom_line"; \
+         target: "bottom_line2"; \
+         target: "bg_reorder"; \
+      ) \
+      GENLIST_PROGRAM_SOUND("bg") \
+      GENLIST_PROGRAM_DECORATE_REORDER( "normal", \
+         target: "bg_clip"; \
+         target: "bg_reorder_clip"; \
+         target: "bottom_line_clip"; \
+         target: "elm.padding.left"; \
+         target: "elm.padding.right"; \
+      ) \
+      program { name: "unselected_target"; \
+         action: STATE_SET "default" 0.0; \
+         TARGET \
+      } \
+      program { name: "unselected_read"; \
+         signal: "elm,state,unselected"; \
+         source: "elm"; \
+         script { \
+            if (get_int(readed) == 1) \
+               run_program(PROGRAM:"go_read_target"); \
+            else \
+               run_program(PROGRAM:"unselected_target"); \
+         } \
+      } \
+      program { name: "go_read"; \
+         signal: "elm,state,read"; \
+         source: "*"; \
+         script { \
+           set_int(readed, 1); \
+           run_program(PROGRAM:"go_read_target"); \
+         } \
+      } \
+      program { name: "go_unread"; \
+         signal: "elm,state,unread"; \
+         source: "*"; \
+         script { \
+           set_int(readed, 0); \
+           run_program(PROGRAM:"go_unread_target"); \
+         } \
+      } \
+      program { name: "go_read_target"; \
+         action: STATE_SET "read" 0.0; \
+         TARGET \
+      } \
+      program { name: "go_unread_target"; \
+         action: STATE_SET "unread" 0.0; \
+         TARGET \
+      } \
+   }
+
+// 2.2.3.5 (Email Style)
+   group { GENLIST_NAME("email.list/default")
+      GENLIST_PROLOG_NORMAL
+      data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.5";
+      data.item: "contents" "elm.swallow.colorbar elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4 elm.icon.4.touch";
+
+      script {
+         public readed = 0;
+      }
+      parts {
+         GENLIST_PART_BG_NORMAL
+         GENLIST_PART_BASE
+         GENLIST_PART_BOTTOM_LINE
+         GENLIST_PART_PADDING_LEFT_SIZE(GENLIST_EMAIL_PADDING_SIZE_LEFT)
+         GENLIST_PART_PADDING_RIGHT
+         GENLIST_PART_PADDING_TOP_SIZE( GENLIST_EMAIL_PADDING_SIZE_TOP_3LINE )
+         GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_EMAIL_PADDING_SIZE_BOTTOM_3LINE )
+         GENLIST_PART_COLORBAR
+
+         GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left")
+
+// For Handling checkbox srolling issue we have increased the size of check box
+// background to 64*64 though the check image is 45*45 as per GUI. These leaves
+// 9 pixel extra space before the check image and 10 pixel after the check image.
+// So to adjust this extra space the padding is reduced from 16 to 6.
+// This means padding will be 6 pixel and extra space before the checkbox will be 10
+// So it will again get to 16 pixel as gap after the checkbox as per GUI
+         GENLIST_PART_SPACER("elm.padding.icon1.right",
+            description { state: "default" 0.0;
+               fixed: 1 0;
+               min: 6 0;
+               max: 6 -1;
+               align: 0 0.5;
+               rel1 {
+                  relative: 1 0;
+                  to_x: "elm.icon.1";
+               }
+               rel2 {
+                  relative: 1 1;
+                  to_x: "elm.icon.1";
+               }
+            }
+         )
+
+         GENLIST_PART_TEXTBLOCK("elm.text.1",
+            GENLIST_DESCRIPTION_LRT("elm.padding.icon1.right", "elm.text.limit", "elm.padding.top",
+               PARAM_EMAIL_MAIN
+               min: 0 HEIGHT_EMAIL_MAIN;
+               fixed: 1 1; align: 0 0; text.max: 1 0;  // This limits text growing.
+            )
+            DESCRIPTION_EMAIL_MAIN_OTHERS
+         )
+
+         // FIXME: because script cannot be inherited, text.5 is defined here and can be inherited
+         GENLIST_PART_TEXT("elm.text.4",
+            GENLIST_DESCRIPTION_LTB("elm.text.1", "elm.padding.top", "elm.text.2",
+               PARAM_EMAIL_COUNT
+               min: 45 HEIGHT_EMAIL_MAIN;
+               max: 45 HEIGHT_EMAIL_MAIN;
+               text.min: 1 0;
+               text.align: 0.5 0.65;
+               fixed: 1 1;
+               visible: 0;
+            )
+         )
+         // Virtual part for Maxmimum right X axis of TEXT
+         GENLIST_PART_SPACER("elm.text.limit",
+            GENLIST_DESCRIPTION_R("elm.icon.3",
+               min: 0 0;
+               max: 0 0;
+               fixed: 1 0;
+            )
+         )
+         GENLIST_PART_ICON("elm.icon.3",
+            GENLIST_DESCRIPTION_RTB("elm.padding.icon4.left", "elm.padding.top", "elm.text.2",
+               fixed: 1 0;
+            )
+         )
+         GENLIST_PART_PADDING_R_SIZE("elm.padding.icon4.left", "elm.icon.4", GENLIST_EMAIL_PADDING_SIZE_DEFAULT)
+         GENLIST_PART_ICON("elm.icon.4",
+            GENLIST_DESCRIPTION_RTB("elm.padding.right", "elm.padding.top", "elm.text.2",
+               min: 45 45;
+               max: HEIGHT_EMAIL_MAIN HEIGHT_EMAIL_MAIN;
+               fixed: 1 0;
+            )
+         )
+         GENLIST_PART_ICON("elm.icon.4.touch",
+            GENLIST_DESCRIPTION_ENVELOP("elm.icon.4",
+               rel1.offset: -4 -7;
+               rel2.offset: 26 8;
+            )
+         )
+         GENLIST_PART_ICON("elm.icon.2",
+            GENLIST_DESCRIPTION_LTB("elm.padding.icon1.right", "elm.text.1", "elm.text.3",
+               fixed: 1 0;
+            )
+         )
+         GENLIST_PART_TEXTBLOCK("elm.text.2",
+            GENLIST_DESCRIPTION_LRT("elm.icon.2", "elm.text.5", "elm.text.1",
+               PARAM_EMAIL_SUB
+               min: 0 HEIGHT_EMAIL_SUB;
+               fixed: 0 1;
+            )
+            DESCRIPTION_EMAIL_SUB_OTHERS
+         )
+         GENLIST_PART_TEXTBLOCK("elm.text.5",
+            GENLIST_DESCRIPTION_RTB("elm.padding.right", "elm.text.1", "elm.padding.text2.bottom",
+               PARAM_EMAIL_CONTENTS_TIME
+               GENLIST_PARAM_TEXT_LIMIT_RT
+               min: 0 HEIGHT_EMAIL_SUB;
+               fixed: 1 0;
+            )
+            DESCRIPTION_EMAIL_CONTENTS_TIME_FOCUS
+         )
+
+         GENLIST_PART_PADDING_EMAIL_BOTTOM_TO_SIZE( "elm.padding.text2.bottom", GENLIST_EMAIL_PADDING_SIZE_SUB_TEXT_BOTTOM)
+
+         GENLIST_PART_TEXTBLOCK("elm.text.3",
+            GENLIST_DESCRIPTION("elm.padding.icon1.right", "elm.padding.right", "elm.padding.text2.bottom", "elm.padding.bottom",
+               PARAM_EMAIL_CONTENTS
+               min: 0 HEIGHT_EMAIL_CONTENTS;
+            )
+            DESCRIPTION_EMAIL_CONTENTS_OTHERS
+         )
+         GENLIST_PART_FOCUS
+      }
+      GENLIST_PROGRAMS_EMAIL( target: "elm.text.1";
+         target: "elm.text.2"; target: "elm.text.3";
+         target: "elm.text.4"; target: "elm.text.5";
+         target: "elm.swallow.colorbar";
+         target: "elm.icon.1";
+         target: "elm.icon.2"; target: "elm.icon.3";
+         target: "elm.icon.4"; target: "elm.icon.4.touch";
+      )
+      GENLIST_PROGRAM_SOUND("elm.icon.4.touch")
+      GENLIST_PROGRAM_SOUND("elm.text.1")
+      GENLIST_PROGRAM_SOUND("elm.text.2")
+      GENLIST_PROGRAM_SOUND("elm.text.3")
+      GENLIST_PROGRAM_SOUND("elm.text.4")
+      GENLIST_PROGRAM_SOUND("elm.text.5")
+   }
+
+// email list with conversation text
+   group { GENLIST_NAME("email.list.conversation/default")
+      inherit: "elm/genlist/item/email.list/default";
+
+      data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4 elm.text.5";
+      parts {
+         GENLIST_PART_TEXT("elm.text.4",
+            GENLIST_DESCRIPTION_LTB("elm.text.1", "elm.padding.top", "elm.text.2",
+               visible: 1;
+            )
+            DESCRIPTION_EMAIL_COUNT_OTHERS
+         )
+         // Virtual part for Maxmimum right X axis of TEXT
+         GENLIST_PART_SPACER("elm.text.limit",
+            GENLIST_DESCRIPTION_R("elm.icon.3",
+               min: 45 HEIGHT_EMAIL_MAIN;
+               max: 45 HEIGHT_EMAIL_MAIN;
+            )
+         )
+      }
+   }
+
+   // 2.2.3.13
+   // email outbox style
+   group { GENLIST_NAME("email.outbox/default")
+      GENLIST_PROLOG_NORMAL
+      data.item: "texts" "elm.text.1 elm.text.2 elm.text.3";
+      data.item: "contents" "elm.swallow.colorbar elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4 elm.icon.4.touch elm.icon.5";
+
+      script {
+         public readed = 0;
+      }
+      parts {
+         GENLIST_PART_BG_NORMAL
+         GENLIST_PART_BASE
+         GENLIST_PART_BOTTOM_LINE
+         GENLIST_PART_PADDING_LEFT_SIZE(GENLIST_EMAIL_PADDING_SIZE_LEFT)
+         GENLIST_PART_PADDING_RIGHT_EDIT
+         GENLIST_PART_PADDING_TOP_SIZE( GENLIST_EMAIL_PADDING_SIZE_TOP_3LINE )
+         GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_EMAIL_PADDING_SIZE_BOTTOM_3LINE )
+         GENLIST_PART_COLORBAR
+
+         GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left")
+
+// For Handling checkbox srolling issue we have increased the size of check box
+// background to 64*64 though the check image is 45*45 as per GUI. These leaves
+// 9 pixel extra space before the check image and 10 pixel after the check image.
+// So to adjust this extra space the padding is reduced from 16 to 6.
+// This means padding will be 6 pixel and extra space before the checkbox will be 10
+// So it will again get to 16 pixel as gap after the checkbox as per GUI
+         GENLIST_PART_SPACER("elm.padding.icon1.right",
+            description { state: "default" 0.0;
+               fixed: 1 0;
+               min: 6 0;
+               max: 6 -1;
+               align: 0 0.5;
+               rel1 {
+                  relative: 1 0;
+                  to_x: "elm.icon.1";
+               }
+               rel2 {
+                  relative: 1 1;
+                  to_x: "elm.icon.1";
+               }
+            }
+         )
+
+         GENLIST_PART_TEXTBLOCK("elm.text.1",
+            GENLIST_DESCRIPTION_LRT("elm.padding.icon1.right", "elm.text.limit", "elm.padding.top",
+               PARAM_EMAIL_MAIN
+               min: 0 HEIGHT_EMAIL_MAIN;
+               fixed: 1 1; align: 0 0; text.max: 1 0;  // This limits text growing.
+            )
+            DESCRIPTION_EMAIL_MAIN_OTHERS
+         )
+         // FIXME: because script cannot be inherited, text.4 is defined here and can be inherited
+         GENLIST_PART_TEXT("elm.text.4",
+            GENLIST_DESCRIPTION_LTB("elm.text.1", "elm.padding.top", "elm.text.2",
+               PARAM_EMAIL_COUNT
+               min: 0 HEIGHT_EMAIL_MAIN;
+               max: 0 HEIGHT_EMAIL_MAIN;
+               text.min: 1 0;
+               text.align: 0.5 0.65;
+               fixed: 1 0;
+               visible: 0;
+            )
+         )
+         // Virtual part for Maxmimum right X axis of TEXT
+         GENLIST_PART_SPACER("elm.text.limit",
+            GENLIST_DESCRIPTION_R("elm.icon.3",
+               min: 0 0;
+               max: 0 0;
+               fixed: 1 0;
+            )
+         )
+         GENLIST_PART_ICON("elm.icon.3",
+            GENLIST_DESCRIPTION_RTB("elm.padding.icon4.left", "elm.padding.top", "elm.text.2",
+               fixed: 1 0;
+            )
+         )
+         GENLIST_PART_PADDING_R_SIZE("elm.padding.icon4.left", "elm.icon.4", GENLIST_EMAIL_PADDING_SIZE_DEFAULT)
+         GENLIST_PART_ICON("elm.icon.4",
+            GENLIST_DESCRIPTION_RTB("elm.padding.right", "elm.padding.top", "elm.text.2",
+               min: 45 45;
+               max: HEIGHT_EMAIL_MAIN HEIGHT_EMAIL_MAIN;
+               fixed: 1 0;
+            )
+         )
+         GENLIST_PART_ICON("elm.icon.4.touch",
+            GENLIST_DESCRIPTION_ENVELOP("elm.icon.4",
+               rel1.offset: -4 -7;
+               rel2.offset: 26 8;
+            )
+         )
+
+         GENLIST_PART_ICON("elm.icon.2",
+            GENLIST_DESCRIPTION_LTB("elm.padding.icon1.right", "elm.text.1", "elm.text.3",
+               fixed: 1 1;
+            )
+         )
+         GENLIST_PART_TEXTBLOCK("elm.text.2",
+            GENLIST_DESCRIPTION_LRT("elm.icon.2", "elm.padding.icon5.left", "elm.text.1",
+               PARAM_EMAIL_SUB
+               min: 0 HEIGHT_EMAIL_SUB;
+               fixed: 0 1;
+            )
+            DESCRIPTION_EMAIL_SUB_OTHERS
+         )
+
+         GENLIST_PART_PADDING_EMAIL_OUTBOX_BOTTOM_TO_SIZE( "elm.padding.text2.bottom", GENLIST_EMAIL_PADDING_SIZE_SUB_TEXT_BOTTOM)
+
+         GENLIST_PART_TEXTBLOCK("elm.text.3",
+            GENLIST_DESCRIPTION("elm.padding.icon1.right", "elm.padding.icon5.left", "elm.padding.text2.bottom", "elm.padding.bottom",
+               PARAM_EMAIL_CONTENTS
+               min: 0 HEIGHT_EMAIL_CONTENTS;
+            )
+            DESCRIPTION_EMAIL_CONTENTS_OTHERS
+         )
+         GENLIST_PART_PADDING_R("elm.padding.icon5.left", "elm.icon.5")
+         GENLIST_PART_ICON("elm.icon.5",
+            GENLIST_DESCRIPTION_RTB("elm.padding.right", "elm.text.1", "elm.padding.bottom",
+               min: 180 74;
+               max: 180 74;
+               fixed: 1 1;
+            )
+         )
+         GENLIST_PART_FOCUS
+      }
+      GENLIST_PROGRAMS_EMAIL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3";
+         target: "elm.text.4";
+         target: "elm.swallow.colorbar"; target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3";
+         target: "elm.icon.4"; target: "elm.icon.5";
+      )
+   }
+
+// email outbox style with conversation
+   group { GENLIST_NAME("email.outbox.conversation/default")
+      inherit: "elm/genlist/item/email.outbox/default";
+
+      data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4";
+
+      parts {
+         GENLIST_PART_TEXT("elm.text.4",
+            GENLIST_DESCRIPTION_LTB("elm.text.1", "elm.padding.top", "elm.icon.5",
+               min: 45 HEIGHT_EMAIL_MAIN;
+               max: 45 HEIGHT_EMAIL_MAIN;
+               visible: 1;
+            )
+            DESCRIPTION_EMAIL_COUNT_OTHERS
+         )
+         GENLIST_PART_SPACER("elm.text.limit",
+            GENLIST_DESCRIPTION_R("elm.icon.3",
+               min: 45 HEIGHT_EMAIL_MAIN;
+               max: 45 HEIGHT_EMAIL_MAIN;
+            )
+         )
+      }
+   }
+
+// FIXME: This is temporary style for test purpose
+// This style has all widgets by itself
+   group { GENLIST_NAME("email.list.test/default")
+      GENLIST_PROLOG_NORMAL
+      data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.5";
+      data.item: "contents" "elm.swallow.colorbar elm.check.touch elm.icon.4.touch";
+
+      images {
+         image: "00_check_bg.png" COMP;
+         image: "00_check_dim_bg.png" COMP;
+         image: "00_check_activated_dim.png" COMP;
+         image: "00_check_activated.png" COMP;
+         image: "00_check_press_bg.png" COMP;
+         image: "00_check_press.png" COMP;
+      }
+
+      script {
+         public readed = 0;
+      }
+      parts {
+         GENLIST_PART_BG_NORMAL
+         GENLIST_PART_BASE
+         GENLIST_PART_BOTTOM_LINE
+         GENLIST_PART_PADDING_LEFT_SIZE(GENLIST_EMAIL_PADDING_SIZE_LEFT)
+         GENLIST_PART_PADDING_RIGHT
+         GENLIST_PART_PADDING_TOP_SIZE( GENLIST_EMAIL_PADDING_SIZE_TOP_3LINE )
+         GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_EMAIL_PADDING_SIZE_BOTTOM_3LINE )
+         GENLIST_PART_COLORBAR
+
+         GENLIST_PART_IMAGE("elm.check.bg",
+            mouse_events: 0;
+            GENLIST_DESCRIPTION_L("elm.padding.left",
+               image.normal: "00_check_bg.png";
+               fill.smooth : 0;
+            )
+            description { state: "default" 0.0;
+               min: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC;
+               max: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC;
+               fixed: 1 1;
+               image.normal: "00_check_bg.png";
+               fill.smooth : 0;
+            }
+            description { state: "pressed" 0.0;
+               inherit: "default" 0.0;
+               image.normal: "00_check_press_bg.png";
+            }
+            description { state: "disabled" 0.0;
+               inherit: "default" 0.0;
+               image.normal: "00_check_dim_bg.png";
+            }
+         )
+         GENLIST_PART_IMAGE("elm.check",
+            mouse_events: 0;
+            GENLIST_DESCRIPTION_ENVELOP("elm.check.bg",
+               visible: 0;
+               image.normal: "00_check_activated.png";
+            )
+            description { state: "visible" 0.0;
+               inherit: "default" 0.0;
+               visible: 1;
+            }
+            description { state: "dim" 0.0;
+               inherit: "default" 0.0;
+               visible: 1;
+               image.normal: "00_check_activated_dim.png";
+            }
+            description { state: "pressed" 0.0;
+               inherit: "default" 0.0;
+               visible: 1;
+               image.normal: "00_check_press.png";
+            }
+         )
+
+
+// For Handling checkbox srolling issue we have increased the size of check box
+// background to 64*64 though the check image is 45*45 as per GUI. These leaves
+// 9 pixel extra space before the check image and 10 pixel after the check image.
+// So to adjust this extra space the padding is reduced from 16 to 6.
+// This means padding will be 6 pixel and extra space before the checkbox will be 10
+// So it will again get to 16 pixel as gap after the checkbox as per GUI
+         GENLIST_PART_SPACER("elm.padding.icon1.right",
+            description { state: "default" 0.0;
+               fixed: 1 0;
+               min: 6 0;
+               max: 6 -1;
+               align: 0 0.5;
+               rel1 {
+                  relative: 1 0;
+                  to_x: "elm.check";
+               }
+               rel2 {
+                  relative: 1 1;
+                  to_x: "elm.check";
+               }
+            }
+         )
+
+         GENLIST_PART_TEXTBLOCK("elm.text.1",
+            GENLIST_DESCRIPTION_LRT("elm.padding.icon1.right", "elm.text.limit", "elm.padding.top",
+               PARAM_EMAIL_MAIN
+               min: 0 HEIGHT_EMAIL_MAIN;
+               fixed: 1 1; align: 0 0; text.max: 1 0;  // This limits text growing.
+            )
+            DESCRIPTION_EMAIL_MAIN_OTHERS
+         )
+
+         // FIXME: because script cannot be inherited, text.5 is defined here and can be inherited
+         GENLIST_PART_TEXT("elm.text.4",
+            GENLIST_DESCRIPTION_LTB("elm.text.1", "elm.padding.top", "elm.text.2",
+               PARAM_EMAIL_COUNT
+               min: 45 HEIGHT_EMAIL_MAIN;
+               max: 45 HEIGHT_EMAIL_MAIN;
+               text.min: 1 0;
+               text.align: 0.5 0.65;
+               fixed: 1 1;
+               visible: 0;
+            )
+         )
+         // Virtual part for Maxmimum right X axis of TEXT
+         GENLIST_PART_SPACER("elm.text.limit",
+            GENLIST_DESCRIPTION_R("elm.icon.3",
+               min: 0 0;
+               max: 0 0;
+               fixed: 1 0;
+            )
+         )
+         GENLIST_PART_IMAGE("elm.icon.3",
+            GENLIST_DESCRIPTION_RTB("elm.padding.icon4.left", "elm.padding.top", "elm.text.2",
+               fixed: 1 0;
+               min: 0 0;
+               max: 0 0;
+               image.normal: "00_icon_favorite_on_45x45.png";
+               visible: 0;
+            )
+            description { state: "visible" 0.0;
+               inherit: "default" 0.0;
+               min: 45 45;
+               visible: 1;
+            }
+         )
+         GENLIST_PART_PADDING_R_SIZE("elm.padding.icon4.left", "elm.icon.4", GENLIST_EMAIL_PADDING_SIZE_DEFAULT)
+         GENLIST_PART_IMAGE("elm.icon.4",
+            GENLIST_DESCRIPTION_RTB("elm.padding.right", "elm.padding.top", "elm.text.2",
+               max: HEIGHT_EMAIL_MAIN HEIGHT_EMAIL_MAIN;
+               min: 0 0;
+               max: 0 0;
+               fixed: 1 0;
+               image.normal: "00_icon_favorite_off_45x45.png";
+               visible: 0;
+            )
+            description { state: "visible" 0.0;
+               inherit: "default" 0.0;
+               min: 45 45;
+               visible: 1;
+            }
+            description { state: "enable" 0.0;
+               inherit: "default" 0.0;
+               image.normal: "00_icon_favorite_on_45x45.png";
+               min: 45 45;
+               visible: 1;
+            }
+         )
+         GENLIST_PART_ICON("elm.icon.4.touch",
+            GENLIST_DESCRIPTION_ENVELOP("elm.icon.4",
+               rel1.offset: -4 -7;
+               rel2.offset: 26 8;
+            )
+         )
+         GENLIST_PART_IMAGE("elm.icon.2",
+            GENLIST_DESCRIPTION_LTB("elm.padding.icon1.right", "elm.text.1", "elm.text.3",
+               min: 0 0;
+               max: 0 0;
+               fixed: 1 0;
+               image.normal: "00_icon_favorite_off_45x45.png";
+               visible: 0;
+            )
+            description { state: "visible" 0.0;
+               inherit: "default" 0.0;
+               min: 45 45;
+               visible: 1;
+            }
+         )
+         GENLIST_PART_TEXTBLOCK("elm.text.2",
+            GENLIST_DESCRIPTION_LRT("elm.icon.2", "elm.text.5", "elm.text.1",
+               PARAM_EMAIL_SUB
+               min: 0 HEIGHT_EMAIL_SUB;
+               fixed: 0 1;
+            )
+            DESCRIPTION_EMAIL_SUB_OTHERS
+         )
+         GENLIST_PART_TEXTBLOCK("elm.text.5",
+            GENLIST_DESCRIPTION_RTB("elm.padding.right", "elm.text.1", "elm.padding.text2.bottom",
+               PARAM_EMAIL_CONTENTS_TIME
+               GENLIST_PARAM_TEXT_LIMIT_RT
+               min: 0 HEIGHT_EMAIL_SUB;
+               fixed: 1 0;
+            )
+            DESCRIPTION_EMAIL_CONTENTS_TIME_FOCUS
+         )
+
+         GENLIST_PART_PADDING_EMAIL_BOTTOM_TO_SIZE( "elm.padding.text2.bottom", GENLIST_EMAIL_PADDING_SIZE_SUB_TEXT_BOTTOM)
+
+         GENLIST_PART_TEXTBLOCK("elm.text.3",
+            GENLIST_DESCRIPTION("elm.padding.icon1.right", "elm.padding.right", "elm.padding.text2.bottom", "elm.padding.bottom",
+               PARAM_EMAIL_CONTENTS
+               min: 0 HEIGHT_EMAIL_CONTENTS;
+            )
+            DESCRIPTION_EMAIL_CONTENTS_OTHERS
+         )
+         GENLIST_PART_ICON("elm.check.touch",
+            GENLIST_DESCRIPTION_ENVELOP("elm.check",
+            )
+         )
+         GENLIST_PART_FOCUS
+      }
+      GENLIST_PROGRAMS_EMAIL( target: "elm.text.1";
+         target: "elm.text.2"; target: "elm.text.3";
+         target: "elm.text.4"; target: "elm.text.5";
+         target: "elm.swallow.colorbar";
+         target: "elm.icon.4.touch";
+         target: "elm.check.touch";
+      )
+      program { name: "check_show";
+         signal: "elm,state,check,show";
+         source: "*";
+         action: STATE_SET "visible" 0.0;
+         target: "elm.check";
+      }
+      program { name: "check_hide";
+         signal: "elm,state,check,hide";
+         source: "*";
+         action: STATE_SET "default" 0.0;
+         target: "elm.check";
+      }
+      program { name: "icon2_show";
+         signal: "elm,state,icon2,show";
+         source: "*";
+         action: STATE_SET "visible" 0.0;
+         target: "elm.icon.2";
+      }
+      program { name: "icon3_show";
+         signal: "elm,state,icon3,show";
+         source: "*";
+         action: STATE_SET "visible" 0.0;
+         target: "elm.icon.3";
+      }
+      program { name: "icon4_show";
+         signal: "elm,state,icon4,show";
+         source: "*";
+         action: STATE_SET "visible" 0.0;
+         target: "elm.icon.4";
+      }
+      program { name: "icon4_enable";
+         signal: "elm,state,icon4,enable";
+         source: "*";
+         action: STATE_SET "enable" 0.0;
+         target: "elm.icon.4";
+      }
+      program { name: "icon4_disable";
+         signal: "elm,state,icon4,disable";
+         source: "*";
+         action: STATE_SET "visible" 0.0;
+         target: "elm.icon.4";
+      }
+      GENLIST_PROGRAM_SOUND("elm.icon.4.touch")
+      GENLIST_PROGRAM_SOUND("elm.check.touch")
+      GENLIST_PROGRAM_SOUND("elm.text.1")
+      GENLIST_PROGRAM_SOUND("elm.text.2")
+      GENLIST_PROGRAM_SOUND("elm.text.3")
+      GENLIST_PROGRAM_SOUND("elm.text.4")
+      GENLIST_PROGRAM_SOUND("elm.text.5")
+   }