Minor style tweak to assets

This commit is contained in:
Pablo Vazquez 2018-04-05 16:45:59 +02:00
parent c9789f46db
commit ec2e4dee46
3 changed files with 11 additions and 10 deletions

View File

@ -1154,6 +1154,7 @@ section.node-preview.group
> li
align-items: baseline
color: $color-text-dark-secondary
display: flex
padding-left: 10px
margin-left: 10px
@ -1228,13 +1229,13 @@ section.node-preview.group
display: inline-block
padding-left: 15px
&.dim
color: $color-text-dark-secondary
&.left-side
margin-left: auto
// When the asset is type .blend
.blend
min-width: 52px
&.preview
padding: 0
color: $color-text-light-primary

View File

@ -19,7 +19,7 @@ section.node-preview-forbidden
| {% endif %}
| {% if current_user.is_anonymous %}
p
small Already a subscriber?
a.btn(href="{{ url_for('users.login') }}") Log In
p(style="margin-top: 15px")
small
a(href="{{ url_for('users.login') }}") Already a subscriber? Log in
| {% endif %}

View File

@ -55,7 +55,7 @@
li(title="Author")
| {{ node.user.full_name }}
li.dim(
li(
title="Created {{ node._created }} (updated {{ node._updated | pretty_date_time }})")
| {{ node._created | pretty_date }}
@ -69,9 +69,9 @@
li.left-side
| {% if node.file %}
li.dim(title="File size")
li(title="File size")
| {{ node.file.length | filesizeformat }}
li.dim.js-type(title="File format")
li.js-type(title="File format")
| {{ node.file.content_type }}
| {% endif %}