diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2016-03-16 12:12:58 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2016-03-16 12:13:22 -0400 |
commit | dcebc67ab9400765c9766c7956723b126ddc22be (patch) | |
tree | 4937d92c403080faa30a5271e9cc6dcfed42518c /legacy | |
parent | 374a102573fc1d809535481b627031c606ba1552 (diff) | |
download | efl-dcebc67ab9400765c9766c7956723b126ddc22be.tar.gz |
label: add themes for left and right aligned text
@feature
Diffstat (limited to 'legacy')
-rw-r--r-- | legacy/elementary/data/themes/edc/elm/label.edc | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/legacy/elementary/data/themes/edc/elm/label.edc b/legacy/elementary/data/themes/edc/elm/label.edc index e684e0cb79..b1e273bc09 100644 --- a/legacy/elementary/data/themes/edc/elm/label.edc +++ b/legacy/elementary/data/themes/edc/elm/label.edc @@ -32,6 +32,40 @@ group { name: "elm/label/base/default"; } } +group { name: "elm/label/base/default/left"; + inherit: "elm/label/base/default"; + styles { + style { name: "label_style_left"; + base: "font="FN" font_size=10 text_class=tb_plain align=left color=#ffffffff style=shadow,bottom shadow_color=#00000080"; + tag: "br" "\n"; + tag: "b" "+ font="FNBD" text_class=tb_light"; + ENABLED_TEXTBLOCK_TAGS + } + } + parts { + textblock { "elm.text"; + desc { "default"; text.style: "label_style_left"; } + } + } +} + +group { name: "elm/label/base/default/right"; + inherit: "elm/label/base/default"; + styles { + style { name: "label_style_right"; + base: "font="FN" font_size=10 text_class=tb_plain align=right color=#ffffffff style=shadow,bottom shadow_color=#00000080"; + tag: "br" "\n"; + tag: "b" "+ font="FNBD" text_class=tb_light"; + ENABLED_TEXTBLOCK_TAGS + } + } + parts { + textblock { "elm.text"; + desc { "default"; text.style: "label_style_right"; } + } + } +} + group { name: "elm/label/base/marker"; inherit: "elm/label/base/default"; styles { @@ -55,6 +89,52 @@ group { name: "elm/label/base/marker"; } } +group { "elm/label/base/marker/left"; + inherit: "elm/label/base/default"; + styles { + style { name: "label_style3"; + base: "font="FNBD" font_size=10 text_class=tb_plain align=left color=#ffffffff style=shadow,bottom shadow_color=#00000080"; + tag: "br" "\n"; + tag: "hilight" "+ font="FNBD" color=#3399ff text_class=tb_light"; + tag: "b" "+ font="FNBD" color=#3399ff text_class=tb_light"; + } + } + parts { + part { name: "elm.text"; type: TEXTBLOCK; + scale: 1; + description { state: "default" 0.0; + text { style: "label_style3"; + min: 1 1; + ellipsis: -1; + } + } + } + } +} + +group { "elm/label/base/marker/right"; + inherit: "elm/label/base/default"; + styles { + style { name: "label_style4"; + base: "font="FNBD" font_size=10 text_class=tb_plain align=right color=#ffffffff style=shadow,bottom shadow_color=#00000080"; + tag: "br" "\n"; + tag: "hilight" "+ font="FNBD" color=#3399ff text_class=tb_light"; + tag: "b" "+ font="FNBD" color=#3399ff text_class=tb_light"; + } + } + parts { + part { name: "elm.text"; type: TEXTBLOCK; + scale: 1; + description { state: "default" 0.0; + text { style: "label_style4"; + min: 1 1; + ellipsis: -1; + } + } + } + } +} + group { name: "elm/label/base/slide_long"; inherit: "elm/label/base/default"; script { |