forked from treehouse/mastodon
Added toot visibility icons and removed Boost btn changing icon
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 });
|
menu.push({ text: intl.formatMessage(messages.report, { name: status.getIn(['account', 'username']) }), action: this.handleReport });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
if (status.get('visibility') === 'direct') {
|
if (status.get('visibility') === 'direct') {
|
||||||
reblogIcon = 'envelope';
|
reblogIcon = 'envelope';
|
||||||
} else if (status.get('visibility') === 'private') {
|
} else if (status.get('visibility') === 'private') {
|
||||||
reblogIcon = 'lock';
|
reblogIcon = 'lock';
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
if (status.get('in_reply_to_id', null) === null) {
|
if (status.get('in_reply_to_id', null) === null) {
|
||||||
replyIcon = 'reply';
|
replyIcon = 'reply';
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -611,6 +611,22 @@
|
||||||
.notification__message {
|
.notification__message {
|
||||||
margin: -10px 0 10px;
|
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 {
|
.notification-favourite {
|
||||||
|
|
Loading…
Reference in New Issue