summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorOlliver Schinagl <o.schinagl@ultimaker.com>2015-04-23 20:26:42 (GMT)
committerOlliver Schinagl <o.schinagl@ultimaker.com>2015-04-28 05:07:15 (GMT)
commit14c39a990e8dab0a93bafcdf04c555a3611c4e85 (patch)
tree2fa35e3dac98de64aa700cf364d3d9835a9a4833 /data
parenta28bd0f3ce45208e867b6b08a78624e62f5f3a09 (diff)
downloadeulogium-14c39a990e8dab0a93bafcdf04c555a3611c4e85.zip
eulogium-14c39a990e8dab0a93bafcdf04c555a3611c4e85.tar.gz
eulogium-14c39a990e8dab0a93bafcdf04c555a3611c4e85.tar.bz2
remove shadow colors, add focused and unfocused states
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
Diffstat (limited to 'data')
-rw-r--r--data/themes/default/edc/elm/button.edc20
1 files changed, 17 insertions, 3 deletions
diff --git a/data/themes/default/edc/elm/button.edc b/data/themes/default/edc/elm/button.edc
index 2ad5dcf..4cd6555 100644
--- a/data/themes/default/edc/elm/button.edc
+++ b/data/themes/default/edc/elm/button.edc
@@ -173,7 +173,13 @@ group { name: "elm/button/base/default";
}
description { state: "focused" 0.0;
inherit: "default" 0.0;
- color_class: "button_text_focused";
+// color_class: "button_text_focused";
+ color: 0 0 255 255;
+ }
+ description { state: "clicked" 0.0;
+ inherit: "default" 0.0;
+ // color_class: "button_text_focused";
+ color: 0 0 255 255;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
@@ -192,7 +198,6 @@ group { name: "elm/button/base/default";
inherit: "default" 0.0;
rel1.offset: 2 5;
color_class: "button_text_disabled";
- color3: 255 255 255 255;
text.min: 1 1;
text.ellipsis: -1;
visible: 1;
@@ -200,7 +205,6 @@ group { name: "elm/button/base/default";
description { state: "disabled_textonly" 0.0;
inherit: "default" 0.0;
color_class: "button_text_disabled";
- color3: 255 255 255 255;
text.min: 1 1;
text.ellipsis: -1;
visible: 1;
@@ -217,6 +221,16 @@ group { name: "elm/button/base/default";
}
}
programs {
+ program { name: "button_unfocused"; source: "elm";
+ signal: "elm,state,unfocused"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ program { name: "button_focused"; source: "elm";
+ signal: "elm,state,focused"; source: "elm";
+ action: STATE_SET "focused" 0.0;
+ target: "base";
+ }
program {
signal: "mouse,down,1"; source: "event";
action: SIGNAL_EMIT "elm,action,press" "elm";