2 * Copyright 2012 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.tizenopensource.org/license
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 #include "browser-macro.edc"
22 name: "bookmark/content_layout";
32 rel1 { relative: 0.0 0.0; }
33 rel2 { relative: 1.0 1.0; }
34 color: 255 255 255 255;
37 part { name: "elm.swallow.upperlist";
46 rel1 { relative: 0.0 0.0; to: bg; }
47 rel2 { relative: 1.0 0.0; to: bg; }
50 state: "show_upper_folder" 0.0;
51 inherit: "default" 0.0;
59 part { name: "upper_list_bottom_line";
69 rel1 { relative: 0.0 1.0; to: "elm.swallow.upperlist"; }
70 rel2 { relative: 1.0 1.0; to: "elm.swallow.upperlist"; }
71 color: 200 200 200 255;
74 part { name: "elm.swallow.content_box";
81 rel1 { relative: 0.0 1.0; to_x: bg; to_y: "upper_list_bottom_line"; }
82 rel2 { relative: 1.0 1.0; to: bg; }
87 inherit: "default" 0.0;
93 part { name: "elm.swallow.no_content";
100 rel1 { relative: 0.0 1.0; to_x: bg; to_y: "upper_list_bottom_line"; }
101 rel2 { relative: 1.0 1.0; to: bg; }
106 inherit: "default" 0.0;
112 program { name: "hide,upper_folder";
113 signal: "hide,upper_folder,signal";
114 action: STATE_SET "default" 0.0;
115 target: "elm.swallow.upperlist";
116 target: "upper_list_bottom_line";
118 program { name: "show,upper_folder";
119 signal: "show,upper_folder,signal";
120 action: STATE_SET "show_upper_folder" 0.0;
121 target: "elm.swallow.upperlist";
122 target: "upper_list_bottom_line";
124 program { name: "show,content_box";
125 signal: "show,content_box,signal";
126 action: STATE_SET "default" 0.0;
127 target: "elm.swallow.content_box";
128 target: "elm.swallow.no_content";
130 program { name: "hide,content_box";
131 signal: "hide,content_box,signal";
132 action: STATE_SET "empty" 0.0;
133 target: "elm.swallow.content_box";
134 target: "elm.swallow.no_content";
139 name: "bookmark/main_layout";
141 part { name: "elm.swallow.tabbar";
147 state: "default" 0.0;
152 rel1 { relative: 0.0 0.0; }
153 rel2 { relative: 1.0 0.0; }
156 part { name: "elm.swallow.content";
162 state: "default" 0.0;
165 rel1 { relative: 0.0 1.0; to: "elm.swallow.tabbar"; }
166 rel2 { relative: 1.0 1.0; }
169 state: "unvisible" 0.0;
170 inherit: "default" 0.0;
174 part { name: "elm.swallow.content1";
180 state: "default" 0.0;
183 rel1 { relative: 0.0 0.0; to: "elm.swallow.content"; }
184 rel2 { relative: 1.0 1.0; to: "elm.swallow.content"; }
187 state: "unvisible" 0.0;
188 inherit: "default" 0.0;
194 program { name: "show,content0";
195 signal: "show,content0,signal";
196 action: STATE_SET "default" 0.0;
197 target: "elm.swallow.content";
198 after: "hide,content1";
200 program { name: "hide,content1";
201 action: STATE_SET "unvisible" 0.0;
202 target: "elm.swallow.content1";
204 program { name: "show,content1";
205 signal: "show,content1,signal";
206 action: STATE_SET "default" 0.0;
207 target: "elm.swallow.content1";
208 after: "hide,content0";
210 program { name: "hide,content0";
211 action: STATE_SET "unvisible" 0.0;
212 target: "elm.swallow.content";
218 name: "bookmark/bookmark-folder-view-layout";
225 state: "default" 0.0;
227 rel1 { relative: 0.0 0.0; }
228 rel2 { relative: 1.0 1.0; }
229 color: 100 100 100 255;
232 part { name: "elm.swallow.folderlist";
237 state: "default" 0.0;
239 rel1 { relative: 0.0 0.0; to: bg; }
240 rel2 { relative: 1.0 0.0; to_x: bg; to_y: elm.swallow.controlbar; }
243 part { name: "elm.swallow.controlbar";
248 state: "default" 0.0;
254 rel1 { relative: 0.0 1.0; to_x: bg; to_y: bg; }
255 rel2 { relative: 1.0 1.0; to_x: bg; to_y: bg; }
261 group { name: "browser/popup_center_progressview";
263 part { name: "elm.title";
266 description { state: "default" 0.0;
269 font: "SLP:style=Medium";
274 color: 108 108 108 255;
278 to: "elm.swallow.content";
282 to: "elm.swallow.content";
286 part{ name:"elm.swallow.content";
289 description { state: "default" 0.0;
301 part { name: "elm.text.left";
304 description { state: "default" 0.0;
307 font: "SLP:style=Medium";
312 color: 108 108 108 255;
316 to: "elm.swallow.content";
320 to: "elm.swallow.content";
324 part { name: "elm.text.right";
327 description { state: "default" 0.0;
330 font: "SLP:style=Medium";
335 color: 108 108 108 255;
339 to: "elm.swallow.content";
343 to: "elm.swallow.content";
350 #define NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC 81 78 76 255
351 #define NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC 42
352 #define NOCONTENT_MIDDLE_PADDING_INC 54
353 #define NOCONTENT_BASE_SEARCH_PADDING_INC 40
354 #define NOCONTENT_IMAGE_REL1_WIDTH_HEIGHT_INC 0.282 0.294
355 #define NOCONTENT_IMAGE_REL2_WIDTH_HEIGHT_INC 0.718 0.54
356 #define NOCONTENT_BG_COLOR_INC 0 0 0 255
357 #define NOCONTENT_TEXT_STYLE_BG_MIN_INC 0 120
360 name: "elm/layout/no_bookmark/full";
361 alias: "elm/no_bookmark/base/full";
362 alias: "elm/no_bookmark/base/default";
364 style { name: "nocontent_style";
365 base: "font=SLP:style=Roman font_size="NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC" align=center color=#ffffff wrap=mixed ellipsis=1.0";
367 tag: "hilight" "+ font=SLP:style=Bold";
368 tag: "b" "+ font=SLP:style=Bold";
373 image: "bookmarks/I01_Nocontents_Bookmarks.png" COMP;
379 description { state: "default" 0.0;
388 color: NOCONTENT_BG_COLOR_INC;
391 part { name: "nocontents.image";
392 description { state: "default" 0.0;
396 relative: NOCONTENT_IMAGE_REL1_WIDTH_HEIGHT_INC;
400 relative: NOCONTENT_IMAGE_REL2_WIDTH_HEIGHT_INC;
404 normal: "bookmarks/I01_Nocontents_Bookmarks.png";
409 aspect_preference: BOTH;
412 part { name: "middle.padding";
415 description { state: "default" 0.0;
417 min: 1 NOCONTENT_MIDDLE_PADDING_INC;
418 max: 1 NOCONTENT_MIDDLE_PADDING_INC;
422 to_y: "nocontents.image";
426 part { name: "elm.text";
429 description { state: "default" 0.0;
430 min: NOCONTENT_TEXT_STYLE_BG_MIN_INC;
437 to_y: "middle.padding";
442 to_y: "middle.padding";
444 color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
446 style: "nocontent_style";
456 group { name: "browser/selectioninfo";
459 name: "genlist.swallow.contents";
461 description { state: "default" 0.0;
466 name: "selinfo.swallow.contents";
468 description { state: "default" 0.0;
473 to:"genlist.swallow.contents";
476 description { state: "hide" 0.0;
477 inherit: "default" 0.0;
485 signal: "show,selection,info";
487 action: STATE_SET "default" 0.0;
488 target: "selinfo.swallow.contents";
492 signal: "hide,selection,info";
494 action: STATE_SET "hide" 0.0;
495 target: "selinfo.swallow.contents";