Skip to content

Commit

Permalink
NGSTACK-479 - Add fixes for breadcrumbs
Browse files Browse the repository at this point in the history
  • Loading branch information
Ljudevit committed Nov 17, 2020
1 parent 6bfcce9 commit eae0079
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
.full-page-header {
background: $primary;
padding: 4rem 0;
text-align: center;
padding: 2rem 0 4rem;
margin-bottom: 4rem;
&.full-page-header-without-breacrumbs {
padding: 4rem 0 4rem;
}
.main-topic, .sponsored-text {
display: inline-block;
font-size: .75rem;
Expand All @@ -21,6 +24,8 @@
.full-page-intro {
color: $black;
opacity: .54;
font-size: 1.3125rem;
font-style: italic;
p {
margin: 0;
+ p {
Expand Down Expand Up @@ -110,12 +115,6 @@
}
}

.full-page-intro {
font-size: 1.3125rem;
font-style: italic;
color: $gray-54;
}

/* full page newsletter box */
.full-page-newsletter-box {
background: $primary;
Expand Down
8 changes: 6 additions & 2 deletions src/AppBundle/Resources/sass/layout/_breadcrumbs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@
.breadcrumb {
background-color: transparent;
margin: 0;
padding: 3rem 0;
padding: 1.5rem 0;
font-size: 1.125rem;
line-height: 1.3125rem;
color: $black;
.breadcrumb-item {
& + .breadcrumb-item::before {
color: inherit;
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

{% extends nglayouts.layoutTemplate %}

{% set show_path = false %}

{% block content %}
<div class="view-type view-type-{{ view_type }} ng-landing-page clearfix">
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{% block content %}
<form action="{{ path('ngsite_content_search') }}" method="get" class="form-search">
<header class="full-page-header full-search-header">
<header class="full-page-header full-search-header full-page-header-without-breacrumbs">
<div class="container">
<div class="search-inputs">
<div class="input-group">
Expand Down
4 changes: 2 additions & 2 deletions src/AppBundle/Resources/views/themes/app/tag/view.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
{% set site_title = tag_keyword %}

{% block content %}
<header class="full-page-header">
<header class="full-page-header full-page-header-without-breacrumbs">
<div class="container">
<h1 class="full-page-title">{{ tag_keyword }}</h1>
</div>
</header>

<div class="full-tag-results">
<div class="container">
{% if related_content|length > 0 %}
<div class="row">
{% for related_content_item in related_content %}
Expand Down

0 comments on commit eae0079

Please sign in to comment.