tizen 2.4 release
[framework/uifw/elementary.git] / data / themes / edc / dialog.edc
1 group { name: "e/widgets/dialog/main";
2    images.image: "bevel_dark_out.png" COMP;
3    images.image: "separator_horiz.png" COMP;
4    parts {
5       part { name: "base"; type: RECT;
6          description { state: "default" 0.0;
7             color_class: "dialog_base";
8             color: 64 64 64 255;
9          }
10       }
11       part { name: "bevel";
12          description { state: "default" 0.0;
13             image.normal: "bevel_dark_out.png";
14             image.border: 1 1 1 1;
15             image.middle: 0;
16             fill.smooth: 0;
17          }
18       }
19       part { name: "separator"; mouse_events: 0;
20          description { state: "default" 0.0;
21             min: 16 2;
22             max: 99999 2;
23             rel1.relative: 0.0 1.0;
24             rel1.offset: 0 0;
25             rel1.to_y: "e.swallow.content";
26             rel2.relative: 1.0 0.0;
27             rel2.offset: -1 -1;
28             rel2.to_y: "e.swallow.buttons";
29             image.normal: "separator_horiz.png";
30             fill.smooth: 0;
31             fixed: 0 1;
32          }
33       }
34       part { name: "e.swallow.icon"; type: SWALLOW;
35          description { state: "default" 0.0;
36             align: 0.0 0.5;
37             rel1.relative: 0.0 0.0;
38             rel1.offset: 4 4;
39             rel2.relative: 0.0 0.0;
40             rel2.offset: 4 -8;
41             rel2.to_y: "e.swallow.buttons";
42             fixed: 1 0;
43             visible: 0;
44          }
45          description { state: "icon" 0.0;
46             inherit: "default" 0.0;
47             visible: 1;
48          }
49       }
50       part { name: "e.swallow.content"; type: SWALLOW;
51          description { state: "default" 0.0;
52             rel1.offset: 4 4;
53             rel1.to_x: "base";
54             rel2.relative: 1.0 0.0;
55             rel2.offset: -5 -8;
56             rel2.to_y: "e.swallow.buttons";
57          }
58          description { state: "icon" 0.0;
59             inherit: "default" 0.0;
60             rel1.relative: 1.0 0.0;
61             rel1.to_x: "e.swallow.icon";
62          }
63       }
64       part { name: "e.swallow.buttons"; type: SWALLOW;
65          description { state: "default" 0.0;
66             align: 0.5 1.0;
67             rel1.relative: 0.0 1.0;
68             rel1.offset: 4 -5;
69             rel2.relative: 1.0 1.0;
70             rel2.offset: -5 -5;
71             fixed: 0 1;
72          }
73       }
74    }
75    programs {
76       program {
77          signal: "e,icon,enabled"; source: "e";
78          action: STATE_SET "icon" 0.0;
79          target: "e.swallow.icon";
80          target: "e.swallow.content";
81       }
82       program {
83          signal: "e,icon,disabled"; source: "e";
84          action: STATE_SET "default" 0.0;
85          target: "e.swallow.icon";
86          target: "e.swallow.content";
87       }
88    }
89 }
90
91 group { name: "e/widgets/dialog/text";
92    styles {
93       style { name: "dialog_style";
94          base: "font="FN" font_size=10 text_class=tb_plain align=center color=#ffff style=shadow,bottom shadow_color=#00000080 wrap=word";
95          tag: "br" "\n";
96          tag: "hilight" "+ font="FNBD" text_class=tb_light";
97       }
98    }
99    parts {
100       part { name: "e.textblock.message"; type: TEXTBLOCK; mouse_events: 0;
101          scale: 1;
102          description { state: "default" 0.0;
103             text {
104                style: "dialog_style";
105                min: 1 1;
106                ellipsis: -1;
107             }
108          }
109       }
110    }
111 }