Skip to content
This repository has been archived by the owner on Nov 7, 2019. It is now read-only.

Commit

Permalink
Merge ac190a9 into d012989
Browse files Browse the repository at this point in the history
  • Loading branch information
philli-m committed Oct 2, 2019
2 parents d012989 + ac190a9 commit 4edbf79
Show file tree
Hide file tree
Showing 10 changed files with 29 additions and 53 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
<div class="filter-bar form-inline mb-2" role="group" aria-label="{% trans 'Filter bar '%}">
{% for field in filter.form %}
{% if field.name != 'ordering' %}
<div class="mr-1">
{{ field }}
</div>
{% endif %}
{% endfor %}

Expand Down
42 changes: 22 additions & 20 deletions apps/organisations/templates/organisation_landing_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,27 +25,29 @@ <h2 class="u-no-margin organisation__slogan">{{ organisation.slogan }}</h2>
</div>

<div class="l-wrapper">
<div class="l-col-8-0">
<ul class="u-list-reset">
{% for project in project_list %}
<li>
{% include 'a4_candy_projects/includes/project_list_tile.html' with project=project %}
</li>
{% endfor %}
</ul>
</div>

<aside class="l-col-4-8 aside">
<div class="aside__block">
<h2 class="aside__block__title heading3">{% trans 'Activity' %}</h2>
<div>
{% for action in action_list %}
{% include 'a4_candy_actions/includes/action.html' with action=action %}
{% empty %}
{% trans 'No activity yet. '%}
<div class="row">
<div class="l-col-8-0">
<ul class="u-list-reset">
{% for project in project_list %}
<li>
{% include 'a4_candy_projects/includes/project_list_tile.html' with project=project %}
</li>
{% endfor %}
</div>
</ul>
</div>
</aside>

<aside class="l-col-4-8 aside">
<div class="aside__block">
<h2 class="aside__block__title heading3">{% trans 'Activity' %}</h2>
<div>
{% for action in action_list %}
{% include 'a4_candy_actions/includes/action.html' with action=action %}
{% empty %}
{% trans 'No activity yet. '%}
{% endfor %}
</div>
</div>
</aside>
</div>
</div>
{% endblock %}
2 changes: 0 additions & 2 deletions liqd_product/assets/scss/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,10 @@

.l-col-4-8 {
@extend .col-sm-4;
@extend .offset-sm-8;
}

.l-col-3-9 {
@extend .col-sm-3;
@extend .offset-sm-9;
}

.l-tiles-2,
Expand Down
10 changes: 0 additions & 10 deletions liqd_product/assets/scss/_shame.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,6 @@ input[type="search"] {
.btngroup .btn {
@extend .btn--light;
@extend .btn--small;

&:first-child {
border-bottom-right-radius: 0;
border-top-right-radius: 0;
}

&:last-child {
border-bottom-left-radius: 0;
border-top-left-radius: 0;
}
}

// maps usually have a height of 300px in their element style, defined in adhocracy4.
Expand Down
15 changes: 1 addition & 14 deletions liqd_product/assets/scss/components/_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -208,11 +208,6 @@
margin-bottom: $spacer;
}

.btn--attached-top {
border-top-left-radius: 0;
border-top-right-radius: 0;
}

.btn-group {
.dropdown {
display: inline-block;
Expand All @@ -221,7 +216,7 @@
> *,
.dropdown-toggle {
border-radius: 0;
margin-left: -1px;
margin-left: -2px !important;

&:focus {
// highlighted border should be on top
Expand All @@ -231,16 +226,8 @@
}

> :first-child {
border-top-left-radius: 0.3em;
border-bottom-left-radius: 0.3em;
margin-left: 0;
}

> :last-child,
> :last-child .dropdown-toggle {
border-top-right-radius: 0.3em;
border-bottom-right-radius: 0.3em;
}
}

@media print {
Expand Down
1 change: 0 additions & 1 deletion liqd_product/assets/scss/components/_dashboard_nav.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.dashboard-nav {
border: 1px solid $border-color;
border-radius: 0.3em;
overflow: hidden;
margin-bottom: 0.5em;
}
Expand Down
1 change: 0 additions & 1 deletion liqd_product/assets/scss/components/_datepicker.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
background-image: none !important;
min-width: 3em;
z-index: 0;
border-radius: 0 0.3em 0.3em 0;

@extend .input-group__after;
@extend .btn;
Expand Down
5 changes: 2 additions & 3 deletions liqd_product/assets/scss/components/_rating.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
}

.rating-button {
border: 1px solid $border-color;
font-weight: normal;
padding: 0 0.4em;

Expand All @@ -25,8 +24,8 @@

@mixin rating-button($color) {
color: $color;
padding: 0.65em 1.2em;
border-radius: 0.3em;
padding: 0.3em 0.6em;
border: 2px solid $color;

&:hover,
&:focus {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ <h2 class="list-item__title">
<input type="hidden" name="project_pk" value="{{ project.pk }}">
<button type="submit" name="duplicate" value="{{ project }}"
class="dropdown-item">
<i class="fa fa-files-o" aria-hidden="true"></i>
<i class="far fa-copy" aria-hidden="true"></i>
{% trans 'Duplicate' %}
</button>
</form>
Expand Down
2 changes: 1 addition & 1 deletion liqd_product/templates/a4forms/datetime_input.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="l-tiles-2 category-formset__datetime-input">
<div class="d-flex category-formset__datetime-input">
<div class="widget--datetimeinput__date input-group">
{{ date }}
</div>
Expand Down

0 comments on commit 4edbf79

Please sign in to comment.