&--organization {
- margin-top: -327px;
+ margin-top: -80px;
@include mq($until: xs) {
- margin-top: -123px;
+
}
.map {
width: 100%;
- height: 900px;
+ height: 950px;
}
}
+ &--search {
+
+ margin-top: 8rem;
+
+ }
+
}
list-style-type: none;
margin: 0;
padding: 0;
+ text-align: right;
@include typeface(sans-serif);
font-weight: weight(regular);
display: block;
- background: $color-main;
- color: $color-black;
+ background: #001B42;
+ color: white;
+
+ border: 1px solid black;
@include padding(.15 .5);
@include transition(all .25s ease-in-out);
&.active, &:hover {
- background: $color-black;
- color: $color-main;
+ background: #002C6B;
+ color: white;
}
}
border: 0;
outline: none;
background: none;
- border-bottom: 1px solid $color-black;
+ border-bottom: 1px solid $color-main;
padding: 1rem 3rem 1rem 0;
width: 100%;
+ color: white;
@include font-size(xxl);
@include typeface(serif);
outline: 0;
cursor: pointer;
+ color: white;
+
@include font-size(xxl);
}
@include clearfix;
@include margin-bottom(2);
+ &:hover {
+
+ #{$module}__title {
+ color: $color-main;
+ }
+
+ }
+
&__title {
- @include margin(0 0 1 0);
+ @include margin(0 0 0 0);
font-weight: weight(bold);
text-transform: uppercase;
+ color: white;
+ @include transition(color 0.25s ease-in-out);
i {
display: inline-block;
&__subtitle {
@include font-size(m);
- @include line-height(1);
+ @include line-height(.75);
@include typeface(sans-serif);
+ @include margin-top(.25);
+ font-weight: weight(bold);
+ color: white;
+ text-transform: uppercase;
+ @include transition(color 0.5s ease-in-out);
+
+ span {
+ @include typeface(serif);
+ @include font-size(s);
+ font-weight: weight(regular);
+ text-transform: none;
+ display: block;
+ @include margin-top(.25);
+ }
+
+ }
+
+ &__tags {
- @include margin-top(-.5);
- @include margin-bottom(1);
+ text-transform: uppercase;
+ @include font-size(s);
+ @include line-height(1.25);
+ @include typeface(sans-serif);
+ @include margin(0 0 0 0);
+ font-weight: weight(regular);
+ color: $color-main;
+ @include transition(color 0.5s ease-in-out);
}
@include line-height(1);
@include typeface(serif);
font-weight: weight(light);
+ @include transition(color 0.5s ease-in-out);
}
{% keywords_for event as tags %}
{% if event.departments.all.0 or tags %}
{% if event.departments.all.0 %}
- <div class="event-line-box__tags">
- <div class="tag tag--small dashed">
- {{ event.departments.all.0.department.name }}
- </div>
+ <div class="search-box__tags">
+ {{ event.departments.all.0.department.name }}
</div>
{% endif %}
{% endif %}
+ {% if event.category %}
+ <div class="search-box__tags">
+ {{ event.category|truncatechars:15 }}
+ </div>
+ {% endif %}
{% endblock %}
{% block url %}
{% endblock %}
<div class="search-box__right">
- {% block tags %}
- {% endblock %}
<a href="{% block url %}{% endblock %}" target="_blank">
- <h2 class="search-box__title dotted">
+ <h2 class="search-box__title">
{% block title %}
{% endblock %}
<i class="fa fa-{% block icon %}{% endblock %}"></i>
</h2>
</a>
+ {% block tags %}
+ {% endblock %}
+
{% block subtitle %}
{% endblock %}
{% if current_page.has_previous or current_page.has_next %}
<div class="container">
<div class="row">
- <div class="col-sm-9 col-lg-8 col-lg-push-2">
+ <div class="col-md-10 col-md-push-3">
<ul class="pagination">
{% if current_page.has_previous %}
</div>
{% endfor %}
</div>
- <div class="row">
- <div class="col-xxs-16">
- {% pagination_for objects %}
- </div>
- </div>
</div>
</div>
</div>
</div>
</div>
+ {% pagination_for objects %}
</div>
{% endblock %}
{% block icon %}file-{{playlist.type}}-o{% endblock %}
{% block tags %}
- <div class="event-line-box__tags">
- <div class="tag tag--small dashed dashed--gray">
- {{playlist.type}}
- </div>
+ <div class="search-box__tags">
+ {{playlist.type}}
</div>
{% endblock %}
{% block tags %}
{% with page.get_ascendants|last as top_level_parent %}
{% if top_level_parent.get_content_model.title %}
- <div class="event-line-box__tags">
- <div class="tag tag--small dashed">
- {{ top_level_parent.get_content_model.title }}
- </div>
+ <div class="search-box__tags">
+ {{ top_level_parent.get_content_model.title }}
</div>
{% elif page.departmentpage %}
- <div class="event-line-box__tags">
- <div class="tag tag--small dashed">
- {{ page.departmentpage.title }}
- </div>
+ <div class="search-box__tags">
+ {{ page.departmentpage.title }}
</div>
{% elif page|classname == "Project" %}
- <div class="event-line-box__tags">
- <div class="tag tag--small dashed">
- {% trans 'Project' %}
- </div>
+ <div class="search-box__tags">
+ {% trans 'Project' %}
</div>
{% else %}
- <div class="event-line-box__tags">
- <div class="tag tag--small dashed dashed--gray">
- {% trans 'Page' %}
- </div>
+ <div class="search-box__tags">
+ {% trans 'Page' %}
</div>
{% endif %}
{% endwith %}
<meta name="robots" content="noindex">
{% endblock %}
-{% block breadcrumb_menu %}
- <li class="breadcrumb__item">
- <a href="{% url "home" %}">{% trans "Home" %}</a>
- </li>
- <li class="breadcrumb__item active">{% trans "Search Results" %}</li>
-{% endblock %}
-
{% block main %}
-
- <div class="page">
+ <div class="page page--search">
<div class="container">
-
<div class="row">
- <div class="col-sm-9 col-sm-push-3 col-lg-9 col-lg-push-2 white-bg mb2">
-
- <form action="{% url "search" %}" role="search" class="search-form">
+ <div class="col-sm-16 col-md-10 col-md-push-3 tac">
+ <form action="{% url "search" %}" role="search" class="search-form mb4">
<input class="form-control" placeholder="{% trans "Type something" %}" type="text" name="q" value="{{ request.GET.q }}">
<button type="submit">
<i class="fa fa-search" aria-hidden="true"></i>
</button>
</form>
-
-
</div>
</div>
<div class="row">
- <div class="col-sm-3 col-lg-2 page__sidebar">
+
+ <div class="col-md-3 page__sidebar" style="display: none;">
+
<div style="position: relative;">
<ul class="nav-tree nav-tree--level-0" data-sticky data-sticky-parent="row" data-sticky-offset="100" data-sticky-detach-at="971">
{% for key,value in filter_dict.items %}
{% endfor %}
</ul>
</div>
+
</div>
- <div class="mb2 col-sm-9 col-lg-8 white-bg page__content">
+ <div class="col-md-10 col-md-push-3 page__content" data-summary-content>
+ <div class="page__content">
+ {% for result in results.object_list %}
+ {# result|classname #}
+ {% if result|classname == 'Event' %}
+ {% with result as event %}
+ {% include 'agenda/includes/event_search.html' %}
+ {% endwith %}
+ {% elif result|classname == 'Playlist' %}
+ {% with result as playlist %}
+ {% include 'media/inc/playlist_search.html' %}
+ {% endwith %}
+ {% elif result|classname == 'Product' %}
+ {% with result as product %}
+ {% include 'shop/product/includes/product_search.html' %}
+ {% endwith %}
+ {% else %}
+ {% with result as page %}
+ {% include 'pages/page/includes/page_search.html' %}
+ {% endwith %}
+ {% endif %}
+ {% endfor %}
+ <p>
+ {% if results.paginator.count == 0 %}
+ {% blocktrans %}No results were found matching your query: {{ query }}{% endblocktrans %}
+ {% endif %}
+ </p>
- {% for result in results.object_list %}
- {# result|classname #}
- {% if result|classname == 'Event' %}
- {% with result as event %}
- {% include 'agenda/includes/event_search.html' %}
- {% endwith %}
- {% elif result|classname == 'Playlist' %}
- {% with result as playlist %}
- {% include 'media/inc/playlist_search.html' %}
- {% endwith %}
- {% elif result|classname == 'Product' %}
- {% with result as product %}
- {% include 'shop/product/includes/product_search.html' %}
- {% endwith %}
- {% else %}
- {% with result as page %}
- {% include 'pages/page/includes/page_search.html' %}
- {% endwith %}
- {% endif %}
- {% endfor %}
- <p>
- {% if results.paginator.count == 0 %}
- {% blocktrans %}No results were found matching your query: {{ query }}{% endblocktrans %}
- {% endif %}
- </p>
+ </div>
</div>
+
</div>
+
</div>
{% pagination_for results %}
</div>
-
{% endblock %}