summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Poole <netstar@gmail.com>2020-07-07 15:53:50 +0100
committerAlastair Poole <netstar@gmail.com>2020-07-07 15:54:06 +0100
commit86b5b6128c310a51aa38a4217c6be71424210062 (patch)
tree39beeba9409fdae84d5491cf6daa4553ed4acd04
parentcd27255cb05e8fabd4d7b1d7489c3296e374db03 (diff)
ibox: Preview Theme Code
Summary: Dependency for https://phab.enlightenment.org/D12046 Reviewers: raster Reviewed By: raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12047
-rw-r--r--data/elementary/themes/edc/ibar-ibox.edc34
1 files changed, 34 insertions, 0 deletions
diff --git a/data/elementary/themes/edc/ibar-ibox.edc b/data/elementary/themes/edc/ibar-ibox.edc
index 3d34f3c5e4..d9076004a8 100644
--- a/data/elementary/themes/edc/ibar-ibox.edc
+++ b/data/elementary/themes/edc/ibar-ibox.edc
@@ -61,6 +61,28 @@ group { name: "e/modules/ibox/icon";
61 rel2.relative: 1.0 0.85; 61 rel2.relative: 1.0 0.85;
62 } 62 }
63 } 63 }
64
65 part { name: "e.swallow.preview"; type: SWALLOW;
66 clip_to: "item_clip";
67 description { state: "default" 0.0;
68 rel1.offset: 1 1;
69 rel2.offset: -2 -2;
70 rel1.relative: 0.1 0.1;
71 rel2.relative: 0.9 0.9;
72 align: 0.5 0.5;
73 }
74 description { state: "bounce1" 0.0;
75 inherit: "default" 0.0;
76 rel1.relative: 0.0 0.15;
77 rel2.relative: 1.0 1.15;
78 }
79 description { state: "bounce2" 0.0;
80 inherit: "default" 0.0;
81 rel1.relative: 0.0 -0.15;
82 rel2.relative: 1.0 0.85;
83 }
84 }
85
64 part { name: "indicator"; 86 part { name: "indicator";
65 description { state: "default"; 87 description { state: "default";
66 min: 10 10; 88 min: 10 10;
@@ -142,24 +164,28 @@ group { name: "e/modules/ibox/icon";
142 signal: "e,state,urgent"; source: "e"; 164 signal: "e,state,urgent"; source: "e";
143 action: STATE_SET "bounce1" 0.0; 165 action: STATE_SET "bounce1" 0.0;
144 target: "e.swallow.content"; 166 target: "e.swallow.content";
167 target: "e.swallow.preview";
145 after: "urg1"; 168 after: "urg1";
146 } 169 }
147 program { name: "urg1"; 170 program { name: "urg1";
148 action: STATE_SET "bounce2" 0.0; 171 action: STATE_SET "bounce2" 0.0;
149 transition: DECELERATE 0.2; 172 transition: DECELERATE 0.2;
150 target: "e.swallow.content"; 173 target: "e.swallow.content";
174 target: "e.swallow.preview";
151 after: "urg2"; 175 after: "urg2";
152 } 176 }
153 program { name: "urg2"; 177 program { name: "urg2";
154 action: STATE_SET "bounce1" 0.0; 178 action: STATE_SET "bounce1" 0.0;
155 transition: ACCELERATE 0.2; 179 transition: ACCELERATE 0.2;
156 target: "e.swallow.content"; 180 target: "e.swallow.content";
181 target: "e.swallow.preview";
157 after: "urg1"; 182 after: "urg1";
158 } 183 }
159 program { 184 program {
160 signal: "e,state,not_urgent"; source: "e"; 185 signal: "e,state,not_urgent"; source: "e";
161 action: STATE_SET "default" 0.0; 186 action: STATE_SET "default" 0.0;
162 target: "e.swallow.content"; 187 target: "e.swallow.content";
188 target: "e.swallow.preview";
163 } 189 }
164 } 190 }
165} 191}
@@ -496,6 +522,14 @@ group { name: "e/modules/ibox/icon_overlay";
496 rel2.to: "background"; 522 rel2.to: "background";
497 } 523 }
498 } 524 }
525 part { name: "e.swallow.preview"; type: SWALLOW;
526 clip_to: "background";
527 description {
528 state: "default" 0.0;
529 rel1.to: "background";
530 rel2.to: "background";
531 }
532 }
499 part { name: "bevel"; mouse_events: 0; 533 part { name: "bevel"; mouse_events: 0;
500 description { state: "default" 0.0; 534 description { state: "default" 0.0;
501 rel1.offset: -9 -5; 535 rel1.offset: -9 -5;