From: Carsten Haitzler (Rasterman) Date: Tue, 11 Feb 2014 07:56:54 +0000 (+0900) Subject: theme - default styles - make disabled all look properly disabled X-Git-Tag: v1.9.0-alpha1~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=94441a79a1686e6055a91e9b064c5db471925d82;p=platform%2Fupstream%2Felementary.git theme - default styles - make disabled all look properly disabled --- diff --git a/data/themes/edc/elm/entry.edc b/data/themes/edc/elm/entry.edc index 09c527b..a0ed2cd 100644 --- a/data/themes/edc/elm/entry.edc +++ b/data/themes/edc/elm/entry.edc @@ -441,12 +441,12 @@ group { name: "elm/entry/base/default"; } style { name: "entry_disabled_style"; base: "font="FN" font_size=10 color=#151515 style=shadow,bottom shadow_color=#ffffff19 wrap=word text_class=entry color_class=entry_disabled left_margin=2 right_margin=2"; - COMMON_TEXTBLOCK_TAGS + DISABLED_COMMON_TEXTBLOCK_TAGS DISABLED_TEXTBLOCK_TAGS } style { name: "entry_guide_style"; base: "font="FN" font_size=10 color=#000000 style=shadow,bottom shadow_color=#ffffff19 wrap=word text_class=entry color_class=entry_guide left_margin=2 right_margin=2 ellipsis=0.0"; - COMMON_TEXTBLOCK_TAGS + DISABLED_COMMON_TEXTBLOCK_TAGS DISABLED_TEXTBLOCK_TAGS } } @@ -560,12 +560,12 @@ group { name: "elm/entry/base-mixedwrap/default"; } style { name: "entry_disabled_style_mixedwrap"; base: "font="FN" font_size=10 color=#151515 style=shadow,bottom shadow_color=#ffffff19 wrap=mixed text_class=entry color_class=entry_disabled left_margin=2 right_margin=2"; - COMMON_TEXTBLOCK_TAGS + DISABLED_COMMON_TEXTBLOCK_TAGS DISABLED_TEXTBLOCK_TAGS } style { name: "entry_guide_style_mixedwrap"; base: "font="FN" font_size=10 color=#000000 style=shadow,bottom shadow_color=#ffffff19 wrap=mixed text_class=entry color_class=entry_guide left_margin=2 right_margin=2 ellipsis=0.0"; - COMMON_TEXTBLOCK_TAGS + DISABLED_COMMON_TEXTBLOCK_TAGS DISABLED_TEXTBLOCK_TAGS } } @@ -613,12 +613,12 @@ group { name: "elm/entry/base-charwrap/default"; } style { name: "entry_disabled_style_charwrap"; base: "font="FN" font_size=10 color=#151515 style=shadow,bottom shadow_color=#ffffff19 wrap=char text_class=entry color_class=entry_disabled left_margin=2 right_margin=2"; - COMMON_TEXTBLOCK_TAGS + DISABLED_COMMON_TEXTBLOCK_TAGS DISABLED_TEXTBLOCK_TAGS } style { name: "entry_guide_style_charwrap"; base: "font="FN" font_size=10 color=#000000 style=shadow,bottom shadow_color=#ffffff19 wrap=char text_class=entry color_class=entry_guide left_margin=2 right_margin=2 ellipsis=0.0"; - COMMON_TEXTBLOCK_TAGS + DISABLED_COMMON_TEXTBLOCK_TAGS DISABLED_TEXTBLOCK_TAGS } } @@ -701,12 +701,12 @@ group { name: "elm/entry/base-single/default"; } style { name: "entry_single_disabled_style"; base: "font="FN" font_size=10 color=#151515 style=shadow,bottom shadow_color=#ffffff19 wrap=none text_class=entry color_class=entry_disabled left_margin=2 right_margin=2"; - COMMON_TEXTBLOCK_TAGS + DISABLED_COMMON_TEXTBLOCK_TAGS DISABLED_TEXTBLOCK_TAGS } style { name: "entry_single_guide_style"; base: "font="FN" font_size=10 color=#000000 style=shadow,bottom shadow_color=#ffffff19 wrap=none text_class=entry color_class=entry_guide left_margin=2 right_margin=2 ellipsis=0.0"; - COMMON_TEXTBLOCK_TAGS + DISABLED_COMMON_TEXTBLOCK_TAGS DISABLED_TEXTBLOCK_TAGS } } diff --git a/data/themes/fonts.edc b/data/themes/fonts.edc index fb8fae4..ce7441a 100644 --- a/data/themes/fonts.edc +++ b/data/themes/fonts.edc @@ -37,32 +37,55 @@ tag: "class" "+ color=#72AAD4 font_weight=Bold"; \ tag: "function" "+ color=#72AAD4 font_weight=Bold"; \ tag: "param" "+ color=#ffffff"; \ - tag: "keyword" "+ color=#f90 font_weight=Bold"; \ + tag: "keyword" "+ color=#ff9900 font_weight=Bold"; \ tag: "preprocessor" "+ color=#3399ff font_weight=Bold"; \ tag: "line_added" "+ color=#00B000"; \ tag: "line_removed" "+ color=#ff3a35"; \ - tag: "line_changed" "+ color=#f90"; + tag: "line_changed" "+ color=#ff9900"; + +#define DISABLED_COMMON_TEXTBLOCK_TAGS \ + tag: "em" "+ font_style=Oblique"; \ + tag: "title" "+ font_size=26"; \ + tag: "subtitle" "+ font_size=18"; \ + tag: "bigger" "+ font_size=12"; \ + tag: "big" "+ font_size=11"; \ + tag: "small" "+ font_size=8"; \ + tag: "smaller" "+ font_size=7"; \ + tag: "code" "+ style=shadow,bottom shadow_color=#ffffff19 font=Mono color=#151515"; \ + tag: "comment" "+ color=#002800"; \ + tag: "string" "+ color=#300504"; \ + tag: "number" "+ color=#202008 font_weight=Bold"; \ + tag: "brace" "+ color=#000000"; \ + tag: "type" "+ color=#101820"; \ + tag: "class" "+ color=#121c20 font_weight=Bold"; \ + tag: "function" "+ color=#121c20 font_weight=Bold"; \ + tag: "param" "+ color=#151515"; \ + tag: "keyword" "+ color=#201200 font_weight=Bold"; \ + tag: "preprocessor" "+ color=#101820 font_weight=Bold"; \ + tag: "line_added" "+ color=#002800"; \ + tag: "line_removed" "+ color=#300504"; \ + tag: "line_changed" "+ color=#201200"; #define ENABLED_TEXTBLOCK_TAGS \ tag: "hilight" "+ font_weight=Bold style=glow glow_color=#3399ff80"; \ tag: "link" "+ color=#3399ff underline=on underline_color=#3399ff"; \ tag: "preedit" "+ underline=on underline_color=#3399ff"; \ tag: "preedit_sel" "+ backing=on backing_color=#000000 color=#ffffff"; \ - tag: "name" "+ color=#888888"; \ + tag: "name" "+ color=#888888 font_weight=Bold"; \ tag: "val" "+ color=#ffffff"; \ - tag: "info" "+ color=#3399ff style=glow glow_color=#3399ff40"; \ - tag: "success" "+ color=#00cc00 style=glow glow_color=#00cc0040"; \ - tag: "warning" "+ color=#ff7c00 style=glow glow_color=#ff7c0040"; \ - tag: "failure" "+ color=#ff0000 style=glow glow_color=#ff000040"; + tag: "info" "+ color=#3399ff style=glow glow_color=#3399ff30"; \ + tag: "success" "+ color=#00ff00 style=glow glow_color=#00ff0030"; \ + tag: "warning" "+ color=#ff7c00 style=glow glow_color=#ff7c0030"; \ + tag: "failure" "+ color=#ff0000 style=glow glow_color=#ff000030"; #define DISABLED_TEXTBLOCK_TAGS \ tag: "hilight" "+ font_weight=Bold style=glow glow_color=#3399ff20"; \ - tag: "link" "+ color=#3399ff88 underline=on underline_color=#3399ff88"; \ + tag: "link" "+ color=#101820 shadow_color=#66aaff28 underline=on underline_color=#101820"; \ tag: "preedit" "+ underline=on underline_color=#3399ff88"; \ - tag: "preedit_sel" "+ backing=on backing_color=#000 color=#888888"; \ - tag: "name" "+ color=#666666"; \ + tag: "preedit_sel" "+ backing=on backing_color=#000000 color=#888888"; \ + tag: "name" "+ color=#151515 font_weight=Bold"; \ tag: "val" "+ color=#151515"; \ - tag: "info" "+ color=#174878 style=glow glow_color=#17487820"; \ - tag: "success" "+ color=#006600 style=glow glow_color=#00440020"; \ - tag: "warning" "+ color=#703700 style=glow glow_color=#70370020"; \ - tag: "failure" "+ color=#660000 style=glow glow_color=#66000020"; + tag: "info" "+ color=#3399ff60 style=glow glow_color=#3399ff18"; \ + tag: "success" "+ color=#00ff0060 style=glow glow_color=#00ff0018"; \ + tag: "warning" "+ color=#ff7c0060 style=glow glow_color=#ff7c0018"; \ + tag: "failure" "+ color=#ff000060 style=glow glow_color=#ff000018";