Display a nice icon on jstree if item is free

This commit is contained in:
2016-11-29 15:35:12 +01:00
parent 9783711818
commit 7fb94a86e8
2 changed files with 23 additions and 0 deletions

View File

@@ -20,6 +20,24 @@ $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
&:before
color: $tree-color-highlight-background-text !important
right: 15px
&[data-node-type="page"],
&[data-node-type="blog"]
font-size: 1.15em