Update font awesome sass
BIN
public/css/app.css
vendored
Before Width: | Height: | Size: 587 KiB After Width: | Height: | Size: 586 KiB |
Before Width: | Height: | Size: 848 KiB |
Before Width: | Height: | Size: 778 KiB After Width: | Height: | Size: 102 KiB |
Before Width: | Height: | Size: 658 KiB After Width: | Height: | Size: 477 KiB |
BIN
public/js/app.js
vendored
BIN
public/js/timeline.js
vendored
1
resources/assets/js/bootstrap.js
vendored
|
@ -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');
|
||||||
|
|
6
resources/assets/js/components/likebutton.js
vendored
|
@ -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';
|
||||||
|
|
15
resources/assets/sass/custom.scss
vendored
|
@ -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
|
||||||
|
|