Switch to fork-awesome font

This commit is contained in:
r 2019-12-22 19:43:03 +00:00
parent 08cc2a6ade
commit 16300c93c1
6 changed files with 41 additions and 28 deletions

View File

@ -76,7 +76,7 @@
color: #777777; color: #777777;
} }
.status-action .icon { .status-action .fa {
margin: 0 4px 0 0; margin: 0 4px 0 0;
} }
@ -84,11 +84,11 @@
width: auto; width: auto;
} }
.icon.dripicons-star.liked { .fa.liked {
color: yellow; color: yellow;
} }
.icon.dripicons-retweet.retweeted { .fa.retweeted {
color: green; color: green;
} }
@ -135,18 +135,13 @@
.retweet-info .status-profile-img { .retweet-info .status-profile-img {
height: 24px; height: 24px;
width: 24px; width: 24px;
margin-bottom: -8px; vertical-align: middle;
vertical-align: baseline;
} }
.retweet-info .status-dname{ .retweet-info .status-dname{
margin-left: 4px margin-left: 4px
} }
.retweet-info .icon.dripicons-retweet.retweeted {
vertical-align: sub;
}
.post-content { .post-content {
padding: 4px; padding: 4px;
font-size: 11pt; font-size: 11pt;
@ -187,7 +182,7 @@
font-size: 10pt font-size: 10pt
} }
.status-reply-container .icon { .status-reply-container .fa {
font-size: 10pt; font-size: 10pt;
vertical-align: sub; vertical-align: sub;
margin-right: -2px; margin-right: -2px;
@ -335,3 +330,16 @@
vertical-align: middle; vertical-align: middle;
display: inline-block; display: inline-block;
} }
.fa {
font-size: 11pt !important;
color: #444444;
}
.post-form-emoji-link {
margin-left: 8px;
}
.post-form-emoji-link i {
font-size: 14pt !important;
}

View File

@ -5,6 +5,6 @@
<meta content='width=device-width, initial-scale=1' name='viewport'> <meta content='width=device-width, initial-scale=1' name='viewport'>
<title> Web </title> <title> Web </title>
<link rel="stylesheet" href="/static/main.css" /> <link rel="stylesheet" href="/static/main.css" />
<link rel="stylesheet" href="/static/fonts/fonts.css"> <link rel="stylesheet" href="/static/fonts/fork-awesome.css">
</head> </head>
<body> <body>

View File

@ -14,7 +14,7 @@
<div> <div>
<div> <div>
<span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span> <span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span>
<span class="icon dripicons-user-group"></span> <i class="fa fa-user-plus"></i>
followed you followed you
</div> </div>
<div class="notification-follow-uname"> <div class="notification-follow-uname">
@ -36,7 +36,7 @@
<div> <div>
<div> <div>
<span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span> <span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span>
<span class="icon dripicons-retweet retweeted"></span> <i class="fa fa-retweet retweeted"></i>
retweeted your post retweeted your post
</div> </div>
{{template "status" .Status}} {{template "status" .Status}}
@ -53,7 +53,7 @@
<div> <div>
<div> <div>
<span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span> <span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span>
<span class="icon dripicons-star liked"></span> <i class="fa fa-star liked"></i>
liked your post liked your post
</div> </div>
{{template "status" .Status}} {{template "status" .Status}}

View File

@ -5,6 +5,9 @@
{{else}} {{else}}
<label for="post-content"> New post </label> <label for="post-content"> New post </label>
{{end}} {{end}}
<a class="post-form-emoji-link" href="/emojis" target="_blank">
<i class="fa fa-smile-o" title="emoji reference"></i>
</a>
<div class="post-form-content-container"> <div class="post-form-content-container">
<textarea id="post-content" name="content" class="post-content" cols="50" rows="5">{{if .ReplyContext}}{{.ReplyContext.ReplyContent}}{{end}}</textarea> <textarea id="post-content" name="content" class="post-content" cols="50" rows="5">{{if .ReplyContext}}{{.ReplyContext.ReplyContent}}{{end}}</textarea>
</div> </div>
@ -22,6 +25,8 @@
<input type="checkbox" id="nsfw-checkbox" name="is_nsfw" value="on"> <input type="checkbox" id="nsfw-checkbox" name="is_nsfw" value="on">
<label for="nsfw-checkbox"> Is NSFW </label> <label for="nsfw-checkbox"> Is NSFW </label>
</span> </span>
<span class="post-form-field">
</span>
</div> </div>
<div> <div>
<span class="post-form-field"> <span class="post-form-field">

View File

@ -5,7 +5,7 @@
<img class="status-profile-img" src="{{.Account.AvatarStatic}}" alt="avatar" /> <img class="status-profile-img" src="{{.Account.AvatarStatic}}" alt="avatar" />
</a> </a>
<span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span> <span class="status-dname"> {{EmojiFilter .Account.DisplayName .Account.Emojis}} </span>
<span class="icon dripicons-retweet retweeted"></span> <i class="fa fa-retweet retweeted"></i>
retweeted retweeted
</div> </div>
{{template "status" .Reblog}} {{template "status" .Reblog}}
@ -28,23 +28,23 @@
</a> </a>
<a class="status-visibility"> <a class="status-visibility">
{{if eq .Visibility "public"}} {{if eq .Visibility "public"}}
<span class="icon dripicons-web" title="Public"></span> <i class="fa fa-globe" title="Public"></i>
{{else if eq .Visibility "unlisted"}} {{else if eq .Visibility "unlisted"}}
<span class="icon dripicons-lock-open" title="Unlisted"></span> <i class="fa fa-unlock-alt" title="Unlisted"></i>
{{else if eq .Visibility "private"}} {{else if eq .Visibility "private"}}
<span class="icon dripicons-lock" title="Private"></span> <i class="fa fa-lock" title="Private"></i>
{{else if eq .Visibility "direct"}} {{else if eq .Visibility "direct"}}
<span class="icon dripicons-mail" title="Direct"></span> <i class="fa fa-envelop" title="Direct"></i>
{{end}} {{end}}
</a> </a>
<a class="remote-link" href="{{.URL}}" target="_blank" title="source"> <a class="remote-link" href="{{.URL}}" target="_blank" title="source">
<span class="icon dripicons-link"></span> <i class="fa fa-link"></i>
</a> </a>
</div> </div>
{{end}} {{end}}
<div class="status-reply-container"> <div class="status-reply-container">
{{if .InReplyToID}} {{if .InReplyToID}}
<span class="icon dripicons-forward"></span> <i class="fa fa-mail-forward"></i>
<a class="status-reply-to" href="{{if not .ShowReplies}}/thread/{{.InReplyToID}}{{end}}#status-{{.InReplyToID}}"> reply to {{.Pleroma.InReplyToAccountAcct}} </a> <a class="status-reply-to" href="{{if not .ShowReplies}}/thread/{{.InReplyToID}}{{end}}#status-{{.InReplyToID}}"> reply to {{.Pleroma.InReplyToAccountAcct}} </a>
{{if index .ReplyMap .ID}} <span class="status-reply-info-divider"> - </span> {{end}} {{if index .ReplyMap .ID}} <span class="status-reply-info-divider"> - </span> {{end}}
{{end}} {{end}}
@ -87,35 +87,35 @@
</div> </div>
<div class="status-action"> <div class="status-action">
<a class="status-you" href="/thread/{{.ID}}?reply=true#status-{{.ID}}" title="reply"> <a class="status-you" href="/thread/{{.ID}}?reply=true#status-{{.ID}}" title="reply">
<span class="icon dripicons-reply"></span> <i class="fa fa-reply"></i>
<span> {{DisplayInteractionCount .RepliesCount}} </span> <span> {{DisplayInteractionCount .RepliesCount}} </span>
</a> </a>
{{if or (eq .Visibility "private") (eq .Visibility "direct")}} {{if or (eq .Visibility "private") (eq .Visibility "direct")}}
<a class="status-retweet" title="this status cannot be retweeted"> <a class="status-retweet" title="this status cannot be retweeted">
<span class="icon dripicons-retweet"></span> <i class="fa fa-retweet"></i>
<span> {{DisplayInteractionCount .ReblogsCount}} </span> <span> {{DisplayInteractionCount .ReblogsCount}} </span>
</a> </a>
{{else}} {{else}}
{{if .Reblogged}} {{if .Reblogged}}
<a class="status-retweet" href="/unretweet/{{.ID}}" title="undo retweet"> <a class="status-retweet" href="/unretweet/{{.ID}}" title="undo retweet">
<span class="icon dripicons-retweet retweeted"></span> <i class="fa fa-retweet retweeted"></i>
<span> {{DisplayInteractionCount .ReblogsCount}} </span> <span> {{DisplayInteractionCount .ReblogsCount}} </span>
</a> </a>
{{else}} {{else}}
<a class="status-retweet" href="/retweet/{{.ID}}" title="retweet"> <a class="status-retweet" href="/retweet/{{.ID}}" title="retweet">
<span class="icon dripicons-retweet"></span> <i class="fa fa-retweet"></i>
<span> {{DisplayInteractionCount .ReblogsCount}} </span> <span> {{DisplayInteractionCount .ReblogsCount}} </span>
</a> </a>
{{end}} {{end}}
{{end}} {{end}}
{{if .Favourited}} {{if .Favourited}}
<a class="status-like" href="/unlike/{{.ID}}" title="unlike"> <a class="status-like" href="/unlike/{{.ID}}" title="unlike">
<span class="icon dripicons-star liked"></span> <i class="fa fa-star liked"></i>
<span> {{DisplayInteractionCount .FavouritesCount}} </span> <span> {{DisplayInteractionCount .FavouritesCount}} </span>
</a> </a>
{{else}} {{else}}
<a class="status-like" href="/like/{{.ID}}" title="like"> <a class="status-like" href="/like/{{.ID}}" title="like">
<span class="icon dripicons-star"></span> <i class="fa fa-star-o"></i>
<span> {{DisplayInteractionCount .FavouritesCount}} </span> <span> {{DisplayInteractionCount .FavouritesCount}} </span>
</a> </a>
{{end}} {{end}}

View File

@ -14,7 +14,7 @@
<span class="status-dname"> {{EmojiFilter .User.DisplayName .User.Emojis}} </span> <span class="status-dname"> {{EmojiFilter .User.DisplayName .User.Emojis}} </span>
<span class="status-uname"> {{.User.Acct}} </span> <span class="status-uname"> {{.User.Acct}} </span>
<a class="remote-link" href="{{.User.URL}}" target="_blank" title="remote profile"> <a class="remote-link" href="{{.User.URL}}" target="_blank" title="remote profile">
<span class="icon dripicons-link"></span> <i class="fa fa-link"></i>
</a> </a>
</div> </div>
<div> <div>