summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-03-17 16:48:15 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-03-17 16:48:15 +0000
commitfa106bc710d5b730fb80e37ca1f6838bf8455a45 (patch)
tree2ef993b6589308ef24454c72d6bc1ac09d5b70e2 /data
parenteb7b16f9ed66f2d27167e248bf9041053d134dcf (diff)
TH - efl popup
Diffstat (limited to 'data')
-rw-r--r--data/elementary/themes/edc/efl/popup.edc128
1 files changed, 78 insertions, 50 deletions
diff --git a/data/elementary/themes/edc/efl/popup.edc b/data/elementary/themes/edc/efl/popup.edc
index 113fa52255..67641cf5ba 100644
--- a/data/elementary/themes/edc/efl/popup.edc
+++ b/data/elementary/themes/edc/efl/popup.edc
@@ -71,68 +71,93 @@ Group: efl/alert_popup/left_button (@since 1.23)
71*/ 71*/
72group { "efl/popup"; 72group { "efl/popup";
73 data.item: "version" "123"; 73 data.item: "version" "123";
74 images.image: "rounded_square.png" COMP;
75 parts { 74 parts {
76 spacer { "base"; 75 image { "shadow";
76 scale;
77 desc { "default"; 77 desc { "default";
78 rel1.offset: 10 10; 78 rel.to: "base";
79 rel2.offset: -11 -11; 79 WIN_SHADOW;
80 } 80 }
81 } 81 }
82 image { "bg"; 82 rect { "base";
83 scale;
83 desc { "default"; 84 desc { "default";
84 min: 100 100; 85 min: 100 100;
85 image.border: 15 15 15 15; 86 color: 0 0 0 192;
86 image.normal: "rounded_square.png"; 87 rel1.offset: 16 16;
88 rel2.offset: -17 -17;
89 offscale;
87 } 90 }
88 } 91 }
89 swallow { "efl.background"; required; 92 swallow { "efl.background"; required;
90 desc { "default"; 93 desc { "default";
91 rel.to: "bg"; 94 rel.to: "base";
92 } 95 }
93 } 96 }
94 swallow { "efl.content"; required; 97 swallow { "efl.content"; required;
98 scale;
95 desc { "default"; 99 desc { "default";
96 rel.to: "base"; 100 rel.to: "base";
101 rel1.offset: 4 4;
102 rel2.offset: -5 -5;
103 offscale;
97 } 104 }
98 } 105 }
99 } 106 }
100} 107}
101 108
102group { "efl/alert_popup"; data.item: "version" "123"; 109group { "efl/alert_popup";
103 images.image: "rounded_square.png" COMP; 110 data.item: "version" "123";
104 parts { 111 parts {
105 image { "bg"; 112 image { "shadow";
113 scale;
114 desc { "default";
115 rel.to: "base";
116 WIN_SHADOW;
117 }
118 }
119 rect { "base";
120 scale;
106 desc { "default"; 121 desc { "default";
107 min: 100 100; 122 min: 100 100;
108 image.border: 15 15 15 15; 123 color: 0 0 0 192;
109 image.normal: "rounded_square.png"; 124 rel1.offset: 16 16;
125 rel2.offset: -17 -17;
126 offscale;
110 } 127 }
111 } 128 }
112 swallow { "efl.background"; required; 129 swallow { "efl.background"; required;
113 desc { "default"; 130 desc { "default";
114 rel.to: "bg"; 131 rel.to: "base";
115 } 132 }
116 } 133 }
117 spacer { "base"; 134 swallow { "efl.content"; required;
135 scale;
118 desc { "default"; 136 desc { "default";
119 rel.to: "bg"; 137 rel1.to_x: "base";
120 rel1.offset: 10 10; 138 rel1.to_y: "title_bg";
121 rel2.offset: -11 -11; 139 rel2.to_x: "base";
140 rel2.to_y: "efl.buttons";
141 rel1.relative: 0.0 1.0;
142 rel2.relative: 1.0 0.0;
143 rel1.offset: 4 4;
144 rel2.offset: -5 -5;
145 offscale;
122 } 146 }
123 } 147 }
124 rect { "title_bg"; 148 rect { "title_bg";
149 scale;
125 desc { "default"; 150 desc { "default";
126 fixed: 0 1; 151 fixed: 0 1;
127 min: 0 0; 152 min: 0 0;
128 rel.to: "base"; 153 rel.to: "base";
129 rel2.relative: 1.0 0.0; 154 rel2.relative: 1.0 0.0;
130 align: 0.5 0.0; 155 align: 0.0 0.0;
131 color: 0 0 0 0; 156 color: 32 32 32 255;
132 } 157 }
133 desc { "title_visible"; 158 desc { "title_visible";
134 inherit: "default"; 159 inherit: "default";
135 min: 0 20; 160 min: 0 24;
136 } 161 }
137 } 162 }
138 textblock { "efl.text.title"; required; 163 textblock { "efl.text.title"; required;
@@ -143,6 +168,9 @@ group { "efl/alert_popup"; data.item: "version" "123";
143 style: "popup_title_style_ellipsis"; 168 style: "popup_title_style_ellipsis";
144 } 169 }
145 rel.to: "title_bg"; 170 rel.to: "title_bg";
171 rel1.offset: 4 4;
172 rel2.offset: -5 -5;
173 offscale;
146 hid; 174 hid;
147 } 175 }
148 desc { "title_visible"; 176 desc { "title_visible";
@@ -151,51 +179,45 @@ group { "efl/alert_popup"; data.item: "version" "123";
151 } 179 }
152 } 180 }
153 swallow { "efl.buttons"; required; 181 swallow { "efl.buttons"; required;
182 scale;
154 desc { "default"; 183 desc { "default";
155 fixed: 0 1; 184 fixed: 0 1;
156 rel.to: "base"; 185 rel.to: "base";
157 rel1.relative: 0.0 1.0; 186 rel1.relative: 0.0 1.0;
187 rel1.offset: 4 0;
188 rel2.offset: -5 0;
158 align: 0.5 1.0; 189 align: 0.5 1.0;
159 min: 0 0; 190 min: 0 0;
191 offscale;
160 } 192 }
161 desc { "button_visible"; 193 desc { "button_visible";
162 inherit: "default"; 194 inherit: "default";
163 min: 0 30; 195 min: 80 24;
164 } 196 rel1.offset: 4 -5;
165 } 197 rel2.offset: -5 -5;
166 swallow { "efl.content"; required;
167 desc { "default";
168 rel1.to_x: "base";
169 rel1.to_y: "title_bg";
170 rel2.to_x: "base";
171 rel2.to_y: "efl.buttons";
172 rel1.relative: 0.0 1.0;
173 rel2.relative: 1.0 0.0;
174 } 198 }
175 } 199 }
176 } 200 }
177 programs { 201 programs {
178 program { 202 program { signal: "efl,title,visible,on"; source: "efl";
179 signal: "efl,title,visible,on"; source: "efl";
180 action: STATE_SET "title_visible" 0.0; 203 action: STATE_SET "title_visible" 0.0;
181 target: "title_bg"; 204 target: "title_bg";
182 target: "efl.text.title"; 205 target: "efl.text.title";
183 } 206 }
184 program { 207 program { signal: "efl,title,visible,off"; source: "efl";
185 signal: "efl,title,visible,off"; source: "efl";
186 action: STATE_SET "default" 0.0; 208 action: STATE_SET "default" 0.0;
187 target: "title_bg"; 209 target: "title_bg";
188 target: "efl.text.title"; 210 target: "efl.text.title";
189 } 211 }
190 program { 212 program { signal: "efl,buttons,visible,on"; source: "efl";
191 signal: "efl,buttons,visible,on"; source: "efl";
192 action: STATE_SET "button_visible" 0.0; 213 action: STATE_SET "button_visible" 0.0;
193 target: "efl.buttons"; 214 target: "efl.buttons";
194 } 215 }
195 } 216 }
196} 217}
197 218
198group { "efl/popup/backwall"; data.item: "version" "123"; 219group { "efl/popup/backwall";
220 data.item: "version" "123";
199 alias: "efl/alert_popup/backwall"; 221 alias: "efl/alert_popup/backwall";
200 parts { 222 parts {
201 rect { "base"; 223 rect { "base";
@@ -208,9 +230,13 @@ group { "efl/popup/backwall"; data.item: "version" "123";
208 } 230 }
209 } 231 }
210 swallow { "efl.content"; required; 232 swallow { "efl.content"; required;
233 scale;
211 desc { "default"; 234 desc { "default";
212 rel.to: "base"; 235 rel.to: "base";
236 rel1.offset: 4 4;
237 rel2.offset: -5 -5;
213 hid; 238 hid;
239 offscale;
214 } 240 }
215 desc { "content_visible"; 241 desc { "content_visible";
216 inherit: "default"; 242 inherit: "default";
@@ -226,33 +252,32 @@ group { "efl/popup/backwall"; data.item: "version" "123";
226 } 252 }
227 253
228 programs { 254 programs {
229 program { 255 program { signal: "efl,content,set"; source: "efl";
230 signal: "efl,content,set"; source: "efl";
231 action: STATE_SET "content_visible" 0.0; 256 action: STATE_SET "content_visible" 0.0;
232 target: "base"; 257 target: "base";
233 target: "efl.content"; 258 target: "efl.content";
234 } 259 }
235 program { 260 program { signal: "efl,content,unset"; source: "efl";
236 signal: "efl,content,unset"; source: "efl";
237 action: STATE_SET "default" 0.0; 261 action: STATE_SET "default" 0.0;
238 target: "base"; 262 target: "base";
239 target: "efl.content"; 263 target: "efl.content";
240 } 264 }
241 program { 265 program { signal: "mouse,clicked,1"; source: "block";
242 signal: "mouse,clicked,1"; source: "block";
243 action: SIGNAL_EMIT "efl,action,click" "efl"; 266 action: SIGNAL_EMIT "efl,action,click" "efl";
244 } 267 }
245 } 268 }
246} 269}
247 270
248group { "efl/alert_popup/button_layout1"; data.item: "version" "123"; 271group { "efl/alert_popup/button_layout1";
272 data.item: "version" "123";
249 parts { 273 parts {
250 swallow { "efl.button1"; required; 274 swallow { "efl.button1"; required;
251 } 275 }
252 } 276 }
253} 277}
254 278
255group { "efl/alert_popup/button_layout2"; data.item: "version" "123"; 279group { "efl/alert_popup/button_layout2";
280 data.item: "version" "123";
256 parts { 281 parts {
257 spacer { "div1"; 282 spacer { "div1";
258 desc { "default"; 283 desc { "default";
@@ -276,20 +301,23 @@ group { "efl/alert_popup/button_layout2"; data.item: "version" "123";
276 } 301 }
277} 302}
278 303
279group { "efl/alert_popup/button_layout3"; data.item: "version" "123"; 304group { "efl/alert_popup/button_layout3";
305 data.item: "version" "123";
280 parts { 306 parts {
281 spacer { "div1"; 307 spacer { "div1";
308 scale;
282 desc { "default"; 309 desc { "default";
283 rel1.relative: 0.333 0.5; 310 rel1.relative: 0.333 0.5;
284 rel2.relative: 0.333 0.5; 311 rel2.relative: 0.333 0.5;
285 min: 5 5; 312 min: 4 4;
286 } 313 }
287 } 314 }
288 spacer { "div2"; 315 spacer { "div2";
316 scale;
289 desc { "default"; 317 desc { "default";
290 rel1.relative: 0.666 0.5; 318 rel1.relative: 0.666 0.5;
291 rel2.relative: 0.666 0.5; 319 rel2.relative: 0.666 0.5;
292 min: 5 5; 320 min: 4 4;
293 } 321 }
294 } 322 }
295 swallow { "efl.button1"; required; 323 swallow { "efl.button1"; required;