theme - add more standard colorclasses in e theme (so cc dialog works)
more to go still.
This commit is contained in:
parent
325d9f8368
commit
cc0c9f8725
|
@ -435,8 +435,8 @@ collections {
|
||||||
} //group ends
|
} //group ends
|
||||||
|
|
||||||
#include "../../data/themes/macros.edc"
|
#include "../../data/themes/macros.edc"
|
||||||
#include "../../data/themes/colorclasses.edc"
|
|
||||||
#include "../../data/themes/fonts.edc"
|
#include "../../data/themes/fonts.edc"
|
||||||
|
#include "../../data/themes/colorclasses.edc"
|
||||||
|
|
||||||
// to customize check default style
|
// to customize check default style
|
||||||
#include "../../data/themes/edc/elm/check.edc"
|
#include "../../data/themes/edc/elm/check.edc"
|
||||||
|
|
|
@ -9,59 +9,68 @@ color_classes {
|
||||||
|
|
||||||
// wm
|
// wm
|
||||||
color_class { name: "border_title";
|
color_class { name: "border_title";
|
||||||
color: 21 21 21 255;
|
color: FN_COL_DISABLE;
|
||||||
color3: 255 255 255 25;
|
|
||||||
}
|
}
|
||||||
color_class { name: "border_title_active";
|
color_class { name: "border_title_active";
|
||||||
color: 255 255 255 255;
|
color: FN_COL_DEFAULT_SOFT_SHADOW;
|
||||||
color3: 0 0 0 18;
|
|
||||||
}
|
}
|
||||||
color_class { name: "border_frame";
|
color_class { name: "border_frame";
|
||||||
color: 255 255 255 255;
|
color: FN_COL_DEFAULT_BASIC;
|
||||||
}
|
}
|
||||||
color_class { name: "border_frame_active";
|
color_class { name: "border_frame_active";
|
||||||
color: 255 255 255 255;
|
color: FN_COL_DEFAULT_BASIC;
|
||||||
}
|
}
|
||||||
color_class { name: "border_bottom";
|
color_class { name: "border_bottom";
|
||||||
color: 64 64 64 255;
|
color: FN_COL_DEFAULT_BASIC;
|
||||||
}
|
}
|
||||||
color_class { name: "move_text";
|
color_class { name: "move_text";
|
||||||
color: 255 255 255 255;
|
color: FN_COL_DEFAULT;
|
||||||
color3: 0 0 0 128;
|
|
||||||
}
|
}
|
||||||
color_class { name: "resize_text";
|
color_class { name: "resize_text";
|
||||||
color: 255 255 255 255;
|
color: FN_COL_DEFAULT;
|
||||||
color3: 0 0 0 128;
|
}
|
||||||
|
color_class { name: "menu_base";
|
||||||
|
color: FN_COL_DEFAULT_BASIC;
|
||||||
|
}
|
||||||
|
color_class { name: "menu_title";
|
||||||
|
color: FN_COL_DISABLE;
|
||||||
|
}
|
||||||
|
color_class { name: "menu_item";
|
||||||
|
color: FN_COL_DEFAULT;
|
||||||
|
}
|
||||||
|
color_class { name: "menu_item_active";
|
||||||
|
color: FN_COL_HIGHLIGHT;
|
||||||
|
}
|
||||||
|
color_class { name: "menu_item_disabled";
|
||||||
|
color: FN_COL_DISABLE;
|
||||||
|
}
|
||||||
|
color_class { name: "winlist_item";
|
||||||
|
color: FN_COL_DEFAULT;
|
||||||
|
}
|
||||||
|
color_class { name: "winlist_item_active";
|
||||||
|
color: FN_COL_HIGHLIGHT;
|
||||||
|
}
|
||||||
|
color_class { name: "winlist_label";
|
||||||
|
color: FN_COL_DEFAULT;
|
||||||
|
}
|
||||||
|
color_class { name: "winlist_title";
|
||||||
|
color: FN_COL_DISABLE;
|
||||||
|
}
|
||||||
|
color_class { name: "dialog_base";
|
||||||
|
color: FN_COL_DEFAULT_BASIC;
|
||||||
|
}
|
||||||
|
color_class { name: "shelf_base";
|
||||||
|
color: FN_COL_DEFAULT_BASIC;
|
||||||
|
}
|
||||||
|
color_class { name: "fileman_base";
|
||||||
|
color: FN_COL_DEFAULT_BASIC;
|
||||||
}
|
}
|
||||||
#if 0
|
#if 0
|
||||||
color_class { name: "error_text"
|
//// XXX: usless classes
|
||||||
}
|
// color_class { name: "error_text"
|
||||||
color_class { name: "menu_base"
|
// }
|
||||||
}
|
// color_class { name: "menu_title_active"
|
||||||
color_class { name: "menu_title"
|
// }
|
||||||
}
|
|
||||||
color_class { name: "menu_title_active"
|
|
||||||
}
|
|
||||||
color_class { name: "menu_item"
|
|
||||||
}
|
|
||||||
color_class { name: "menu_item_active"
|
|
||||||
}
|
|
||||||
color_class { name: "menu_item_disabled"
|
|
||||||
}
|
|
||||||
color_class { name: "winlist_item"
|
|
||||||
}
|
|
||||||
color_class { name: "winlist_item_active"
|
|
||||||
}
|
|
||||||
color_class { name: "winlist_label"
|
|
||||||
}
|
|
||||||
color_class { name: "winlist_title"
|
|
||||||
}
|
|
||||||
color_class { name: "dialog_base"
|
|
||||||
}
|
|
||||||
color_class { name: "shelf_base"
|
|
||||||
}
|
|
||||||
color_class { name: "fileman_base"
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// widgets
|
// widgets
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
externals.external: "elm";
|
externals.external: "elm";
|
||||||
|
|
||||||
collections {
|
collections {
|
||||||
#include "colorclasses.edc"
|
|
||||||
#include "fonts.edc"
|
#include "fonts.edc"
|
||||||
|
#include "colorclasses.edc"
|
||||||
|
|
||||||
// elm
|
// elm
|
||||||
#include "edc/elm/bg.edc"
|
#include "edc/elm/bg.edc"
|
||||||
|
|
|
@ -419,6 +419,7 @@ group { name: "e/widgets/border/default/border";
|
||||||
part { name: "bottom"; type: RECT; mouse_events: 0;
|
part { name: "bottom"; type: RECT; mouse_events: 0;
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
color_class: "border_bottom";
|
color_class: "border_bottom";
|
||||||
|
color: 64 64 64 255;
|
||||||
rel1.relative: 0.0 1.0;
|
rel1.relative: 0.0 1.0;
|
||||||
rel1.offset: 0 -5;
|
rel1.offset: 0 -5;
|
||||||
rel2.relative: 1.0 1.0;
|
rel2.relative: 1.0 1.0;
|
||||||
|
|
|
@ -936,6 +936,11 @@ group { name: "e/fileman/desktop/icon/fixed";
|
||||||
group { name: "e/fileman/default/scrollframe";
|
group { name: "e/fileman/default/scrollframe";
|
||||||
inherit: "e/widgets/scrollframe";
|
inherit: "e/widgets/scrollframe";
|
||||||
parts {
|
parts {
|
||||||
|
part { name: "bg";
|
||||||
|
description { state: "default" 0.0;
|
||||||
|
color_class: "fileman_base";
|
||||||
|
}
|
||||||
|
}
|
||||||
part { name: "e.swallow.bg"; type: SWALLOW;
|
part { name: "e.swallow.bg"; type: SWALLOW;
|
||||||
insert_before: "clipper";
|
insert_before: "clipper";
|
||||||
clip_to: "clipper";
|
clip_to: "clipper";
|
||||||
|
|
|
@ -7,6 +7,7 @@ group { name: "e/widgets/menu/default/background";
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
rel1.relative: 0.0 1.0;
|
rel1.relative: 0.0 1.0;
|
||||||
rel1.to_y: "top";
|
rel1.to_y: "top";
|
||||||
|
color_class: "menu_base";
|
||||||
color: 64 64 64 255;
|
color: 64 64 64 255;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -20,6 +21,7 @@ group { name: "e/widgets/menu/default/background";
|
||||||
fill.smooth: 0;
|
fill.smooth: 0;
|
||||||
TILED_HORIZ(120)
|
TILED_HORIZ(120)
|
||||||
fixed: 0 1;
|
fixed: 0 1;
|
||||||
|
color_class: "menu_base";
|
||||||
}
|
}
|
||||||
description { state: "active" 0.0;
|
description { state: "active" 0.0;
|
||||||
inherit: "default" 0.0;
|
inherit: "default" 0.0;
|
||||||
|
@ -31,13 +33,13 @@ group { name: "e/widgets/menu/default/background";
|
||||||
scale: 1;
|
scale: 1;
|
||||||
effect: SHADOW BOTTOM;
|
effect: SHADOW BOTTOM;
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
color_class: "menu_title";
|
|
||||||
rel1.relative: 0.0 0.0;
|
rel1.relative: 0.0 0.0;
|
||||||
rel1.offset: 1 0;
|
rel1.offset: 1 0;
|
||||||
rel2.relative: 1.0 0.0;
|
rel2.relative: 1.0 0.0;
|
||||||
rel2.offset: -2 -1;
|
rel2.offset: -2 -1;
|
||||||
align: 0.5 0.0;
|
align: 0.5 0.0;
|
||||||
color: FN_COL_DISABLE;
|
color_class: "menu_title";
|
||||||
|
color3: 255 255 255 255;
|
||||||
max: 0 0;
|
max: 0 0;
|
||||||
text { font: FNBD; size: 10;
|
text { font: FNBD; size: 10;
|
||||||
text_class: "menu_title";
|
text_class: "menu_title";
|
||||||
|
@ -265,8 +267,8 @@ group { name: "e/widgets/menu/default/label";
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
rel1.offset: 5 -1;
|
rel1.offset: 5 -1;
|
||||||
rel2.offset: -4 -1;
|
rel2.offset: -4 -1;
|
||||||
color: FN_COL_DEFAULT;
|
|
||||||
color_class: "menu_item";
|
color_class: "menu_item";
|
||||||
|
color3: 255 255 255 255;
|
||||||
text { font: FN; size: 10;
|
text { font: FN; size: 10;
|
||||||
min: 1 1;
|
min: 1 1;
|
||||||
align: 0.0 0.5;
|
align: 0.0 0.5;
|
||||||
|
@ -288,8 +290,8 @@ group { name: "e/widgets/menu/default/label";
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
rel1.to: "e.text.label";
|
rel1.to: "e.text.label";
|
||||||
rel2.to: "e.text.label";
|
rel2.to: "e.text.label";
|
||||||
color: FN_COL_DISABLE;
|
|
||||||
color_class: "menu_item_disabled";
|
color_class: "menu_item_disabled";
|
||||||
|
color3: 255 255 255 255;
|
||||||
text { font: FN; size: 10;
|
text { font: FN; size: 10;
|
||||||
text_source: "e.text.label";
|
text_source: "e.text.label";
|
||||||
align: 0.0 0.5;
|
align: 0.0 0.5;
|
||||||
|
@ -314,8 +316,9 @@ group { name: "e/widgets/menu/default/label";
|
||||||
rel1.to: "e.text.label";
|
rel1.to: "e.text.label";
|
||||||
rel2.offset: 2 1;
|
rel2.offset: 2 1;
|
||||||
rel2.to: "e.text.label";
|
rel2.to: "e.text.label";
|
||||||
color: FN_COL_HIGHLIGHT;
|
|
||||||
color_class: "menu_item_active";
|
color_class: "menu_item_active";
|
||||||
|
color2: 255 255 255 255;
|
||||||
|
color3: 255 255 255 255;
|
||||||
text { font: FN; size: 10;
|
text { font: FN; size: 10;
|
||||||
text_source: "e.text.label";
|
text_source: "e.text.label";
|
||||||
align: 0.0 0.5;
|
align: 0.0 0.5;
|
||||||
|
|
|
@ -338,7 +338,7 @@ group { name: "e/widgets/scrollframe";
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
rel1.to: "e.swallow.content";
|
rel1.to: "e.swallow.content";
|
||||||
rel2.to: "e.swallow.content";
|
rel2.to: "e.swallow.content";
|
||||||
color: 64 64 64 200;
|
color: 64 64 64 255;
|
||||||
color_class: "scrollframe_base";
|
color_class: "scrollframe_base";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,11 +24,13 @@ group { name: "e/shelf/default/base";
|
||||||
image.normal: "vgrad_med.png";
|
image.normal: "vgrad_med.png";
|
||||||
fill.smooth: 0;
|
fill.smooth: 0;
|
||||||
TILED_HORIZ(120)
|
TILED_HORIZ(120)
|
||||||
|
color_class: "shelf_base";
|
||||||
}
|
}
|
||||||
description { state: "vert" 0.0;
|
description { state: "vert" 0.0;
|
||||||
image.normal: "vgrad_tall.png";
|
image.normal: "vgrad_tall.png";
|
||||||
fill.smooth: 0;
|
fill.smooth: 0;
|
||||||
TILED_HORIZ(40)
|
TILED_HORIZ(40)
|
||||||
|
color_class: "shelf_base";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
part { name: "bevel"; mouse_events: 0;
|
part { name: "bevel"; mouse_events: 0;
|
||||||
|
|
|
@ -26,15 +26,15 @@ group { name: "e/widgets/winlist/main";
|
||||||
scale: 1;
|
scale: 1;
|
||||||
effect: SHADOW BOTTOM;
|
effect: SHADOW BOTTOM;
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
color_class: "menu_title";
|
|
||||||
rel1.relative: 0.0 0.0;
|
rel1.relative: 0.0 0.0;
|
||||||
rel1.offset: 1 3;
|
rel1.offset: 1 3;
|
||||||
rel2.relative: 1.0 0.0;
|
rel2.relative: 1.0 0.0;
|
||||||
rel2.offset: -2 3;
|
rel2.offset: -2 3;
|
||||||
align: 0.5 0.0;
|
align: 0.5 0.0;
|
||||||
color: FN_COL_DISABLE;
|
color_class: "winlist_title";
|
||||||
|
color3: 255 255 255 255;
|
||||||
text { font: FNBD; size: 10;
|
text { font: FNBD; size: 10;
|
||||||
text_class: "menu_title";
|
text_class: "winlist_title";
|
||||||
align: 0.5 0.0;
|
align: 0.5 0.0;
|
||||||
min: 0 1;
|
min: 0 1;
|
||||||
}
|
}
|
||||||
|
@ -58,14 +58,14 @@ group { name: "e/widgets/winlist/main";
|
||||||
scale: 1;
|
scale: 1;
|
||||||
effect: SHADOW BOTTOM;
|
effect: SHADOW BOTTOM;
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
color_class: "winlist_label";
|
|
||||||
rel1.relative: 1.0 0.0;
|
rel1.relative: 1.0 0.0;
|
||||||
rel1.offset: 6 0;
|
rel1.offset: 6 0;
|
||||||
rel1.to: "e.swallow.icon";
|
rel1.to: "e.swallow.icon";
|
||||||
rel2.offset: -7 -1;
|
rel2.offset: -7 -1;
|
||||||
rel2.to_y: "e.swallow.icon";
|
rel2.to_y: "e.swallow.icon";
|
||||||
align: 0.0 0.5;
|
align: 0.0 0.5;
|
||||||
color: FN_COL_DEFAULT;
|
color_class: "winlist_label";
|
||||||
|
color3: 255 255 255 255;
|
||||||
text { font: FNBD; size: 10;
|
text { font: FNBD; size: 10;
|
||||||
text_class: "winlist_label";
|
text_class: "winlist_label";
|
||||||
align: 0.0 0.5;
|
align: 0.0 0.5;
|
||||||
|
@ -138,12 +138,12 @@ group { name: "e/widgets/winlist/item";
|
||||||
rel1.relative: 1.0 0.0;
|
rel1.relative: 1.0 0.0;
|
||||||
rel1.to_x: "icon";
|
rel1.to_x: "icon";
|
||||||
rel2.offset: -3 -3;
|
rel2.offset: -3 -3;
|
||||||
color: FN_COL_DEFAULT;
|
color_class: "winlist_item";
|
||||||
color_class: "ilist_item";
|
color3: 255 255 255 255;
|
||||||
text { font: FN; size: 10;
|
text { font: FN; size: 10;
|
||||||
min: 0 1;
|
min: 0 1;
|
||||||
align: 0.0 0.5;
|
align: 0.0 0.5;
|
||||||
text_class: "ilist_item";
|
text_class: "winlist_item";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
description { state: "iconified" 0.0;
|
description { state: "iconified" 0.0;
|
||||||
|
@ -219,12 +219,13 @@ group { name: "e/widgets/winlist/item";
|
||||||
rel1.to: "e.text.label";
|
rel1.to: "e.text.label";
|
||||||
rel2.offset: 2 1;
|
rel2.offset: 2 1;
|
||||||
rel2.to: "e.text.label";
|
rel2.to: "e.text.label";
|
||||||
color: FN_COL_HIGHLIGHT;
|
color_class: "winlist_item_active";
|
||||||
color_class: "ilist_item_selected";
|
color2: 255 255 255 255;
|
||||||
|
color3: 255 255 255 255;
|
||||||
text { font: FN; size: 10;
|
text { font: FN; size: 10;
|
||||||
text_source: "e.text.label";
|
text_source: "e.text.label";
|
||||||
align: 0.0 0.5;
|
align: 0.0 0.5;
|
||||||
text_class: "ilist_item";
|
text_class: "winlist_item_active";
|
||||||
}
|
}
|
||||||
visible: 0;
|
visible: 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue