From a79ca80f28193a2530ab70eaea43229e7d5ae327 Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Tue, 29 Nov 2016 15:51:18 +0100 Subject: [PATCH] Limit free icon on jstree for asset/texture items --- src/styles/plugins/_jstree.sass | 34 +++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/src/styles/plugins/_jstree.sass b/src/styles/plugins/_jstree.sass index bdbfa059..259879f1 100644 --- a/src/styles/plugins/_jstree.sass +++ b/src/styles/plugins/_jstree.sass @@ -20,23 +20,25 @@ $tree-color-highlight-background-text: white +media-xs width: 100% - &[is_free='true'] - .jstree-anchor - padding-right: 20px - &:before - font-family: 'pillar-font' - content: '\e84e' - color: $color-success - font-size: .8em - padding: 0 5px - position: absolute - right: 5px - - &.jstree-clicked - padding-right: 30px + &[data-node-type="asset"], + &[data-node-type="texture"] + &[is_free='true'] + .jstree-anchor + padding-right: 20px &:before - color: $tree-color-highlight-background-text !important - right: 15px + font-family: 'pillar-font' + content: '\e84e' + color: $color-success + font-size: .8em + padding: 0 5px + position: absolute + right: 5px + + &.jstree-clicked + padding-right: 30px + &:before + color: $tree-color-highlight-background-text !important + right: 15px &[data-node-type="page"], &[data-node-type="blog"]