Added toot visibility icons and removed Boost btn changing icon

remotes/1727458204337373841/tmp_refs/heads/signup-info-prompt
Ondřej Hruška 2017-07-07 09:30:25 +02:00 committed by beatrix
parent 7859e6ad45
commit d41cec90cf
3 changed files with 32 additions and 0 deletions

View File

@ -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

View File

@ -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 {