Minor style adjustments
This commit is contained in:
parent
a5bc36b1cf
commit
6648f8d074
@ -1775,7 +1775,7 @@ a.learn-more
|
|||||||
box-shadow: 0 5px 35px rgba(black, .2)
|
box-shadow: 0 5px 35px rgba(black, .2)
|
||||||
color: $color-text-dark-primary
|
color: $color-text-dark-primary
|
||||||
position: absolute
|
position: absolute
|
||||||
top: 0
|
top: -$project_header-height
|
||||||
left: 0
|
left: 0
|
||||||
right: 0
|
right: 0
|
||||||
width: 80%
|
width: 80%
|
||||||
@ -1803,7 +1803,7 @@ a.learn-more
|
|||||||
&.visible
|
&.visible
|
||||||
visibility: visible
|
visibility: visible
|
||||||
opacity: 1
|
opacity: 1
|
||||||
top: $project_header-height
|
top: 0
|
||||||
|
|
||||||
.overlay-container
|
.overlay-container
|
||||||
.title
|
.title
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
position: relative
|
position: relative
|
||||||
|
|
||||||
&:after
|
&:after
|
||||||
background-color: rgba(black, .6)
|
background-color: rgba(black, .5)
|
||||||
bottom: 0
|
bottom: 0
|
||||||
content: ''
|
content: ''
|
||||||
display: none
|
display: none
|
||||||
|
@ -57,8 +57,6 @@
|
|||||||
+position-center-translate
|
+position-center-translate
|
||||||
|
|
||||||
.dropdown
|
.dropdown
|
||||||
min-width: 50px // navbar avatar size
|
|
||||||
|
|
||||||
.navbar-item
|
.navbar-item
|
||||||
&:hover
|
&:hover
|
||||||
box-shadow: none // Remove the blue underline usually on navbar, from dropdown items.
|
box-shadow: none // Remove the blue underline usually on navbar, from dropdown items.
|
||||||
@ -195,7 +193,6 @@ $nav-secondary-bar-size: -2px
|
|||||||
|
|
||||||
&.nav-see-more
|
&.nav-see-more
|
||||||
color: $primary
|
color: $primary
|
||||||
font-size: $font-size-xxs
|
|
||||||
|
|
||||||
i, span
|
i, span
|
||||||
+active-gradient
|
+active-gradient
|
||||||
|
@ -27,10 +27,10 @@
|
|||||||
|
|
||||||
|
|
||||||
| {# DETAILS #}
|
| {# DETAILS #}
|
||||||
section.node-details-meta.px-4.py-2
|
section.node-details-meta.pl-4.pr-2.py-2.border-bottom
|
||||||
ul.list-unstyled.m-0
|
ul.list-unstyled.m-0
|
||||||
| {% if node.properties.license_type %}
|
| {% if node.properties.license_type %}
|
||||||
li
|
li.px-2
|
||||||
a.node-details-license(
|
a.node-details-license(
|
||||||
href="https://creativecommons.org/licenses/",
|
href="https://creativecommons.org/licenses/",
|
||||||
target="_blank",
|
target="_blank",
|
||||||
@ -41,15 +41,15 @@
|
|||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
|
||||||
| {% if node.has_method('PUT') and (node.properties.status != 'published') %}
|
| {% if node.has_method('PUT') and (node.properties.status != 'published') %}
|
||||||
li(class="status-{{ node.properties.status }}")
|
li.px-2(class="status-{{ node.properties.status }}")
|
||||||
| {{ node.properties.status | undertitle }}
|
| {{ node.properties.status | undertitle }}
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
|
||||||
li(title="Author")
|
li.px-2(title="Author")
|
||||||
| {{ node.user.full_name }}
|
| {{ node.user.full_name }}
|
||||||
| {{ node.user.badges.html|safe }}
|
| {{ node.user.badges.html|safe }}
|
||||||
|
|
||||||
li(
|
li.px-2(
|
||||||
title="Created {{ node._created }} (updated {{ node._updated | pretty_date_time }})")
|
title="Created {{ node._created }} (updated {{ node._updated | pretty_date_time }})")
|
||||||
| {{ node._created | pretty_date }}
|
| {{ node._created | pretty_date }}
|
||||||
|
|
||||||
@ -60,14 +60,12 @@
|
|||||||
| Shared
|
| Shared
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
|
||||||
|
li.ml-auto
|
||||||
|
|
||||||
li.left-side
|
|
||||||
|
|
||||||
| {% if node.file %}
|
| {% if node.file %}
|
||||||
li(title="File size")
|
li.px-2(title="File size")
|
||||||
| {{ node.file.length | filesizeformat }}
|
| {{ node.file.length | filesizeformat }}
|
||||||
li.js-type(title="File format")
|
li.px-2.js-type(title="File format")
|
||||||
| {{ node.file.content_type }}
|
| {{ node.file.content_type }}
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
|
||||||
@ -95,11 +93,11 @@
|
|||||||
| {% endblock node_download %}
|
| {% endblock node_download %}
|
||||||
|
|
||||||
| {% elif current_user.has_cap('can-renew-subscription') %}
|
| {% elif current_user.has_cap('can-renew-subscription') %}
|
||||||
a.btn.btn-success(
|
a.btn.btn-outline-primary(
|
||||||
title="Renew your subscription to download",
|
title="Renew your subscription to download",
|
||||||
target="_blank",
|
target="_blank",
|
||||||
href="/renew")
|
href="/renew")
|
||||||
i.pi-heart
|
i.pi-heart.pr-2
|
||||||
| Renew Subscription
|
| Renew Subscription
|
||||||
|
|
||||||
| {% elif current_user.is_authenticated %}
|
| {% elif current_user.is_authenticated %}
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
.container-fluid
|
.container-fluid
|
||||||
.row
|
.row
|
||||||
.col-md-12
|
.col-md-12
|
||||||
h5.pl-2.mb-0 Project Overview
|
h5.pl-2.mb-0.pt-3 Project Overview
|
||||||
|
|
||||||
#node-edit-container
|
#node-edit-container
|
||||||
form(
|
form(
|
||||||
|
@ -45,7 +45,7 @@ include ../mixins/components
|
|||||||
#project_nav
|
#project_nav
|
||||||
#project_nav-container
|
#project_nav-container
|
||||||
// TODO - make list a macro
|
// TODO - make list a macro
|
||||||
#project_tree.edit.bg-white
|
#project_tree.edit.bg-light
|
||||||
+nav-secondary()(class="nav-secondary-vertical")
|
+nav-secondary()(class="nav-secondary-vertical")
|
||||||
+nav-secondary-link(
|
+nav-secondary-link(
|
||||||
class="{% if title == 'edit' %}active{% endif %}",
|
class="{% if title == 'edit' %}active{% endif %}",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user