From b925e6e958f4cc1477fd8d44495064ace76bdb02 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Thu, 7 Jun 2012 01:38:43 +0800 Subject: [PATCH] IDEMPIERE-292 Zk: use #333 instead of #000 ( black ) for text and label --- .../WEB-INF/src/org/adempiere/webui/editor/WEditor.java | 2 +- org.adempiere.ui.zk/theme/default/css/theme.css.dsp | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/editor/WEditor.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/editor/WEditor.java index 368ec1bcfc..28e8a686fa 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/editor/WEditor.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/editor/WEditor.java @@ -572,6 +572,6 @@ public abstract class WEditor implements EventListener, PropertyChangeLis } private static final String STYLE_ZOOMABLE_LABEL = "cursor: pointer; text-decoration: underline;"; - private static final String STYLE_NORMAL_LABEL = "color: black;"; + private static final String STYLE_NORMAL_LABEL = "color: #333;"; private static final String STYLE_EMPTY_MANDATORY_LABEL = "color: red;"; } diff --git a/org.adempiere.ui.zk/theme/default/css/theme.css.dsp b/org.adempiere.ui.zk/theme/default/css/theme.css.dsp index 43da38f913..363eb2e6d8 100644 --- a/org.adempiere.ui.zk/theme/default/css/theme.css.dsp +++ b/org.adempiere.ui.zk/theme/default/css/theme.css.dsp @@ -7,6 +7,7 @@ html,body { height: 100%; width: 100%; background-color: #D4E3F4; + color: #333; overflow: hidden; } @@ -116,7 +117,7 @@ html,body { .menu-href { font-size: 11px; font-weight: normal; - color: black !important; + color: #333 !important; text-decoration: none !important; } @@ -540,3 +541,9 @@ img.z-group-img-close { .z-tab-hm-close { padding-right:18px; } + +<%-- set color for text and label --%> +.z-tab-seld .z-tab-text, .z-tab .z-tab-text, div.z-treefooter-cnt, div.z-treecell-cnt, div.z-treecol-cnt, +.z-label, .z-toolbarbutton-cnt, tr.z-treerow, tr.z-treerow a, tr.z-treerow a:visited { + color: #333; +}