From 7bb3b8164cea182aa5ed62e5f7c1bafb7c34286c Mon Sep 17 00:00:00 2001 From: Jay Gilmore Date: Fri, 25 Jul 2025 11:48:57 -0300 Subject: [PATCH 1/3] Unpublished/Deleted Resource Icons Use Outline Switched Unpublished and Deleted Resource Icons in the Tree to use the outline version of the Font Awesome icon set for the Resource/Template if one exits. --- _build/templates/default/sass/_tree.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/_build/templates/default/sass/_tree.scss b/_build/templates/default/sass/_tree.scss index 3779c3f18f..39e250b41b 100644 --- a/_build/templates/default/sass/_tree.scss +++ b/_build/templates/default/sass/_tree.scss @@ -221,6 +221,9 @@ i.icon-large { color: $unpublished; font-style: normal; + &::before{ + font-weight: 400; + } } } @@ -243,6 +246,9 @@ i.icon-large { color: $delTextColor; font-style: normal; + &::before{ + font-weight: 400; + } } a span { From b64dccc42a2b34a459e4f7e0c5b658400e76f450 Mon Sep 17 00:00:00 2001 From: Jay Gilmore Date: Fri, 25 Jul 2025 13:27:36 -0300 Subject: [PATCH 2/3] Consistent Icons for Published Resources Made the icons for Resources that were published the same for both hidden and visible. --- _build/templates/default/sass/_tree.scss | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/_build/templates/default/sass/_tree.scss b/_build/templates/default/sass/_tree.scss index 39e250b41b..615eaaafd5 100644 --- a/_build/templates/default/sass/_tree.scss +++ b/_build/templates/default/sass/_tree.scss @@ -232,10 +232,17 @@ color: $hidden; font-style: $hiddenText; + &.unpublished, + &.unpublished a span { + i.icon, + i.icon-large { + color: $hidden; + } + } i.icon, i.icon-large { - color: $hidden; font-style: normal; + color: $treeColor; } } From d4fcba3c7d258699392625f27e4bcab2bcb12813 Mon Sep 17 00:00:00 2001 From: Jay Gilmore Date: Fri, 25 Jul 2025 16:23:35 -0300 Subject: [PATCH 3/3] Improve Contrast for Tree Text Improved contrast for tree to enhance readability for the tree text. --- _build/templates/default/sass/_colors-and-vars.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_build/templates/default/sass/_colors-and-vars.scss b/_build/templates/default/sass/_colors-and-vars.scss index fa3d6ad513..7fd3b59bec 100644 --- a/_build/templates/default/sass/_colors-and-vars.scss +++ b/_build/templates/default/sass/_colors-and-vars.scss @@ -132,7 +132,7 @@ $treeHeaderBorder: 1px solid #CDCDCD; $treeHeaderBg: $lightestGray; $treeBg: $lightestGray; $treeBgSelected: #D6E7F8; -$treeColor: $darkGray; +$treeColor: darken($darkGray,10%); $treeColorDesaturated: lighten(desaturate($treeColor,100%), 25%); $treeColor_2: #728DA7; $treePseudoRootBg: #F1F1F1; @@ -149,7 +149,7 @@ $iconColor: $treeText; $deactivatedTextColor: lighten($treeColor, 35%); // do not use 50% here - makes base color nearly invisible $disabledTextColor: $deactivatedTextColor; -$unpublished: lighten($treeText, 10%) !important; +$unpublished: lighten($treeText, 1%) !important; $hidden: $treeText; $unpubText: normal; $hiddenText: italic; @@ -157,7 +157,7 @@ $hiddenText: italic; // as italic is used for "unpublished" $lockedText: inherit; // italic; -$delTextColor: fade-out(darken(lighten(desaturate($red,50%), 33%), 25%), 0.5) !important; +$delTextColor: fade-out(darken(lighten(desaturate($red,50%), 33%), 25%), 0.25) !important; $delTextStyle: normal; $delTextDeco: line-through;