From 021fedeb2a19c73df654f3a9afd7b1cadcbeb75e Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Tue, 16 Apr 2019 14:45:58 -0500 Subject: Replace `fa-retweet` SVG with `fa-repeat` Unicode glyph. --- .../flavours/glitch/components/status_action_bar.js | 2 +- .../flavours/glitch/components/status_prepend.js | 2 +- .../flavours/glitch/features/reblogs/index.js | 2 +- .../glitch/features/status/components/action_bar.js | 2 +- .../flavours/glitch/styles/components/boost.scss | 21 --------------------- .../flavours/glitch/styles/components/index.scss | 5 ----- 6 files changed, 4 insertions(+), 30 deletions(-) delete mode 100644 app/javascript/flavours/glitch/styles/components/boost.scss (limited to 'app/javascript/flavours') diff --git a/app/javascript/flavours/glitch/components/status_action_bar.js b/app/javascript/flavours/glitch/components/status_action_bar.js index dbc39d587..f753bb6be 100644 --- a/app/javascript/flavours/glitch/components/status_action_bar.js +++ b/app/javascript/flavours/glitch/components/status_action_bar.js @@ -197,7 +197,7 @@ export default class StatusActionBar extends ImmutablePureComponent { const reblogMessage = status.get('visibility') === 'private' ? messages.reblog_private : messages.reblog; let menu = []; - let reblogIcon = 'retweet'; + let reblogIcon = 'repeat'; let replyIcon; let replyTitle; diff --git a/app/javascript/flavours/glitch/components/status_prepend.js b/app/javascript/flavours/glitch/components/status_prepend.js index 481e6644e..3b83dd943 100644 --- a/app/javascript/flavours/glitch/components/status_prepend.js +++ b/app/javascript/flavours/glitch/components/status_prepend.js @@ -82,7 +82,7 @@ export default class StatusPrepend extends React.PureComponent {
diff --git a/app/javascript/flavours/glitch/features/reblogs/index.js b/app/javascript/flavours/glitch/features/reblogs/index.js index e007506b7..1488c09e7 100644 --- a/app/javascript/flavours/glitch/features/reblogs/index.js +++ b/app/javascript/flavours/glitch/features/reblogs/index.js @@ -67,7 +67,7 @@ export default class Reblogs extends ImmutablePureComponent { return ( ); - let reblogIcon = 'retweet'; + let reblogIcon = 'repeat'; //if (status.get('visibility') === 'direct') reblogIcon = 'envelope'; // else if (status.get('visibility') === 'private') reblogIcon = 'lock'; diff --git a/app/javascript/flavours/glitch/styles/components/boost.scss b/app/javascript/flavours/glitch/styles/components/boost.scss deleted file mode 100644 index f1ad041e9..000000000 --- a/app/javascript/flavours/glitch/styles/components/boost.scss +++ /dev/null @@ -1,21 +0,0 @@ -button.icon-button i.fa-retweet { - background-image: url("data:image/svg+xml;utf8,"); - - &:hover { - background-image: url("data:image/svg+xml;utf8,"); - } -} - -// Disabled variant -button.icon-button.disabled i.fa-retweet { - &, &:hover { - background-image: url("data:image/svg+xml;utf8,"); - } -} - -// Disabled variant for use with DMs -.status-direct button.icon-button.disabled i.fa-retweet { - &, &:hover { - background-image: url("data:image/svg+xml;utf8,"); - } -} diff --git a/app/javascript/flavours/glitch/styles/components/index.scss b/app/javascript/flavours/glitch/styles/components/index.scss index 63211392e..553161add 100644 --- a/app/javascript/flavours/glitch/styles/components/index.scss +++ b/app/javascript/flavours/glitch/styles/components/index.scss @@ -869,10 +869,6 @@ transition-duration: 0s; vertical-align: middle; width: 22px; - - &::before { - display: none !important; - } } .no-reduce-motion button.icon-button.active i.fa-retweet { @@ -1304,7 +1300,6 @@ noscript { 100% { opacity: 1; } } -@import 'boost'; @import 'accounts'; @import 'domains'; @import 'status'; -- cgit