mirror of
https://github.com/funamitech/mastodon
synced 2024-11-30 15:58:28 +09:00
Added toot visibility icons and removed Boost btn changing icon
This commit is contained in:
parent
7859e6ad45
commit
d41cec90cf
@ -122,11 +122,13 @@ export default class StatusActionBar extends ImmutablePureComponent {
|
||||
menu.push({ text: intl.formatMessage(messages.report, { name: status.getIn(['account', 'username']) }), action: this.handleReport });
|
||||
}
|
||||
|
||||
/*
|
||||
if (status.get('visibility') === 'direct') {
|
||||
reblogIcon = 'envelope';
|
||||
} else if (status.get('visibility') === 'private') {
|
||||
reblogIcon = 'lock';
|
||||
}
|
||||
*/
|
||||
|
||||
if (status.get('in_reply_to_id', null) === null) {
|
||||
replyIcon = 'reply';
|
||||
|
File diff suppressed because one or more lines are too long
@ -611,6 +611,22 @@
|
||||
.notification__message {
|
||||
margin: -10px 0 10px;
|
||||
}
|
||||
|
||||
// Visibility icons
|
||||
&::before {
|
||||
float: right;
|
||||
padding-top: 5px;
|
||||
margin-left: 8px;
|
||||
font-family: "FontAwesome";
|
||||
color: lighten($ui-base-color, 26%);
|
||||
text-align: center;
|
||||
width: 16px;
|
||||
}
|
||||
|
||||
&.status-public::before { content: "\F0AC" }
|
||||
&.status-unlisted::before { content: "\F13E" }
|
||||
&.status-private::before { content: "\F023" }
|
||||
&.status-direct::before { content: "\F0E0" }
|
||||
}
|
||||
|
||||
.notification-favourite {
|
||||
|
Loading…
Reference in New Issue
Block a user