Navbar: padding for items

This commit is contained in:
2018-09-12 19:00:54 +02:00
parent c5287da78c
commit fab0d412fa
2 changed files with 20 additions and 20 deletions

View File

@@ -135,7 +135,7 @@ html(lang="en")
ul.dropdown-menu.p-0
li
a.navbar-item(
a.navbar-item.px-2(
href="{{ url_for('projects.view', project_url='hdri') }}",
title="HDRI Library",
data-toggle="tooltip",
@@ -143,7 +143,7 @@ html(lang="en")
i.pi-globe
| HDRI
li
a.navbar-item(
a.navbar-item.px-2(
href="{{ url_for('projects.view', project_url='textures') }}",
title="Textures Library",
data-toggle="tooltip",
@@ -151,7 +151,7 @@ html(lang="en")
i.pi-folder-texture
| Textures
li
a.navbar-item(
a.navbar-item.px-2(
href="{{ url_for('projects.view', project_url='characters') }}",
title="Character Library",
data-toggle="tooltip",
@@ -169,7 +169,7 @@ html(lang="en")
ul.dropdown-menu
li
a.navbar-item(
a.navbar-item.px-2(
href="{{ url_for('cloud.courses') }}",
title="Courses",
data-toggle="tooltip",
@@ -177,7 +177,7 @@ html(lang="en")
i.pi-graduation-cap
| Courses
li
a.navbar-item(
a.navbar-item.px-2(
href="{{ url_for('cloud.workshops') }}",
title="Workshops",
data-toggle="tooltip",
@@ -185,7 +185,7 @@ html(lang="en")
i.pi-lightbulb
| Workshops
li
a.navbar-item(
a.navbar-item.px-2(
href="{{ url_for('projects.view', project_url='gallery') }}",
title="Curated artwork collection",
data-toggle="tooltip",
@@ -204,25 +204,25 @@ html(lang="en")
ul.dropdown-menu
li
a.navbar-item(href="/p/spring")
a.navbar-item.px-2(href="/p/spring")
span.px-2 Spring
li
a.navbar-item(href="/p/hero")
a.navbar-item.px-2(href="/p/hero")
span.px-2 Hero
li
a.navbar-item(href="/p/dailydweebs")
a.navbar-item.px-2(href="/p/dailydweebs")
span.px-2 The Daily Dweebs
li
a.navbar-item(href="/p/agent-327")
a.navbar-item.px-2(href="/p/agent-327")
span.px-2 Agent 327
li
a.navbar-item(href="/p/caminandes-3")
a.navbar-item.px-2(href="/p/caminandes-3")
span.px-2 Caminandes: Llamigos
li.dropdown-divider
li
a.navbar-item(href="{{ url_for('cloud.open_projects') }}")
a.navbar-item.px-2(href="{{ url_for('cloud.open_projects') }}")
span.pl-2 All Open Projects
li.nav-item.dropdown
@@ -236,7 +236,7 @@ html(lang="en")
ul.dropdown-menu.dropdown-menu-right
li
a.navbar-item(
a.navbar-item.px-2(
href="/attract",
title="Production Management",
data-toggle="tooltip",
@@ -244,7 +244,7 @@ html(lang="en")
i.pi-attract
| Attract
li
a.navbar-item(
a.navbar-item.px-2(
href="/flamenco",
title="Render Management",
data-toggle="tooltip",
@@ -253,7 +253,7 @@ html(lang="en")
| Flamenco
li
a.navbar-item(
a.navbar-item.pl-2.pr-3(
href="/services#blender-cloud-add-on",
title="Blender Sync, Texture Browser and more",
data-toggle="tooltip",
@@ -264,7 +264,7 @@ html(lang="en")
li.dropdown-divider
li
a.navbar-item(
a.navbar-item.px-2(
href="{{ url_for('cloud.services') }}",
title="All Blender Cloud services",
data-toggle="tooltip",

View File

@@ -28,19 +28,19 @@ a.navbar-item.dropdown-toggle(href="{{ url_for('settings.profile') }}", data-tog
| {% block menu_list %}
li.subscription-status(class="{{ subscription }}")
| {% if subscription == 'subscriber' %}
a.navbar-item.pt-2.pr-3(
a.navbar-item.pt-2.pl-2.pr-3(
href="{{ url_for('settings.billing') }}"
title="View subscription info")
i.pi-grin
span.subitem Your subscription is active!
| {% elif subscription == 'demo' %}
a.navbar-item.pt-2.pr-3(
a.navbar-item.pt-2.pl-2.pr-3(
href="{{url_for('settings.billing')}}"
title="View subscription info")
i.pi-heart-filled
span.subitem You have a free account.
| {% elif current_user.has_cap('can-renew-subscription') %}
a.navbar-item(target='_blank', href="/renew", title="Renew subscription")
a.navbar-item.pt-2.pl-2.pr-3(target='_blank', href="/renew", title="Renew subscription")
i.pi-heart
span.info Your subscription is not active.
span.renew Click here to renew.
@@ -56,7 +56,7 @@ li.subscription-status(class="{{ subscription }}")
| {{ super() }}
li
a.navbar-item(
a.navbar-item.px-2(
href="{{ url_for('settings.billing') }}"
title="Billing")
i.pi-credit-card