more icons

This commit is contained in:
rimu 2023-11-30 05:27:00 +13:00
parent c5f79ce1ca
commit 2fb1abbc08
4 changed files with 89 additions and 7 deletions

View file

@ -166,8 +166,17 @@
content: "\e935";
}
.fe-camera::before {
content: "\e97a";
.fe-report::before {
content: "\e967";
}
.fe-image {
position: relative;
top: 2px;
&:before {
content: "\e97a";
}
}
.fe-new-account {
@ -177,8 +186,23 @@
content: "\e986";
}
}
.fe-new-account::before {
.fe-video {
position: relative;
top: 2px;
left: 1px;
&:before {
content: "\ea05";
}
}
.fe-poll {
position: relative;
top: 2px;
left: 1px;
&:before {
content: "\e91b"; /* possibly e985 */
}
}
a.no-underline {
@ -197,3 +221,4 @@ $small_text: 87%;
fieldset legend {
font-size: inherit;
}

View file

@ -169,7 +169,15 @@ nav, etc which are used site-wide */
content: "\e935";
}
.fe-camera::before {
.fe-report::before {
content: "\e967";
}
.fe-image {
position: relative;
top: 2px;
}
.fe-image:before {
content: "\e97a";
}
@ -181,6 +189,25 @@ nav, etc which are used site-wide */
content: "\e986";
}
.fe-video {
position: relative;
top: 2px;
left: 1px;
}
.fe-video:before {
content: "\ea05";
}
.fe-poll {
position: relative;
top: 2px;
left: 1px;
}
.fe-poll:before {
content: "\e91b";
/* possibly e985 */
}
a.no-underline {
text-decoration: none;
}

View file

@ -168,7 +168,15 @@
content: "\e935";
}
.fe-camera::before {
.fe-report::before {
content: "\e967";
}
.fe-image {
position: relative;
top: 2px;
}
.fe-image:before {
content: "\e97a";
}
@ -180,6 +188,25 @@
content: "\e986";
}
.fe-video {
position: relative;
top: 2px;
left: 1px;
}
.fe-video:before {
content: "\ea05";
}
.fe-poll {
position: relative;
top: 2px;
left: 1px;
}
.fe-poll:before {
content: "\e91b";
/* possibly e985 */
}
a.no-underline {
text-decoration: none;
}

View file

@ -4,9 +4,12 @@
<div class="row main_row">
<div class="col">
<h3>
<a href="{{ url_for('community.show_post', post_id=post.id) }}">{{ post.title }}
{% if post.type == POST_TYPE_IMAGE %}<span class="fe fe-camera"> </span>{% endif %}</a>
<a href="{{ url_for('community.show_post', post_id=post.id) }}">{{ post.title }}</a>
{% if post.type == POST_TYPE_IMAGE %}<span class="fe fe-image"> </span>{% endif %}
{% if post.type == POST_TYPE_LINK and post.domain_id %}
{% if post.url and 'youtube.com' in post.url %}
<span class="fe fe-video"></span>
{% endif %}
<a href="{{ post.url }}" rel="nofollow ugc" target="_blank">
<img src="/static/images/external_link_black.svg" class="external_link_icon" alt="External link" />
</a>