diff --git a/app/soapbox/components/account.js b/app/soapbox/components/account.js index d4b616d5d..623d22d47 100644 --- a/app/soapbox/components/account.js +++ b/app/soapbox/components/account.js @@ -100,7 +100,7 @@ class Account extends ImmutablePureComponent { let emoji; if (onActionClick && actionIcon) { - buttons = ; + buttons = ; } else if (account.get('id') !== me && account.get('relationship', null) !== null) { const following = account.getIn(['relationship', 'following']); const requested = account.getIn(['relationship', 'requested']); @@ -127,7 +127,7 @@ class Account extends ImmutablePureComponent { ); } else if (!account.get('moved') || following) { - buttons = ; + buttons = ; } } @@ -144,7 +144,7 @@ class Account extends ImmutablePureComponent { const joinedAt = createdAt ? (
- +
) : null; diff --git a/app/soapbox/components/display_name.js b/app/soapbox/components/display_name.js index e35a1a60d..637508172 100644 --- a/app/soapbox/components/display_name.js +++ b/app/soapbox/components/display_name.js @@ -41,7 +41,7 @@ class DisplayName extends React.PureComponent { const joinedAt = createdAt ? (
- +
) : null; diff --git a/app/soapbox/components/status.js b/app/soapbox/components/status.js index fcdc97c9f..86d1e593a 100644 --- a/app/soapbox/components/status.js +++ b/app/soapbox/components/status.js @@ -346,7 +346,9 @@ class Status extends ImmutablePureComponent { if (featured) { prepend = (
-
+
+ +
); @@ -355,7 +357,9 @@ class Status extends ImmutablePureComponent { prepend = (
-
+
+ +
diff --git a/app/soapbox/features/admin/components/admin_nav.js b/app/soapbox/features/admin/components/admin_nav.js index 1c0a17ea9..acf7c1f62 100644 --- a/app/soapbox/features/admin/components/admin_nav.js +++ b/app/soapbox/features/admin/components/admin_nav.js @@ -30,16 +30,16 @@ class AdminNav extends React.PureComponent {
- + - + {((instance.get('registrations') && instance.get('approval_required')) || approvalCount > 0) && ( - + )} diff --git a/app/soapbox/features/admin/components/latest_accounts_panel.js b/app/soapbox/features/admin/components/latest_accounts_panel.js index d08023b31..55f64079d 100644 --- a/app/soapbox/features/admin/components/latest_accounts_panel.js +++ b/app/soapbox/features/admin/components/latest_accounts_panel.js @@ -69,7 +69,7 @@ class LatestAccountsPanel extends ImmutablePureComponent { return ( {account.getIn(['pleroma', 'admin', 'registration_reason'])}
- - + +
); diff --git a/app/soapbox/features/crypto_donate/components/crypto_address.js b/app/soapbox/features/crypto_donate/components/crypto_address.js index f525c4c64..73294b8f3 100644 --- a/app/soapbox/features/crypto_donate/components/crypto_address.js +++ b/app/soapbox/features/crypto_donate/components/crypto_address.js @@ -39,10 +39,10 @@ class CryptoAddress extends ImmutablePureComponent {
{title || ticker.toUpperCase()}
- + {explorerUrl && - + }
diff --git a/app/soapbox/features/crypto_donate/components/detailed_crypto_address.js b/app/soapbox/features/crypto_donate/components/detailed_crypto_address.js index 3dcc67921..2542f6ea5 100644 --- a/app/soapbox/features/crypto_donate/components/detailed_crypto_address.js +++ b/app/soapbox/features/crypto_donate/components/detailed_crypto_address.js @@ -32,7 +32,7 @@ export default class DetailedCryptoAddress extends ImmutablePureComponent {
{title || ticker.toUpperCase()}
{explorerUrl && - + }
diff --git a/app/soapbox/features/groups/removed_accounts/index.js b/app/soapbox/features/groups/removed_accounts/index.js index 02f87630d..d4d77a0fb 100644 --- a/app/soapbox/features/groups/removed_accounts/index.js +++ b/app/soapbox/features/groups/removed_accounts/index.js @@ -81,7 +81,7 @@ class GroupRemovedAccounts extends ImmutablePureComponent { {accountIds.map(id => ())} diff --git a/app/soapbox/features/notifications/components/notification.js b/app/soapbox/features/notifications/components/notification.js index 82a912a26..fd9ab525b 100644 --- a/app/soapbox/features/notifications/components/notification.js +++ b/app/soapbox/features/notifications/components/notification.js @@ -265,7 +265,7 @@ class Notification extends ImmutablePureComponent {
- +
diff --git a/app/soapbox/features/status/components/status_interaction_bar.js b/app/soapbox/features/status/components/status_interaction_bar.js index 186bec37d..0fea9f97b 100644 --- a/app/soapbox/features/status/components/status_interaction_bar.js +++ b/app/soapbox/features/status/components/status_interaction_bar.js @@ -47,7 +47,7 @@ class StatusInteractionBar extends ImmutablePureComponent { if (status.get('reblogs_count')) { return ( - + diff --git a/app/soapbox/features/ui/components/account_list_panel.js b/app/soapbox/features/ui/components/account_list_panel.js index 2cac1c928..80353ce96 100644 --- a/app/soapbox/features/ui/components/account_list_panel.js +++ b/app/soapbox/features/ui/components/account_list_panel.js @@ -34,7 +34,7 @@ export default class AccountListPanel extends ImmutablePureComponent { return (
- + {title} diff --git a/app/soapbox/features/ui/components/profile_info_panel.js b/app/soapbox/features/ui/components/profile_info_panel.js index 89e34e493..b2e71fba1 100644 --- a/app/soapbox/features/ui/components/profile_info_panel.js +++ b/app/soapbox/features/ui/components/profile_info_panel.js @@ -136,7 +136,7 @@ class ProfileInfoPanel extends ImmutablePureComponent { } {isLocal(account) &&
- +
- + diff --git a/app/soapbox/features/ui/components/who_to_follow_panel.js b/app/soapbox/features/ui/components/who_to_follow_panel.js index 31e87991d..34bac9e81 100644 --- a/app/soapbox/features/ui/components/who_to_follow_panel.js +++ b/app/soapbox/features/ui/components/who_to_follow_panel.js @@ -36,7 +36,7 @@ class WhoToFollowPanel extends ImmutablePureComponent { return (
- + @@ -47,7 +47,7 @@ class WhoToFollowPanel extends ImmutablePureComponent { diff --git a/app/soapbox/features/video/index.js b/app/soapbox/features/video/index.js index e59ceaba3..35312e8ab 100644 --- a/app/soapbox/features/video/index.js +++ b/app/soapbox/features/video/index.js @@ -469,8 +469,8 @@ class Video extends React.PureComponent {
- - + +
@@ -493,10 +493,10 @@ class Video extends React.PureComponent {
- {!onCloseVideo && } - {(!fullscreen && onOpenVideo) && } - {onCloseVideo && } - + {!onCloseVideo && } + {(!fullscreen && onOpenVideo) && } + {onCloseVideo && } +
diff --git a/app/styles/accounts.scss b/app/styles/accounts.scss index e31514b07..fe5cfee01 100644 --- a/app/styles/accounts.scss +++ b/app/styles/accounts.scss @@ -286,10 +286,13 @@ a .account__avatar { height: auto; padding: 0 0 0 5px; position: relative; + display: flex; + align-items: center; + justify-content: center; - .dismiss-account-btn { - display: block; - margin-bottom: 5px; + .svg-icon { + width: 20px; + height: 20px; } } @@ -546,7 +549,7 @@ a .account__avatar { flex-shrink: 0; color: var(--primary-text-color--faint); - i.fa-calendar { - padding-right: 5px; + .svg-icon { + padding-right: 3px; } } diff --git a/app/styles/components/crypto-donate.scss b/app/styles/components/crypto-donate.scss index 4c42ccdeb..8b924e2f8 100644 --- a/app/styles/components/crypto-donate.scss +++ b/app/styles/components/crypto-donate.scss @@ -35,11 +35,12 @@ a { color: var(--primary-text-color--faint); - margin-left: 10px; + margin-left: 8px; } - i.fa { - font-size: 20px; + .svg-icon { + width: 18px; + height: 18px; } } @@ -69,6 +70,11 @@ background: var(--foreground-color); border-radius: 8px; padding-bottom: 13px; + + .crypto-address__actions .svg-icon { + width: 22px; + height: 22px; + } } .profile-info-panel-content__fields { diff --git a/app/styles/components/icon.scss b/app/styles/components/icon.scss index 1c3e07400..263230066 100644 --- a/app/styles/components/icon.scss +++ b/app/styles/components/icon.scss @@ -37,3 +37,7 @@ align-items: center; justify-content: center; } + +.lineawesome--gavel path { + fill: currentColor; +} diff --git a/app/styles/components/profile-info-panel.scss b/app/styles/components/profile-info-panel.scss index 62ed39adc..4be0aff6c 100644 --- a/app/styles/components/profile-info-panel.scss +++ b/app/styles/components/profile-info-panel.scss @@ -29,9 +29,11 @@ align-items: center; line-height: normal; - .fa { - margin-right: 8px; - font-size: 20px; + .svg-icon { + width: 22px; + height: 22px; + margin-right: 5px; + transform: translateY(-1px); } } diff --git a/app/styles/components/profile-media-panel.scss b/app/styles/components/profile-media-panel.scss index 7d0b63f06..782cbc275 100644 --- a/app/styles/components/profile-media-panel.scss +++ b/app/styles/components/profile-media-panel.scss @@ -18,13 +18,18 @@ .media-panel-header { display: flex; - align-items: baseline; + align-items: center; margin-bottom: 10px; padding: 15px 15px 0; &__icon { margin-right: 10px; font-size: 20px; + + &.svg-icon { + width: 20px; + height: 20px; + } } &__label { diff --git a/app/styles/components/promo-panel.scss b/app/styles/components/promo-panel.scss index ff89fae33..0e6acd13f 100644 --- a/app/styles/components/promo-panel.scss +++ b/app/styles/components/promo-panel.scss @@ -30,6 +30,11 @@ } } + i.fa { + font-size: 22px; + margin-right: 10px; + } + .svg-icon { width: 24px; height: 24px; diff --git a/app/styles/components/video-player.scss b/app/styles/components/video-player.scss index 25f3d3402..3122849a4 100644 --- a/app/styles/components/video-player.scss +++ b/app/styles/components/video-player.scss @@ -211,11 +211,16 @@ outline: 0; flex: 0 0 auto; background: transparent; - padding: 5px; + padding: 5px 6px; font-size: 16px; border: 0; color: rgba(#fff, 0.75); + .svg-icon { + width: 20px; + height: 20px; + } + &:active, &:hover, &:focus {