aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Hirt <hirt.danny@gmail.com>2017-08-05 09:20:13 +0300
committerDaniel Hirt <hirt.danny@gmail.com>2017-08-14 20:20:39 +0300
commit624f7a14605a080b06da9a06be0662297aeb230b (patch)
tree1cc87772b4f2c7c35cfe975f6b8657e9f6f8ee31
parentgenlist.edc: port to TEXTBLOCK (diff)
downloadefl-624f7a14605a080b06da9a06be0662297aeb230b.tar.gz
index.edc: port to TEXTBLOCK
-rw-r--r--data/elementary/themes/edc/elm/index.edc101
1 files changed, 66 insertions, 35 deletions
diff --git a/data/elementary/themes/edc/elm/index.edc b/data/elementary/themes/edc/elm/index.edc
index ce592946c7..44fc086864 100644
--- a/data/elementary/themes/edc/elm/index.edc
+++ b/data/elementary/themes/edc/elm/index.edc
@@ -1,4 +1,26 @@
group { name: "elm/index/base/vertical/default";
+ styles {
+ style { name: "index_highlight_style";
+ base: STL_COL_PRIMER" style=glow text_class=index_highlight_text color_class=index_highlight_text left_margin=2 right_margin=2";
+ ENABLED_TEXTBLOCK_TAGS
+ }
+ style { name: "index_item_text_style";
+ base: STL_COL_PRIMER" style=shadow,bottom text_class=index_item_text color_class=index_item_text left_margin=2 right_margin=2";
+ ENABLED_TEXTBLOCK_TAGS
+ }
+ style { name: "index_item_selected_style";
+ base: STL_COL_PRIMER" style=shadow,bottom text_class=index_item_text_selected color_class=index_item_text_selected left_margin=2 right_margin=2";
+ ENABLED_TEXTBLOCK_TAGS
+ }
+ style { name: "__efl_highlight_style";
+ base: ""STL_COL_HIGHLIGHT" text_class=index_item_text_selected left_margin=2 right_margin=2";
+ ENABLED_TEXTBLOCK_TAGS
+ }
+ style { name: "__efl_text_style";
+ base: ""STL_COL_DEFAULT" text_class=index_item_text color_class=index_item_text left_margin=2 right_margin=2";
+ ENABLED_TEXTBLOCK_TAGS
+ }
+ }
parts {
part { name: "bg"; type: RECT;
description { state: "default" 0.0;
@@ -43,10 +65,10 @@ group { name: "elm/index/base/vertical/default";
}
}
}
- part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ part { name: "elm.text"; type: TEXTBLOCK; mouse_events: 0;
scale: 1;
clip_to: "clip2";
- effect: GLOW;
+ //effect: GLOW;
description { state: "default" 0.0;
align: 1.0 0.5;
fixed: 1 1;
@@ -62,14 +84,15 @@ group { name: "elm/index/base/vertical/default";
relative: 0.0 0.5;
offset: -16 -1;
}
- color_class: "index_highlight_text";
+ //color_class: "index_highlight_text";
text {
+ style: "index_highlight_style";
font: FN;
size: 20;
min: 1 1;
ellipsis: -1;
align: 1.0 0.5;
- text_class: "index_highlight_text";
+ //text_class: "index_highlight_text";
}
}
}
@@ -171,9 +194,9 @@ group { name: "elm/index/item/vertical/default";
rel1.offset: -16 0;
}
}
- part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ part { name: "elm.text"; type: TEXTBLOCK; mouse_events: 0;
scale: 1;
- effect: SHADOW BOTTOM;
+ //effect: SHADOW BOTTOM;
description {
state: "default" 0.0;
rel1 {
@@ -186,14 +209,15 @@ group { name: "elm/index/item/vertical/default";
relative: 0.5 1.0;
offset: -1 -1;
}
- color_class: "index_item_text";
+ //color_class: "index_item_text";
text {
+ style: "index_item_text_style";
font: FN;
size: 10;
min: 1 1;
ellipsis: -1;
align: 0.5 0.5;
- text_class: "index_item_text";
+ //text_class: "index_item_text";
}
}
description { state: "active" 0.0;
@@ -201,9 +225,9 @@ group { name: "elm/index/item/vertical/default";
visible: 0;
}
}
- part { name: "elm.text2"; type: TEXT; mouse_events: 0;
+ part { name: "elm.text2"; type: TEXTBLOCK; mouse_events: 0;
scale: 1;
- effect: GLOW;
+ //effect: GLOW;
description {
state: "default" 0.0;
visible: 0;
@@ -217,14 +241,15 @@ group { name: "elm/index/item/vertical/default";
relative: 0.5 1.0;
offset: -1 -1;
}
- color_class: "index_item_text_selected";
+ //color_class: "index_item_text_selected";
text {
+ style: "index_item_text_selected_style";
font: FN;
size: 10;
min: 0 0;
align: 0.5 0.5;
text_source: "elm.text";
- text_class: "index_item_text_selected";
+ //text_class: "index_item_text_selected";
}
}
description { state: "active" 0.0;
@@ -285,9 +310,9 @@ group { name: "elm/index/item_odd/vertical/default";
rel1.offset: -16 0;
}
}
- part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ part { name: "elm.text"; type: TEXTBLOCK; mouse_events: 0;
scale: 1;
- effect: SHADOW BOTTOM;
+ //effect: SHADOW BOTTOM;
description {
state: "default" 0.0;
rel1 {
@@ -300,14 +325,15 @@ group { name: "elm/index/item_odd/vertical/default";
relative: 0.5 1.0;
offset: -1 -1;
}
- color_class: "index_item_text";
+ //color_class: "index_item_text";
text {
+ style: "index_item_text_style";
font: FN;
size: 10;
min: 1 1;
ellipsis: -1;
align: 0.5 0.5;
- text_class: "index_item_text";
+ //text_class: "index_item_text";
}
}
description { state: "active" 0.0;
@@ -315,9 +341,9 @@ group { name: "elm/index/item_odd/vertical/default";
visible: 0;
}
}
- part { name: "elm.text2"; type: TEXT; mouse_events: 0;
+ part { name: "elm.text2"; type: TEXTBLOCK; mouse_events: 0;
scale: 1;
- effect: GLOW;
+ //effect: GLOW;
description {
state: "default" 0.0;
visible: 0;
@@ -331,14 +357,15 @@ group { name: "elm/index/item_odd/vertical/default";
relative: 0.5 1.0;
offset: -1 -1;
}
- color_class: "index_item_text_selected";
+ //color_class: "index_item_text_selected";
text {
+ style: "index_item_selected_style";
font: FN;
size: 10;
min: 0 0;
align: 0.5 0.5;
text_source: "elm.text";
- text_class: "index_item_text_selected";
+ //text_class: "index_item_text_selected";
}
}
description { state: "active" 0.0;
@@ -413,10 +440,10 @@ group { name: "elm/index/base/horizontal/default";
}
}
}
- part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ part { name: "elm.text"; type: TEXTBLOCK; mouse_events: 0;
scale: 1;
clip_to: "clip2";
- effect: GLOW;
+ //effect: GLOW;
description { state: "default" 0.0;
align: 0.5 1;
fixed: 1 1;
@@ -432,8 +459,9 @@ group { name: "elm/index/base/horizontal/default";
relative: 0.5 0;
offset: -1 -16;
}
- color: FN_COL_HIGHLIGHT;
+ //color: FN_COL_HIGHLIGHT;
text {
+ style: "__efl_highlight_style";
font: FN;
size: 20;
min: 1 1;
@@ -526,9 +554,9 @@ group { name: "elm/index/item/horizontal/default";
rel1.offset: 0 -16;
}
}
- part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ part { name: "elm.text"; type: TEXTBLOCK; mouse_events: 0;
scale: 1;
- effect: SHADOW BOTTOM;
+ //effect: SHADOW BOTTOM;
description { state: "default" 0.0;
rel1 {
to: "base";
@@ -538,8 +566,9 @@ group { name: "elm/index/item/horizontal/default";
to: "base";
relative: 0.75 1.0;
}
- color: FN_COL_DEFAULT;
+ //color: FN_COL_DEFAULT;
text {
+ style: "__efl_shadow_style";
font: FN;
size: 10;
min: 1 1;
@@ -552,9 +581,9 @@ group { name: "elm/index/item/horizontal/default";
visible: 0;
}
}
- part { name: "elm.text2"; type: TEXT; mouse_events: 0;
+ part { name: "elm.text2"; type: TEXTBLOCK; mouse_events: 0;
scale: 1;
- effect: GLOW;
+ //effect: GLOW;
description {
state: "default" 0.0;
visible: 0;
@@ -566,7 +595,7 @@ group { name: "elm/index/item/horizontal/default";
to: "base";
relative: 0.75 1.0;
}
- color: FN_COL_HIGHLIGHT;
+ //color: FN_COL_HIGHLIGHT;
text {
font: FN;
size: 10;
@@ -627,9 +656,9 @@ group { name: "elm/index/item_odd/horizontal/default";
rel1.offset: 0 -16;
}
}
- part { name: "elm.text"; type: TEXT; mouse_events: 0;
+ part { name: "elm.text"; type: TEXTBLOCK; mouse_events: 0;
scale: 1;
- effect: SHADOW BOTTOM;
+ //effect: SHADOW BOTTOM;
description { state: "default" 0.0;
rel1 {
to: "base";
@@ -639,8 +668,9 @@ group { name: "elm/index/item_odd/horizontal/default";
to: "base";
relative: 0.75 1.0;
}
- color: FN_COL_DEFAULT;
+ //color: FN_COL_DEFAULT;
text {
+ style: "__efl_text_style";
font: FN;
size: 10;
min: 1 1;
@@ -653,9 +683,9 @@ group { name: "elm/index/item_odd/horizontal/default";
visible: 0;
}
}
- part { name: "elm.text2"; type: TEXT; mouse_events: 0;
+ part { name: "elm.text2"; type: TEXTBLOCK; mouse_events: 0;
scale: 1;
- effect: GLOW;
+ //effect: GLOW;
description {
state: "default" 0.0;
visible: 0;
@@ -667,8 +697,9 @@ group { name: "elm/index/item_odd/horizontal/default";
to: "base";
relative: 0.75 1.0;
}
- color: FN_COL_HIGHLIGHT;
+ //color: FN_COL_HIGHLIGHT;
text {
+ style: "__efl_highlight_style";
font: FN;
size: 10;
min: 0 0;