b598d1bbf15d036561f9a9d8a71dad96b4cf7ae8
[framework/uifw/elementary.git] / data / themes / widgets / index.edc
1 group { name: "elm/index/base/vertical/default";
2    images {
3       image: "bt_base1.png" COMP;
4       image: "bt_base2.png" COMP;
5       image: "bt_hilight.png" COMP;
6       image: "bt_shine.png" COMP;
7    }
8    parts {
9       part { name: "clip";
10          type: RECT;
11          mouse_events:  0;
12          description { state: "default" 0.0;
13             visible:  0;
14             color: 255 255 255 0;
15          }
16          description { state: "active" 0.0;
17             visible:  1;
18             color: 255 255 255 255;
19          }
20       }
21       part { name: "clip2";
22          type: RECT;
23          mouse_events:  0;
24          clip_to: "clip";
25          description { state: "default" 0.0;
26             visible: 0;
27             color: 255 255 255 0;
28          }
29          description { state: "active" 0.0;
30             visible:  1;
31             color: 255 255 255 255;
32          }
33       }
34       part { name: "elm.swallow.index.0";
35          type: SWALLOW;
36          clip_to: "clip";
37          description { state: "default" 0.0;
38             align: 1.0 0.5;
39             fixed: 1 1;
40             rel1 {
41                relative: 1.0 0.5;
42                offset: -1 5;
43             }
44             rel2 {
45                relative: 1.0 0.5;
46                offset: -1 -6;
47             }
48          }
49       }
50       part { name: "button_image";
51          mouse_events: 1;
52          clip_to: "clip2";
53          description { state: "default" 0.0;
54             rel1 {
55                to: "elm.text.body";
56                offset: -5 -5;
57             }
58             rel2 {
59                to: "elm.text";
60                offset: 4 4;
61             }
62             image {
63                normal: "bt_base2.png";
64                border: 7 7 7 7;
65             }
66             image.middle: SOLID;
67          }
68       }
69       part { name: "elm.text.body";
70          type: TEXT;
71          effect: SOFT_SHADOW;
72          mouse_events: 0;
73          scale: 1;
74          clip_to: "clip2";
75          description { state: "default" 0.0;
76             align: 1.0 0.5;
77             fixed: 1 1;
78             rel1 {
79                to: "elm.text";
80                relative: 0.0 0.0;
81                offset: 5 0;
82             }
83             rel2 {
84                to: "elm.text";
85                relative: 0.0 1.0;
86                offset: 5 -1;
87             }
88             color: 224 224 224 255;
89             color3: 0 0 0 64;
90             text {
91                font:     "Sans,Edje-Vera";
92                size:     20;
93                min:      1 1;
94                align:    1.0 0.5;
95             }
96          }
97       }
98       part { name: "elm.text";
99          type: TEXT;
100          effect: SOFT_SHADOW;
101          mouse_events: 0;
102          scale: 1;
103          clip_to: "clip2";
104          description { state: "default" 0.0;
105             align: 1.0 0.5;
106             fixed: 1 1;
107             rel1 {
108                to_x: "elm.swallow.event.0";
109                to_y: "elm.dragable.pointer";
110                relative: 0.0 0.5;
111                offset: -16 0;
112             }
113             rel2 {
114                to_x: "elm.swallow.event.0";
115                to_y: "elm.dragable.pointer";
116                relative: 0.0 0.5;
117                offset: -16 -1;
118             }
119             color: 255 0 0 255;
120             color3: 0 0 0 64;
121             text {
122                font:     "Sans,Edje-Vera";
123                size:     20;
124                min:      1 1;
125                align:    1.0 0.5;
126             }
127          }
128       }
129 <<<<<<< HEAD
130       part {        name: "over1";
131 =======
132       part { name: "over1";
133 >>>>>>> remotes/origin/upstream
134          mouse_events: 0;
135          clip_to: "clip2";
136          description { state: "default" 0.0;
137             rel1 {
138                to: "button_image";
139             }
140             rel2 {
141                to: "button_image";
142                relative: 1.0 0.5;
143             }
144             image {
145                normal: "bt_hilight.png";
146                border: 7 7 7 0;
147             }
148          }
149       }
150       part { name: "over2";
151          mouse_events: 1;
152          repeat_events: 1;
153          ignore_flags: ON_HOLD;
154          clip_to: "clip2";
155          description { state: "default" 0.0;
156             rel1 {
157                to: "button_image";
158             }
159             rel2 {
160                to: "button_image";
161             }
162             image {
163                normal: "bt_shine.png";
164                border: 7 7 7 7;
165             }
166          }
167       }
168       part { name: "elm.dragable.pointer";
169          type: RECT;
170          mouse_events: 0;
171          dragable {
172             x: 1 1 0;
173             y: 1 1 0;
174          }
175          clip_to: "clip";
176          description { state: "default" 0.0;
177             fixed: 1 1;
178             min: 8 8;
179             max: 8 8;
180             visible: 0;
181             rel1 {
182                relative: 0.0 0.0;
183                offset:   0 0;
184             }
185             rel2 {
186                relative: 0.0 0.0;
187                offset:   0 0;
188             }
189          }
190       }
191       part { name: "elm.swallow.event.0";
192          type: SWALLOW;
193          description { state: "default" 0.0;
194             align: 1.0 0.5;
195             fixed: 1 1;
196             rel1 {
197                relative: 1.0 0.0;
198                offset: -1 0;
199             }
200             rel2 {
201                relative: 1.0 1.0;
202                offset: -1 -1;
203             }
204          }
205       }
206    }
207    programs {
208       program { name: "active";
209          signal: "elm,state,active";
210          source: "elm";
211          action: STATE_SET "active" 0.0;
212          transition: DECELERATE 0.5;
213          target: "clip";
214       }
215       program { name: "inactive";
216          signal: "elm,state,inactive";
217          source: "elm";
218          action: STATE_SET "default" 0.0;
219          transition: DECELERATE 0.5;
220          target: "clip";
221       }
222       program { name: "active2";
223          signal: "elm,indicator,state,active";
224          source: "elm";
225          action: STATE_SET "active" 0.0;
226          transition: DECELERATE 0.5;
227          target: "clip2";
228       }
229       program { name: "inactive2";
230          signal: "elm,indicator,state,inactive";
231          source: "elm";
232          action: STATE_SET "default" 0.0;
233          transition: DECELERATE 0.5;
234          target: "clip2";
235       }
236    }
237 }
238
239 group { name: "elm/index/item/vertical/default";
240    data.item: "stacking" "above";
241    data.item: "selectraise" "on";
242    images {
243       image: "ilist_1.png" COMP;
244       image: "ilist_item_shadow.png" COMP;
245    }
246    parts {
247       part {
248          name: "base_sh";
249          mouse_events: 0;
250          description {
251             state: "default" 0.0;
252             align: 0.0 0.0;
253             min: 0 10;
254             fixed: 1 1;
255             rel1 {
256                to: "base";
257                relative: 0.0 1.0;
258                offset: 0 0;
259             }
260             rel2 {
261                to: "base";
262                relative: 1.0 1.0;
263                offset: -1 0;
264             }
265             image {
266                normal: "ilist_item_shadow.png";
267             }
268             fill.smooth: 0;
269          }
270       }
271       part {
272          name: "base";
273          mouse_events: 0;
274          description {
275             state: "default" 0.0;
276             image {
277                normal: "ilist_1.png";
278                border: 2 2 2 2;
279             }
280             fill.smooth: 0;
281          }
282          description { state: "active" 0.0;
283             inherit: "default" 0.0;
284             rel1 {
285                offset: -16 0;
286             }
287          }
288       }
289       part { name: "elm.text";
290          type:           TEXT;
291          mouse_events:   0;
292          scale: 1;
293          description {
294             state: "default" 0.0;
295                    //               min: 16 16;
296             rel1 {
297                to: "base";
298                relative: 0.0  0.0;
299                offset:   4 4;
300             }
301             rel2 {
302                to: "base";
303                relative: 0.5  1.0;
304                offset:   -1 -1;
305             }
306             color: 0 0 0 128;
307             text {
308                font: "Sans";
309                size: 10;
310                min: 1 1;
311                     //                  min: 0 1;
312                align: 0.5 0.5;
313             }
314          }
315          description { state: "active" 0.0;
316             inherit: "default" 0.0;
317             color: 0 0 0 255;
318          }
319       }
320    }
321    programs {
322       program { name: "active";
323          signal: "elm,state,active";
324          source: "elm";
325          action: STATE_SET "active" 0.0;
326          transition: DECELERATE 0.5;
327          target: "elm.text";
328          target: "base";
329       }
330       program { name: "inactive";
331          signal: "elm,state,inactive";
332          source: "elm";
333          action: STATE_SET "default" 0.0;
334          transition: DECELERATE 0.5;
335          target: "elm.text";
336          target: "base";
337       }
338    }
339 }
340
341 group { name: "elm/index/item_odd/vertical/default";
342    data.item: "stacking" "below";
343    images {
344       image: "ilist_2.png" COMP;
345    }
346    parts {
347       part {
348          name: "base";
349          mouse_events: 0;
350          description {
351             state: "default" 0.0;
352             image {
353                normal: "ilist_2.png";
354                border: 2 2 2 2;
355             }
356             fill.smooth: 0;
357          }
358          description { state: "active" 0.0;
359             inherit: "default" 0.0;
360             rel1 {
361                offset: -16 0;
362             }
363          }
364       }
365       part { name: "elm.text";
366          type:           TEXT;
367          mouse_events:   0;
368          scale: 1;
369          description {
370             state: "default" 0.0;
371                    //               min: 16 16;
372             rel1 {
373                to: "base";
374                relative: 0.0  0.0;
375                offset:   4 4;
376             }
377             rel2 {
378                to: "base";
379                relative: 0.5  1.0;
380                offset:   -1 -1;
381             }
382             color: 0 0 0 128;
383             text {
384                font: "Sans";
385                size: 10;
386                min: 1 1;
387                     //                  min: 0 1;
388                align: 0.5 0.5;
389             }
390          }
391          description { state: "active" 0.0;
392             inherit: "default" 0.0;
393             color: 0 0 0 255;
394          }
395       }
396    }
397    programs {
398       program { name: "active";
399          signal: "elm,state,active";
400          source: "elm";
401          action: STATE_SET "active" 0.0;
402          transition: DECELERATE 0.5;
403          target: "elm.text";
404          target: "base";
405       }
406       program { name: "inactive";
407          signal: "elm,state,inactive";
408          source: "elm";
409          action: STATE_SET "default" 0.0;
410          transition: DECELERATE 0.5;
411          target: "elm.text";
412          target: "base";
413       }
414    }
415 }
416 <<<<<<< HEAD
417 =======
418 group { name: "elm/index/base/horizontal/default";
419    images {
420       image: "bt_base1.png" COMP;
421       image: "bt_base2.png" COMP;
422       image: "bt_hilight.png" COMP;
423       image: "bt_shine.png" COMP;
424    }
425    parts {
426       part { name: "clip";
427          type: RECT;
428          mouse_events:  0;
429          description { state: "default" 0.0;
430             visible:  0;
431             color: 255 255 255 0;
432          }
433          description { state: "active" 0.0;
434             visible:  1;
435             color: 255 255 255 255;
436          }
437       }
438       part { name: "clip2";
439          type: RECT;
440          mouse_events:  0;
441          clip_to: "clip";
442          description { state: "default" 0.0;
443             visible: 0;
444             color: 255 255 255 0;
445          }
446          description { state: "active" 0.0;
447             visible:  1;
448             color: 255 255 255 255;
449          }
450       }
451       part { name: "elm.swallow.index.0";
452          type: SWALLOW;
453          clip_to: "clip";
454          description { state: "default" 0.0;
455             align: 0.5 1.0;
456             fixed: 1 1;
457             rel1 {
458                relative: 0.5 1;
459                offset: 0 0;
460             }
461             rel2 {
462                relative: 0.5 1;
463                offset: -1 -1;
464             }
465          }
466       }
467       part { name: "button_image";
468          mouse_events: 1;
469          clip_to: "clip2";
470          description { state: "default" 0.0;
471             rel1 {
472                to: "elm.text";
473                offset: -5 -5;
474             }
475             rel2 {
476                to: "elm.text";
477                offset: 4 4;
478             }
479             image {
480                normal: "bt_base2.png";
481                border: 7 7 7 7;
482             }
483             image.middle: SOLID;
484          }
485       }
486       part { name: "elm.text.body";
487          type: TEXT;
488          effect: SOFT_SHADOW;
489          mouse_events: 0;
490          scale: 1;
491          clip_to: "clip2";
492          description { state: "default" 0.0;
493             align: 0.5 1;
494             fixed: 1 1;
495             rel1 {
496                to: "elm.text";
497                relative: 0.0 0.0;
498             }
499             rel2 {
500                to: "elm.text";
501                relative: 0.1 0.0;
502             }
503             color: 224 224 224 255;
504             color3: 0 0 0 64;
505             text {
506                font:     "Sans,Edje-Vera";
507                size:     20;
508                min:      1 1;
509                align:    0.5 1;
510             }
511          }
512       }
513       part { name: "elm.text";
514          type: TEXT;
515          effect: SOFT_SHADOW;
516          mouse_events: 0;
517          scale: 1;
518          clip_to: "clip2";
519          description { state: "default" 0.0;
520             align: 0.5 1;
521             fixed: 1 1;
522             rel1 {
523                to_x: "elm.dragable.pointer";
524                to_y: "elm.swallow.event.0";
525                relative: 0.5 0;
526                offset: 0 -16;
527             }
528             rel2 {
529                to_x: "elm.dragable.pointer";
530                to_y: "elm.swallow.event.0";
531                relative: 0.5 0;
532                offset: -1 -16;
533             }
534             color: 255 0 0 255;
535             color3: 0 0 0 64;
536             text {
537                font:     "Sans,Edje-Vera";
538                size:     20;
539                min:      1 1;
540                align:    0.5 1;
541             }
542          }
543       }
544       part { name: "over1";
545          mouse_events: 0;
546          clip_to: "clip2";
547          description { state: "default" 0.0;
548             rel1 {
549                to: "button_image";
550             }
551             rel2 {
552                to: "button_image";
553                relative: 0.5 1;
554             }
555             image {
556                normal: "bt_hilight.png";
557                border: 7 7 7 0;
558             }
559          }
560       }
561       part { name: "over2";
562          mouse_events: 1;
563          repeat_events: 1;
564          ignore_flags: ON_HOLD;
565          clip_to: "clip2";
566          description { state: "default" 0.0;
567             rel1 {
568                to: "button_image";
569             }
570             rel2 {
571                to: "button_image";
572             }
573             image {
574                normal: "bt_shine.png";
575                border: 7 7 7 7;
576             }
577          }
578       }
579       part { name: "elm.dragable.pointer";
580          type: RECT;
581          mouse_events: 0;
582          dragable {
583             x: 1 1 0;
584             y: 1 1 0;
585          }
586          clip_to: "clip";
587          description { state: "default" 0.0;
588             fixed: 1 1;
589             min: 8 8;
590             max: 8 8;
591             visible: 0;
592             rel1 {
593                relative: 0.0 0.0;
594                offset:   0 0;
595             }
596             rel2 {
597                relative: 0.0 0.0;
598                offset:   0 0;
599             }
600          }
601       }
602       part { name: "elm.swallow.event.0";
603          type: SWALLOW;
604          description { state: "default" 0.0;
605             align: 0.5 1;
606             fixed: 1 1;
607             rel1 {
608                relative: 0.0 1.0;
609                offset: -1 0;
610             }
611             rel2 {
612                relative: 1.0 1.0;
613                offset: -1 -1;
614             }
615          }
616       }
617    }
618    programs {
619       program { name: "active";
620          signal: "elm,state,active";
621          source: "elm";
622          action: STATE_SET "active" 0.0;
623          transition: DECELERATE 0.5;
624          target: "clip";
625       }
626       program { name: "inactive";
627          signal: "elm,state,inactive";
628          source: "elm";
629          action: STATE_SET "default" 0.0;
630          transition: DECELERATE 0.5;
631          target: "clip";
632       }
633       program { name: "active2";
634          signal: "elm,indicator,state,active";
635          source: "elm";
636          action: STATE_SET "active" 0.0;
637          transition: DECELERATE 0.5;
638          target: "clip2";
639       }
640       program { name: "inactive2";
641          signal: "elm,indicator,state,inactive";
642          source: "elm";
643          action: STATE_SET "default" 0.0;
644          transition: DECELERATE 0.5;
645          target: "clip2";
646       }
647    }
648 }
649 group { name: "elm/index/item/horizontal/default";
650    data.item: "stacking" "above";
651    data.item: "selectraise" "on";
652    images {
653       image: "ilist_1.png" COMP;
654       image: "ilist_item_shadow.png" COMP;
655    }
656    parts {
657       part {
658          name: "base_sh";
659          mouse_events: 0;
660          description {
661             state: "default" 0.0;
662             align: 0.0 0.0;
663             min: 0 10;
664             fixed: 1 1;
665             rel1 {
666                to: "base";
667                relative: 0.0 1.0;
668             }
669             rel2 {
670                to: "base";
671                relative: 1.0 1.0;
672             }
673             image {
674                normal: "ilist_item_shadow.png";
675             }
676             fill.smooth: 0;
677          }
678       }
679       part {
680          name: "base";
681          mouse_events: 0;
682          description {
683             state: "default" 0.0;
684             image {
685                normal: "ilist_1.png";
686                border: 2 2 2 2;
687             }
688             fill.smooth: 0;
689          }
690          description { state: "active" 0.0;
691             inherit: "default" 0.0;
692             rel1 {
693                offset: 0 -16;
694             }
695          }
696       }
697       part { name: "elm.text";
698          type:           TEXT;
699          mouse_events:   0;
700          scale: 1;
701          description {
702             state: "default" 0.0;
703             rel1 {
704                to: "base";
705                relative: 0.25  0.0;
706             }
707             rel2 {
708                to: "base";
709                relative: 0.75 1.0;
710             }
711             color: 0 0 0 128;
712             text {
713                font: "Sans";
714                size: 10;
715                min: 1 1;
716                align: 0.5 0.5;
717             }
718          }
719          description { state: "active" 0.0;
720             inherit: "default" 0.0;
721             color: 0 0 0 255;
722          }
723       }
724    }
725    programs {
726       program { name: "active";
727          signal: "elm,state,active";
728          source: "elm";
729          action: STATE_SET "active" 0.0;
730          transition: DECELERATE 0.5;
731          target: "elm.text";
732          target: "base";
733       }
734       program { name: "inactive";
735          signal: "elm,state,inactive";
736          source: "elm";
737          action: STATE_SET "default" 0.0;
738          transition: DECELERATE 0.5;
739          target: "elm.text";
740          target: "base";
741       }
742    }
743 }
744 group { name: "elm/index/item_odd/horizontal/default";
745    data.item: "stacking" "below";
746    images {
747       image: "ilist_2.png" COMP;
748    }
749    parts {
750       part {
751          name: "base";
752          mouse_events: 0;
753          description {
754             state: "default" 0.0;
755             image {
756                normal: "ilist_2.png";
757                border: 2 2 2 2;
758             }
759             fill.smooth: 0;
760          }
761          description { state: "active" 0.0;
762             inherit: "default" 0.0;
763             rel1 {
764                offset: 0 -16;
765             }
766          }
767       }
768       part { name: "elm.text";
769          type:           TEXT;
770          mouse_events:   0;
771          scale: 1;
772          description {
773             state: "default" 0.0;
774             rel1 {
775                to: "base";
776                relative: 0.25  0.0;
777             }
778             rel2 {
779                to: "base";
780                relative: 0.75  1.0;
781             }
782             color: 0 0 0 128;
783             text {
784                font: "Sans";
785                size: 10;
786                min: 1 1;
787                align: 0.5 0.5;
788             }
789          }
790          description { state: "active" 0.0;
791             inherit: "default" 0.0;
792             color: 0 0 0 255;
793          }
794       }
795    }
796    programs {
797       program { name: "active";
798          signal: "elm,state,active";
799          source: "elm";
800          action: STATE_SET "active" 0.0;
801          transition: DECELERATE 0.5;
802          target: "elm.text";
803          target: "base";
804       }
805       program { name: "inactive";
806          signal: "elm,state,inactive";
807          source: "elm";
808          action: STATE_SET "default" 0.0;
809          transition: DECELERATE 0.5;
810          target: "elm.text";
811          target: "base";
812       }
813    }
814 }
815 >>>>>>> remotes/origin/upstream
816