forked from enlightenment/efl
elm theme - more cc work
This commit is contained in:
parent
d109e1a057
commit
e5e9be1e85
|
@ -79,6 +79,11 @@ color_classes {
|
|||
color: 51 153 255 25; }
|
||||
color_class { name: "/bg/normal/tiling/position/outline";
|
||||
color: 51 153 255 255; }
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
color_class { name: "/bg/normal/segmentcontrol/item";
|
||||
color: 96 96 96 255; }
|
||||
color_class { name: "/bg/pressed/segmentcontrol/item";
|
||||
color: 32 32 32 255; }
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
color_class { name: "/fg/normal/init/logo";
|
||||
color: 255 255 255 255; }
|
||||
|
|
|
@ -13,8 +13,8 @@ group { name: "elm/segment_control/base/default";
|
|||
part { name: "bg"; type: RECT; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
min: 160 31;
|
||||
color: 0 0 0 0; // no cc
|
||||
min: 160 24;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -29,81 +29,60 @@ group { name: "elm/segment_control/item/default";
|
|||
}
|
||||
description { state: "default_single" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 80 80 80 255;
|
||||
color_class: "/bg/normal/segmentcontrol/item";
|
||||
visible: 1;
|
||||
}
|
||||
description { state: "default_left" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 80 80 80 255;
|
||||
inherit: "default_single" 0.0;
|
||||
visible: 1;
|
||||
rel2.offset: -2 -1;
|
||||
}
|
||||
description { state: "default_right" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 80 80 80 255;
|
||||
inherit: "default_single" 0.0;
|
||||
visible: 1;
|
||||
rel1.offset: 1 0;
|
||||
}
|
||||
description { state: "default_middle" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 80 80 80 255;
|
||||
inherit: "default_single" 0.0;
|
||||
visible: 1;
|
||||
rel1.offset: 1 0;
|
||||
rel2.offset: -2 -1;
|
||||
}
|
||||
description { state: "pressed_single" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 40 40 40 255;
|
||||
color_class: "/bg/pressed/segmentcontrol/item";
|
||||
visible: 1;
|
||||
}
|
||||
description { state: "pressed_left" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 40 40 40 255;
|
||||
inherit: "pressed_single" 0.0;
|
||||
visible: 1;
|
||||
rel2.offset: -2 -1;
|
||||
}
|
||||
description { state: "pressed_right" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 40 40 40 255;
|
||||
inherit: "pressed_single" 0.0;
|
||||
visible: 1;
|
||||
rel1.offset: 1 0;
|
||||
}
|
||||
description { state: "pressed_middle" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 40 40 40 255;
|
||||
inherit: "pressed_single" 0.0;
|
||||
visible: 1;
|
||||
rel1.offset: 1 0;
|
||||
rel2.offset: -2 -1;
|
||||
}
|
||||
description { state: "selected_single" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 51 153 255 255;
|
||||
color_class: "/bg/selected/segmentcontrol/item";
|
||||
visible: 1;
|
||||
}
|
||||
description { state: "selected_left" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 51 153 255 255;
|
||||
inherit: "selected_single" 0.0;
|
||||
visible: 1;
|
||||
rel2.offset: -2 -1;
|
||||
}
|
||||
description { state: "selected_right" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 51 153 255 255;
|
||||
inherit: "selected_single" 0.0;
|
||||
visible: 1;
|
||||
rel1.offset: 1 0;
|
||||
}
|
||||
description { state: "selected_middle" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 51 153 255 255;
|
||||
inherit: "selected_single" 0.0;
|
||||
visible: 1;
|
||||
rel1.offset: 1 0;
|
||||
rel2.offset: -2 -1;
|
||||
}
|
||||
}
|
||||
part { name: "disabler"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "segment";
|
||||
color: 64 64 64 255;
|
||||
color_class: "/bg/disabled/segmentcontrol/item";
|
||||
visible: 0;
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
|
@ -114,11 +93,11 @@ group { name: "elm/segment_control/item/default";
|
|||
part { name: "icon_disabler"; type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "segment";
|
||||
color: 255 255 255 255;
|
||||
color: 255 255 255 255; // no cc
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 64;
|
||||
color: 255 255 255 64; // no cc
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.icon"; type: SWALLOW;
|
||||
|
@ -159,25 +138,23 @@ group { name: "elm/segment_control/item/default";
|
|||
rel1.relative: 1.0 0.0;
|
||||
rel1.offset: 4 4;
|
||||
rel2.offset: -5 -5;
|
||||
color: 160 160 160 255;
|
||||
text {
|
||||
font: FN;
|
||||
size: 10;
|
||||
color_class: "/fg/normal/segmentcontrol/item";
|
||||
text { font: FN; size: 10;
|
||||
min: 0 1;
|
||||
text_class: "button";
|
||||
}
|
||||
}
|
||||
description { state: "pressed" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
color_class: "/fg/pressed/segmentcontrol/item";
|
||||
}
|
||||
description { state: "selected" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
color_class: "/fg/selected/segmentcontrol/item";
|
||||
}
|
||||
description { state: "disabled" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 96 96 96 255;
|
||||
color_class: "/fg/disabled/segmentcontrol/item";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue