[tab]changed icon+text style GUI
[platform/core/uifw/efl-theme-tizen.git] / themes / widgets / selectioninfo.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 group { name: "elm/standard/selectioninfo/default";
21    images {
22       image: "00_bottom_popup_shadow.png" COMP;
23    }
24    parts {
25       part { name: "bg";
26          type: RECT;
27          scale : 1;
28          description {
29             state: "default" 0.0;
30             min: 0 SELECTION_INFO_VER_PADDING_INC;
31             fixed: 0 1;
32             align: 0.5 1.0;
33             rel1.relative: 0.0 1.0;
34             color: SELECTION_INFO_BACKGROUND_COLOR_INC;
35          }
36       }
37       part { name: "bottom.popup.shadow";
38          type: IMAGE;
39          mouse_events: 0;
40          scale: 1;
41          description { state: "default" 0.0;
42             min: SELECTION_INFO_SHADOW_VER_W_INC SELECTION_INFO_SHADOW_VER_H_INC;
43             align: 0.5 1.0;
44             image.normal: "00_bottom_popup_shadow.png";
45             rel2 {
46                to: "bg";
47                relative: 1.0 0.0;
48             }
49          }
50       }
51       part { name: "padding_left";
52          scale: 1;
53          mouse_events: 0;
54          description {
55             state: "default" 0.0;
56             min: SELECTION_INFO_LEFT_PADDING_INC 0;
57             align: 0.0 0.5;
58             rel1.to: "bg";
59             rel2 {
60                to: "bg";
61                relative: 0.0 1.0;
62             }
63             fixed: 1 0;
64             visible: 0;
65          }
66       }
67       part {
68          name: "elm.text";
69          type: TEXT;
70          mouse_events: 0;
71          scale: 1;
72          description {
73             state: "default" 0.0;
74             rel1 {
75                to: "padding_left";
76                relative: 1.0 0.0;
77             }
78             rel2.to: "bg";
79             color: SELECTION_INFO_TEXT_COLOR_INC;
80             text {
81                font: "Tizen";
82                size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
83                text: "";
84                align: 0.0 0.5;
85                text_class: "tizen";
86             }
87          }
88       }
89    }
90    programs {
91       program { name: "clicked";
92          signal: "mouse,clicked,1";
93          source: "bg";
94          action: SIGNAL_EMIT "elm,action,click" "";
95       }
96    }
97 }
98
99 group { name: "elm/standard/selectioninfo/center_text";
100    inherit: "elm/standard/selectioninfo/default";
101    parts {
102       part {
103          name: "elm.text";
104          description {
105             state: "default" 0.0;
106             rel1 {
107                to: "bg";
108                relative: 0.0 0.0;
109             }
110             rel2 {
111                to: "bg";
112                relative: 1.0 1.0;
113             }
114             text.align: 0.5 0.5;
115          }
116       }
117    }
118 }
119
120 group { name: "elm/standard/selectioninfo/vertical/bottom_12";
121    images {
122       image: "00_bottom_popup_shadow.png" COMP;
123    }
124    parts {
125       part { name: "bg";
126          type: RECT;
127          scale : 1;
128          description {
129             state: "default" 0.0;
130             min: SELECTION_INFO_MIN_VER_W_INC SELECTION_INFO_VER_PADDING_INC;
131             fixed: 1 1;
132             align: 0.5 1.0;
133             rel1.relative: 0.5 1.0;
134             rel2.relative: 0.5 1.0;
135             color: SELECTION_INFO_BACKGROUND_COLOR_INC;
136          }
137       }
138       part { name: "bottom.popup.shadow";
139          type: IMAGE;
140          scale: 1;
141          description { state: "default" 0.0;
142             min: SELECTION_INFO_SHADOW_VER_W_INC SELECTION_INFO_SHADOW_VER_H_INC;
143             align: 0.5 1.0;
144             fixed: 1 1;
145             image.normal: "00_bottom_popup_shadow.png";
146             rel2 {
147                to: "bg";
148                relative: 1.0 0.0;
149             }
150          }
151       }
152       part {
153          name: "elm.text";
154          type: TEXT;
155          mouse_events: 0;
156          scale: 1;
157          description {
158             state: "default" 0.0;
159             align: 0.5 0.0;
160             rel1 { to: "bg"; }
161             rel2 { to: "bg"; }
162             color: SELECTION_INFO_TEXT_COLOR_INC;
163             text {
164                font: "Tizen";
165                size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
166                text: "";
167                text_class: "tizen";
168             }
169          }
170       }
171    }
172    programs {
173       program { name: "clicked";
174          signal: "mouse,clicked,1";
175          source: "base";
176          action: SIGNAL_EMIT "elm,action,click" "";
177       }
178    }
179 }
180
181 group { name: "elm/standard/selectioninfo/vertical/bottom_64";
182    images {
183       image: "00_bottom_popup_shadow.png" COMP;
184    }
185    parts {
186       part {
187          name: "bg";
188          type: RECT;
189          mouse_events: 1;
190          repeat_events: 1;
191          scale : 1;
192          description {
193             state: "default" 0.0;
194             min: SELECTION_INFO_MIN_VER_W_INC SELECTION_INFO_MIN_VER_BOTTOM_64_H_INC;
195             fixed: 1 1;
196             align: 0.5 1.0;
197             rel1.relative: 0.5 1.0;
198             rel2.relative: 0.5 1.0;
199             color: 0 0 0 0;
200          }
201       }
202       part { name: "bottom.popup.shadow";
203          type: IMAGE;
204          scale: 1;
205          description { state: "default" 0.0;
206             min: SELECTION_INFO_SHADOW_VER_W_INC SELECTION_INFO_SHADOW_VER_H_INC;
207             align: 0.5 1.0;
208             fixed: 1 1;
209             image.normal: "00_bottom_popup_shadow.png";
210             rel2 {
211                to: "bg";
212                relative: 1.0 0.0;
213             }
214          }
215       }
216       part { name: "base";
217          type: RECT;
218          mouse_events: 1;
219          scale : 1;
220          description {
221             state: "default" 0.0;
222             min: 0 SELECTION_INFO_VER_PADDING_INC;
223             fixed: 0 1;
224             align: 0.5 0.0;
225             rel1 { relative: 0.0 0.0; to: "bg"; }
226             rel2 { relative: 1.0 0.32; to: "bg"; }
227             color: SELECTION_INFO_BACKGROUND_COLOR_INC;
228          }
229       }
230       part {
231          name: "elm.text";
232          type: TEXT;
233          mouse_events: 0;
234          scale: 1;
235          description {
236             state: "default" 0.0;
237             align: 0.5 0.0;
238             rel1 { to: "base"; }
239             rel2 { to: "base"; }
240             color: SELECTION_INFO_TEXT_COLOR_INC;
241             text {
242                font: "Tizen";
243                size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
244                text: "";
245                text_class: "tizen";
246             }
247          }
248       }
249    }
250    programs {
251       program {
252          name: "clicked";
253          signal: "mouse,clicked,1";
254          source: "base";
255          action: SIGNAL_EMIT "elm,action,click" "";
256       }
257    }
258 }
259
260 group { name: "elm/standard/selectioninfo/vertical/bottom_86";
261    images {
262       image: "00_bottom_popup_shadow.png" COMP;
263    }
264    parts {
265       part {
266          name: "bg";
267          type: RECT;
268          mouse_events: 1;
269          repeat_events: 1;
270          scale : 1;
271          description {
272             state: "default" 0.0;
273             min: SELECTION_INFO_MIN_VER_W_INC SELECTION_INFO_MIN_VER_BOTTOM_86_H_INC;
274             fixed: 1 1;
275             align: 0.5 1.0;
276             rel1.relative: 0.5 1.0;
277             rel2.relative: 0.5 1.0;
278             color: 0 0 0 0;
279          }
280       }
281       part { name: "bottom.popup.shadow";
282          type: IMAGE;
283          scale: 1;
284          description { state: "default" 0.0;
285             min: SELECTION_INFO_SHADOW_VER_W_INC SELECTION_INFO_SHADOW_VER_H_INC;
286             align: 0.5 1.0;
287             fixed: 1 1;
288             image.normal: "00_bottom_popup_shadow.png";
289             rel2 {
290                to: "bg";
291                relative: 1.0 0.0;
292             }
293          }
294       }
295       part {
296          name: "base";
297          type: RECT;
298          mouse_events: 1;
299          scale : 1;
300          description {
301             state: "default" 0.0;
302             min: 0 SELECTION_INFO_VER_PADDING_INC;
303             fixed: 0 1;
304             align: 0.5 0.0;
305             rel1 { relative: 0.0 0.0; to: "bg"; }
306             rel2 { relative: 1.0 0.258; to: "bg"; }
307             color: SELECTION_INFO_BACKGROUND_COLOR_INC;
308          }
309       }
310       part {
311          name: "elm.text";
312          type: TEXT;
313          mouse_events: 0;
314          scale: 1;
315          description {
316             state: "default" 0.0;
317             align: 0.5 0.0;
318             rel1 { to: "base"; }
319             rel2 { to: "base"; }
320             color: SELECTION_INFO_TEXT_COLOR_INC;
321             text {
322                font: "Tizen";
323                size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
324                text: "";
325                text_class: "tizen";
326             }
327          }
328       }
329    }
330    programs {
331       program {
332          name: "clicked";
333          signal: "mouse,clicked,1";
334          source: "base";
335          action: SIGNAL_EMIT "elm,action,click" "";
336       }
337    }
338 }
339
340 group { name: "elm/standard/selectioninfo/horizontal/bottom_12";
341    images {
342       image: "00_bottom_popup_shadow.png" COMP;
343    }
344    parts {
345       part { name: "bg";
346          type: RECT;
347          mouse_events: 1;
348          repeat_events: 1;
349          scale : 1;
350          description {
351             state: "default" 0.0;
352             min: SELECTION_INFO_MIN_HORZ_W_INC SELECTION_INFO_VER_PADDING_INC;
353             fixed: 1 1;
354             align: 0.5 1.0;
355             rel1.relative: 0.5 1.0;
356             rel2.relative: 0.5 1.0;
357             color: SELECTION_INFO_BACKGROUND_COLOR_INC;
358          }
359       }
360       part { name: "bottom.popup.shadow";
361          type: IMAGE;
362          scale: 1;
363          description { state: "default" 0.0;
364             min: SELECTION_INFO_SHADOW_HORZ_W_INC SELECTION_INFO_SHADOW_HORZ_H_INC;
365             align: 0.5 1.0;
366             fixed: 1 1;
367             image.normal: "00_bottom_popup_shadow.png";
368             rel2 {
369                to: "bg";
370                relative: 1.0 0.0;
371             }
372          }
373       }
374       part {
375          name: "elm.text";
376          type: TEXT;
377          mouse_events: 0;
378          scale: 1;
379          description {
380             state: "default" 0.0;
381             align: 0.5 0.0;
382             rel1 { to: "bg"; }
383             rel2 { to: "bg"; }
384             color: SELECTION_INFO_TEXT_COLOR_INC;
385             text {
386                font: "Tizen";
387                size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
388                text: "";
389                text_class: "tizen";
390             }
391          }
392       }
393    }
394    programs {
395       program { name: "clicked";
396          signal: "mouse,clicked,1";
397          source: "base";
398          action: SIGNAL_EMIT "elm,action,click" "";
399       }
400    }
401 }
402
403 group { name: "elm/standard/selectioninfo/horizontal/bottom_64";
404    images {
405       image: "00_bottom_popup_shadow.png" COMP;
406    }
407    parts {
408       part {
409          name: "bg";
410          type: RECT;
411          mouse_events: 1;
412          repeat_events: 1;
413          scale : 1;
414          description {
415             state: "default" 0.0;
416             min: SELECTION_INFO_MIN_HORZ_W_INC SELECTION_INFO_MIN_VER_BOTTOM_64_H_INC;
417             fixed: 1 1;
418             align: 0.5 1.0;
419             rel1.relative: 0.5 1.0;
420             rel2.relative: 0.5 1.0;
421             color: 0 0 0 0;
422          }
423       }
424       part { name: "bottom.popup.shadow";
425          type: IMAGE;
426          scale: 1;
427          description { state: "default" 0.0;
428             min: SELECTION_INFO_SHADOW_HORZ_W_INC SELECTION_INFO_SHADOW_HORZ_H_INC;
429             align: 0.5 1.0;
430             fixed: 1 1;
431             image.normal: "00_bottom_popup_shadow.png";
432             rel2 {
433                to: "bg";
434                relative: 1.0 0.0;
435             }
436          }
437       }
438       part { name: "base";
439          type: RECT;
440          mouse_events: 1;
441          scale : 1;
442          description {
443             state: "default" 0.0;
444             min: 0 SELECTION_INFO_VER_PADDING_INC;
445             fixed: 0 1;
446             align: 0.5 0.0;
447             rel1 { relative: 0.0 0.0; to: "bg"; }
448             rel2 { relative: 1.0 0.32; to: "bg"; }
449             color: SELECTION_INFO_BACKGROUND_COLOR_INC;
450          }
451       }
452       part {
453          name: "elm.text";
454          type: TEXT;
455          mouse_events: 0;
456          scale: 1;
457          description {
458             state: "default" 0.0;
459             align: 0.5 0.0;
460             rel1 { to: "base"; }
461             rel2 { to: "base"; }
462             color: SELECTION_INFO_TEXT_COLOR_INC;
463             text {
464                font: "Tizen";
465                size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
466                text: "";
467                text_class: "tizen";
468             }
469          }
470       }
471    }
472    programs {
473       program {
474          name: "clicked";
475          signal: "mouse,clicked,1";
476          source: "base";
477          action: SIGNAL_EMIT "elm,action,click" "";
478       }
479    }
480 }
481
482 group { name: "elm/standard/selectioninfo/horizontal/bottom_86";
483    images {
484       image: "00_bottom_popup_shadow.png" COMP;
485    }
486    parts {
487       part {
488          name: "bg";
489          type: RECT;
490          mouse_events: 1;
491          repeat_events: 1;
492          scale : 1;
493          description {
494             state: "default" 0.0;
495             min: SELECTION_INFO_MIN_HORZ_W_INC SELECTION_INFO_MIN_VER_BOTTOM_86_H_INC;
496             fixed: 1 1;
497             align: 0.5 1.0;
498             rel1.relative: 0.5 1.0;
499             rel2.relative: 0.5 1.0;
500             color: 0 0 0 0;
501          }
502       }
503       part { name: "bottom.popup.shadow";
504          type: IMAGE;
505          scale: 1;
506          description { state: "default" 0.0;
507             min: SELECTION_INFO_SHADOW_HORZ_W_INC SELECTION_INFO_SHADOW_HORZ_H_INC;
508             align: 0.5 1.0;
509             fixed: 1 1;
510             image.normal: "00_bottom_popup_shadow.png";
511             rel2 {
512                to: "bg";
513                relative: 1.0 0.0;
514             }
515          }
516       }
517       part {
518          name: "base";
519          type: RECT;
520          mouse_events: 1;
521          scale : 1;
522          description {
523             state: "default" 0.0;
524             min: 0 SELECTION_INFO_VER_PADDING_INC;
525             fixed: 0 1;
526             align: 0.5 0.0;
527             rel1 { relative: 0.0 0.0; to: "bg"; }
528             rel2 { relative: 1.0 0.258; to: "bg"; }
529             color: SELECTION_INFO_BACKGROUND_COLOR_INC;
530          }
531       }
532       part {
533          name: "elm.text";
534          type: TEXT;
535          mouse_events: 0;
536          scale: 1;
537          description {
538             state: "default" 0.0;
539             align: 0.5 0.0;
540             rel1 { to: "base"; }
541             rel2 { to: "base"; }
542             color: SELECTION_INFO_TEXT_COLOR_INC;
543             text {
544                font: "Tizen";
545                size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
546                text: "";
547                text_class: "tizen";
548             }
549          }
550       }
551    }
552    programs {
553       program {
554          name: "clicked";
555          signal: "mouse,clicked,1";
556          source: "base";
557          action: SIGNAL_EMIT "elm,action,click" "";
558       }
559    }
560 }