Style blog and page items on the tree
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
/* jsTree overrides */
|
/* jsTree overrides */
|
||||||
|
|
||||||
$tree-color-text: $color-text-dark-primary
|
$tree-color-text: $color-text-dark-primary
|
||||||
$tree-color-highlight: hsl(hue($color-background-active), 40%, 40%)
|
$tree-color-highlight: hsl(hue($color-background-active), 40%, 50%)
|
||||||
$tree-color-highlight-background: hsl(hue($color-background-active), 40%, 40%)
|
$tree-color-highlight-background: hsl(hue($color-background-active), 40%, 50%)
|
||||||
$tree-color-highlight-background-text: white
|
$tree-color-highlight-background-text: white
|
||||||
|
|
||||||
.jstree-default
|
.jstree-default
|
||||||
@@ -20,8 +20,11 @@ $tree-color-highlight-background-text: white
|
|||||||
+media-xs
|
+media-xs
|
||||||
width: 100%
|
width: 100%
|
||||||
|
|
||||||
&[data-node-type="page"]
|
&[data-node-type="page"],
|
||||||
font-weight: bold
|
&[data-node-type="blog"]
|
||||||
|
font-size: 1.15em
|
||||||
|
color: darken($tree-color-highlight, 5%)
|
||||||
|
border-bottom: 2px solid $tree-color-highlight
|
||||||
|
|
||||||
.jstree-anchor
|
.jstree-anchor
|
||||||
padding: 3px 8px
|
padding: 3px 8px
|
||||||
|
Reference in New Issue
Block a user