From ec2e4dee4664d5133faad47d058c6c9077e6e70c Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Thu, 5 Apr 2018 16:45:59 +0200 Subject: [PATCH] Minor style tweak to assets --- src/styles/_project.sass | 9 +++++---- src/templates/nodes/custom/_node_preview_forbidden.pug | 6 +++--- src/templates/nodes/view_base.pug | 6 +++--- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/src/styles/_project.sass b/src/styles/_project.sass index c90a7c0a..32a74288 100644 --- a/src/styles/_project.sass +++ b/src/styles/_project.sass @@ -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 diff --git a/src/templates/nodes/custom/_node_preview_forbidden.pug b/src/templates/nodes/custom/_node_preview_forbidden.pug index aa38db55..6dc22129 100644 --- a/src/templates/nodes/custom/_node_preview_forbidden.pug +++ b/src/templates/nodes/custom/_node_preview_forbidden.pug @@ -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 %} diff --git a/src/templates/nodes/view_base.pug b/src/templates/nodes/view_base.pug index f29be228..f1619b8a 100644 --- a/src/templates/nodes/view_base.pug +++ b/src/templates/nodes/view_base.pug @@ -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 %}