Update font awesome sass
8
public/css/app.css
vendored
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" standalone="no"?>
|
||||
<!--
|
||||
Font Awesome Pro 5.0.13 by @fontawesome - https://fontawesome.com
|
||||
License - https://fontawesome.com/license (Commercial License)
|
||||
Font Awesome Free 5.0.13 by @fontawesome - https://fontawesome.com
|
||||
License - https://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||
-->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<font id="fontawesome-pro" horiz-adv-x="640.4">
|
||||
<font id="fontawesome-free" horiz-adv-x="640.4">
|
||||
<font-face font-family="Font Awesome 5 Brands"
|
||||
units-per-em="512" ascent="448"
|
||||
descent="64"
|
||||
|
@ -232,9 +232,6 @@ License - https://fontawesome.com/license (Commercial License)
|
|||
<glyph glyph-name="creative-commons-share"
|
||||
unicode=""
|
||||
horiz-adv-x="496" d=" M247.6 440C389.4 440 496 329.9 496 192C496 44.9 377.5 -56 247.6 -56C113.6 -56 0 53.5 0 192C0 324.9 104.7 440 247.6 440zM248.4 395.3C130.2 395.3 44.7 297.4 44.7 192C44.7 82.2 135.9 -10.8 248.4 -10.8C351.6 -10.8 451.2 70.3 451.2 192C451.3 305.8 361 395.3 248.4 395.3zM349.4 262.9C357.2 262.9 363.1 256.8 363.1 249.2V66.7C363.1 59 357 53 349.4 53H214.3C206.6 53 200.6 59 200.6 66.7V120.7H146.6C138.8 120.7 132.9 126.7 132.9 134.4V316.9C132.9 325.1 139.5 329.6 145.3000000000001 330.6H281.7000000000001C289.4000000000001 330.6 295.4000000000001 324.6 295.4000000000001 316.9V262.9H349.4000000000001zM159.9 147.7H200.6V249.1C200.6 256.5 206.4 261.7 212.6 262.8H268.4000000000001V303.1H159.9V147.6999999999999zM336.1 235.8H227.6V80.4H336.1V235.8z" />
|
||||
<glyph glyph-name="creative-commons-zero"
|
||||
unicode=""
|
||||
horiz-adv-x="496" d=" M247.6 440C389.4 440 496 329.9 496 192C496 44.9 377.5 -56 247.6 -56C113.6 -56 0 53.5 0 192C0 324.9 104.7 440 247.6 440zM248.4 395.3C130.2 395.3 44.7 297.4 44.7 192C44.7 82.2 135.9 -10.8 248.4 -10.8C351.6 -10.8 451.2 70.3 451.2 192C451.3 305.8 361 395.3 248.4 395.3zM248 334.8C166.1 334.8 145.5 257.5 145.5 192C145.5 126.5 166.1 49.2 248 49.2S350.5 126.5 350.5 192C350.5 257.5 329.9 334.8 248 334.8zM248 280.9C251.3 280.9 254.4 280.4 257.2 279.7000000000001C263.1 274.6 266 267.6 260.3 257.8L205.8 157.6C204.1 170.3 203.9 182.7000000000001 203.9 192C203.9 220.8000000000001 205.9 280.9000000000001 248 280.9000000000001zM288.8 234.7C291.7 219.3 292.1 203.3 292.1 192C292.1 163.1 290.1 103.1 248.0000000000001 103.1C234.5000000000001 103.1 215.4 110.8 227.9000000000001 129.5L288.8 234.7z" />
|
||||
<glyph glyph-name="creative-commons"
|
||||
unicode=""
|
||||
horiz-adv-x="496" d=" M254.8 233.2L221.6 215.9C212.2 235.5 196.4 235.8 194.1 235.8C172 235.8 160.9 221.2 160.9 192C160.9 168.4 170.1 148.2 194.1 148.2C208.6 148.2 218.8 155.3 224.7 169.5L255.3 154C249.1 142.5 229.6 115 190.2 115C167.6 115 116.2 125.3 116.2 192.1C116.2 250.8 159.2 269.2 188.8 269.2C219.6 269 241.5 257.1 254.8 233.2zM397.9 233.2L365.1 215.9C355.6 235.7 339.4 235.8 337.2 235.8C315.1 235.8 304 221.2 304 192C304 168.4 313.2 148.2 337.2 148.2C351.7 148.2 361.8 155.3 367.7 169.5L398.7 154C396.6 150.3 377.3 115 333.6 115C310.9000000000001 115 259.6 124.9 259.6 192.1C259.6 250.8 302.6 269.2 332.2000000000001 269.2C363.0000000000001 269 384.9000000000001 257.1 397.9000000000001 233.2zM247.6 440C389.4 440 496 329.9 496 192C496 44.9 377.5 -56 247.6 -56C113.6 -56 0 53.5 0 192C0 324.9 104.7 440 247.6 440zM248.4 395.3C130.2 395.3 44.7 297.4 44.7 192C44.7 82.2 135.9 -10.8 248.4 -10.8C351.6 -10.8 451.2 70.3 451.2 192C451.3 305.8 361 395.3 248.4 395.3z" />
|
||||
|
|
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 |
2
public/js/app.js
vendored
2
public/js/timeline.js
vendored
|
@ -1 +1 @@
|
|||
!function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="/",t(t.s=1)}({1:function(e,n,t){e.exports=t("uOOV")},uOOV:function(e,n){$(document).ready(function(){$(".pagination").hide();var e=document.querySelector(".timeline-feed");new InfiniteScroll(e,{path:".pagination__next",append:".timeline-feed",status:".page-load-status",history:!1}).on("append",function(e,n,t){pixelfed.hydrateLikes()})})}});
|
||||
!function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="/",t(t.s=1)}({1:function(e,n,t){e.exports=t("uOOV")},uOOV:function(e,n){$(document).ready(function(){$(".pagination").hide();var e=document.querySelector(".timeline-feed");new InfiniteScroll(e,{path:".pagination__next",append:".timeline-feed",status:".page-load-status",history:!0}).on("append",function(e,n,t){pixelfed.hydrateLikes()})})}});
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"/js/app.js": "/js/app.js?id=3a0df5c7faec6dfd614c",
|
||||
"/css/app.css": "/css/app.css?id=7bd04daf2990b7aeeb70",
|
||||
"/js/timeline.js": "/js/timeline.js?id=517a55a9c8f8ae617e1b"
|
||||
"/js/app.js": "/js/app.js?id=3cc7b07981e8b77e0db0",
|
||||
"/css/app.css": "/css/app.css?id=134b6c4c418ca85001f6",
|
||||
"/js/timeline.js": "/js/timeline.js?id=fd75ed1fd763eb407607"
|
||||
}
|
1
resources/assets/js/bootstrap.js
vendored
|
@ -17,7 +17,6 @@ try {
|
|||
window.typeahead = require('./lib/typeahead');
|
||||
window.Bloodhound = require('./lib/bloodhound');
|
||||
|
||||
require('./lib/fontawesome-all');
|
||||
require('./components/localstorage');
|
||||
require('./components/likebutton');
|
||||
require('./components/commentform');
|
||||
|
|
6
resources/assets/js/components/likebutton.js
vendored
|
@ -20,7 +20,7 @@ $(document).ready(function() {
|
|||
var heart = el.find('.status-heart');
|
||||
|
||||
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');
|
||||
|
||||
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) {
|
||||
return item !== id
|
||||
});
|
||||
counter.text(count);
|
||||
action = 'unlike';
|
||||
} else {
|
||||
heart.addClass('fas fa-heart').removeClass('far fa-heart');
|
||||
heart.removeClass('far fa-heart').addClass('fas fa-heart');
|
||||
likes.push(id);
|
||||
counter.text(count);
|
||||
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 {
|
||||
color: #f70ec4!important;
|
||||
}
|
||||
|
||||
|
||||
@media (max-width: map-get($grid-breakpoints, "md")) {
|
||||
.border-md-left-0 {
|
||||
border-left:0!important
|
||||
|
|