raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=bd16e7d9035a34c5faa72e6eb3cf3d2880e585e1

commit bd16e7d9035a34c5faa72e6eb3cf3d2880e585e1
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Thu May 6 20:44:00 2021 +0100

    elm theme - colorsel - fine tuning
---
 data/elementary/themes/edc/elm/colorsel.edc | 92 +++++++++++++++++++++--------
 1 file changed, 67 insertions(+), 25 deletions(-)

diff --git a/data/elementary/themes/edc/elm/colorsel.edc 
b/data/elementary/themes/edc/elm/colorsel.edc
index 2592aa5032..e552a27012 100644
--- a/data/elementary/themes/edc/elm/colorsel.edc
+++ b/data/elementary/themes/edc/elm/colorsel.edc
@@ -420,8 +420,70 @@ group { name: "elm/colorselector/base/default";
          }
          dragable.events: "elm.arrow";
       }
+      part { name: "elm.l_button"; type: SWALLOW;
+         scale: 1;
+         description { state: "default" 0.0;
+            fixed: 1 1;
+            min: 24 24;
+            rel1.relative: 0.0 0.0;
+            rel1.to_y: "elm.bar_bg";
+            rel2.relative: 0.0 1.0;
+            rel2.to_y: "elm.bar_bg";
+            align: 0.0 0.5;
+         }
+      }
+      part { name: "elm.r_button"; type: SWALLOW;
+         scale: 1;
+         description { state: "default" 0.0;
+            fixed: 1 1;
+            min: 24 24;
+            rel1.relative: 1.0 0.0;
+            rel1.to_y: "elm.bar_bg";
+            rel2.relative: 1.0 1.0;
+            rel2.to_y: "elm.bar_bg";
+            align: 1.0 0.5;
+         }
+      }
+      part { name: "arrow_bg";
+         scale: 1;
+         description { state: "default" 0.0;
+            rel.to: "elm.arrow_icon";
+            image.normal: "i-radio";
+            min: 24 24;
+            max: 24 24;
+            fixed: 1 1;
+            color: 255 255 255 255;
+         }
+      }
+      part { name: "arrow_base"; type: RECT;
+         clip_to: "arrow_clip";
+         description { state: "default" 0.0;
+            rel.to: "arrow_bg";
+            color: 32 32 32 255;
+         }
+      }
+      part { name: "arrow_pat";
+         clip_to: "arrow_clip";
+         description { state: "default" 0.0;
+            rel.to: "arrow_bg";
+            image.normal: "diagonal_stripes.png";
+            color: 255 255 255 16;
+            TILED_PATTERN(240, 240)
+         }
+      }
+      part { name: "arrow_clip";
+         scale: 1;
+         description { state: "default" 0.0;
+            rel.to: "arrow_bg";
+            image.normal: "i-radio";
+            min: 20 20;
+            max: 20 20;
+            fixed: 1 1;
+         }
+      }
       part { name: "elm.arrow_icon"; type: SWALLOW; mouse_events: 0;
          scale: 1;
+         clip_to: "arrow_clip";
          description { state: "default" 0.0;
             fixed: 1 1;
             min: 24 24;
@@ -430,14 +492,18 @@ group { name: "elm/colorselector/base/default";
             rel1.to_x: "elm.arrow";
             rel1.to_y: "elm.bar";
             rel2.relative: 1.0 0.0;
+            rel1.offset: 0 1;
             rel2.to_x: "elm.arrow";
             rel2.to_y: "elm.bar";
+            rel2.offset: -1 1;
+            offscale;
          }
       }
       part { name: "cursor"; type: RECT;
+         scale: 1;
          description { state: "default" 0.0;
             fixed: 1 1;
-            min: 1 1;
+            min: 2 2;
             rel1.to_x: "elm.arrow_icon";
             rel1.to_y: "elm.bar";
             rel1.relative: 0.5 0.0;
@@ -456,30 +522,6 @@ group { name: "elm/colorselector/base/default";
             color: 0 0 0 0;
          }
       }
-      part { name: "elm.l_button"; type: SWALLOW;
-         scale: 1;
-         description { state: "default" 0.0;
-            fixed: 1 1;
-            min: 24 24;
-            rel1.relative: 0.0 0.0;
-            rel1.to_y: "elm.bar_bg";
-            rel2.relative: 0.0 1.0;
-            rel2.to_y: "elm.bar_bg";
-            align: 0.0 0.5;
-         }
-      }
-      part { name: "elm.r_button"; type: SWALLOW;
-         scale: 1;
-         description { state: "default" 0.0;
-            fixed: 1 1;
-            min: 24 24;
-            rel1.relative: 1.0 0.0;
-            rel1.to_y: "elm.bar_bg";
-            rel2.relative: 1.0 1.0;
-            rel2.to_y: "elm.bar_bg";
-            align: 1.0 0.5;
-         }
-      }
    }
 }
 

-- 


Reply via email to