mirror of https://gitlab.com/bashrc2/epicyon
Style of scope icon
parent
0a5abcdd1c
commit
eac063e86d
|
@ -758,6 +758,15 @@ a:focus {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.container img.postScopeIcon {
|
||||||
|
float: none;
|
||||||
|
width: 30px;
|
||||||
|
margin: 0 0;
|
||||||
|
padding: 0 0;
|
||||||
|
border-radius: 0;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
.container.darker {
|
.container.darker {
|
||||||
background-color: var(--main-bg-color-reply);
|
background-color: var(--main-bg-color-reply);
|
||||||
}
|
}
|
||||||
|
|
|
@ -2188,17 +2188,17 @@ def individual_post_as_html(signing_priv_key_pem: str,
|
||||||
if is_followers_post(post_json_object):
|
if is_followers_post(post_json_object):
|
||||||
title_str += \
|
title_str += \
|
||||||
' <img loading="lazy" decoding="async" src="/' + \
|
' <img loading="lazy" decoding="async" src="/' + \
|
||||||
'icons/scope_followers.png" class="DMicon" title="' + \
|
'icons/scope_followers.png" class="postScopeIcon" title="' + \
|
||||||
translate['Followers'] + '"/>\n'
|
translate['Followers'] + '"/>\n'
|
||||||
elif is_unlisted_post(post_json_object):
|
elif is_unlisted_post(post_json_object):
|
||||||
title_str += \
|
title_str += \
|
||||||
' <img loading="lazy" decoding="async" src="/' + \
|
' <img loading="lazy" decoding="async" src="/' + \
|
||||||
'icons/scope_unlisted.png" class="DMicon" title="' + \
|
'icons/scope_unlisted.png" class="postScopeIcon" title="' + \
|
||||||
translate['Unlisted'] + '"/>\n'
|
translate['Unlisted'] + '"/>\n'
|
||||||
elif is_reminder(post_json_object):
|
elif is_reminder(post_json_object):
|
||||||
title_str += \
|
title_str += \
|
||||||
' <img loading="lazy" decoding="async" src="/' + \
|
' <img loading="lazy" decoding="async" src="/' + \
|
||||||
'icons/scope_reminder.png" class="DMicon" title="' + \
|
'icons/scope_reminder.png" class="postScopeIcon" title="' + \
|
||||||
translate['Reminder'] + '"/>\n'
|
translate['Reminder'] + '"/>\n'
|
||||||
|
|
||||||
display_name = get_display_name(base_dir, post_actor, person_cache)
|
display_name = get_display_name(base_dir, post_actor, person_cache)
|
||||||
|
|
Loading…
Reference in New Issue