Elementary ctxpopup: Modified the disabled item style. Patch by ChunEon Park (Hermet).
[framework/uifw/elementary.git] / data / themes / default.edc
index 0296ab3..68748d2 100644 (file)
@@ -7992,6 +7992,7 @@ collections {
          }
          part { name: "elm.swallow.icon";
             type: SWALLOW;
+            clip_to: "disclip";
             scale: 1;
             description { state: "default" 0.0;
                min: 25 25;
@@ -8005,6 +8006,7 @@ collections {
          part { name: "elm.text";
             type: TEXT;
             mouse_events: 0;
+            clip_to: "disclip";
             scale: 1;
             description { state: "default" 0.0;
                min: 1 40;
@@ -8051,16 +8053,22 @@ collections {
          part { name: "disclip";
             type: RECT;
             description { state: "default" 0.0;
+               color: 255 255 255 255;
+            }
+            description { state: "enabled" 0.0;
+               color: 127 127 127 127;
+            }
+         }
+         part { name: "blocker";
+            description { state: "default" 0.0;
                visible: 0;
             }
             description { state: "enabled" 0.0;
                visible: 1;
-               color: 50 50 50 127;
-               rel1.offset: 4 4;
-               rel2.offset: -5 -5;
+               color: 0 0 0 0;
             }
          }
-      }
+               }
       programs {
          program {
             name: "item_unclick";
@@ -8073,12 +8081,14 @@ collections {
             source: "elm";
             action: STATE_SET "enabled" 0.0;
             target: "disclip";
+            target: "blocker";
          }
          program { name: "enable";
             signal: "elm,state,enabled";
             source: "elm";
             action: STATE_SET "default" 0.0;
             target: "disclip";
+            target: "blocker";
          }
          program { name: "item_click2";
             signal: "mouse,down,1";