Expose License notes on Textures, if any
This commit is contained in:
@@ -780,18 +780,27 @@ $node-preview-max-height-lg: 700px
|
|||||||
float: left
|
float: left
|
||||||
text-transform: capitalize
|
text-transform: capitalize
|
||||||
+project-node-title
|
+project-node-title
|
||||||
text-shadow: 1px 1px 0 rgba(white, .5)
|
|
||||||
|
|
||||||
position: relative
|
position: relative
|
||||||
z-index: 1
|
z-index: 1
|
||||||
|
|
||||||
.texture-license
|
.texture-license
|
||||||
float: right
|
|
||||||
padding: 20px 20px 0 0
|
|
||||||
i
|
|
||||||
font-size: 1.3em
|
|
||||||
position: relative
|
position: relative
|
||||||
z-index: 1
|
z-index: 1
|
||||||
|
float: right
|
||||||
|
padding: 25px 20px 0 0
|
||||||
|
cursor: default
|
||||||
|
|
||||||
|
i
|
||||||
|
font-size: 1.3em
|
||||||
|
&.pi-license-cc-0
|
||||||
|
top: -1px
|
||||||
|
|
||||||
|
span
|
||||||
|
position: relative
|
||||||
|
bottom: 2px
|
||||||
|
margin-right: 10px
|
||||||
|
color: $color-text-dark-secondary
|
||||||
|
|
||||||
.texture-backdrop
|
.texture-backdrop
|
||||||
background:
|
background:
|
||||||
|
@@ -8,15 +8,11 @@
|
|||||||
|
|
||||||
| {% if node.properties.license_type %}
|
| {% if node.properties.license_type %}
|
||||||
| {% if node.properties.license_notes %}
|
| {% if node.properties.license_notes %}
|
||||||
.texture-license(
|
.texture-license(title="License {{ node.properties.license_type }}")
|
||||||
id="asset-license",
|
span {{ node.properties.license_notes }}
|
||||||
data-toggle="popover",
|
i(class="pi-license-cc-by")
|
||||||
data-placement="left",
|
|
||||||
data-trigger="hover",
|
|
||||||
data-content="{{ node.properties.license_notes }}",
|
|
||||||
title="{{ node.properties.license_type }}")
|
|
||||||
|
|
||||||
i(class="pi-license-{{ node.properties.license_type }}")
|
i(class="pi-license-{{ node.properties.license_type }}")
|
||||||
|
|
||||||
| {% else %}
|
| {% else %}
|
||||||
.texture-license(
|
.texture-license(
|
||||||
id="asset-license",
|
id="asset-license",
|
||||||
|
Reference in New Issue
Block a user