From c2fa821a31e9ceeb4c6763240860aa9f633fb7b9 Mon Sep 17 00:00:00 2001 From: josdejong Date: Sat, 23 May 2020 14:26:29 +0200 Subject: [PATCH] Update example 20 to also show how to customize font color (See #990) --- examples/20_custom_css_style_for_nodes.html | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/examples/20_custom_css_style_for_nodes.html b/examples/20_custom_css_style_for_nodes.html index 7732809..e7ef7df 100644 --- a/examples/20_custom_css_style_for_nodes.html +++ b/examples/20_custom_css_style_for_nodes.html @@ -32,12 +32,21 @@ height: 500px; } #containerRight .different_element { - background-color: greenyellow !important; + background-color: #acee61; } + #containerRight .different_element div.jsoneditor-field, + #containerRight .different_element div.jsoneditor-value { + color: red; + } + #containerLeft .different_element { - background-color: violet !important; + background-color: pink; } - + #containerLeft .different_element div.jsoneditor-field, + #containerLeft .different_element div.jsoneditor-value { + color: red; + } +