diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2015-04-06 14:10:24 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2015-04-06 14:10:24 -0400 |
commit | 53a5cf210f0f5dbdb907faba84a01e01fbf4ef58 (patch) | |
tree | d0bd83c252ab362d552791eefae780b6f90fe649 | |
parent | cb5b426f71d7882ea06bd4da44b4c9ae01dc2402 (diff) | |
download | elementary-53a5cf210f0f5dbdb907faba84a01e01fbf4ef58.tar.gz |
colorclass: add clip for color type groups, move inset inside edje area
-rw-r--r-- | data/themes/edc/elm/colorclass.edc | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/data/themes/edc/elm/colorclass.edc b/data/themes/edc/elm/colorclass.edc index bda0ad7b8..c9f652605 100644 --- a/data/themes/edc/elm/colorclass.edc +++ b/data/themes/edc/elm/colorclass.edc @@ -261,7 +261,8 @@ group { "colorclass/color1"; nomouse; nobroadcast; rect { "event"; mouse; desc { color: 0 0 0 0; fixed: 1 1; } } - rect { "bg"; + rect { "clip"; } + rect { "bg"; clip: "clip"; desc { rel1.to: "color"; rel2.to: "color"; @@ -269,7 +270,7 @@ group { "colorclass/color1"; nomouse; nobroadcast; fixed: 1 1; } } - image { "pat"; + image { "pat"; clip: "clip"; desc { rel1.to: "bg"; rel2.to: "bg"; @@ -278,7 +279,7 @@ group { "colorclass/color1"; nomouse; nobroadcast; fixed: 1 1; } } - rect { "color"; + rect { "color"; clip: "clip"; desc { align: 0 0; min: 40 20; max: 40 20; @@ -287,7 +288,7 @@ group { "colorclass/color1"; nomouse; nobroadcast; fixed: 1 1; } } - image { "shadow"; + image { "shadow"; clip: "clip"; desc { image.normal: "inset_shadow.png"; image.border: 5 5 7 3; @@ -299,20 +300,20 @@ group { "colorclass/color1"; nomouse; nobroadcast; fixed: 1 1; } } - image { "inset"; + image { "inset"; clip: "clip"; desc { image.normal: "bevel_in.png"; image.border: 1 1 1 1; image.middle: 0; rel1.to: "bg"; - rel1.offset: -1 -1; + rel1.offset: 1 1; rel2.to: "bg"; - rel2.offset: 0 0; + rel2.offset: -2 -2; fill.smooth: 0; fixed: 1 1; } } - text { "text"; + text { "text"; clip: "clip"; effect: SHADOW BOTTOM; scale: 1; desc { align: 0 0.5; |