summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-03-16 12:12:58 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-03-16 12:13:22 -0400
commit08204fa4763fb504ed3eb8de5cdb6727dcb88f72 (patch)
treea90787c3e4e930e4a7a5cec0e431bddf88a5675e
parent3848e321f328728f76ee1132ca2df2ca703f82d3 (diff)
label: add themes for left and right aligned text
@feature
-rw-r--r--data/themes/edc/elm/label.edc80
1 files changed, 80 insertions, 0 deletions
diff --git a/data/themes/edc/elm/label.edc b/data/themes/edc/elm/label.edc
index e684e0cb7..b1e273bc0 100644
--- a/data/themes/edc/elm/label.edc
+++ b/data/themes/edc/elm/label.edc
@@ -32,6 +32,40 @@ group { name: "elm/label/base/default";
32 } 32 }
33} 33}
34 34
35group { name: "elm/label/base/default/left";
36 inherit: "elm/label/base/default";
37 styles {
38 style { name: "label_style_left";
39 base: "font="FN" font_size=10 text_class=tb_plain align=left color=#ffffffff style=shadow,bottom shadow_color=#00000080";
40 tag: "br" "\n";
41 tag: "b" "+ font="FNBD" text_class=tb_light";
42 ENABLED_TEXTBLOCK_TAGS
43 }
44 }
45 parts {
46 textblock { "elm.text";
47 desc { "default"; text.style: "label_style_left"; }
48 }
49 }
50}
51
52group { name: "elm/label/base/default/right";
53 inherit: "elm/label/base/default";
54 styles {
55 style { name: "label_style_right";
56 base: "font="FN" font_size=10 text_class=tb_plain align=right color=#ffffffff style=shadow,bottom shadow_color=#00000080";
57 tag: "br" "\n";
58 tag: "b" "+ font="FNBD" text_class=tb_light";
59 ENABLED_TEXTBLOCK_TAGS
60 }
61 }
62 parts {
63 textblock { "elm.text";
64 desc { "default"; text.style: "label_style_right"; }
65 }
66 }
67}
68
35group { name: "elm/label/base/marker"; 69group { name: "elm/label/base/marker";
36 inherit: "elm/label/base/default"; 70 inherit: "elm/label/base/default";
37 styles { 71 styles {
@@ -55,6 +89,52 @@ group { name: "elm/label/base/marker";
55 } 89 }
56} 90}
57 91
92group { "elm/label/base/marker/left";
93 inherit: "elm/label/base/default";
94 styles {
95 style { name: "label_style3";
96 base: "font="FNBD" font_size=10 text_class=tb_plain align=left color=#ffffffff style=shadow,bottom shadow_color=#00000080";
97 tag: "br" "\n";
98 tag: "hilight" "+ font="FNBD" color=#3399ff text_class=tb_light";
99 tag: "b" "+ font="FNBD" color=#3399ff text_class=tb_light";
100 }
101 }
102 parts {
103 part { name: "elm.text"; type: TEXTBLOCK;
104 scale: 1;
105 description { state: "default" 0.0;
106 text { style: "label_style3";
107 min: 1 1;
108 ellipsis: -1;
109 }
110 }
111 }
112 }
113}
114
115group { "elm/label/base/marker/right";
116 inherit: "elm/label/base/default";
117 styles {
118 style { name: "label_style4";
119 base: "font="FNBD" font_size=10 text_class=tb_plain align=right color=#ffffffff style=shadow,bottom shadow_color=#00000080";
120 tag: "br" "\n";
121 tag: "hilight" "+ font="FNBD" color=#3399ff text_class=tb_light";
122 tag: "b" "+ font="FNBD" color=#3399ff text_class=tb_light";
123 }
124 }
125 parts {
126 part { name: "elm.text"; type: TEXTBLOCK;
127 scale: 1;
128 description { state: "default" 0.0;
129 text { style: "label_style4";
130 min: 1 1;
131 ellipsis: -1;
132 }
133 }
134 }
135 }
136}
137
58group { name: "elm/label/base/slide_long"; 138group { name: "elm/label/base/slide_long";
59 inherit: "elm/label/base/default"; 139 inherit: "elm/label/base/default";
60 script { 140 script {