[Genlist] Change button and group image by GUI 1.0
[platform/core/uifw/efl-theme-tizen.git] / themes / widgets / genlist / genlist_textblock_style.edc
1 /*
2  * efl-theme-tizen
3  * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
4  *
5  * Licensed under the Apache License, Version 2.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://www.apache.org/licenses/LICENSE-2.0
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
20 /*
21  * vim:ts=3
22 */
23
24 #define STYLE_TAG \
25       tag:  "br" "\n";\
26       tag:  "ps" "ps";\
27       tag:  "tab" "\t";\
28       tag:  "b" "+ font=Tizen:style=Bold";
29
30 #define STYLE_TAG_MATCH \
31       tag:  "match" GENLIST_PART_MATCH_TAG_COLOR;
32
33 // FIXME: Why this is needed? just don't use match color, right? damn textblock bug...
34 #define STYLE_TAG_MATCH_FOCUS \
35       tag:  "match" GENLIST_LIST_TEXT_FOCUS_COLOR_STYLE;
36
37 styles {
38    // ********************** groupindex text
39    style { name: "genlist_style_groupindex_text";
40       base: "font=Tizen:style=Bold font_size="GENLIST_GROUPINDEX_LIST_SIZE" color="GENLIST_GROUPINDEX_LIST_COLOR_STYLE" text_class=list_item ellipsis=1.0";
41       STYLE_TAG
42       STYLE_TAG_MATCH
43    }
44    style { name: "genlist_style_groupindex_text_focus";
45       base: "font=Tizen:style=Bold font_size="GENLIST_GROUPINDEX_LIST_SIZE" color="GENLIST_GROUPINDEX_LIST_FOCUS_COLOR_STYLE" text_class=list_item ellipsis=1.0";
46       STYLE_TAG
47       STYLE_TAG_MATCH
48    }
49    // ********************** dialgoue group help text
50    style { name: "genlist_style_dialogue_group_help_text";
51       base: "font=Tizen:style=Regular font_size="GENLIST_DIALOGUE_GROUP_HELP_TEXT_SIZE" color="GENLIST_DIALOGUE_GROUP_HELP_TEXT_COLOR_STYLE" text_class=list_item wrap=mixed";
52       STYLE_TAG
53       STYLE_TAG_MATCH
54    }
55    // ********************** list main text
56    style { name: "genlist_style_list_main_text_unread";
57       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";
58       STYLE_TAG
59       STYLE_TAG_MATCH
60    }
61    style { name: "genlist_style_list_main_text_unread_dim";
62       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";
63       STYLE_TAG
64       STYLE_TAG_MATCH
65    }
66    style { name: "genlist_style_list_main_text_read";
67       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";
68       STYLE_TAG
69       STYLE_TAG_MATCH
70    }
71    style { name: "genlist_style_list_main_text_read_dim";
72       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";
73       STYLE_TAG
74       STYLE_TAG_MATCH
75    }
76    style { name: "genlist_style_list_main_text_focus";
77       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";
78       STYLE_TAG
79       STYLE_TAG_MATCH_FOCUS
80    }
81   // **********************  list main text (multiline)
82    style { name: "genlist_style_list_main_text_unread_wrap";
83       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";
84       STYLE_TAG
85       STYLE_TAG_MATCH
86    }
87    style { name: "genlist_style_list_main_text_unread_dim_wrap";
88       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";
89       STYLE_TAG
90       STYLE_TAG_MATCH
91    }
92    style { name: "genlist_style_list_main_text_focus_wrap";
93       base: "font=Tizen:style=Regular font_size="GENLIST_LIST_MAIN_TEXT_SIZE" color="GENLIST_LIST_TEXT_FOCUS_COLOR_STYLE" text_class=tizen wrap=mixed";
94       STYLE_TAG
95       STYLE_TAG_MATCH_FOCUS
96    }
97    // ********************** list sub text
98    style { name: "genlist_style_list_sub_text_default";
99       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";
100       STYLE_TAG
101       STYLE_TAG_MATCH
102    }
103    style { name: "genlist_style_list_sub_text_default_dim";
104       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";
105       STYLE_TAG
106       STYLE_TAG_MATCH_FOCUS
107    }
108    style { name: "genlist_style_list_sub_text_settings";
109       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";
110       STYLE_TAG
111       STYLE_TAG_MATCH
112    }
113    style { name: "genlist_style_list_sub_text_settings_dim";
114       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";
115       STYLE_TAG
116       STYLE_TAG_MATCH
117    }
118    style { name: "genlist_style_list_sub_text_focus";
119       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";
120       STYLE_TAG
121       STYLE_TAG_MATCH_FOCUS
122    }
123    // ********************** list sub text (multiline)
124    style { name: "genlist_style_list_sub_text_default_wrap";
125       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";
126       STYLE_TAG
127       STYLE_TAG_MATCH
128    }
129    style { name: "genlist_style_list_sub_text_default_dim_wrap";
130       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";
131       STYLE_TAG
132       STYLE_TAG_MATCH
133    }
134    style { name: "genlist_style_list_sub_text_focus_wrap";
135       base: "font=Tizen:style=Bold font_size="GENLIST_LIST_SUB_TEXT_SIZE" color="GENLIST_LIST_TEXT_FOCUS_COLOR_STYLE" text_class=tizen wrap=mixed";
136       STYLE_TAG
137       STYLE_TAG_MATCH
138    }
139 }