Bigger thumbnail for HDRIs
This commit is contained in:
parent
a67774c6e8
commit
e3fc265408
@ -1684,6 +1684,24 @@ section.node-children
|
|||||||
.list-node-children-item-name
|
.list-node-children-item-name
|
||||||
bottom: 26px
|
bottom: 26px
|
||||||
|
|
||||||
|
&.group_hdri, &.hdri
|
||||||
|
width: 300px
|
||||||
|
|
||||||
|
.list-node-children-item.hdri,
|
||||||
|
.list-node-children-item.group_hdri
|
||||||
|
height: $list-node-children-item-width
|
||||||
|
width: 300px
|
||||||
|
margin-top: 5px
|
||||||
|
.list-node-children-item-thumbnail
|
||||||
|
width: 300px
|
||||||
|
.list-node-children-item-thumbnail-icon i
|
||||||
|
position: relative
|
||||||
|
bottom: 10px
|
||||||
|
.list-node-children-item-name
|
||||||
|
bottom: 26px
|
||||||
|
width: 100%
|
||||||
|
max-width: 100%
|
||||||
|
|
||||||
.list-node-children-empty
|
.list-node-children-empty
|
||||||
color: $color-text-dark-secondary
|
color: $color-text-dark-secondary
|
||||||
font-size: 1.2em
|
font-size: 1.2em
|
||||||
@ -1893,9 +1911,6 @@ section.node-children
|
|||||||
position: relative
|
position: relative
|
||||||
overflow: hidden
|
overflow: hidden
|
||||||
|
|
||||||
img
|
|
||||||
width: $list-node-children-item-width
|
|
||||||
|
|
||||||
& .list-node-children-item-thumbnail-icon
|
& .list-node-children-item-thumbnail-icon
|
||||||
position: absolute
|
position: absolute
|
||||||
top: 50%
|
top: 50%
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
.list-node-children-item(class="{{child.node_type}}")
|
.list-node-children-item(class="{{child.node_type}}")
|
||||||
.list-node-children-item-thumbnail
|
.list-node-children-item-thumbnail
|
||||||
| {% if child.picture %}
|
| {% if child.picture %}
|
||||||
img.texture-thumbnail(src="{{ child.picture.thumbnail('b', api=api)}}")
|
img.texture-thumbnail(src="{{ child.picture.thumbnail('m', api=api)}}")
|
||||||
| {% else %}
|
| {% else %}
|
||||||
.list-node-children-item-thumbnail-icon
|
.list-node-children-item-thumbnail-icon
|
||||||
| {% if child.node_type == 'group_hdri' %}
|
| {% if child.node_type == 'group_hdri' %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user