6c5807fcd7650be812a1372236b791ac9e423831
[apps/core/preloaded/calendar.git] / data / edc / theme2 / originals / genlist_textblock_style.edc
1 /*
2   *
3   *  Copyright 2012  Samsung Electronics Co., Ltd
4   *
5   *  Licensed under the Flora License, Version 1.0 (the "License");
6   *  you may not use this file except in compliance with the License.
7   *  You may obtain a copy of the License at
8   *
9   *       http://floralicense.org/license/
10   *
11   *  Unless required by applicable law or agreed to in writing, software
12   *  distributed under the License is distributed on an "AS IS" BASIS,
13   *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   *  See the License for the specific language governing permissions and
15   *  limitations under the License.
16   */
17
18 /*
19  * vim:ts=3
20 */
21
22 #define STYLE_TAG \
23       tag:  "br" "\n";\
24       tag:  "ps" "ps";\
25       tag:  "tab" "\t";\
26       tag:  "b" "+ font=Tizen:style=Bold";\
27
28 #define STYLE_TAG_MATCH \
29       tag:  "match" GENLIST_PART_MATCH_TAG_COLOR; \
30
31 // FIXME: Why this is needed? just don't use match color, right? damn textblock bug...
32 #define STYLE_TAG_MATCH_FOCUS \
33       tag:  "match" GENLIST_LIST_TEXT_FOCUS_COLOR_STYLE; \
34
35
36 styles {
37    // ********************** dialgoue group help text
38    style { name: "genlist_style_dialogue_group_help_text";
39       base: "font=Tizen:style=Medium font_size="GENLIST_DIALOGUE_GROUP_HELP_TEXT_SIZE" color="GENLIST_DIALOGUE_GROUP_HELP_TEXT_COLOR_STYLE" text_class=list_item wrap=mixed";
40       STYLE_TAG
41       STYLE_TAG_MATCH
42    }
43    // ********************** list main text
44    style { name: "genlist_style_list_main_text_unread";
45       base: "font=Tizen:style=Regular font_size="GENLIST_LIST_MAIN_TEXT_SIZE" color="GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR_STYLE" text_class=list_item ellipsis=1.0";
46       STYLE_TAG
47       STYLE_TAG_MATCH
48    }
49    style { name: "genlist_style_list_main_text_unread_dim";
50       base: "font=Tizen:style=Regular font_size="GENLIST_LIST_MAIN_TEXT_SIZE" color="GENLIST_LIST_MAIN_TEXT_UNREAD_DIM_COLOR_STYLE" text_class=list_item ellipsis=1.0";
51       STYLE_TAG
52       STYLE_TAG_MATCH
53    }
54    style { name: "genlist_style_list_main_text_read";
55       base: "font=Tizen:style=Regular font_size="GENLIST_LIST_MAIN_TEXT_SIZE" color="GENLIST_LIST_MAIN_TEXT_READ_COLOR_STYLE" text_class=list_item ellipsis=1.0";
56       STYLE_TAG
57       STYLE_TAG_MATCH
58    }
59    style { name: "genlist_style_list_main_text_read_dim";
60       base: "font=Tizen:style=Regular font_size="GENLIST_LIST_MAIN_TEXT_SIZE" color="GENLIST_LIST_MAIN_TEXT_READ_DIM_COLOR_STYLE" text_class=list_item ellipsis=1.0";
61       STYLE_TAG
62       STYLE_TAG_MATCH
63    }
64    style { name: "genlist_style_list_main_text_focus";
65       base: "font=Tizen:style=Regular font_size="GENLIST_LIST_MAIN_TEXT_SIZE" color="GENLIST_LIST_TEXT_FOCUS_COLOR_STYLE" text_class=list_item ellipsis=1.0";
66       STYLE_TAG
67       STYLE_TAG_MATCH_FOCUS
68    }
69   // **********************  list main text (multiline)
70    style { name: "genlist_style_list_main_text_unread_wrap";
71       base: "font=Tizen:style=Regular font_size="GENLIST_LIST_MAIN_TEXT_SIZE" color="GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR_STYLE" text_class=tizen wrap=mixed";
72       STYLE_TAG
73       STYLE_TAG_MATCH
74    }
75    style { name: "genlist_style_list_main_text_unread_dim_wrap";
76       base: "font=Tizen:style=Regular font_size="GENLIST_LIST_MAIN_TEXT_SIZE" color="GENLIST_LIST_MAIN_TEXT_UNREAD_DIM_COLOR_STYLE" text_class=tizen wrap=mixed";
77       STYLE_TAG
78       STYLE_TAG_MATCH
79    }
80    style { name: "genlist_style_list_main_text_focus_wrap";
81       base: "font=Tizen:style=Regular font_size="GENLIST_LIST_MAIN_TEXT_SIZE" color="GENLIST_LIST_TEXT_FOCUS_COLOR_STYLE" text_class=tizen wrap=mixed";
82       STYLE_TAG
83       STYLE_TAG_MATCH_FOCUS
84    }
85    // ********************** list sub text
86    style { name: "genlist_style_list_sub_text_default";
87       base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color="GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR_STYLE" text_class=tizen ellipsis=1.0";
88       STYLE_TAG
89       STYLE_TAG_MATCH
90    }
91    style { name: "genlist_style_list_sub_text_default_dim";
92       base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color="GENLIST_LIST_SUB_TEXT_DEFAULT_DIM_COLOR_STYLE" text_class=tizen ellipsis=1.0";
93       STYLE_TAG
94       STYLE_TAG_MATCH_FOCUS
95    }
96    style { name: "genlist_style_list_sub_text_settings";
97       base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color="GENLIST_LIST_SUB_TEXT_SETTINGS_COLOR_STYLE" text_class=tizen ellipsis=1.0";
98       STYLE_TAG
99       STYLE_TAG_MATCH
100    }
101    style { name: "genlist_style_list_sub_text_settings_dim";
102       base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color="GENLIST_LIST_SUB_TEXT_SETTINGS_DIM_COLOR_STYLE" text_class=tizen ellipsis=1.0";
103       STYLE_TAG
104       STYLE_TAG_MATCH
105    }
106    style { name: "genlist_style_list_sub_text_focus";
107       base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color="GENLIST_LIST_TEXT_FOCUS_COLOR_STYLE" text_class=tizen ellipsis=1.0";
108       STYLE_TAG
109       STYLE_TAG_MATCH_FOCUS
110    }
111    // ********************** list sub text (multiline)
112    style { name: "genlist_style_list_sub_text_default_wrap";
113       base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color="GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR_STYLE" text_class=tizen wrap=mixed";
114       STYLE_TAG
115       STYLE_TAG_MATCH
116    }
117    style { name: "genlist_style_list_sub_text_default_dim_wrap";
118       base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color="GENLIST_LIST_SUB_TEXT_DEFAULT_DIM_COLOR_STYLE" text_class=tizen wrap=mixed";
119       STYLE_TAG
120       STYLE_TAG_MATCH
121    }
122    style { name: "genlist_style_list_sub_text_focus_wrap";
123       base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color="GENLIST_LIST_TEXT_FOCUS_COLOR_STYLE" text_class=tizen wrap=mixed";
124       STYLE_TAG
125       STYLE_TAG_MATCH
126    }
127 }