[Genlist] change edit mode style
[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    parts {
22       part { name: "bg";
23          type: RECT;
24          scale : 1;
25          description {
26             state: "default" 0.0;
27             min: 0 SELECTION_INFO_VER_PADDING_INC;
28             fixed: 0 1;
29             align: 0.5 1.0;
30             rel1.relative: 0.0 1.0;
31             color: SELECTION_INFO_BACKGROUND_COLOR_INC;
32          }
33       }
34       part { name: "padding_left";
35          scale: 1;
36          mouse_events: 0;
37          description {
38             state: "default" 0.0;
39             min: SELECTION_INFO_LEFT_PADDING_INC 0;
40             align: 0.0 0.5;
41             rel1.to: "bg";
42             rel2 {
43                to: "bg";
44                relative: 0.0 1.0;
45             }
46             fixed: 1 0;
47             visible: 0;
48          }
49       }
50       part {
51          name: "elm.text";
52          type: TEXT;
53          mouse_events: 0;
54          scale: 1;
55          description {
56             state: "default" 0.0;
57             rel1 {
58                to: "padding_left";
59                relative: 1.0 0.0;
60             }
61             rel2.to: "bg";
62             color: SELECTION_INFO_TEXT_COLOR_INC;
63             text {
64                font: "Tizen";
65                size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
66                text: "";
67                align: 0.0 0.5;
68                text_class: "tizen";
69             }
70          }
71       }
72    }
73    programs {
74       program { name: "clicked";
75          signal: "mouse,clicked,1";
76          source: "bg";
77          action: SIGNAL_EMIT "elm,action,click" "";
78       }
79    }
80 }
81
82 group { name: "elm/standard/selectioninfo/center_text";
83    inherit: "elm/standard/selectioninfo/default";
84    parts {
85       part {
86          name: "elm.text";
87          description {
88             state: "default" 0.0;
89             rel1 {
90                to: "bg";
91                relative: 0.0 0.0;
92             }
93             rel2 {
94                to: "bg";
95                relative: 1.0 1.0;
96             }
97             text.align: 0.5 0.5;
98          }
99       }
100    }
101 }
102
103 group { name: "elm/standard/selectioninfo/vertical/bottom_12";
104    parts {
105       part { name: "bg";
106          type: RECT;
107          scale : 1;
108          description {
109             state: "default" 0.0;
110             min: SELECTION_INFO_MIN_VER_W_INC SELECTION_INFO_VER_PADDING_INC;
111             fixed: 1 1;
112             align: 0.5 1.0;
113             rel1.relative: 0.5 1.0;
114             rel2.relative: 0.5 1.0;
115             color: SELECTION_INFO_BACKGROUND_COLOR_INC;
116          }
117       }
118       part {
119          name: "elm.text";
120          type: TEXT;
121          mouse_events: 0;
122          scale: 1;
123          description {
124             state: "default" 0.0;
125             align: 0.5 0.0;
126             rel1 { to: "bg"; }
127             rel2 { to: "bg"; }
128             color: SELECTION_INFO_TEXT_COLOR_INC;
129             text {
130                font: "Tizen";
131                size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
132                text: "";
133                text_class: "tizen";
134             }
135          }
136       }
137    }
138    programs {
139       program { name: "clicked";
140          signal: "mouse,clicked,1";
141          source: "base";
142          action: SIGNAL_EMIT "elm,action,click" "";
143       }
144    }
145 }
146
147 group { name: "elm/standard/selectioninfo/vertical/bottom_64";
148    parts {
149       part {
150          name: "bg";
151          type: RECT;
152          mouse_events: 1;
153          repeat_events: 1;
154          scale : 1;
155          description {
156             state: "default" 0.0;
157             min: SELECTION_INFO_MIN_VER_W_INC SELECTION_INFO_MIN_VER_BOTTOM_64_H_INC;
158             fixed: 1 1;
159             align: 0.5 1.0;
160             rel1.relative: 0.5 1.0;
161             rel2.relative: 0.5 1.0;
162             color: 0 0 0 0;
163          }
164       }
165       part { name: "base";
166          type: RECT;
167          mouse_events: 1;
168          scale : 1;
169          description {
170             state: "default" 0.0;
171             min: 0 SELECTION_INFO_VER_PADDING_INC;
172             fixed: 0 1;
173             align: 0.5 0.0;
174             rel1 { relative: 0.0 0.0; to: "bg"; }
175             rel2 { relative: 1.0 0.32; to: "bg"; }
176             color: SELECTION_INFO_BACKGROUND_COLOR_INC;
177          }
178       }
179       part {
180          name: "elm.text";
181          type: TEXT;
182          mouse_events: 0;
183          scale: 1;
184          description {
185             state: "default" 0.0;
186             align: 0.5 0.0;
187             rel1 { to: "base"; }
188             rel2 { to: "base"; }
189             color: SELECTION_INFO_TEXT_COLOR_INC;
190             text {
191                font: "Tizen";
192                size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
193                text: "";
194                text_class: "tizen";
195             }
196          }
197       }
198    }
199    programs {
200       program {
201          name: "clicked";
202          signal: "mouse,clicked,1";
203          source: "base";
204          action: SIGNAL_EMIT "elm,action,click" "";
205       }
206    }
207 }
208
209 group { name: "elm/standard/selectioninfo/vertical/bottom_86";
210    parts {
211       part {
212          name: "bg";
213          type: RECT;
214          mouse_events: 1;
215          repeat_events: 1;
216          scale : 1;
217          description {
218             state: "default" 0.0;
219             min: SELECTION_INFO_MIN_VER_W_INC SELECTION_INFO_MIN_VER_BOTTOM_86_H_INC;
220             fixed: 1 1;
221             align: 0.5 1.0;
222             rel1.relative: 0.5 1.0;
223             rel2.relative: 0.5 1.0;
224             color: 0 0 0 0;
225          }
226       }
227       part {
228          name: "base";
229          type: RECT;
230          mouse_events: 1;
231          scale : 1;
232          description {
233             state: "default" 0.0;
234             min: 0 SELECTION_INFO_VER_PADDING_INC;
235             fixed: 0 1;
236             align: 0.5 0.0;
237             rel1 { relative: 0.0 0.0; to: "bg"; }
238             rel2 { relative: 1.0 0.258; to: "bg"; }
239             color: SELECTION_INFO_BACKGROUND_COLOR_INC;
240          }
241       }
242       part {
243          name: "elm.text";
244          type: TEXT;
245          mouse_events: 0;
246          scale: 1;
247          description {
248             state: "default" 0.0;
249             align: 0.5 0.0;
250             rel1 { to: "base"; }
251             rel2 { to: "base"; }
252             color: SELECTION_INFO_TEXT_COLOR_INC;
253             text {
254                font: "Tizen";
255                size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
256                text: "";
257                text_class: "tizen";
258             }
259          }
260       }
261    }
262    programs {
263       program {
264          name: "clicked";
265          signal: "mouse,clicked,1";
266          source: "base";
267          action: SIGNAL_EMIT "elm,action,click" "";
268       }
269    }
270 }
271
272 group { name: "elm/standard/selectioninfo/horizontal/bottom_12";
273    parts {
274       part { name: "bg";
275          type: RECT;
276          mouse_events: 1;
277          repeat_events: 1;
278          scale : 1;
279          description {
280             state: "default" 0.0;
281             min: SELECTION_INFO_MIN_HORZ_W_INC SELECTION_INFO_VER_PADDING_INC;
282             fixed: 1 1;
283             align: 0.5 1.0;
284             rel1.relative: 0.5 1.0;
285             rel2.relative: 0.5 1.0;
286             color: SELECTION_INFO_BACKGROUND_COLOR_INC;
287          }
288       }
289       part {
290          name: "elm.text";
291          type: TEXT;
292          mouse_events: 0;
293          scale: 1;
294          description {
295             state: "default" 0.0;
296             align: 0.5 0.0;
297             rel1 { to: "bg"; }
298             rel2 { to: "bg"; }
299             color: SELECTION_INFO_TEXT_COLOR_INC;
300             text {
301                font: "Tizen";
302                size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
303                text: "";
304                text_class: "tizen";
305             }
306          }
307       }
308    }
309    programs {
310       program { name: "clicked";
311          signal: "mouse,clicked,1";
312          source: "base";
313          action: SIGNAL_EMIT "elm,action,click" "";
314       }
315    }
316 }
317
318 group { name: "elm/standard/selectioninfo/horizontal/bottom_64";
319    parts {
320       part {
321          name: "bg";
322          type: RECT;
323          mouse_events: 1;
324          repeat_events: 1;
325          scale : 1;
326          description {
327             state: "default" 0.0;
328             min: SELECTION_INFO_MIN_HORZ_W_INC SELECTION_INFO_MIN_VER_BOTTOM_64_H_INC;
329             fixed: 1 1;
330             align: 0.5 1.0;
331             rel1.relative: 0.5 1.0;
332             rel2.relative: 0.5 1.0;
333             color: 0 0 0 0;
334          }
335       }
336       part { name: "base";
337          type: RECT;
338          mouse_events: 1;
339          scale : 1;
340          description {
341             state: "default" 0.0;
342             min: 0 SELECTION_INFO_VER_PADDING_INC;
343             fixed: 0 1;
344             align: 0.5 0.0;
345             rel1 { relative: 0.0 0.0; to: "bg"; }
346             rel2 { relative: 1.0 0.32; to: "bg"; }
347             color: SELECTION_INFO_BACKGROUND_COLOR_INC;
348          }
349       }
350       part {
351          name: "elm.text";
352          type: TEXT;
353          mouse_events: 0;
354          scale: 1;
355          description {
356             state: "default" 0.0;
357             align: 0.5 0.0;
358             rel1 { to: "base"; }
359             rel2 { to: "base"; }
360             color: SELECTION_INFO_TEXT_COLOR_INC;
361             text {
362                font: "Tizen";
363                size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
364                text: "";
365                text_class: "tizen";
366             }
367          }
368       }
369    }
370    programs {
371       program {
372          name: "clicked";
373          signal: "mouse,clicked,1";
374          source: "base";
375          action: SIGNAL_EMIT "elm,action,click" "";
376       }
377    }
378 }
379
380 group { name: "elm/standard/selectioninfo/horizontal/bottom_86";
381    parts {
382       part {
383          name: "bg";
384          type: RECT;
385          mouse_events: 1;
386          repeat_events: 1;
387          scale : 1;
388          description {
389             state: "default" 0.0;
390             min: SELECTION_INFO_MIN_HORZ_W_INC SELECTION_INFO_MIN_VER_BOTTOM_86_H_INC;
391             fixed: 1 1;
392             align: 0.5 1.0;
393             rel1.relative: 0.5 1.0;
394             rel2.relative: 0.5 1.0;
395             color: 0 0 0 0;
396          }
397       }
398       part {
399          name: "base";
400          type: RECT;
401          mouse_events: 1;
402          scale : 1;
403          description {
404             state: "default" 0.0;
405             min: 0 SELECTION_INFO_VER_PADDING_INC;
406             fixed: 0 1;
407             align: 0.5 0.0;
408             rel1 { relative: 0.0 0.0; to: "bg"; }
409             rel2 { relative: 1.0 0.258; to: "bg"; }
410             color: SELECTION_INFO_BACKGROUND_COLOR_INC;
411          }
412       }
413       part {
414          name: "elm.text";
415          type: TEXT;
416          mouse_events: 0;
417          scale: 1;
418          description {
419             state: "default" 0.0;
420             align: 0.5 0.0;
421             rel1 { to: "base"; }
422             rel2 { to: "base"; }
423             color: SELECTION_INFO_TEXT_COLOR_INC;
424             text {
425                font: "Tizen";
426                size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
427                text: "";
428                text_class: "tizen";
429             }
430          }
431       }
432    }
433    programs {
434       program {
435          name: "clicked";
436          signal: "mouse,clicked,1";
437          source: "base";
438          action: SIGNAL_EMIT "elm,action,click" "";
439       }
440    }
441 }