[Genlist] change edit mode style
[platform/core/uifw/efl-theme-tizen.git] / themes / widgets / badge.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 group
19 {
20    name: "elm/icon_badge/base/default";
21
22    images {
23       image : "00_badge_bg.png" COMP;
24    }
25
26    parts {
27       part { name: "elm.image.badge";
28          mouse_events: 0;
29          scale: 1;
30          description { state: "default" 0.0;
31             visible: 0;
32             min: 54 54;
33             fixed: 1 1;
34             rel1 {
35                to: "left.padding.text";
36                relative: 0.0 0.0;
37             }
38             rel2 {
39                to: "right.padding.text";
40                relative: 1.0 1.0;
41             }
42             image {
43                normal: "00_badge_bg.png";
44                border: 29 24 0 0;
45                border_scale: 1;
46             }
47          }
48          description { state: "visible" 0.0;
49             inherit: "default" 0.0;
50             visible: 1;
51          }
52       }
53       part { name: "left.padding.text";
54          type: RECT;
55          scale: 1;
56          description {
57             state: "default" 0.0;
58             visible: 0;
59             fixed: 1 1;
60             min: 13 54;
61             rel1 {
62                to: "elm.text.badge";
63                relative: 0.0 1.0;
64             }
65             rel2 {
66                to: "elm.text.badge";
67                relative: 0.0 1.0;
68             }
69             align: 1.0 1.0;
70          }
71       }
72       part { name: "right.padding.text";
73          type: RECT;
74          scale: 1;
75          description {
76             state: "default" 0.0;
77             visible: 0;
78             fixed: 1 1;
79             min: 8 54;
80             rel1 {
81                to: "elm.image.badge";
82                relative: 1.0 0.0;
83             }
84             rel2 {
85                to: "elm.image.badge";
86                relative: 1.0 0.0;
87             }
88             align: 1.0 1.0;
89          }
90       }
91       part { name: "elm.text.badge";
92          type: TEXT;
93          mouse_events: 0;
94          scale: 1;
95          description {
96             state: "default" 0.0;
97             visible: 0;
98             rel1 {
99                to: "right.padding.text";
100                relative: 0.0 0.0;
101             }
102             rel2 {
103                to: "right.padding.text";
104                relative: 0.0 1.0;
105             }
106             min: 25 0;
107             fixed: 1 0;
108             align: 1.0 0.5;
109             color: 10 100 208 255;
110             text {
111                font: "Tizen:style=Bold";
112                size: 26;
113                min: 1 1;
114             }
115          }
116          description { state: "visible" 0.0;
117             inherit: "default" 0.0;
118             visible: 1;
119          }
120       }
121    }
122 }
123