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

Commit

Permalink
Merge be7255d into cbbdb67
Browse files Browse the repository at this point in the history
  • Loading branch information
philli-m committed Apr 17, 2019
2 parents cbbdb67 + be7255d commit 3297b02
Show file tree
Hide file tree
Showing 14 changed files with 23 additions and 81 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,21 @@
<li class="dashboard-nav__page">
<a href="{% url 'account_profile' %}"
class="dashboard-nav__item dashboard-nav__item--interactive {% if request.resolver_match.url_name == "account_profile" %}is-active{% endif %}">
<i class="fa fa-user" aria-hidden="true"></i>
<i class="far fa-user" aria-hidden="true"></i>
{% trans 'Profile' %}
</a>
</li>
<li class="dashboard-nav__page">
<a href="{% url 'account_change_password' %}"
class="dashboard-nav__item dashboard-nav__item--interactive {% if request.resolver_match.url_name == "account_change_password" %}is-active{% endif %}">
<i class="fa fa-lock" aria-hidden="true"></i>
<i class="fas fa-lock" aria-hidden="true"></i>
{% trans 'Change password' %}
</a>
</li>
<li class="dashboard-nav__page">
<a href="{% url 'account_email' %}"
class="dashboard-nav__item dashboard-nav__item--interactive {% if request.resolver_match.url_name == "account_email" %}is-active{% endif %}">
<i class="fa fa-envelope" aria-hidden="true"></i>
<i class="far fa-envelope" aria-hidden="true"></i>
{% trans 'Email addresses' %}
</a>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ <h2 id="cl-category_formset">Category Formset</h2>
<input name="category_set-0-DELETE" id="id_category_set-0-DELETE" class="category-formset__delete" type="checkbox">
<input name="category_set-0-name" value="category 1" placeholder="Kategorie" id="id_category_set-0-name" type="text">
<label for="id_category_set-0-DELETE" class="category-formset__delete-label" title="Kategorie entfernen">
<i class="fas fa-trash-alt" aria-label="Kategorie entfernen"></i>
<i class="far fa-trash-alt" aria-label="Kategorie entfernen"></i>
</label>
</div>

Expand Down Expand Up @@ -481,7 +481,7 @@ <h2 id="cl-commenting">Commenting</h2>
<i class="fa fa-chevron-down" aria-label="Move down"></i>
</button>
<button class="btn btn--light btn--small" title="Delete" type="button">
<i class="fas fa-trash-alt" aria-label="Delete"></i>
<i class="far fa-trash-alt" aria-label="Delete"></i>
</button>
</div>
{% endspaceless %}
Expand All @@ -492,7 +492,7 @@ <h2 id="cl-commenting">Commenting</h2>
</div>
<div class="commenting__actions">
<button class="btn btn--light btn--small" title="Delete" type="button">
<i class="fas fa-trash-alt" aria-label="Delete"></i>
<i class="far fa-trash-alt" aria-label="Delete"></i>
</button>
</div>
</div>
Expand All @@ -502,7 +502,7 @@ <h2 id="cl-commenting">Commenting</h2>
</button>
<div class="commenting__actions">
<button class="btn btn--light btn--small" title="Delete" type="button">
<i class="fas fa-trash-alt" aria-label="Delete"></i>
<i class="far fa-trash-alt" aria-label="Delete"></i>
</button>
</div>
</div>
Expand All @@ -512,7 +512,7 @@ <h2 id="cl-commenting">Commenting</h2>
</button>
<div class="commenting__actions">
<button class="btn btn--light btn--small" title="Delete" type="button">
<i class="fas fa-trash-alt" aria-label="Delete"></i>
<i class="far fa-trash-alt" aria-label="Delete"></i>
</button>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion liqd_product/apps/documents/assets/ChapterNavItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const ChapterNavItem = (props) => {
disabled={!props.onDelete}
title={django.gettext('Delete')}
type="button">
<i className="fa fa-trash"
<i className="far fa-trash-alt"
aria-label={django.gettext('Delete')} />
</button>
</div>
Expand Down
2 changes: 1 addition & 1 deletion liqd_product/apps/documents/assets/ParagraphForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class Paragraph extends React.Component {
onClick={this.props.onDelete}
title={django.gettext('Delete')}
type="button">
<i className="fa fa-trash"
<i className="far fa-trash-alt"
aria-label={django.gettext('Delete')} />
</button>
</div>
Expand Down
2 changes: 1 addition & 1 deletion liqd_product/apps/polls/assets/QuestionForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const QuestionForm = (props) => {
onClick={props.onDelete}
title={django.gettext('Delete')}
type="button">
<i className="fa fa-trash"
<i className="far fa-trash-alt"
aria-label={django.gettext('Delete')} />
</button>
</div>
Expand Down
62 changes: 0 additions & 62 deletions liqd_product/assets/scss/_line_awesome_overwrites.scss

This file was deleted.

4 changes: 4 additions & 0 deletions liqd_product/assets/scss/components/_input_group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@
}
}

.input-group__after.input-group__after-outside {
margin-bottom: 4px;
}

.input-group__input:focus,
.input-group__before:focus,
.input-group__after:focus {
Expand Down
1 change: 0 additions & 1 deletion liqd_product/assets/scss/components/_radio.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ $checkbox-size: 20px;
transform: scale(1.3);
opacity: 0;

padding-top: 2px;
font-family: "Font Awesome 5 Free", sans-serif;
font-weight: 900;
background-color: $brand-primary;
Expand Down
1 change: 0 additions & 1 deletion liqd_product/assets/scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,3 @@
@import 'utility';

@import 'shame';
@import 'line_awesome_overwrites';
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ <h2 class="list-item__title">
</button>
</form>
<a href="#" class="dropdown-item u-fontweight-normal" data-toggle="modal" data-target="#project{{ project.pk }}DeleteModal">
<i class="fa fa-trash" aria-hidden="true"></i>
<i class="far fa-trash-alt" aria-hidden="true"></i>
{% trans 'delete' %}
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion liqd_product/templates/a4forms/includes/inline_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</button>
{% elif can_delete %}
<label for="{{ form.DELETE.id_for_label }}" class="category-formset__delete-label" title="{% trans 'Remove category' %}">
<i class="fa fa-trash" aria-label="{% trans 'Remove category' %}"></i>
<i class="far fa-trash-alt" aria-label="{% trans 'Remove category' %}"></i>
</label>
{% endif %}
{% for hidden in form.hidden_fields %}
Expand Down
4 changes: 2 additions & 2 deletions liqd_product/templates/a4images/image_upload_widget.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
<label for="{{ checkbox_id }}"
class="upload-wrapper__action input-group__after btn btn--danger"
title="{% trans 'Remove the picture' %}">
<i class="fa fa-trash" aria-label="{% trans 'Remove the picture' %}"></i>
<i class="far fa-trash-alt" aria-label="{% trans 'Remove the picture' %}"></i>
</label>
{% else %}
<label for="{{ id }}"
class="upload-wrapper__action input-group__after btn"
title="{% trans 'Upload a picture' %}">
<i class="fa fa-cloud-upload" aria-label="{% trans 'Upload a picture' %}"></i>
<i class="fas fa-cloud-upload-alt" aria-label="{% trans 'Upload a picture' %}"></i>
</label>
{% endif %}
</div>
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
"leaflet": "1.4.0",
"leaflet-draw": "1.0.4",
"leaflet.markercluster": "1.4.1",
"line-awesome": "1.0.2",
"mapbox-gl": "0.53.1",
"mapbox-gl-leaflet": "0.0.4",
"mini-css-extract-plugin": "0.6.0",
Expand Down
5 changes: 4 additions & 1 deletion webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@ module.exports = {
],
vendor: [
'classnames',
'@fortawesome/fontawesome-free/scss/fontawesome.scss',
'@fortawesome/fontawesome-free/scss/brands.scss',
'@fortawesome/fontawesome-free/scss/regular.scss',
'@fortawesome/fontawesome-free/scss/solid.scss',
'js-cookie',
'line-awesome/css/line-awesome.min.css',
'react',
'immutability-helper',
'react-dom',
Expand Down

0 comments on commit 3297b02

Please sign in to comment.