From be8945875a197f1cd7be0a9220a8f551cad8f215 Mon Sep 17 00:00:00 2001 From: Dan Date: Wed, 22 Mar 2017 16:57:11 -0400 Subject: [PATCH] fix(treelist): Tweaking styles after testing in planner UI --- src/app/treelist/treelist-item.component.scss | 17 +++++++++++------ src/app/treelist/treelist.component.scss | 1 - 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/app/treelist/treelist-item.component.scss b/src/app/treelist/treelist-item.component.scss index e2854f9..175702e 100644 --- a/src/app/treelist/treelist-item.component.scss +++ b/src/app/treelist/treelist-item.component.scss @@ -11,15 +11,14 @@ padding-top: 5px; } } +} - .node-drop-slot { - height: 5px; - } - - .node-drop-slot.is-dragging-over { +.node-drop-slot { + height: 5px; + &.is-dragging-over { background-color: $color-pf-black-400; border: none; - height: 60px; + height: 30px; } } @@ -38,11 +37,17 @@ } } } + /* Todo: Highlight drop on nodes? &.is-dragging-over { .list-group-item { background-color: $color-pf-black-200; } } + */ +} + +.node-wrapper { + padding-left: 0 !important; } // Indentation -- highlighting should occupy entire row diff --git a/src/app/treelist/treelist.component.scss b/src/app/treelist/treelist.component.scss index f5b8312..9a24ccc 100644 --- a/src/app/treelist/treelist.component.scss +++ b/src/app/treelist/treelist.component.scss @@ -24,7 +24,6 @@ .node-wrapper { display: block; - align-items: inherit; } // Toggle up