diff --git a/src/App.scss b/src/App.scss index ca7d33cd..ef2a13b1 100644 --- a/src/App.scss +++ b/src/App.scss @@ -33,6 +33,7 @@ h4 { max-width: 980px; align-content: flex-start; } + .underlay { background-color: rgba(0,0,0,0.15); background-color: var(--underlay, rgba(0,0,0,0.15)); @@ -69,7 +70,7 @@ a { color: var(--link, $fallback--link); } -button { +.button-default { user-select: none; color: $fallback--text; color: var(--btnText, $fallback--text); @@ -85,7 +86,9 @@ button { font-family: sans-serif; font-family: var(--interfaceFont, sans-serif); - i[class*=icon-], .svg-inline--fa { + i[class*=icon-], + :not(&.-icon), + .svg-inline--fa { color: $fallback--text; color: var(--btnText, $fallback--text); } @@ -149,6 +152,29 @@ button { } } +.button-unstyled { + background: none; + border: none; + outline: none; + display: inline; + text-align: initial; + font-size: 100%; + font-family: inherit; + padding: 0; + line-height: unset; + cursor: pointer; + + &.-link { + color: $fallback--link; + color: var(--link, $fallback--link); + } + + &.-padded { + padding: 5px; + margin: -5px; + } +} + input, textarea, .select, .input { &.unstyled { @@ -797,7 +823,7 @@ nav { } } -.btn.btn-default { +.btn.button-default { min-height: 28px; } diff --git a/src/components/account_actions/account_actions.vue b/src/components/account_actions/account_actions.vue index e3ae376e..c10b09b8 100644 --- a/src/components/account_actions/account_actions.vue +++ b/src/components/account_actions/account_actions.vue @@ -13,14 +13,14 @@ {{ $t('user_card.hide_repeats') }} {{ $t('user_card.show_repeats') }} @@ -32,27 +32,27 @@ {{ $t('user_card.unblock') }} {{ $t('user_card.block') }} {{ $t('user_card.report') }} {{ $t('user_card.message') }} @@ -61,7 +61,7 @@ {{ $t('general.retry') }} diff --git a/src/components/attachment/attachment.js b/src/components/attachment/attachment.js index 3877b67f..5f5779a0 100644 --- a/src/components/attachment/attachment.js +++ b/src/components/attachment/attachment.js @@ -9,7 +9,8 @@ import { faMusic, faImage, faVideo, - faPlayCircle + faPlayCircle, + faTimes } from '@fortawesome/free-solid-svg-icons' library.add( @@ -17,7 +18,8 @@ library.add( faMusic, faImage, faVideo, - faPlayCircle + faPlayCircle, + faTimes ) const Attachment = { diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue index f1fac2c8..b072b170 100644 --- a/src/components/attachment/attachment.vue +++ b/src/components/attachment/attachment.vue @@ -42,15 +42,13 @@ icon="play-circle" /> - - Hide - + + @@ -16,7 +16,7 @@ diff --git a/src/components/chat_list/chat_list.vue b/src/components/chat_list/chat_list.vue index 17e2f795..e23eec13 100644 --- a/src/components/chat_list/chat_list.vue +++ b/src/components/chat_list/chat_list.vue @@ -10,7 +10,10 @@ {{ $t("chats.chats") }} - + {{ $t("chats.new") }} diff --git a/src/components/chat_message/chat_message.scss b/src/components/chat_message/chat_message.scss index 5af744a3..e4351d3b 100644 --- a/src/components/chat_message/chat_message.scss +++ b/src/components/chat_message/chat_message.scss @@ -31,9 +31,6 @@ color: $fallback--text; color: var(--text, $fallback--text); } - - border-radius: $fallback--chatMessageRadius; - border-radius: var(--chatMessageRadius, $fallback--chatMessageRadius); } .popover { diff --git a/src/components/chat_message/chat_message.vue b/src/components/chat_message/chat_message.vue index 3849ab6e..0777f880 100644 --- a/src/components/chat_message/chat_message.vue +++ b/src/components/chat_message/chat_message.vue @@ -53,7 +53,7 @@ {{ $t("chats.delete") }} @@ -62,7 +62,7 @@ diff --git a/src/components/conversation/conversation.vue b/src/components/conversation/conversation.vue index fd0dfa8f..353859b8 100644 --- a/src/components/conversation/conversation.vue +++ b/src/components/conversation/conversation.vue @@ -10,12 +10,13 @@ class="panel-heading conversation-heading" > {{ $t('timeline.conversation') }} - - {{ $t('timeline.collapse') }} - + + {{ $t('timeline.collapse') }} + - - + - + + + + > + + diff --git a/src/components/domain_mute_card/domain_mute_card.vue b/src/components/domain_mute_card/domain_mute_card.vue index 97aee243..3b5aec14 100644 --- a/src/components/domain_mute_card/domain_mute_card.vue +++ b/src/components/domain_mute_card/domain_mute_card.vue @@ -6,7 +6,7 @@ {{ $t('domain_mute_card.unmute') }} @@ -16,7 +16,7 @@ {{ $t('domain_mute_card.mute') }} diff --git a/src/components/emoji_reactions/emoji_reactions.vue b/src/components/emoji_reactions/emoji_reactions.vue index 2f14b5b2..51d50359 100644 --- a/src/components/emoji_reactions/emoji_reactions.vue +++ b/src/components/emoji_reactions/emoji_reactions.vue @@ -6,7 +6,7 @@ :users="accountsForEmoji[reaction.name]" > {{ exportLabel }} {{ importLabel }} diff --git a/src/components/exporter/exporter.vue b/src/components/exporter/exporter.vue index ecd71bf1..d6a03088 100644 --- a/src/components/exporter/exporter.vue +++ b/src/components/exporter/exporter.vue @@ -11,7 +11,7 @@ {{ exportButtonLabel }} diff --git a/src/components/extra_buttons/extra_buttons.vue b/src/components/extra_buttons/extra_buttons.vue index a33f6e87..5c9e1963 100644 --- a/src/components/extra_buttons/extra_buttons.vue +++ b/src/components/extra_buttons/extra_buttons.vue @@ -12,7 +12,7 @@ @@ -43,7 +43,7 @@ @@ -54,7 +54,7 @@ @@ -65,7 +65,7 @@ @@ -76,7 +76,7 @@ @@ -86,7 +86,7 @@ />{{ $t("status.delete") }} @@ -97,12 +97,15 @@ - + - + @@ -115,8 +118,7 @@ cursor: pointer; position: static; - &:hover, - .extra-button-popover.open & { + &:hover .svg-inline--fa { color: $fallback--text; color: var(--text, $fallback--text); } diff --git a/src/components/favorite_button/favorite_button.js b/src/components/favorite_button/favorite_button.js index 2a2ee84a..5cd05f73 100644 --- a/src/components/favorite_button/favorite_button.js +++ b/src/components/favorite_button/favorite_button.js @@ -31,11 +31,6 @@ const FavoriteButton = { } }, computed: { - classes () { - return { - '-favorited': this.status.favorited - } - }, ...mapGetters(['mergedConfig']) } } diff --git a/src/components/favorite_button/favorite_button.vue b/src/components/favorite_button/favorite_button.vue index dfe12f86..d54ae78c 100644 --- a/src/components/favorite_button/favorite_button.vue +++ b/src/components/favorite_button/favorite_button.vue @@ -1,18 +1,20 @@ - - + - {{ status.fave_num }} - - + > + + diff --git a/src/components/follow_button/follow_button.vue b/src/components/follow_button/follow_button.vue index bfdc137b..7f85f1d7 100644 --- a/src/components/follow_button/follow_button.vue +++ b/src/components/follow_button/follow_button.vue @@ -1,6 +1,6 @@ {{ $t('user_card.approve') }} {{ $t('user_card.deny') }} diff --git a/src/components/image_cropper/image_cropper.vue b/src/components/image_cropper/image_cropper.vue index 75def612..448461b4 100644 --- a/src/components/image_cropper/image_cropper.vue +++ b/src/components/image_cropper/image_cropper.vue @@ -11,21 +11,21 @@ {{ submitButtonLabel }} diff --git a/src/components/login_form/login_form.vue b/src/components/login_form/login_form.vue index a1f77210..bfabb946 100644 --- a/src/components/login_form/login_form.vue +++ b/src/components/login_form/login_form.vue @@ -61,7 +61,7 @@ {{ $t('login.login') }} diff --git a/src/components/media_upload/media_upload.vue b/src/components/media_upload/media_upload.vue index 88251a26..e955aa72 100644 --- a/src/components/media_upload/media_upload.vue +++ b/src/components/media_upload/media_upload.vue @@ -1,33 +1,29 @@ - - + + - - - - - + @@ -36,12 +32,6 @@ @import '../../_variables.scss'; .media-upload { - .label { - display: inline-block; - } - - .new-icon { - cursor: pointer; - } + cursor: pointer; } diff --git a/src/components/mfa_form/recovery_form.vue b/src/components/mfa_form/recovery_form.vue index 78953649..0bf68e27 100644 --- a/src/components/mfa_form/recovery_form.vue +++ b/src/components/mfa_form/recovery_form.vue @@ -23,23 +23,23 @@ - {{ $t('login.enter_two_factor_code') }} - + - {{ $t('general.cancel') }} - + {{ $t('general.verify') }} diff --git a/src/components/mfa_form/totp_form.vue b/src/components/mfa_form/totp_form.vue index 9401cad5..79230148 100644 --- a/src/components/mfa_form/totp_form.vue +++ b/src/components/mfa_form/totp_form.vue @@ -25,23 +25,23 @@ - {{ $t('login.enter_recovery_code') }} - + - {{ $t('general.cancel') }} - + {{ $t('general.verify') }} diff --git a/src/components/mobile_nav/mobile_nav.vue b/src/components/mobile_nav/mobile_nav.vue index 5304a500..0f0ea457 100644 --- a/src/components/mobile_nav/mobile_nav.vue +++ b/src/components/mobile_nav/mobile_nav.vue @@ -9,9 +9,8 @@ @click="scrollToTop()" > - - + - - + diff --git a/src/components/moderation_tools/moderation_tools.vue b/src/components/moderation_tools/moderation_tools.vue index 60fa6ceb..0ae9246b 100644 --- a/src/components/moderation_tools/moderation_tools.vue +++ b/src/components/moderation_tools/moderation_tools.vue @@ -124,7 +124,7 @@ {{ $t('user_card.admin_menu.moderation') }} @@ -141,13 +141,13 @@ {{ $t('user_card.admin_menu.delete_user_confirmation') }} {{ $t('general.cancel') }} {{ $t('user_card.admin_menu.delete_user') }} diff --git a/src/components/mute_card/mute_card.vue b/src/components/mute_card/mute_card.vue index 9611fb82..ca33c6c5 100644 --- a/src/components/mute_card/mute_card.vue +++ b/src/components/mute_card/mute_card.vue @@ -3,7 +3,7 @@ @@ -16,7 +16,7 @@ diff --git a/src/components/notification/notification.vue b/src/components/notification/notification.vue index 2bbde108..ba3648fd 100644 --- a/src/components/notification/notification.vue +++ b/src/components/notification/notification.vue @@ -14,14 +14,13 @@ {{ notification.from_profile.screen_name }} - + /> - + /> {{ $t('notifications.read') }} @@ -41,15 +41,15 @@ > {{ $t('notifications.no_more_notifications') }} - - + {{ $t('post_status.posting') }} {{ $t('general.submit') }} @@ -282,7 +278,7 @@ diff --git a/src/components/react_button/react_button.vue b/src/components/react_button/react_button.vue index e508a3e9..ea4a8a9b 100644 --- a/src/components/react_button/react_button.vue +++ b/src/components/react_button/react_button.vue @@ -38,13 +38,16 @@ - + - + @@ -105,7 +108,7 @@ .add-reaction-button { cursor: pointer; - &:hover { + &:hover .svg-inline--fa { color: $fallback--text; color: var(--text, $fallback--text); } diff --git a/src/components/registration/registration.vue b/src/components/registration/registration.vue index a83ca1e5..100df0d6 100644 --- a/src/components/registration/registration.vue +++ b/src/components/registration/registration.vue @@ -211,7 +211,7 @@ {{ $t('general.submit') }} diff --git a/src/components/reply_button/reply_button.vue b/src/components/reply_button/reply_button.vue index a0ac8941..1b02881a 100644 --- a/src/components/reply_button/reply_button.vue +++ b/src/components/reply_button/reply_button.vue @@ -1,13 +1,17 @@ - + > + + - - + + - {{ status.repeat_num }} - - - - - - + + @@ -38,18 +38,16 @@ .RetweetButton { &.-interactive { - cursor: pointer; - animation-duration: 0.6s; - &:hover { + .svg-inline--fa { + animation-duration: 0.6s; + } + + &:hover .svg-inline--fa, + &.-repeated .svg-inline--fa { color: $fallback--cGreen; color: var(--cGreen, $fallback--cGreen); } } - - &.-repeated { - color: $fallback--cGreen; - color: var(--cGreen, $fallback--cGreen); - } } diff --git a/src/components/search_bar/search_bar.vue b/src/components/search_bar/search_bar.vue index 89a601c8..6cf9179e 100644 --- a/src/components/search_bar/search_bar.vue +++ b/src/components/search_bar/search_bar.vue @@ -3,17 +3,18 @@ class="SearchBar" :class="{ '-expanded': !hidden }" > - + > + + - + - + @@ -69,8 +72,11 @@ flex: 1 0 auto; } + .cancel-search { + height: 50px; + } + .cancel-icon { - cursor: pointer; color: $fallback--text; color: var(--btnTopBarText, $fallback--text); } diff --git a/src/components/settings_modal/settings_modal.vue b/src/components/settings_modal/settings_modal.vue index 6bc64ed0..552ca41f 100644 --- a/src/components/settings_modal/settings_modal.vue +++ b/src/components/settings_modal/settings_modal.vue @@ -30,13 +30,13 @@ {{ $t('general.peek') }} {{ $t('general.close') }} diff --git a/src/components/settings_modal/tabs/mutes_and_blocks_tab.vue b/src/components/settings_modal/tabs/mutes_and_blocks_tab.vue index 5a1cf2c0..63d36bf9 100644 --- a/src/components/settings_modal/tabs/mutes_and_blocks_tab.vue +++ b/src/components/settings_modal/tabs/mutes_and_blocks_tab.vue @@ -27,7 +27,7 @@ {{ $t('user_card.block') }} @@ -37,7 +37,7 @@ {{ $t('user_card.unblock') }} @@ -85,7 +85,7 @@ {{ $t('user_card.mute') }} @@ -95,7 +95,7 @@ {{ $t('user_card.unmute') }} @@ -141,7 +141,7 @@ {{ $t('domain_mute_card.unmute') }} diff --git a/src/components/settings_modal/tabs/notifications_tab.vue b/src/components/settings_modal/tabs/notifications_tab.vue index 86eed3f5..8f8fe48e 100644 --- a/src/components/settings_modal/tabs/notifications_tab.vue +++ b/src/components/settings_modal/tabs/notifications_tab.vue @@ -21,7 +21,7 @@ {{ $t('settings.notification_mutes') }} {{ $t('settings.notification_blocks') }} {{ $t('general.submit') }} diff --git a/src/components/settings_modal/tabs/profile_tab.vue b/src/components/settings_modal/tabs/profile_tab.vue index d62bc392..50d3ee63 100644 --- a/src/components/settings_modal/tabs/profile_tab.vue +++ b/src/components/settings_modal/tabs/profile_tab.vue @@ -150,7 +150,7 @@ {{ $t('general.submit') }} @@ -179,7 +179,7 @@ {{ $t('settings.upload_a_photo') }} @@ -224,7 +224,7 @@ /> {{ $t('general.submit') }} @@ -274,7 +274,7 @@ /> {{ $t('general.submit') }} diff --git a/src/components/settings_modal/tabs/security_tab/confirm.vue b/src/components/settings_modal/tabs/security_tab/confirm.vue index 69b3811b..38c2a610 100644 --- a/src/components/settings_modal/tabs/security_tab/confirm.vue +++ b/src/components/settings_modal/tabs/security_tab/confirm.vue @@ -2,14 +2,14 @@ {{ $t('general.confirm') }} diff --git a/src/components/settings_modal/tabs/security_tab/mfa.vue b/src/components/settings_modal/tabs/security_tab/mfa.vue index 7aca3c8d..455d17b6 100644 --- a/src/components/settings_modal/tabs/security_tab/mfa.vue +++ b/src/components/settings_modal/tabs/security_tab/mfa.vue @@ -29,7 +29,7 @@ /> {{ $t('settings.mfa.generate_new_recovery_codes') }} @@ -61,7 +61,7 @@ {{ $t('general.cancel') }} @@ -69,7 +69,7 @@ {{ $t('settings.mfa.setup_otp') }} @@ -108,13 +108,13 @@ > {{ $t('settings.mfa.confirm_and_enable') }} {{ $t('general.cancel') }} diff --git a/src/components/settings_modal/tabs/security_tab/mfa_totp.vue b/src/components/settings_modal/tabs/security_tab/mfa_totp.vue index c6f2cc7b..8e767bd0 100644 --- a/src/components/settings_modal/tabs/security_tab/mfa_totp.vue +++ b/src/components/settings_modal/tabs/security_tab/mfa_totp.vue @@ -4,7 +4,7 @@ {{ $t('settings.mfa.otp') }} {{ $t('general.enable') }} @@ -12,7 +12,7 @@ diff --git a/src/components/settings_modal/tabs/security_tab/security_tab.vue b/src/components/settings_modal/tabs/security_tab/security_tab.vue index 3d32d73d..56bea1f4 100644 --- a/src/components/settings_modal/tabs/security_tab/security_tab.vue +++ b/src/components/settings_modal/tabs/security_tab/security_tab.vue @@ -19,7 +19,7 @@ > {{ $t('general.submit') }} @@ -57,7 +57,7 @@ > {{ $t('general.submit') }} @@ -92,7 +92,7 @@ {{ oauthToken.validUntil }} {{ $t('settings.revoke_token') }} @@ -116,7 +116,7 @@ type="password" > {{ $t('settings.delete_account') }} @@ -130,7 +130,7 @@ {{ $t('general.submit') }} diff --git a/src/components/settings_modal/tabs/theme_tab/preview.vue b/src/components/settings_modal/tabs/theme_tab/preview.vue index 02fea0b6..7ac7b9d3 100644 --- a/src/components/settings_modal/tabs/theme_tab/preview.vue +++ b/src/components/settings_modal/tabs/theme_tab/preview.vue @@ -15,7 +15,7 @@ {{ $t('settings.style.preview.error') }} - + {{ $t('settings.style.preview.button') }} @@ -102,7 +102,7 @@ > {{ $t('settings.style.preview.checkbox') }} - + {{ $t('settings.style.preview.button') }} diff --git a/src/components/settings_modal/tabs/theme_tab/theme_tab.vue b/src/components/settings_modal/tabs/theme_tab/theme_tab.vue index 280e1955..4ab793d6 100644 --- a/src/components/settings_modal/tabs/theme_tab/theme_tab.vue +++ b/src/components/settings_modal/tabs/theme_tab/theme_tab.vue @@ -12,13 +12,13 @@ {{ $t('settings.style.switcher.use_source') }} {{ $t('settings.style.switcher.use_snapshot') }} @@ -26,7 +26,7 @@ {{ $t('general.dismiss') }} @@ -34,13 +34,13 @@ {{ $t('settings.style.switcher.load_theme') }} {{ $t('settings.style.switcher.keep_as_is') }} @@ -131,13 +131,13 @@ {{ $t('settings.theme_help') }} {{ $t('settings.style.switcher.clear_opacity') }} {{ $t('settings.style.switcher.clear_all') }} @@ -238,13 +238,13 @@ {{ $t('settings.theme_help') }} {{ $t('settings.style.switcher.clear_opacity') }} {{ $t('settings.style.switcher.clear_all') }} @@ -806,7 +806,7 @@ {{ $t('settings.radii_help') }} {{ $t('settings.style.switcher.clear_all') }} @@ -936,7 +936,7 @@ /> {{ $t('settings.style.switcher.clear_all') }} @@ -980,7 +980,7 @@ {{ $t('settings.style.fonts.help') }} {{ $t('settings.style.switcher.clear_all') }} @@ -1017,14 +1017,14 @@ {{ $t('general.apply') }} {{ $t('settings.style.switcher.reset') }} diff --git a/src/components/shadow_control/shadow_control.vue b/src/components/shadow_control/shadow_control.vue index 78f0e544..37d491f0 100644 --- a/src/components/shadow_control/shadow_control.vue +++ b/src/components/shadow_control/shadow_control.vue @@ -84,7 +84,7 @@ /> @@ -94,7 +94,7 @@ /> @@ -104,7 +104,7 @@ /> @@ -114,7 +114,7 @@ /> diff --git a/src/components/side_drawer/side_drawer.vue b/src/components/side_drawer/side_drawer.vue index 28c888fe..1c14c1ab 100644 --- a/src/components/side_drawer/side_drawer.vue +++ b/src/components/side_drawer/side_drawer.vue @@ -144,8 +144,8 @@ - {{ $t("settings.settings") }} - + @@ -183,8 +183,8 @@ v-if="currentUser" @click="toggleDrawer" > - {{ $t("login.logout") }} - + @@ -331,12 +331,13 @@ .side-drawer li { padding: 0; - a { + a, button { box-sizing: border-box; display: block; height: 3em; line-height: 3em; padding: 0 0.7em; + width: 100%; &:hover { background-color: $fallback--lightBg; diff --git a/src/components/status/status.vue b/src/components/status/status.vue index 21412faa..896635ee 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -47,16 +47,15 @@ > {{ muteWordHits.join(', ') }} - - + @@ -201,9 +200,9 @@ icon="external-link-square-alt" /> - @@ -211,17 +210,17 @@ class="fa-scale-110 fa-old-padding" icon="plus-square" /> - - + - + @@ -237,9 +236,8 @@ style="min-width: 0" :class="{ '-strikethrough': !status.parent_visible }" > - @@ -253,7 +251,7 @@ > {{ $t('status.reply_to') }} - + - {{ reply.name }} + > + {{ reply.name }} + diff --git a/src/components/status_content/status_content.vue b/src/components/status_content/status_content.vue index 321cd477..90bfaf40 100644 --- a/src/components/status_content/status_content.vue +++ b/src/components/status_content/status_content.vue @@ -12,35 +12,34 @@ @click.prevent="linkClicked" v-html="status.summary_html" /> - {{ $t("status.hide_full_subject") }} - + {{ $t("status.hide_full_subject") }} + + {{ $t("status.show_full_subject") }} - + - {{ $t("general.show_more") }} - + - {{ $t("status.show_content") }} @@ -79,15 +77,14 @@ v-if="status.card" icon="link" /> - - + {{ tallStatus ? $t("general.show_less") : $t("status.hide_content") }} - + diff --git a/src/components/tab_switcher/tab_switcher.js b/src/components/tab_switcher/tab_switcher.js index 6e6e8193..76e7ef03 100644 --- a/src/components/tab_switcher/tab_switcher.js +++ b/src/components/tab_switcher/tab_switcher.js @@ -81,7 +81,7 @@ export default Vue.component('tab-switcher', { const tabs = this.$slots.default .map((slot, index) => { if (!slot.tag) return - const classesTab = ['tab'] + const classesTab = ['tab', 'button-default'] const classesWrapper = ['tab-wrapper'] if (this.activeIndex === index) { classesTab.push('active') diff --git a/src/components/timeline/timeline.vue b/src/components/timeline/timeline.vue index d4da2a87..8ffa4499 100644 --- a/src/components/timeline/timeline.vue +++ b/src/components/timeline/timeline.vue @@ -4,7 +4,7 @@ {{ loadButtonString }} @@ -61,13 +61,13 @@ > {{ $t('timeline.no_more_statuses') }} - - +
{{ $t('user_card.admin_menu.delete_user_confirmation') }}
{{ $t('settings.notification_mutes') }}
{{ $t('settings.notification_blocks') }}
{{ $t('settings.theme_help') }}
{{ $t('settings.radii_help') }}
{{ $t('settings.style.fonts.help') }}