Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove categories grid (moved to fjelltopp-theme) #37

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
90 changes: 0 additions & 90 deletions ckanext/who_romania/assets/css/who-romania.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,96 +47,6 @@
}
/* hide insights */

/* groups */
.categories-page {
.wrapper {
border: none;
box-shadow: none;
}
.wrapper:before {
content: none;
}
.secondary {
display: none;
}
.primary {
width: 100%;
}
.module-content .page_primary_action .btn {
margin-bottom: 24px;
}
}
.topics-background {
margin-top: 48px;
margin-bottom: 64px;
background-color: white;
}
.topics-background H1:first-child {
font-size: 36px;
font-weight: 400;
line-height: 48px;
letter-spacing: -0.04em;
text-align: left;
}
.topics-background .container {
width: 100%;
}

.topics {
display: flex;
flex-wrap: wrap;
gap: 24px;
list-style-type: none;
padding: 0;
width: 100%;
margin-top: 24px;
align-items: flex-start;
margin-left: -28px;
}

.topics li:last-child {
margin-right: 0;
}
.topics li {
display: inline flex;
margin-right: 21px;
margin-top: 24px;
width: 124px;
height: 96px;
border-radius: 4px;
}
.topics li a {
margin: 16px;
width: 92px;
height: 64px;
}

.topics li a .topic-top-square {
background-color: var(--primary25);
width: 40px;
height: 40px;
margin-left: 26px;
margin-right: 26px;
margin-bottom: 6px;
border-radius: 4px;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
}

.topics li a .topic-top-square img {
max-width: 36px;
max-height: 36px;
}
.topics li a .topic-link {
text-align: center;
font-size: 12px;
font-weight: 700;
line-height: 16px;
color: #13240F;
}

/* category box */
.dataset .category-box {
background: var(--light);
Expand Down
12 changes: 0 additions & 12 deletions ckanext/who_romania/templates/group/edit.html

This file was deleted.

40 changes: 0 additions & 40 deletions ckanext/who_romania/templates/group/index.html

This file was deleted.

25 changes: 0 additions & 25 deletions ckanext/who_romania/templates/group/new.html

This file was deleted.

9 changes: 0 additions & 9 deletions ckanext/who_romania/templates/group/new_group_form.html

This file was deleted.

8 changes: 0 additions & 8 deletions ckanext/who_romania/templates/group/read_base.html

This file was deleted.

41 changes: 0 additions & 41 deletions ckanext/who_romania/templates/group/snippets/group_form.html

This file was deleted.

8 changes: 0 additions & 8 deletions ckanext/who_romania/templates/group/snippets/group_item.html

This file was deleted.

10 changes: 0 additions & 10 deletions ckanext/who_romania/templates/group/snippets/group_list.html

This file was deleted.

14 changes: 0 additions & 14 deletions ckanext/who_romania/templates/home/layout1.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,5 @@
{% ckan_extends %}

{% block groups %}
{% set categories = h.get_all_groups() %}
{% if categories != [] %}
<div class="topics-background">
<div class="container">
<h1>{{_('Dataset categories')}}</h1>
{% block document_categories %}
{% snippet "group/snippets/group_list.html", groups=h.get_all_groups(), origin='homepage' %}
{% endblock %}
</div>
</div>
{% endif %}
{% endblock %}

{% block fx_bg %}{% endblock %}

{% block title %}{{ _('Featured data') }}{% endblock %}
Expand Down
28 changes: 0 additions & 28 deletions ckanext/who_romania/templates/package/group_list.html

This file was deleted.

12 changes: 0 additions & 12 deletions ckanext/who_romania/templates/package/read_base.html

This file was deleted.

Loading