summaryrefslogtreecommitdiff
path: root/data/elementary/themes
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-07-08 12:21:24 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-07-08 12:21:24 +0100
commit41585834b7f292db85ce0cb60313015e58c32131 (patch)
treed645cc772dd6941b5beae93cb4dc4674e10e929b /data/elementary/themes
parent0660b3d4209bf2425240a8ad34e098b93874e279 (diff)
TH - ibox preview add
Diffstat (limited to 'data/elementary/themes')
-rw-r--r--data/elementary/themes/edc/ibar-ibox.edc40
1 files changed, 35 insertions, 5 deletions
diff --git a/data/elementary/themes/edc/ibar-ibox.edc b/data/elementary/themes/edc/ibar-ibox.edc
index 3072579317..941223f62c 100644
--- a/data/elementary/themes/edc/ibar-ibox.edc
+++ b/data/elementary/themes/edc/ibar-ibox.edc
@@ -68,6 +68,28 @@ group { name: "e/modules/ibox/icon";
68 rel2.relative: 1.0 0.85; 68 rel2.relative: 1.0 0.85;
69 } 69 }
70 } 70 }
71 part { name: "e.swallow.preview"; type: SWALLOW;
72 scale: 1;
73 clip_to: "item_clip";
74 description { state: "default" 0.0;
75 rel1.offset: 1 1;
76 rel2.offset: -2 -2;
77 rel1.relative: 0.1 0.1;
78 rel2.relative: 0.9 0.9;
79 align: 0.5 0.5;
80 offscale;
81 }
82 description { state: "bounce1" 0.0;
83 inherit: "default" 0.0;
84 rel1.relative: 0.0 0.15;
85 rel2.relative: 1.0 1.15;
86 }
87 description { state: "bounce2" 0.0;
88 inherit: "default" 0.0;
89 rel1.relative: 0.0 -0.15;
90 rel2.relative: 1.0 0.85;
91 }
92 }
71 part { name: "clip"; type: RECT; mouse_events: 0; 93 part { name: "clip"; type: RECT; mouse_events: 0;
72 description { state: "default" 0.0; 94 description { state: "default" 0.0;
73 } 95 }
@@ -237,24 +259,28 @@ group { name: "e/modules/ibox/icon";
237 signal: "e,state,urgent"; source: "e"; 259 signal: "e,state,urgent"; source: "e";
238 action: STATE_SET "bounce1" 0.0; 260 action: STATE_SET "bounce1" 0.0;
239 target: "e.swallow.content"; 261 target: "e.swallow.content";
262 target: "e.swallow.preview";
240 after: "urg1"; 263 after: "urg1";
241 } 264 }
242 program { name: "urg1"; 265 program { name: "urg1";
243 action: STATE_SET "bounce2" 0.0; 266 action: STATE_SET "bounce2" 0.0;
244 transition: DECELERATE 0.2; 267 transition: DECELERATE 0.2;
245 target: "e.swallow.content"; 268 target: "e.swallow.content";
269 target: "e.swallow.preview";
246 after: "urg2"; 270 after: "urg2";
247 } 271 }
248 program { name: "urg2"; 272 program { name: "urg2";
249 action: STATE_SET "bounce1" 0.0; 273 action: STATE_SET "bounce1" 0.0;
250 transition: ACCELERATE 0.2; 274 transition: ACCELERATE 0.2;
251 target: "e.swallow.content"; 275 target: "e.swallow.content";
276 target: "e.swallow.preview";
252 after: "urg1"; 277 after: "urg1";
253 } 278 }
254 program { 279 program {
255 signal: "e,state,not_urgent"; source: "e"; 280 signal: "e,state,not_urgent"; source: "e";
256 action: STATE_SET "default" 0.0; 281 action: STATE_SET "default" 0.0;
257 target: "e.swallow.content"; 282 target: "e.swallow.content";
283 target: "e.swallow.preview";
258 } 284 }
259 } 285 }
260} 286}
@@ -344,13 +370,17 @@ group { name: "e/modules/ibox/icon_overlay";
344 } 370 }
345 part { name: "e.swallow.content"; type: SWALLOW; 371 part { name: "e.swallow.content"; type: SWALLOW;
346 clip_to: "background"; 372 clip_to: "background";
347 description { 373 description { state: "default" 0.0;
348 state: "default" 0.0; 374 rel.to: "background";
349 rel1.to: "background"; 375 }
350 rel2.to: "background"; 376 }
377 part { name: "e.swallow.preview"; type: SWALLOW;
378 clip_to: "background";
379 description { state: "default" 0.0;
380 rel.to: "background";
351 } 381 }
352 } 382 }
353 text { name: "spacer"; scale: 1; 383 text { name: "spacer"; scale: 1;
354 desc { 384 desc {
355 color: 0 0 0 0; 385 color: 0 0 0 0;
356 rel1.relative: 1 0; 386 rel1.relative: 1 0;