Add super css, fix nav and other components.
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
height: 160px
|
height: 160px
|
||||||
max-height: 160px
|
max-height: 160px
|
||||||
min-height: 160px
|
min-height: 160px
|
||||||
margin: 5px auto 0
|
margin: 0 auto
|
||||||
overflow: hidden
|
overflow: hidden
|
||||||
width: 100%
|
width: 100%
|
||||||
+media-breakpoint-up(sm)
|
+media-breakpoint-up(sm)
|
||||||
|
@@ -20,7 +20,7 @@
|
|||||||
color: white
|
color: white
|
||||||
font-weight: 400
|
font-weight: 400
|
||||||
font-size: 48px
|
font-size: 48px
|
||||||
margin-bottom: 0
|
margin: 0
|
||||||
text-shadow: 0 2px 2px rgba(0, 0, 0, 0.30)
|
text-shadow: 0 2px 2px rgba(0, 0, 0, 0.30)
|
||||||
.lead
|
.lead
|
||||||
max-width: 722px
|
max-width: 722px
|
||||||
|
@@ -1,18 +1,20 @@
|
|||||||
.navbar
|
nav.navbar
|
||||||
background: #fff
|
background: #fff
|
||||||
height: auto
|
height: auto
|
||||||
min-height: 48px
|
min-height: 48px
|
||||||
padding: .1rem 1rem
|
padding: 2px 20px
|
||||||
+media-breakpoint-up(md)
|
+media-breakpoint-up(md)
|
||||||
box-shadow: 0 2px 2px -2px rgba(0,0,0,.15)
|
box-shadow: 0 2px 2px -2px rgba(0,0,0,.15)
|
||||||
height: 56px
|
height: 56px
|
||||||
padding: .5rem 1rem
|
padding: 10px 5px 10px 20px
|
||||||
&.sticky-top
|
&.sticky-top
|
||||||
+media-breakpoint-down(sm)
|
+media-breakpoint-down(sm)
|
||||||
position: static
|
position: static
|
||||||
.logo
|
.logo
|
||||||
display: flex
|
display: flex
|
||||||
justify-content: center
|
justify-content: center
|
||||||
|
.navbar-brand
|
||||||
|
padding: .3125rem 0
|
||||||
.navbar-toggler
|
.navbar-toggler
|
||||||
padding: 0
|
padding: 0
|
||||||
border-radius: 0
|
border-radius: 0
|
||||||
@@ -21,17 +23,26 @@
|
|||||||
margin-top: 15px
|
margin-top: 15px
|
||||||
+media-breakpoint-up(md)
|
+media-breakpoint-up(md)
|
||||||
margin: 0
|
margin: 0
|
||||||
|
li
|
||||||
|
line-height: 2.5
|
||||||
|
.special
|
||||||
|
top: 10px
|
||||||
|
left: 35px
|
||||||
.nav-item .nav-link
|
.nav-item .nav-link
|
||||||
font-size: 18px
|
font-size: 18px
|
||||||
color: $dark
|
color: $dark
|
||||||
padding: 3vh 8px 3vh 34px
|
// padding: 3vh 8px 3vh 34px
|
||||||
|
padding: 10px
|
||||||
+media-breakpoint-up(lg)
|
+media-breakpoint-up(lg)
|
||||||
padding: 6px 18px
|
padding: 6px 18px
|
||||||
&:hover
|
&:hover
|
||||||
color: $muted
|
color: $muted
|
||||||
.navbar-toggler
|
.navbar-toggler
|
||||||
border: 0
|
border: 0
|
||||||
|
display: block
|
||||||
outline: none
|
outline: none
|
||||||
|
+media-breakpoint-up(md)
|
||||||
|
display: none
|
||||||
span
|
span
|
||||||
width: 20px
|
width: 20px
|
||||||
height: 2px
|
height: 2px
|
||||||
@@ -48,12 +59,39 @@
|
|||||||
display:none !important
|
display:none !important
|
||||||
&.show
|
&.show
|
||||||
padding-bottom: 75vh
|
padding-bottom: 75vh
|
||||||
|
.search-icon
|
||||||
|
display: flex
|
||||||
|
align-items: center
|
||||||
|
justify-content: center
|
||||||
|
padding: 0 8px
|
||||||
|
+media-breakpoint-up(lg)
|
||||||
|
padding: 0 16px
|
||||||
|
.pi-search
|
||||||
|
&::before
|
||||||
|
color: rgba(17,17,17,0.75)
|
||||||
|
font-size: 16px
|
||||||
|
.nav-notifications
|
||||||
|
display: flex
|
||||||
|
align-items: center
|
||||||
|
justify-content: center
|
||||||
|
padding: 0 8px
|
||||||
|
+media-breakpoint-up(lg)
|
||||||
|
padding: 0 16px
|
||||||
|
.navbar-item
|
||||||
|
height: auto
|
||||||
|
padding: 0
|
||||||
|
.nav-notifications-icon
|
||||||
|
color: rgba(17,17,17,0.75)
|
||||||
.gravatar
|
.gravatar
|
||||||
width: 32px
|
width: 32px
|
||||||
border-radius: 50%
|
border-radius: 50%
|
||||||
#userDropdown
|
#userDropdown
|
||||||
.nav-link
|
.nav-link
|
||||||
padding-top: 4px;
|
padding-top: 4px
|
||||||
padding-bottom: 0;
|
padding-bottom: 0
|
||||||
padding-right: 0;
|
padding-right: 0
|
||||||
outline: none;
|
outline: none
|
||||||
|
.navbar+.page-content
|
||||||
|
padding-top: 0
|
||||||
|
.container-page
|
||||||
|
background: #fff
|
@@ -5,6 +5,9 @@ body
|
|||||||
font-family: 'Source Sans Pro', sans-serif
|
font-family: 'Source Sans Pro', sans-serif
|
||||||
-webkit-font-smoothing: antialiased
|
-webkit-font-smoothing: antialiased
|
||||||
-moz-osx-font-smoothing: grayscale
|
-moz-osx-font-smoothing: grayscale
|
||||||
|
color: #212529
|
||||||
|
h1, h2, h3, h4, h5
|
||||||
|
font-family: 'Source Sans Pro', sans-serif
|
||||||
h1
|
h1
|
||||||
font-size: 48px
|
font-size: 48px
|
||||||
line-height: 57px
|
line-height: 57px
|
||||||
@@ -16,6 +19,7 @@ h3
|
|||||||
line-height: 38px
|
line-height: 38px
|
||||||
h4
|
h4
|
||||||
font-size 21px
|
font-size 21px
|
||||||
|
font-weight: 500
|
||||||
line-height: 34px
|
line-height: 34px
|
||||||
h5
|
h5
|
||||||
font-size: 15px
|
font-size: 15px
|
||||||
|
@@ -17,6 +17,11 @@ meta(name="twitter:description", content="Blender Cloud is a web based service d
|
|||||||
meta(property="og:image", content="{% if main_project.picture_header %}{{ main_project.picture_header.thumbnail('l', api=api) }}{% else %}{{ url_for('static', filename='assets/img/backgrounds/background_agent327_04.jpg')}}{% endif %}")
|
meta(property="og:image", content="{% if main_project.picture_header %}{{ main_project.picture_header.thumbnail('l', api=api) }}{% else %}{{ url_for('static', filename='assets/img/backgrounds/background_agent327_04.jpg')}}{% endif %}")
|
||||||
meta(name="twitter:image", content="{% if main_project.picture_header %}{{ main_project.picture_header.thumbnail('l', api=api) }}{% else %}{{ url_for('static', filename='assets/img/backgrounds/background_agent327_04.jpg')}}{% endif %}")
|
meta(name="twitter:image", content="{% if main_project.picture_header %}{{ main_project.picture_header.thumbnail('l', api=api) }}{% else %}{{ url_for('static', filename='assets/img/backgrounds/background_agent327_04.jpg')}}{% endif %}")
|
||||||
| {% endblock %}
|
| {% endblock %}
|
||||||
|
| {% block css %}
|
||||||
|
| {{ super() }}
|
||||||
|
link(href="{{ url_for('static_cloud', filename='assets/css/projects-index-collection.css') }}", rel="stylesheet")
|
||||||
|
| {% endblock css %}
|
||||||
|
|
||||||
|
|
||||||
| {% block body %}
|
| {% block body %}
|
||||||
.dashboard-container
|
.dashboard-container
|
||||||
|
@@ -137,8 +137,9 @@ html(lang="en")
|
|||||||
a.nav-link(href="{{ url_for('cloud.services') }}",
|
a.nav-link(href="{{ url_for('cloud.services') }}",
|
||||||
class="{% if category == 'services' %}active{% endif %}") Services
|
class="{% if category == 'services' %}active{% endif %}") Services
|
||||||
|
|
||||||
//- li.nav-item
|
li.nav-item.search-icon
|
||||||
//- i.search-icon.pi-search
|
a.navbar-item
|
||||||
|
i.pi-search
|
||||||
| {% endblock navigation_sections %}
|
| {% endblock navigation_sections %}
|
||||||
|
|
||||||
| {% if current_user.is_anonymous %}
|
| {% if current_user.is_anonymous %}
|
||||||
@@ -149,8 +150,8 @@ html(lang="en")
|
|||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
|
||||||
| {% block navigation_user %}
|
| {% block navigation_user %}
|
||||||
//- | {% include 'menus/notifications.html' %}
|
| {% include 'menus/notifications.html' %}
|
||||||
//- | {% include 'menus/user.html' %}
|
| {% include 'menus/user.html' %}
|
||||||
|
|
||||||
| {% endblock navigation_user %}
|
| {% endblock navigation_user %}
|
||||||
|
|
||||||
|
@@ -107,7 +107,7 @@ header
|
|||||||
li.nav-item
|
li.nav-item
|
||||||
a.nav-link(href="#", class="{% if title == 'team' %}active{% endif %}") Team
|
a.nav-link(href="#", class="{% if title == 'team' %}active{% endif %}") Team
|
||||||
li.nav-item
|
li.nav-item
|
||||||
a.nav-link(href="#", class="{% if title == 'gallery' %}active{% endif %}") Gallery
|
a.nav-link(href="/projects/gallery.html", class="{% if title == 'gallery' %}active{% endif %}") Gallery
|
||||||
li.nav-item
|
li.nav-item
|
||||||
a.nav-link(href="#", class="{% if title == 'assets' %}active{% endif %}") Assets
|
a.nav-link(href="#", class="{% if title == 'assets' %}active{% endif %}") Assets
|
||||||
li.nav-item
|
li.nav-item
|
||||||
|
@@ -34,6 +34,7 @@ meta(property="og:image", content="{{ page_header_image }}")
|
|||||||
meta(name="twitter:image", content="{{ page_header_image }}")
|
meta(name="twitter:image", content="{{ page_header_image }}")
|
||||||
| {% endblock %}
|
| {% endblock %}
|
||||||
| {% block css %}
|
| {% block css %}
|
||||||
|
| {{ super() }}
|
||||||
link(href="{{ url_for('static_cloud', filename='assets/css/projects-index-collection.css') }}", rel="stylesheet")
|
link(href="{{ url_for('static_cloud', filename='assets/css/projects-index-collection.css') }}", rel="stylesheet")
|
||||||
| {% endblock css %}
|
| {% endblock css %}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user