From 2953f1bdb875b7a7f889c7c7d25aba1991bbaefe Mon Sep 17 00:00:00 2001 From: zadam Date: Thu, 28 Nov 2019 22:05:27 +0100 Subject: [PATCH] adding some standard classes for tree items --- src/entities/attribute.js | 1 + src/public/stylesheets/style.css | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/src/entities/attribute.js b/src/entities/attribute.js index 6755f113f..59ab5252b 100644 --- a/src/entities/attribute.js +++ b/src/entities/attribute.js @@ -113,6 +113,7 @@ class Attribute extends Entity { // cannot be static! updatePojo(pojo) { delete pojo.isOwned; + delete pojo.__note; } } diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css index 99016a8ae..834aaa33e 100644 --- a/src/public/stylesheets/style.css +++ b/src/public/stylesheets/style.css @@ -75,6 +75,12 @@ ul.fancytree-container { content: "\e9f8"; } +/** some common text styling for cssClass label */ +span.fancytree-node.underline .fancytree-title { text-decoration: underline; } +span.fancytree-node.dotted .fancytree-title { text-decoration: dotted; } +span.fancytree-node.bold .fancytree-title { font-weight: bold; } +span.fancytree-node.muted { opacity: 0.6; } + .note-title[readonly] { background: inherit; }