Update font awesome sass

This commit is contained in:
Daniel Supernault 2018-06-05 20:58:53 -06:00
parent bdd61888f9
commit e45ab15352
28 changed files with 3023 additions and 177 deletions

BIN
public/css/app.css vendored

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 587 KiB

After

Width:  |  Height:  |  Size: 586 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 848 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 778 KiB

After

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 658 KiB

After

Width:  |  Height:  |  Size: 477 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
public/js/app.js vendored

Binary file not shown.

BIN
public/js/timeline.js vendored

Binary file not shown.

Binary file not shown.

View file

@ -17,7 +17,6 @@ try {
window.typeahead = require('./lib/typeahead'); window.typeahead = require('./lib/typeahead');
window.Bloodhound = require('./lib/bloodhound'); window.Bloodhound = require('./lib/bloodhound');
require('./lib/fontawesome-all');
require('./components/localstorage'); require('./components/localstorage');
require('./components/likebutton'); require('./components/likebutton');
require('./components/commentform'); require('./components/commentform');

View file

@ -20,7 +20,7 @@ $(document).ready(function() {
var heart = el.find('.status-heart'); var heart = el.find('.status-heart');
if(likes.indexOf(id) != -1) { if(likes.indexOf(id) != -1) {
heart.addClass('fas fa-heart').removeClass('far fa-heart'); heart.removeClass('far fa-heart').addClass('fas fa-heart');
} }
}); });
}; };
@ -40,14 +40,14 @@ $(document).ready(function() {
var heart = el.find('.status-heart'); var heart = el.find('.status-heart');
if(likes.indexOf(id) > -1) { if(likes.indexOf(id) > -1) {
heart.addClass('far fa-heart').removeClass('fas fa-heart'); heart.removeClass('fas fa-heart').addClass('far fa-heart');
likes = likes.filter(function(item) { likes = likes.filter(function(item) {
return item !== id return item !== id
}); });
counter.text(count); counter.text(count);
action = 'unlike'; action = 'unlike';
} else { } else {
heart.addClass('fas fa-heart').removeClass('far fa-heart'); heart.removeClass('far fa-heart').addClass('fas fa-heart');
likes.push(id); likes.push(id);
counter.text(count); counter.text(count);
action = 'like'; action = 'like';

View file

@ -172,22 +172,11 @@ body, button, input, textarea {
} }
} }
.fas, .far {
font-size: 25px !important;
}
.far.fa-heart {
color: #343a40;
}
.svg-inline--fa.fa-heart.fa-w-16.status-heart.fa-2x {
color: #f70ec4;
}
.fas.fa-heart { .fas.fa-heart {
color: #f70ec4!important;
} }
@media (max-width: map-get($grid-breakpoints, "md")) { @media (max-width: map-get($grid-breakpoints, "md")) {
.border-md-left-0 { .border-md-left-0 {
border-left:0!important border-left:0!important

File diff suppressed because it is too large Load diff