rimmed pushed a commit to branch master. http://git.enlightenment.org/tools/eflete.git/commit/?id=1759462e6372be3264487efa849d3279695304f0
commit 1759462e6372be3264487efa849d3279695304f0 Author: Mykyta Biliavskyi <m.biliavs...@samsung.com> Date: Wed Oct 26 09:21:05 2016 +0300 Theme: add style for shortcut dialog window layout. --- data/themes/default/widgets/layout.edc | 75 ++++++++++++++++++++++++++++++++-- 1 file changed, 72 insertions(+), 3 deletions(-) diff --git a/data/themes/default/widgets/layout.edc b/data/themes/default/widgets/layout.edc index 1d11d3f..f92ebf4 100644 --- a/data/themes/default/widgets/layout.edc +++ b/data/themes/default/widgets/layout.edc @@ -2034,18 +2034,87 @@ group { name: "elm/layout/property/tween"; } } } + group { name: "elm/layout/shortcuts/default"; parts { - part { name: "elm.swallow.content"; + part { name: "elm.swallow.content"; type: SWALLOW; - description { state: "default" 0.0; + description { state: "default" 0.00; min: 400 420; } } + part { name: "rect"; + type: RECT; + description { state: "default" 0.00; + visible: 0; + min: 400 420; + color: 64 64 64 125; + } + description { state: "visible" 0.00; + inherit: "default" 0.00; + visible: 1; + color: 64 64 64 155; + } + description { state: "wrong" 0.00; + inherit: "visible" 0.00; + color_class: "invalid"; + } + } + part { name: "elm.text"; + type: TEXT; + description { state: "default" 0.00; + visible: 0; + color_class: "main"; + text { + font: "PT"; + size: 13; + } + } + description { state: "visible" 0.00; + inherit: "default" 0.00; + visible: 1; + } + description { state: "wrong" 0.00; + inherit: "visible" 0.00; + color_class: "select_light"; + } + } + } + programs { + program { name: "hover,show"; + signal: "hover,show"; + source: "eflete"; + action: STATE_SET "visible" 0.00; + target: "rect"; + target: "elm.text"; + } + program { name: "hover,hide"; + signal: "hover,hide"; + source: "eflete"; + action: STATE_SET "default" 0.00; + transition: DECELERATE 0.00000; + target: "rect"; + target: "elm.text"; + } + program { name: "hover_wrong"; + signal: "hover,wrong"; + source: "eflete"; + action: STATE_SET "wrong" 0.00; + transition: DECELERATE_FACTOR 1.20000 0.60000; + target: "elm.text"; + target: "rect"; + } + program { name: "hover_click"; + signal: "mouse,up,*"; + source: "rect"; + action: STATE_SET "default" 0.00; + transition: LINEAR 0.20000; + target: "elm.text"; + target: "rect"; + } } } - #include "layouts/manager.edc" #include "layouts/colorclass_manager.edc" #include "layouts/live_view_toolbar_helper.edc" --