aboutsummaryrefslogtreecommitdiffstats
path: root/data/themes
diff options
context:
space:
mode:
authorwoochan lee <wc0917.lee@samsung.com>2016-01-04 14:35:09 -0800
committerCedric BAIL <cedric@osg.samsung.com>2016-01-04 14:37:51 -0800
commit66a3262f34aa4dbc4945c7b88e5392db9167a698 (patch)
treef595244e5f187c6f223702590ff80ed60ea98802 /data/themes
parentcalendar: add color classes and text classes. (diff)
downloadelementary-66a3262f34aa4dbc4945c7b88e5392db9167a698.tar.gz
datetime: add color classes and text classes.
Summary: The following new color classes and text classes for datetime widget are added. "datetime_bg", "Datetime Background" "datetime_separator_text", "Datetime Separator Text" "datetime_separator_text_disabled", "Datetime Separator Disabled Text" @feature Reviewers: raster, cedric, kimcinoo, Hermet, woohyun Subscribers: SanghyeonLee, eagleeye, id213sin Differential Revision: https://phab.enlightenment.org/D3485 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'data/themes')
-rw-r--r--data/themes/colorclasses.edc12
-rw-r--r--data/themes/edc/elm/datetime.edc15
2 files changed, 21 insertions, 6 deletions
diff --git a/data/themes/colorclasses.edc b/data/themes/colorclasses.edc
index 3d61f8ad8..5f92a14cb 100644
--- a/data/themes/colorclasses.edc
+++ b/data/themes/colorclasses.edc
@@ -166,6 +166,18 @@ color_classes {
color: FN_COL_DISABLE;
desc: "Text of a disabled checkbox's label when checked";
}
+ color_class { name: "datetime_bg";
+ color: 0 0 0 0;
+ desc: "Background of a datetime widget";
+ }
+ color_class { name: "datetime_separator_text";
+ color: FN_COL_DEFAULT;
+ desc: "Text in a datetime separator area";
+ }
+ color_class { name: "datetime_separator_text_disabled";
+ color: FN_COL_DISABLE;
+ desc: "Text in a disabled datetime separator area";
+ }
color_class { name: "entry_text";
color: FN_COL_DEFAULT_BASIC;
desc: "Text in an entry box";
diff --git a/data/themes/edc/elm/datetime.edc b/data/themes/edc/elm/datetime.edc
index a628a760a..18ecf75d2 100644
--- a/data/themes/edc/elm/datetime.edc
+++ b/data/themes/edc/elm/datetime.edc
@@ -50,14 +50,13 @@
relative: 1.0 1.0; \
to: "field"#_after; \
} \
- color: FN_COL_DEFAULT; \
- color_class: "datetime_text"; \
+ color_class: "datetime_separator_text"; \
text { \
font: "Sans"; size: 10; \
min: 1 0; \
ellipsis: -1; \
align: 0.5 0.5; \
- text_class: "datetime_text"; \
+ text_class: "datetime_separator_text"; \
} \
} \
description { state: "enable" 0.0; \
@@ -75,12 +74,11 @@
visible: 0; \
rel1.to: "separator"#_pos; \
rel2.to: "separator"#_pos; \
- color: FN_COL_DISABLE; \
- color_class: "datetime_text"; \
+ color_class: "datetime_separator_text_disabled"; \
text { \
text_source: "separator"#_pos; \
font: "Sans"; size: 10; \
- text_class: "datetime_text"; \
+ text_class: "datetime_separator_text_disabled"; \
} \
} \
description { state: "enable" 0.0; \
@@ -104,6 +102,11 @@
}
group { name: "elm/datetime/base/default";
parts {
+ part { name: "bg"; type: RECT;
+ description { state: "default" 0.0;
+ color_class: "datetime_bg";
+ }
+ }
part { name: "clip"; type: RECT;
description { state: "default" 0.0;
rel1.to: "separator0";