Merge branch 'main' into fix/account-page

This commit is contained in:
YorimiMochida 2021-05-20 22:34:53 +09:00 committed by GitHub
commit dbfd5d4346
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
44 changed files with 500 additions and 182 deletions

View File

@ -343,7 +343,6 @@ class StatusActionBar extends ImmutablePureComponent {
<IconButton className='status__action-bar-button star-icon' animate active={status.get('favourited')} pressed={status.get('favourited')} title={intl.formatMessage(messages.favourite)} icon='star' onClick={this.handleFavouriteClick} /> <IconButton className='status__action-bar-button star-icon' animate active={status.get('favourited')} pressed={status.get('favourited')} title={intl.formatMessage(messages.favourite)} icon='star' onClick={this.handleFavouriteClick} />
<IconButton className='status__action-bar-button' disabled={anonymousAccess || !publicStatus} title={!publicStatus ? intl.formatMessage(messages.cannot_quote) : intl.formatMessage(messages.quote)} icon='quote-right' onClick={this.handleQuoteClick} /> <IconButton className='status__action-bar-button' disabled={anonymousAccess || !publicStatus} title={!publicStatus ? intl.formatMessage(messages.cannot_quote) : intl.formatMessage(messages.quote)} icon='quote-right' onClick={this.handleQuoteClick} />
{shareButton} {shareButton}
<IconButton className='status__action-bar-button' disabled={anonymousAccess} active={status.get('bookmarked')} pressed={status.get('bookmarked')} title={intl.formatMessage(messages.bookmark)} icon='bookmark' onClick={this.handleBookmarkClick} />
<div className='status__action-bar-dropdown'> <div className='status__action-bar-dropdown'>
<DropdownMenuContainer <DropdownMenuContainer

View File

@ -87,7 +87,7 @@ class DetailedStatus extends ImmutablePureComponent {
if (e.button === 0 && !(e.ctrlKey || e.metaKey) && this.context.router) { if (e.button === 0 && !(e.ctrlKey || e.metaKey) && this.context.router) {
const id = e.currentTarget.getAttribute('data-id'); const id = e.currentTarget.getAttribute('data-id');
e.preventDefault(); e.preventDefault();
this.context.router.history.push(`/accounts/${this.props.status.getIn(['account', 'id'])}`); this.context.router.history.push(`/accounts/${id}`);
} }
e.stopPropagation(); e.stopPropagation();

View File

@ -53,6 +53,7 @@ class LinkFooter extends React.PureComponent {
<li><a href='/about/more' target='_blank'><FormattedMessage id='navigation_bar.info' defaultMessage='About this server' /></a> · </li> <li><a href='/about/more' target='_blank'><FormattedMessage id='navigation_bar.info' defaultMessage='About this server' /></a> · </li>
<li><a href='https://joinmastodon.org/apps' target='_blank'><FormattedMessage id='navigation_bar.apps' defaultMessage='Mobile apps' /></a> · </li> <li><a href='https://joinmastodon.org/apps' target='_blank'><FormattedMessage id='navigation_bar.apps' defaultMessage='Mobile apps' /></a> · </li>
<li><a href='/terms' target='_blank'><FormattedMessage id='getting_started.terms' defaultMessage='Terms of service' /></a> · </li> <li><a href='/terms' target='_blank'><FormattedMessage id='getting_started.terms' defaultMessage='Terms of service' /></a> · </li>
<li><a href='https://mattermost.pcgf.io/signup_user_complete/?id=i8xgw5ytb78b7ef5qz7zf7ieae' target='_blank'><FormattedMessage id='getting_started.chatroom' defaultMessage='Chatroom' /></a> · </li>
<li><a href='/settings/applications' target='_blank'><FormattedMessage id='getting_started.developers' defaultMessage='Developers' /></a> · </li> <li><a href='/settings/applications' target='_blank'><FormattedMessage id='getting_started.developers' defaultMessage='Developers' /></a> · </li>
<li><a href='https://docs.joinmastodon.org' target='_blank'><FormattedMessage id='getting_started.documentation' defaultMessage='Documentation' /></a> · </li> <li><a href='https://docs.joinmastodon.org' target='_blank'><FormattedMessage id='getting_started.documentation' defaultMessage='Documentation' /></a> · </li>
<li><a href='/auth/sign_out' onClick={this.handleLogoutClick}><FormattedMessage id='navigation_bar.logout' defaultMessage='Logout' /></a></li> <li><a href='/auth/sign_out' onClick={this.handleLogoutClick}><FormattedMessage id='navigation_bar.logout' defaultMessage='Logout' /></a></li>

View File

@ -31,7 +31,7 @@
"account.moved_to": "Uživatel {name} se přesunul na:", "account.moved_to": "Uživatel {name} se přesunul na:",
"account.mute": "Skrýt @{name}", "account.mute": "Skrýt @{name}",
"account.mute_notifications": "Skrýt oznámení od @{name}", "account.mute_notifications": "Skrýt oznámení od @{name}",
"account.muted": "Skryt", "account.muted": "Účet skryt",
"account.never_active": "Nikdy", "account.never_active": "Nikdy",
"account.posts": "Příspěvky", "account.posts": "Příspěvky",
"account.posts_with_replies": "Příspěvky a odpovědi", "account.posts_with_replies": "Příspěvky a odpovědi",

View File

@ -51,7 +51,7 @@
"alert.rate_limited.title": "Forgalomkorlátozás", "alert.rate_limited.title": "Forgalomkorlátozás",
"alert.unexpected.message": "Váratlan hiba történt.", "alert.unexpected.message": "Váratlan hiba történt.",
"alert.unexpected.title": "Hoppá!", "alert.unexpected.title": "Hoppá!",
"announcement.announcement": "Közlemény", "announcement.announcement": "Bejelentés",
"autosuggest_hashtag.per_week": "{count} hetente", "autosuggest_hashtag.per_week": "{count} hetente",
"boost_modal.combo": "Hogy átugord ezt következő alkalommal, használd {combo}", "boost_modal.combo": "Hogy átugord ezt következő alkalommal, használd {combo}",
"bundle_column_error.body": "Valami hiba történt a komponens betöltése közben.", "bundle_column_error.body": "Valami hiba történt a komponens betöltése közben.",

View File

@ -187,6 +187,7 @@
"follow_request.reject": "拒否", "follow_request.reject": "拒否",
"follow_requests.unlocked_explanation": "あなたのアカウントは承認制ではありませんが、{domain} のスタッフはこれらのアカウントからのフォローリクエストの確認が必要であると判断しました。", "follow_requests.unlocked_explanation": "あなたのアカウントは承認制ではありませんが、{domain} のスタッフはこれらのアカウントからのフォローリクエストの確認が必要であると判断しました。",
"generic.saved": "保存しました", "generic.saved": "保存しました",
"getting_started.chatroom": "チャットルーム",
"getting_started.developers": "開発", "getting_started.developers": "開発",
"getting_started.directory": "ディレクトリ", "getting_started.directory": "ディレクトリ",
"getting_started.documentation": "ドキュメント", "getting_started.documentation": "ドキュメント",

View File

@ -431,7 +431,7 @@
"time_remaining.hours": "{number, plural, other {# giờ}}", "time_remaining.hours": "{number, plural, other {# giờ}}",
"time_remaining.minutes": "{number, plural, other {# phút}}", "time_remaining.minutes": "{number, plural, other {# phút}}",
"time_remaining.moments": "Còn lại", "time_remaining.moments": "Còn lại",
"time_remaining.seconds": "{number, plural, other {# giây}}", "time_remaining.seconds": "còn {number, plural, other {# giây}}",
"timeline_hint.remote_resource_not_displayed": "{resource} từ máy chủ khác sẽ không hiển thị.", "timeline_hint.remote_resource_not_displayed": "{resource} từ máy chủ khác sẽ không hiển thị.",
"timeline_hint.resources.followers": "Người theo dõi", "timeline_hint.resources.followers": "Người theo dõi",
"timeline_hint.resources.follows": "Đang theo dõi", "timeline_hint.resources.follows": "Đang theo dõi",

View File

@ -34,6 +34,7 @@ $menu-bg-active-color: lighten($menu-bg-color, 10%);
$menu-bg-active-hover-color: lighten($menu-bg-color, 16%); $menu-bg-active-hover-color: lighten($menu-bg-color, 16%);
$card-bg-color: #121212; $card-bg-color: #121212;
$card-bg-hover-color: lighten($card-bg-color, 6%); $card-bg-hover-color: lighten($card-bg-color, 6%);
$succeeded-card-bg-color: lighten($verified-color, 36%);
$list-bg-color: #000000; $list-bg-color: #000000;
$list-bg-hover-color: lighten($list-bg-color, 6%); $list-bg-hover-color: lighten($list-bg-color, 6%);
$list-bg-active-color: lighten($list-bg-color, 10%); $list-bg-active-color: lighten($list-bg-color, 10%);
@ -124,18 +125,11 @@ $search-bar-color: lighten($top-bar-color, 6%);
$search-bar-focus-color: #ffffff; $search-bar-focus-color: #ffffff;
// Tab color // Tab color
$tab-indicator-color: $top-bar-icon-color; $tab-item-color: transparentize(#ffffff, 0.5);
$tab-indicator-active-color: $top-bar-icon-color; $tab-item-active-color: $primary-color;
$tab-bg-color: $top-bar-color; $tab-bg-color: $top-bar-color;
$tab-indicator-bg-hover-color: transparentize($tab-indicator-active-color, 0.9); $tab-bg-hover-color: transparentize($tab-item-active-color, 0.9);
$tab-indicator-bg-focus-color: transparentize($tab-indicator-active-color, 0.8); $tab-bg-focus-color: transparentize($tab-item-active-color, 0.8);
$text-tab-indicator-color: $secondary-text-color;
$text-tab-indicator-active-color: $ui-text-color;
$text-tab-bg-color: #121212;
$text-tab-indicator-bg-hover-color: transparentize($text-tab-indicator-active-color, 0.9);
$text-tab-indicator-bg-focus-color: transparentize($text-tab-indicator-active-color, 0.8);
$icon-tab-indicator-active-color: $primary-color;
$icon-tab-indicator-hover-color: $icon-hover-color;
// Media indicator color // Media indicator color
$media-page-indicator-color: #9e9e9e; $media-page-indicator-color: #9e9e9e;

View File

@ -34,6 +34,7 @@ $menu-bg-active-color: lighten($menu-bg-color, 10%);
$menu-bg-active-hover-color: lighten($menu-bg-color, 16%); $menu-bg-active-hover-color: lighten($menu-bg-color, 16%);
$card-bg-color: #313543; $card-bg-color: #313543;
$card-bg-hover-color: lighten($card-bg-color, 6%); $card-bg-hover-color: lighten($card-bg-color, 6%);
$succeeded-card-bg-color: lighten($verified-color, 36%);
$list-bg-color: #282c37; $list-bg-color: #282c37;
$list-bg-hover-color: lighten($list-bg-color, 6%); $list-bg-hover-color: lighten($list-bg-color, 6%);
$list-bg-active-color: lighten($list-bg-color, 10%); $list-bg-active-color: lighten($list-bg-color, 10%);
@ -124,18 +125,11 @@ $search-bar-color: lighten($top-bar-color, 6%);
$search-bar-focus-color: #ffffff; $search-bar-focus-color: #ffffff;
// Tab color // Tab color
$tab-indicator-color: #d9e1e8; $tab-item-color: #d9e1e8;
$tab-indicator-active-color: $top-bar-icon-color; $tab-item-active-color: $primary-color;
$tab-bg-color: #1f232b; $tab-bg-color: #1f232b;
$tab-indicator-bg-hover-color: transparentize($tab-indicator-active-color, 0.9); $tab-bg-hover-color: transparentize($tab-item-active-color, 0.9);
$tab-indicator-bg-focus-color: transparentize($tab-indicator-active-color, 0.8); $tab-bg-focus-color: transparentize($tab-item-active-color, 0.8);
$text-tab-indicator-color: $tab-indicator-color;
$text-tab-indicator-active-color: $tab-indicator-active-color;
$text-tab-bg-color: $tab-bg-color;
$text-tab-indicator-bg-hover-color: transparentize($text-tab-indicator-active-color, 0.9);
$text-tab-indicator-bg-focus-color: transparentize($text-tab-indicator-active-color, 0.8);
$icon-tab-indicator-active-color: $primary-color;
$icon-tab-indicator-hover-color: $icon-hover-color;
// Media indicator color // Media indicator color
$media-page-indicator-color: #9e9e9e; $media-page-indicator-color: #9e9e9e;

View File

@ -33,6 +33,7 @@ $menu-bg-active-color: darken($bg-color, 10%);
$menu-bg-active-hover-color: darken($bg-color, 16%); $menu-bg-active-hover-color: darken($bg-color, 16%);
$card-bg-color: #ffffff; $card-bg-color: #ffffff;
$card-bg-hover-color: darken($card-bg-color, 6%); $card-bg-hover-color: darken($card-bg-color, 6%);
$succeeded-card-bg-color: lighten($verified-color, 36%);
$list-bg-color: #ffffff; $list-bg-color: #ffffff;
$list-bg-hover-color: darken($list-bg-color, 6%); $list-bg-hover-color: darken($list-bg-color, 6%);
$list-bg-active-color: darken($list-bg-color, 10%); $list-bg-active-color: darken($list-bg-color, 10%);
@ -123,18 +124,11 @@ $search-bar-color: #d9e1e8;
$search-bar-focus-color: $bg-color; $search-bar-focus-color: $bg-color;
// Tab color // Tab color
$tab-indicator-color: #282c37; $tab-item-color: #282c37;
$tab-indicator-active-color: $top-bar-icon-color; $tab-item-active-color: $primary-color;
$tab-bg-color: #e6ebf0; $tab-bg-color: #e6ebf0;
$tab-indicator-bg-hover-color: transparentize($tab-indicator-active-color, 0.9); $tab-bg-hover-color: transparentize($tab-item-active-color, 0.9);
$tab-indicator-bg-focus-color: transparentize($tab-indicator-active-color, 0.8); $tab-bg-focus-color: transparentize($tab-item-active-color, 0.8);
$text-tab-indicator-color: $tab-indicator-color;
$text-tab-indicator-active-color: $tab-indicator-active-color;
$text-tab-bg-color: $tab-bg-color;
$text-tab-indicator-bg-hover-color: transparentize($text-tab-indicator-active-color, 0.9);
$text-tab-indicator-bg-focus-color: transparentize($text-tab-indicator-active-color, 0.8);
$icon-tab-indicator-active-color: $primary-color;
$icon-tab-indicator-hover-color: $icon-hover-color;
// Media indicator color // Media indicator color
$media-page-indicator-color: #9e9e9e; $media-page-indicator-color: #9e9e9e;

View File

@ -34,6 +34,7 @@ $menu-bg-active-color: darken($menu-bg-color, 10%);
$menu-bg-active-hover-color: darken($menu-bg-color, 16%); $menu-bg-active-hover-color: darken($menu-bg-color, 16%);
$card-bg-color: #ffffff; $card-bg-color: #ffffff;
$card-bg-hover-color: darken($card-bg-color, 6%); $card-bg-hover-color: darken($card-bg-color, 6%);
$succeeded-card-bg-color: lighten($verified-color, 36%);
$list-bg-color: #ffffff; $list-bg-color: #ffffff;
$list-bg-hover-color: darken($list-bg-color, 6%); $list-bg-hover-color: darken($list-bg-color, 6%);
$list-bg-active-color: darken($list-bg-color, 10%); $list-bg-active-color: darken($list-bg-color, 10%);
@ -123,18 +124,11 @@ $search-bar-color: darken($bg-color, 6%);
$search-bar-focus-color: $bg-color; $search-bar-focus-color: $bg-color;
// Tab color // Tab color
$tab-indicator-color: $top-bar-icon-color; $tab-item-color: transparentize(#ffffff, 0.5);
$tab-indicator-active-color: $top-bar-icon-color; $tab-item-active-color: $primary-color;
$tab-bg-color: $top-bar-color; $tab-bg-color: $top-bar-color;
$tab-indicator-bg-hover-color: transparentize($tab-indicator-active-color, 0.9); $tab-bg-hover-color: transparentize($tab-item-active-color, 0.9);
$tab-indicator-bg-focus-color: transparentize($tab-indicator-active-color, 0.8); $tab-bg-focus-color: transparentize($tab-item-active-color, 0.8);
$text-tab-indicator-color: $secondary-text-color;
$text-tab-indicator-active-color: $top-bar-color;
$text-tab-bg-color: #ffffff;
$text-tab-indicator-bg-hover-color: transparentize(#000000, 0.9);
$text-tab-indicator-bg-focus-color: transparentize(#000000, 0.8);
$icon-tab-indicator-active-color: $primary-color;
$icon-tab-indicator-hover-color: $icon-hover-color;
// Media indicator color // Media indicator color
$media-page-indicator-color: #9e9e9e; $media-page-indicator-color: #9e9e9e;

View File

@ -34,6 +34,7 @@ $menu-bg-active-color: lighten($menu-bg-color, 10%);
$menu-bg-active-hover-color: lighten($menu-bg-color, 16%); $menu-bg-active-hover-color: lighten($menu-bg-color, 16%);
$card-bg-color: #424242; $card-bg-color: #424242;
$card-bg-hover-color: lighten($card-bg-color, 6%); $card-bg-hover-color: lighten($card-bg-color, 6%);
$succeeded-card-bg-color: lighten($verified-color, 36%);
$list-bg-color: #424242; $list-bg-color: #424242;
$list-bg-hover-color: lighten($list-bg-color, 6%); $list-bg-hover-color: lighten($list-bg-color, 6%);
$list-bg-active-color: lighten($list-bg-color, 10%); $list-bg-active-color: lighten($list-bg-color, 10%);
@ -123,18 +124,11 @@ $search-bar-color: lighten($bg-color, 6%);
$search-bar-focus-color: #ffffff; $search-bar-focus-color: #ffffff;
// Tab color // Tab color
$tab-indicator-color: $top-bar-icon-color; $tab-item-color: transparentize(#ffffff, 0.5);
$tab-indicator-active-color: $top-bar-icon-color; $tab-item-active-color: $primary-color;
$tab-bg-color: $top-bar-color; $tab-bg-color: $top-bar-color;
$tab-indicator-bg-hover-color: transparentize($tab-indicator-active-color, 0.9); $tab-bg-hover-color: transparentize($tab-item-active-color, 0.9);
$tab-indicator-bg-focus-color: transparentize($tab-indicator-active-color, 0.8); $tab-bg-focus-color: transparentize($tab-item-active-color, 0.8);
$text-tab-indicator-color: $secondary-text-color;
$text-tab-indicator-active-color: $top-bar-color;
$text-tab-bg-color: #424242;
$text-tab-indicator-bg-hover-color: transparentize($text-tab-indicator-active-color, 0.9);
$text-tab-indicator-bg-focus-color: transparentize($text-tab-indicator-active-color, 0.8);
$icon-tab-indicator-active-color: $primary-color;
$icon-tab-indicator-hover-color: $icon-hover-color;
// Media indicator color // Media indicator color
$media-page-indicator-color: #9e9e9e; $media-page-indicator-color: #9e9e9e;

View File

@ -34,6 +34,7 @@ $menu-bg-active-color: darken($menu-bg-color, 10%);
$menu-bg-active-hover-color: darken($menu-bg-color, 16%); $menu-bg-active-hover-color: darken($menu-bg-color, 16%);
$card-bg-color: #ffffff; $card-bg-color: #ffffff;
$card-bg-hover-color: darken($card-bg-color, 6%); $card-bg-hover-color: darken($card-bg-color, 6%);
$succeeded-card-bg-color: lighten($verified-color, 36%);
$list-bg-color: #ffffff; $list-bg-color: #ffffff;
$list-bg-hover-color: darken($list-bg-color, 6%); $list-bg-hover-color: darken($list-bg-color, 6%);
$list-bg-active-color: darken($list-bg-color, 10%); $list-bg-active-color: darken($list-bg-color, 10%);
@ -124,18 +125,11 @@ $search-bar-color: darken($bg-color, 6%);
$search-bar-focus-color: $bg-color; $search-bar-focus-color: $bg-color;
// Tab color // Tab color
$tab-indicator-color: $top-bar-icon-color; $tab-item-color: transparentize(#ffffff, 0.5);
$tab-indicator-active-color: $top-bar-icon-color; $tab-item-active-color: $primary-color;
$tab-bg-color: $top-bar-color; $tab-bg-color: $top-bar-color;
$tab-indicator-bg-hover-color: transparentize($tab-indicator-active-color, 0.9); $tab-bg-hover-color: transparentize($tab-item-active-color, 0.9);
$tab-indicator-bg-focus-color: transparentize($tab-indicator-active-color, 0.8); $tab-bg-focus-color: transparentize($tab-item-active-color, 0.8);
$text-tab-indicator-color: $secondary-text-color;
$text-tab-indicator-active-color: $top-bar-color;
$text-tab-bg-color: #ffffff;
$text-tab-indicator-bg-hover-color: transparentize(#000000, 0.9);
$text-tab-indicator-bg-focus-color: transparentize(#000000, 0.8);
$icon-tab-indicator-active-color: $primary-color;
$icon-tab-indicator-hover-color: $icon-hover-color;
// Media indicator color // Media indicator color
$media-page-indicator-color: #9e9e9e; $media-page-indicator-color: #9e9e9e;

View File

@ -34,6 +34,7 @@ $menu-bg-active-color: lighten($menu-bg-color, 10%);
$menu-bg-active-hover-color: lighten($menu-bg-color, 16%); $menu-bg-active-hover-color: lighten($menu-bg-color, 16%);
$card-bg-color: #1e1e1e; $card-bg-color: #1e1e1e;
$card-bg-hover-color: lighten($card-bg-color, 6%); $card-bg-hover-color: lighten($card-bg-color, 6%);
$succeeded-card-bg-color: lighten($verified-color, 36%);
$list-bg-color: #1e1e1e; $list-bg-color: #1e1e1e;
$list-bg-hover-color: lighten($list-bg-color, 6%); $list-bg-hover-color: lighten($list-bg-color, 6%);
$list-bg-active-color: lighten($list-bg-color, 10%); $list-bg-active-color: lighten($list-bg-color, 10%);
@ -124,18 +125,11 @@ $search-bar-color: lighten($top-bar-color, 18%);
$search-bar-focus-color: #ffffff; $search-bar-focus-color: #ffffff;
// Tab color // Tab color
$tab-indicator-color: $top-bar-icon-color; $tab-item-color: transparentize(#ffffff, 0.5);
$tab-indicator-active-color: $top-bar-icon-color; $tab-item-active-color: $primary-color;
$tab-bg-color: $top-bar-color; $tab-bg-color: $top-bar-color;
$tab-indicator-bg-hover-color: transparentize($tab-indicator-active-color, 0.9); $tab-bg-hover-color: transparentize($tab-item-active-color, 0.9);
$tab-indicator-bg-focus-color: transparentize($tab-indicator-active-color, 0.8); $tab-bg-focus-color: transparentize($tab-item-active-color, 0.8);
$text-tab-indicator-color: $secondary-text-color;
$text-tab-indicator-active-color: $ui-text-color;
$text-tab-bg-color: #1e1e1e;
$text-tab-indicator-bg-hover-color: transparentize($text-tab-indicator-active-color, 0.9);
$text-tab-indicator-bg-focus-color: transparentize($text-tab-indicator-active-color, 0.8);
$icon-tab-indicator-active-color: $primary-color;
$icon-tab-indicator-hover-color: $icon-hover-color;
// Media indicator color // Media indicator color
$media-page-indicator-color: #9e9e9e; $media-page-indicator-color: #9e9e9e;

View File

@ -34,6 +34,7 @@ $menu-bg-active-color: darken($menu-bg-color, 10%);
$menu-bg-active-hover-color: darken($menu-bg-color, 16%); $menu-bg-active-hover-color: darken($menu-bg-color, 16%);
$card-bg-color: $bg-color; $card-bg-color: $bg-color;
$card-bg-hover-color: darken($card-bg-color, 6%); $card-bg-hover-color: darken($card-bg-color, 6%);
$succeeded-card-bg-color: lighten($verified-color, 36%);
$list-bg-color: $bg-color; $list-bg-color: $bg-color;
$list-bg-hover-color: darken($list-bg-color, 6%); $list-bg-hover-color: darken($list-bg-color, 6%);
$list-bg-active-color: darken($list-bg-color, 10%); $list-bg-active-color: darken($list-bg-color, 10%);
@ -124,18 +125,12 @@ $search-bar-color: darken($bg-color, 6%);
$search-bar-focus-color: $bg-color; $search-bar-focus-color: $bg-color;
// Tab color // Tab color
$tab-indicator-color: $top-bar-icon-color; $tab-item-color: transparentize(#000000, 0.5);
$tab-indicator-active-color: $top-bar-icon-color; $tab-item-active-color: $primary-color;
$tab-bg-color: $top-bar-color; $tab-bg-color: $top-bar-color;
$tab-indicator-bg-hover-color: transparentize($tab-indicator-active-color, 0.9); $tab-bg-hover-color: transparentize($tab-item-active-color, 0.9);
$tab-indicator-bg-focus-color: transparentize($tab-indicator-active-color, 0.8); $tab-bg-focus-color: transparentize($tab-item-active-color, 0.8);
$text-tab-indicator-color: $secondary-text-color;
$text-tab-indicator-active-color: $ui-text-color;
$text-tab-bg-color: #ffffff;
$text-tab-indicator-bg-hover-color: transparentize($text-tab-indicator-active-color, 0.9);
$text-tab-indicator-bg-focus-color: transparentize($text-tab-indicator-active-color, 0.8);
$icon-tab-indicator-active-color: $primary-color;
$icon-tab-indicator-hover-color: $icon-hover-color;
// Media indicator color // Media indicator color
$media-page-indicator-color: #9e9e9e; $media-page-indicator-color: #9e9e9e;

View File

@ -30,6 +30,10 @@ $dialog-radius: 2px;
$menu-radius: 2px; $menu-radius: 2px;
// Table radius settings
$table-radius: 2px;
// Media radius settings // Media radius settings
$media-radius: 0; $media-radius: 0;

View File

@ -33,6 +33,11 @@ $dialog-radius: 8px;
$menu-radius: 8px; $menu-radius: 8px;
// Table radius settings
$table-radius: 8px;
//$table-radius: 2px;
// Media radius settings // Media radius settings
$media-radius: 0; $media-radius: 0;
//$media-radius: 2px; //$media-radius: 2px;

View File

@ -55,7 +55,15 @@
top: 10px; top: 10px;
} }
&__content { padding-top: 2px } &__content {
padding-top: 2px;
&__spoiler-link,
&__read-more-button {
height: auto;
padding: 4px 8px;
}
}
&__action-bar-button { &__action-bar-button {
margin: 0 4px; margin: 0 4px;
@ -72,6 +80,10 @@
} }
} }
@media screen and (min-width: 630px) {
.columns-area--mobile .status { padding: 8px 8px 8px 78px }
}
.detailed-status { .detailed-status {
padding: 14px; padding: 14px;

View File

@ -0,0 +1,24 @@
.drawer__tab.short-label {
padding: 8px;
.drawer__tab__short-label {
overflow-x: visible;
display: none;
}
i { margin: 0 }
}
.tabs-bar.bottom-bar {
@include shadow-4dp;
.tabs-bar {
&__link.active { border-bottom: none }
}
&__link span { margin-left: 0 }
}
@media screen and (max-width: 1190px) {
.tabs-bar__wrapper .tabs-bar.bottom-bar { width: 100% }
}

View File

@ -28,3 +28,14 @@
&.fa-fw::before { vertical-align: middle } &.fa-fw::before { vertical-align: middle }
} }
} }
// Fedibird bottom bar in mobile
.tabs-bar.bottom-bar {
background: #212121;
.tabs-bar__link {
color: transparentize(#ffffff, 0.5);
&.active { color: #ffffff }
}
}

View File

@ -38,12 +38,9 @@ $toggle-track-active-color: lighten($toggle-thumb-active-color, 18%);
$border-active-color: $primary-color; $border-active-color: $primary-color;
$tab-indicator-color: $top-bar-icon-color; $tab-item-active-color: $primary-color;
$tab-indicator-active-color: $top-bar-icon-color; $tab-bg-hover-color: transparentize($tab-item-active-color, 0.9);
$tab-indicator-bg-hover-color: transparentize($tab-indicator-active-color, 0.9); $tab-bg-focus-color: transparentize($tab-item-active-color, 0.8);
$tab-indicator-bg-focus-color: transparentize($tab-indicator-active-color, 0.8);
$icon-tab-indicator-active-color: $primary-color;
$icon-tab-indicator-hover-color: $icon-hover-color;
$progress-indicator-color: $primary-color; $progress-indicator-color: $primary-color;
$progress-indicator-track-color: lighten($progress-indicator-color, 30%); $progress-indicator-track-color: lighten($progress-indicator-color, 30%);

View File

@ -1,3 +1,5 @@
// Add your icon customization below // Add your icon customization below
$boost-icon-color: #00ACC1;
$icon-font-source: self; $icon-font-source: self;

View File

@ -43,12 +43,9 @@ $scroll-bar-thumb-color: lighten($icon-color, 30%);
$scroll-bar-thumb-hover-color: darken($scroll-bar-thumb-color, 10%); $scroll-bar-thumb-hover-color: darken($scroll-bar-thumb-color, 10%);
$scroll-bar-thumb-active-color: darken($scroll-bar-thumb-color, 18%); $scroll-bar-thumb-active-color: darken($scroll-bar-thumb-color, 18%);
$tab-indicator-color: $top-bar-icon-color; $tab-item-active-color: $primary-color;
$tab-indicator-active-color: $top-bar-icon-color; $tab-bg-hover-color: transparentize($tab-item-active-color, 0.9);
$text-tab-indicator-color: lighten($top-bar-icon-color, 10%); $tab-bg-focus-color: transparentize($tab-item-active-color, 0.8);
$text-tab-indicator-active-color: $top-bar-icon-color;
$icon-tab-indicator-active-color: $top-bar-icon-color;
$icon-tab-indicator-hover-color: $top-bar-icon-hover-color;
$progress-indicator-color: $primary-color; $progress-indicator-color: $primary-color;
$progress-indicator-track-color: lighten($progress-indicator-color, 30%); $progress-indicator-track-color: lighten($progress-indicator-color, 30%);

View File

@ -1,3 +1,6 @@
// Add your icon customization below // Add your icon customization below
$boosted-icon-color: #009688;
$icon-font-source: self; $icon-font-source: self;

View File

@ -1,4 +1,5 @@
@import '../../plugins/astarte'; @import '../../plugins/astarte';
//@import '../../plugins/cards'; //@import '../../plugins/cards';
@import '../../plugins/dense'; @import '../../plugins/dense';
@import '../../plugins/fedibird'
//@import '../../plugins/plus'; //@import '../../plugins/plus';

View File

@ -60,6 +60,7 @@ $shadow-color-3: rgba(0,0,0,.12);
@mixin button-type($button-type) { @mixin button-type($button-type) {
border-radius: $button-radius; border-radius: $button-radius;
display: inline-block; display: inline-block;
font-weight: 500;
@if $button-type == contained { @if $button-type == contained {
@if $button-shadow { @include shadow-1dp } @if $button-shadow { @include shadow-1dp }

View File

@ -88,7 +88,7 @@
&__fields { &__fields {
border: 1px solid $border-color; border: 1px solid $border-color;
border-radius: 4px; border-radius: $table-radius;
.verified { .verified {
border: none; border: none;
@ -106,12 +106,20 @@
&:last-child { border-bottom: 0 } &:last-child { border-bottom: 0 }
} }
dd,
dt { dt {
color: $primary-text-color; color: $primary-text-color;
background: $list-bg-inactive-color; padding: 16px;
} }
dd { color: $primary-text-color } dd { color: $primary-text-color }
dt { background: $list-bg-inactive-color }
}
&__joined {
padding: 8px;
color: $info-text-color;
} }
} }
} }
@ -160,24 +168,24 @@
} }
&__section-headline { &__section-headline {
background: $text-tab-bg-color; background: $tab-bg-color;
border-bottom: 1px solid $border-color; border-bottom: 1px solid $border-color;
a { a {
padding: 16px 0; padding: 16px 0;
color: $text-tab-indicator-color; color: $tab-item-color;
&.active { &.active {
color: $text-tab-indicator-active-color; color: $tab-item-active-color;
border-bottom: 4px solid $text-tab-indicator-active-color; border-bottom: 4px solid $tab-item-active-color;
&::before, &::before,
&:after { border: none } &:after { border: none }
&:focus { background: $text-tab-indicator-bg-focus-color } &:focus { background: $tab-bg-focus-color }
} }
&:hover { background: $text-tab-indicator-bg-hover-color } &:hover { background: $tab-bg-hover-color }
} }
} }
@ -265,3 +273,11 @@
height: 16px; height: 16px;
} }
} }
.nothing-here {
background: $card-bg-color;
color: $ui-text-color;
padding: 16px;
&--under-tabs { border-radius: 0 0 $card-radius $card-radius }
}

View File

@ -65,7 +65,6 @@
h4 { h4 {
color: $section-text-color; color: $section-text-color;
border-top: 1px solid $border-color;
border-bottom: none; border-bottom: none;
padding: 12px 16px; padding: 12px 16px;
} }
@ -83,6 +82,8 @@
.positive-hint { color: $verified-color } .positive-hint { color: $verified-color }
.neutral-hint { color: $tips-text-color }
.directory__tag h4 { color: $ui-text-color } .directory__tag h4 { color: $ui-text-color }
&>p { &>p {
@ -118,23 +119,23 @@
} }
a { a {
color: $text-tab-indicator-color; color: $tab-item-color;
border-bottom: 2px solid transparent; border-bottom: 2px solid transparent;
padding: 8px; padding: 8px;
&.selected { &.selected {
color: $text-tab-indicator-active-color; color: $tab-item-active-color;
border-bottom: 2px solid $text-tab-indicator-active-color; border-bottom: 2px solid $tab-item-active-color;
&:hover { &:hover {
color: $text-tab-indicator-active-color; color: $tab-item-active-color;
border-bottom: 2px solid $text-tab-indicator-active-color; border-bottom: 2px solid $tab-item-active-color;
} }
} }
&:hover { &:hover {
color: $text-tab-indicator-color; color: $tab-item-color;
background: $text-tab-indicator-bg-hover-color; background: $tab-bg-hover-color;
border-bottom: 2px solid transparent; border-bottom: 2px solid transparent;
} }
} }
@ -148,4 +149,112 @@ body {
a { color: $link-text-color } a { color: $link-text-color }
} }
.neutral-hint { color: $tips-text-color }
} }
.report-card {
@include shadow-1dp;
background: $card-bg-color;
border-radius: $card-radius;
margin-bottom: 16px;
&__profile {
padding: 16px;
&__stats {
color: $info-text-color;
.red { color: $error-color }
}
}
&__summary__item {
border-top: 1px solid $border-color;
&:hover { background: $card-bg-color }
&__assigned,
&__reported-by { color: $ui-text-color }
&__content {
a {
padding: 16px;
color: $primary-text-color;
}
&__icon {
color: $icon-color;
margin-right: 8px;
}
}
}
}
.log-entry {
padding: 16px 0;
background: $list-bg-color;
border-bottom: 1px solid $border-color;
&:first-child { border-radius: $table-radius $table-radius 0 0 }
&:last-child { border-radius: 0 0 $table-radius $table-radius }
&__header {
color: $ui-text-color;
padding: 0 16px;
}
&__avatar { margin-right: 16px }
&__timestamp { color: $info-text-color }
.target,
.username,
a { color: $primary-text-color }
}
.dashboard {
&__counters {
&__num,
&__text {
color: $secondary-text-color;
margin-bottom: 16px;
}
&__label { color: $ui-text-color }
&>div {
padding: 0 8px;
margin-bottom: 16px;
&>div,
&>a {
@include shadow-1dp;
padding: 16px;
background: $card-bg-color;
border-radius: $card-radius;
&:active,
&:focus,
&:hover { background: $card-bg-hover-color }
}
}
}
&__widgets {
&>div {
margin-bottom: 16px;
&>div { padding: 0 8px }
}
a:not(.name-tag) { color: $ui-text-color }
}
}
.inline-name-tag,
.name-tag,
a.inline-name-tag,
a.name-tag { color: $ui-text-color }

View File

@ -8,6 +8,8 @@ $favorite-icon-color: #ffd600; // Star
//$favorite-icon-color: #db4437; // +1 //$favorite-icon-color: #db4437; // +1
//$favorite-icon-color: #ffffff; // inverted +1 (for plus plugin) //$favorite-icon-color: #ffffff; // inverted +1 (for plus plugin)
$boosted-icon-color: $primary-color;
// Reply icon settings // Reply icon settings
$reply-icon: "reply"; $reply-icon: "reply";

View File

@ -1,7 +1,11 @@
body, body,
body.embed, body.embed,
body.admin, body.admin,
body.lighter { background: $bg-color } body.lighter,
body.error {
background: $bg-color;
color: $ui-text-color;
}
.focusable:focus { background: transparent } .focusable:focus { background: transparent }

View File

@ -119,7 +119,23 @@ label.icon-button {
&.button--block { margin: 8px 0 } &.button--block { margin: 8px 0 }
&.button-secondary { @include button-type($button-on-status) } &.button-secondary {
@include button-type($button-on-status);
&:disabled {
color: $disabled-button-color;
border: 1px solid $disabled-button-color;
opacity: 1;
&:hover,
&:focus,
&:active { @include button-type($button-on-status) }
}
&:hover,
&:focus,
&:active { @include button-type($button-on-status) }
}
&.confirmation-modal__cancel-button { &.confirmation-modal__cancel-button {
box-shadow: none; box-shadow: none;

View File

@ -193,6 +193,7 @@
background: $top-bar-color; background: $top-bar-color;
color: $top-bar-icon-color; color: $top-bar-icon-color;
padding: 16px; padding: 16px;
height: 48px;
span { visibility: hidden } // hide "back" string span { visibility: hidden } // hide "back" string
@ -214,6 +215,8 @@
.columns-area { .columns-area {
@include bg-image; @include bg-image;
background-size: contain; background-size: contain;
&__panels__pane { overflow: visible }
} }
.setting-text { .setting-text {
@ -229,8 +232,13 @@
background: $card-bg-color; background: $card-bg-color;
font-size: 16px; font-size: 16px;
contain: initial; // padding fix contain: initial; // padding fix
a { color: $link-text-color }
} }
.error-column a,
.follow_requests-unlocked_explanation a { color: $link-text-color }
.conversation { .conversation {
border-bottom: 1px solid $border-color; border-bottom: 1px solid $border-color;
padding: 12px; padding: 12px;
@ -323,6 +331,8 @@
a { color: $ui-text-color } a { color: $ui-text-color }
p a { color: $link-text-color } p a { color: $link-text-color }
ul { margin-bottom: 16px }
} }
&__trends { &__trends {
@ -419,6 +429,37 @@
} }
} }
.announcements-list {
border: 1px solid $border-color;
&__item {
padding: 16px 0;
background: $list-bg-color;
border-radius: $table-radius;
border-bottom: 1px solid $border-color;
&__title {
padding: 0 16px;
color: $primary-text-color;
margin-bottom: 8px;
&:active,
&:focus,
&:hover { color: $primary-text-color }
}
&__meta {
padding: 0 16px;
color: $info-text-color;
}
&:hover { background: $list-bg-hover-color }
&:active,
&:focus { background: $list-bg-active-color }
}
}
.reactions-bar { .reactions-bar {
margin-top: 16px; margin-top: 16px;
width: auto; width: auto;
@ -464,23 +505,24 @@
button { button {
background: $tab-bg-color; background: $tab-bg-color;
color: $tab-indicator-color; color: $tab-item-color;
font-size: 16px; font-size: 16px;
border-bottom: 2px solid transparent;
padding: 12px 0 10px;
span { font-size: 14px } span { font-size: 14px }
&.active { &.active {
color: $tab-indicator-active-color; color: $tab-item-active-color;
border-bottom: 4px solid $tab-indicator-active-color; border-bottom: 2px solid $tab-item-active-color;
padding: 12px 0 8px;
&::before, &::before,
&:after { border: none } &:after { border: none }
&:focus { background: $tab-indicator-bg-focus-color } &:focus { background: $tab-bg-focus-color }
} }
&:hover { background: $tab-indicator-bg-hover-color } &:hover { background: $tab-bg-hover-color }
} }
} }

View File

@ -190,6 +190,8 @@
} }
.compose-form { .compose-form {
padding: 16px;
.autosuggest-textarea { .autosuggest-textarea {
&__textarea { &__textarea {
@include text-area-border($compose-area-border); @include text-area-border($compose-area-border);
@ -316,6 +318,18 @@
} }
} }
.compose-panel {
overflow: visible;
border-radius: $card-radius;
.compose-form {
@include shadow-1dp;
background: $card-bg-color;
padding-bottom: 16px;
margin-bottom: 0;
}
}
.no-reduce-motion .spoiler-input { transition-duration: .2s, .2s } .no-reduce-motion .spoiler-input { transition-duration: .2s, .2s }
@ -343,10 +357,21 @@
&.checkbox { &.checkbox {
border-radius: 2px; border-radius: 2px;
border: 2px solid $control-border-color; border: 2px solid $control-border-active-color;
padding: 8px; padding: 8px;
margin: 8px 10px; margin: 8px 10px;
background: none; background: none;
&.active {
height: 50%;
padding: 5px 0;
transform: rotate(-45deg);
border: 2px solid $control-border-active-color;
border-top-style: none;
border-right-style: none;
&:hover { background: none }
}
} }
} }
@ -360,6 +385,8 @@
} }
&__option { &__option {
padding: 4px;
input[type=text] { input[type=text] {
color: $primary-text-color; color: $primary-text-color;
background: $text-field-bg-color; background: $text-field-bg-color;
@ -367,6 +394,8 @@
border-radius: 2px; border-radius: 2px;
padding: 8px 16px; padding: 8px 16px;
} }
&__text { line-height: 36px }
} }
&__chart { &__chart {
@ -383,6 +412,8 @@
} }
&__link { color: $ui-text-color } &__link { color: $ui-text-color }
&__number { line-height: 36px }
} }
.privacy-dropdown { .privacy-dropdown {
@ -573,6 +604,7 @@
&__list { &__list {
@include material-transition; @include material-transition;
margin: 16px 0; margin: 16px 0;
width: auto;
} }
} }

View File

@ -10,7 +10,7 @@
&:hover, &:hover,
&:focus, &:focus,
&:active { background: $tab-indicator-bg-hover-color } &:active { background: $tab-bg-hover-color }
} }
.nav-link, .nav-link,
@ -19,7 +19,7 @@
&:hover { &:hover {
color: $top-bar-text-color; color: $top-bar-text-color;
background: $tab-indicator-bg-hover-color; background: $tab-bg-hover-color;
text-decoration: none; text-decoration: none;
} }
} }
@ -29,7 +29,7 @@
margin: 0; margin: 0;
border-radius: 0; border-radius: 0;
&:hover { background: $tab-indicator-bg-hover-color } &:hover { background: $tab-bg-hover-color }
} }
.detailed-status__meta { margin-top: 16px } .detailed-status__meta { margin-top: 16px }
@ -77,7 +77,7 @@
background: linear-gradient(0deg, transparent, transparent 60px, rgba(0, 0, 0, 0.5) 60px, rgba(0, 0, 0, 0.2) 80%, transparent); background: linear-gradient(0deg, transparent, transparent 60px, rgba(0, 0, 0, 0.5) 60px, rgba(0, 0, 0, 0.2) 80%, transparent);
&::before { &::before {
background: $text-tab-bg-color; background: $tab-bg-color;
border-radius: 0 0 $card-radius $card-radius; border-radius: 0 0 $card-radius $card-radius;
} }
@ -107,7 +107,7 @@
border-right: none; border-right: none;
&.active { &.active {
&::after { border-bottom: 4px solid $text-tab-indicator-active-color } &::after { border-bottom: 4px solid $tab-item-active-color }
} }
&::after { &::after {
@ -115,7 +115,7 @@
opacity: 1; opacity: 1;
} }
&:hover { background: $text-tab-indicator-bg-hover-color } &:hover { background: $tab-bg-hover-color }
.counter-number { .counter-number {
color: $ui-text-color; color: $ui-text-color;
@ -178,6 +178,8 @@
.grid { grid-gap: 16px } .grid { grid-gap: 16px }
} }
.account-header .name { color: $ui-text-color }
.brand__tagline { color: $ui-text-color } .brand__tagline { color: $ui-text-color }
.logo-container h1 svg { fill: $ui-text-color } .logo-container h1 svg { fill: $ui-text-color }

View File

@ -43,14 +43,14 @@
} }
&-anchor { &-anchor {
color: $text-tab-indicator-color; color: $tab-item-color;
padding: 10px 4px; padding: 10px 4px;
&-bar { background-color: $icon-tab-indicator-active-color } &-bar { background-color: $tab-item-active-color }
&-selected { color: $icon-tab-indicator-hover-color } &-selected { color: $tab-item-color }
&:hover { color: $icon-tab-indicator-hover-color } &:hover { color: $tab-item-color }
} }
&-search { &-search {

View File

@ -68,7 +68,10 @@
} }
} }
.actions { padding: 16px } .actions {
padding: 16px;
margin-top: 0;
}
.check_boxes .checkbox label { .check_boxes .checkbox label {
color: $primary-text-color; color: $primary-text-color;
@ -109,12 +112,13 @@
input[type=url], input[type=url],
textarea { textarea {
@include text-area-border($other-text-area-border); @include text-area-border($other-text-area-border);
color: $text-field-color;
background: $text-field-bg-color;
padding: 16px; padding: 16px;
&:active, &:active,
&:focus { background: $text-field-bg-color } &:focus {
background: $text-field-bg-color;
padding: 16px 16px 15px;
}
&::placeholder { color: $tips-text-color } &::placeholder { color: $tips-text-color }
} }
@ -143,6 +147,12 @@
} }
&.translation-prompt { color: $ui-text-color } &.translation-prompt { color: $ui-text-color }
&.notice {
border: none;
background: $succeeded-card-bg-color;
color: $verified-color;
}
} }
.form-footer a { color: $ui-text-color } .form-footer a { color: $ui-text-color }
@ -151,6 +161,8 @@
.oauth-prompt { .oauth-prompt {
margin-bottom: 32px; margin-bottom: 32px;
color: $ui-text-color; color: $ui-text-color;
strong { color: $primary-text-color }
} }
.input-copy { .input-copy {

View File

@ -71,7 +71,19 @@
&.fa-cloud-upload, &.fa-cloud-upload,
&.fa-cloud-download, &.fa-cloud-download,
&.fa-mobile-phone, &.fa-mobile, &.fa-mobile-phone, &.fa-mobile,
&.fa-tablet { &.fa-tablet,
&.fa-gavel, &.fa-legal,
&.fa-comment,
&.fa-camera,
&.fa-flag,
&.fa-circle,
&.fa-dashboard, &.fa-tachometer,
&.fa-cloud,
&.fa-ban,
&.fa-power-off,
&.fa-copy, &.fa-files-o,
&.fa-smile-o,
&.fa-database {
@include icon-font-style; @include icon-font-style;
line-height: 1; line-height: 1;
letter-spacing: normal; letter-spacing: normal;
@ -151,6 +163,18 @@
&.fa-cloud-download::before { content: "cloud_download" } &.fa-cloud-download::before { content: "cloud_download" }
&.fa-mobile-phone::before, &.fa-mobile::before { content: "smartphone" } &.fa-mobile-phone::before, &.fa-mobile::before { content: "smartphone" }
&.fa-tablet::before { content: "tablet" } &.fa-tablet::before { content: "tablet" }
&.fa-gavel::before, &.fa-legal::before { content: "admin_panel_settings" }
&.fa-comment::before { content: "comment" }
&.fa-camera::before { content: "photo_camera" }
&.fa-flag::before { content: "flag" }
&.fa-circle::before { content: "circle" }
&.fa-dashboard::before, &.fa-tachometer::before { content: "dashboard" }
&.fa-cloud::before { content: "cloud" }
&.fa-ban::before { content: "block" }
&.fa-power-off::before { content: "power_settings_new" }
&.fa-copy::before, &.fa-files-o::before { content: "content_copy" }
&.fa-smile-o::before { content: "emoji_emotions" }
&.fa-database::before { content: "storage" }
} }
// bookmark icon // bookmark icon
@ -183,14 +207,14 @@ button.icon-button i.fa-retweet {
height: 20px; height: 20px;
width: 20px; width: 20px;
transition: none; transition: none;
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" id="svg4" version="1.1" viewBox="0 0 24 48" height="40px" width="20px"><path d="M 7,7 H 17 V 10 l 4,-4 -4,-4 v 3 H 5 V 11 h 2 z M 17,17 H 7 V 14 L 3,18 7,22 V 19 H 19 v -6 h -2 z" fill="#{svg-color($icon-button-color)}" stroke-width="0"/><path d="m 7,31 h 10 v 3 l 4,-4 -4,-4 v 3 H 5 v 6 H 7 Z M 17,41 H 7 v -3 l -4,4 4,4 v -3 h 12 v -6 h -2 z" fill="#{svg-color($icon-button-active-color)}" stroke-width="0"/></svg>'); background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" id="svg4" version="1.1" viewBox="0 0 24 48" height="40px" width="20px"><path d="M 7,7 H 17 V 10 l 4,-4 -4,-4 v 3 H 5 V 11 h 2 z M 17,17 H 7 V 14 L 3,18 7,22 V 19 H 19 v -6 h -2 z" fill="#{svg-color($icon-button-color)}" stroke-width="0"/><path d="m 7,31 h 10 v 3 l 4,-4 -4,-4 v 3 H 5 v 6 H 7 Z M 17,41 H 7 v -3 l -4,4 4,4 v -3 h 12 v -6 h -2 z" fill="#{svg-color($boosted-icon-color)}" stroke-width="0"/></svg>');
} }
.media-modal__overlay .picture-in-picture__footer button.icon-button i.fa-retweet /* in media view */ { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" id="svg4" version="1.1" viewBox="0 0 24 48" height="40px" width="20px"><path d="M 7,7 H 17 V 10 l 4,-4 -4,-4 v 3 H 5 V 11 h 2 z M 17,17 H 7 V 14 L 3,18 7,22 V 19 H 19 v -6 h -2 z" fill="#{$media-icon-color}" stroke-width="0"/><path d="m 7,31 h 10 v 3 l 4,-4 -4,-4 v 3 H 5 v 6 H 7 Z M 17,41 H 7 v -3 l -4,4 4,4 v -3 h 12 v -6 h -2 z" fill="#{svg-color($icon-button-active-color)}" stroke-width="0"/></svg>') } .media-modal__overlay .picture-in-picture__footer button.icon-button i.fa-retweet /* in media view */ { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" id="svg4" version="1.1" viewBox="0 0 24 48" height="40px" width="20px"><path d="M 7,7 H 17 V 10 l 4,-4 -4,-4 v 3 H 5 V 11 h 2 z M 17,17 H 7 V 14 L 3,18 7,22 V 19 H 19 v -6 h -2 z" fill="#{$media-icon-color}" stroke-width="0"/><path d="m 7,31 h 10 v 3 l 4,-4 -4,-4 v 3 H 5 v 6 H 7 Z M 17,41 H 7 v -3 l -4,4 4,4 v -3 h 12 v -6 h -2 z" fill="#{svg-color($boosted-icon-color)}" stroke-width="0"/></svg>') }
button.icon-button i.fa-retweet:hover, button.icon-button i.fa-retweet:hover,
button.icon-button:hover i.fa-retweet /* v3.3.0 or above */ { button.icon-button:hover i.fa-retweet /* v3.3.0 or above */ {
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" id="svg4" version="1.1" viewBox="0 0 24 48" height="40px" width="20px"><path d="M 7,7 H 17 V 10 l 4,-4 -4,-4 v 3 H 5 V 11 h 2 z M 17,17 H 7 V 14 L 3,18 7,22 V 19 H 19 v -6 h -2 z" fill="#{svg-color($icon-button-hover-color)}" stroke-width="0"/><path d="m 7,31 h 10 v 3 l 4,-4 -4,-4 v 3 H 5 v 6 H 7 Z M 17,41 H 7 v -3 l -4,4 4,4 v -3 h 12 v -6 h -2 z" fill="#{svg-color($icon-button-active-color)}" stroke-width="0"/></svg>'); background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" id="svg4" version="1.1" viewBox="0 0 24 48" height="40px" width="20px"><path d="M 7,7 H 17 V 10 l 4,-4 -4,-4 v 3 H 5 V 11 h 2 z M 17,17 H 7 V 14 L 3,18 7,22 V 19 H 19 v -6 h -2 z" fill="#{svg-color($icon-button-hover-color)}" stroke-width="0"/><path d="m 7,31 h 10 v 3 l 4,-4 -4,-4 v 3 H 5 v 6 H 7 Z M 17,41 H 7 v -3 l -4,4 4,4 v -3 h 12 v -6 h -2 z" fill="#{svg-color($boosted-icon-color)}" stroke-width="0"/></svg>');
} }
button.icon-button.disabled i.fa-retweet, button.icon-button.disabled i.fa-retweet,
@ -287,3 +311,6 @@ button.table-action-link i.fa {
// sidebar icon in settings // sidebar icon in settings
.admin-wrapper .sidebar ul a i.fa { vertical-align: text-bottom } .admin-wrapper .sidebar ul a i.fa { vertical-align: text-bottom }
.back-link a .fa { vertical-align: middle }

View File

@ -43,7 +43,14 @@
color: $ui-text-color; color: $ui-text-color;
font-size: 16px; font-size: 16px;
&:hover { &.active,
&.active button,
&:active,
&:active button,
&:focus,
&:focus button,
&:hover,
&:hover button {
background: $card-bg-hover-color; background: $card-bg-hover-color;
color: $ui-text-color; color: $ui-text-color;
} }

View File

@ -3,12 +3,12 @@
&__link { &__link {
padding: 16px 16px 12px 16px; padding: 16px 16px 12px 16px;
color: $top-bar-icon-color; color: $tab-item-color;
border-bottom: 4px solid transparent; border-bottom: 4px solid transparent;
&.active { &.active {
border-bottom: 4px solid $tab-indicator-active-color; border-bottom: 4px solid $tab-item-active-color;
color: $tab-indicator-active-color; color: $tab-item-active-color;
} }
.fa { font-size: 20px } .fa { font-size: 20px }
@ -61,11 +61,24 @@
.fa-times-circle.active { left: unset } .fa-times-circle.active { left: unset }
} }
.directory {
&__list {
grid-gap: 16px;
margin: 16px;
}
&__card { margin-bottom: 16px }
}
} }
// small size screen // small size screen
@media screen and (max-width: 415px) { @media screen and (max-width: 415px) {
.public-layout { padding-top: 64px } .public-layout {
padding-top: 64px;
.header { margin: 0 }
}
} }
// middle size screen // middle size screen
@ -91,26 +104,29 @@
} }
//single column mode //single column mode
@media screen and (min-width: 631px) { @media screen and (min-width: 630px) {
.column:first-child,
.drawer:first-child { padding-left: 8px }
.column:last-child,
.drawer:last-child { padding-right: 8px }
.tabs-bar__link { .tabs-bar__link {
&:hover { &:hover {
background: $tab-indicator-bg-hover-color; background: $tab-bg-hover-color;
border-bottom-color: transparent; border-bottom-color: transparent;
} }
&:active, &:active,
&:focus { &:focus {
background: $tab-indicator-bg-focus-color; background: $tab-bg-focus-color;
border-bottom-color: $tab-bg-color; border-bottom-color: $tab-bg-color;
} }
&.active { border-bottom-color: $tab-indicator-active-color } &.active { border-bottom-color: $tab-item-active-color }
}
.columns-area--mobile .status {
padding: 16px 16px 16px 80px;
&__prepend {
margin-left: 80px;
padding-top: 16px;
}
} }
} }
@ -131,10 +147,14 @@
.public-layout .public-account-header { .public-layout .public-account-header {
&__bar { background: $card-bg-color } &__bar { background: $card-bg-color }
&__tabs__name h1 { &__tabs {
color: $primary-text-color; margin-left: 16px;
small { color: $secondary-text-color } &__name h1 {
color: $primary-text-color;
small { color: $secondary-text-color }
}
} }
} }
} }

View File

@ -39,14 +39,18 @@
&__spoiler-link { &__spoiler-link {
border: 0; border: 0;
margin: 0 4px; font-size: 15px;
height: 36px;
padding: 0 16px;
margin: 8px;
color: $text-button-color; color: $text-button-color;
} }
&__read-more-button { &__read-more-button {
@include button-type($button-on-status); @include button-type($button-on-status);
padding: 4px 6px; height: 36px;
margin: 4px; padding: 0 16px;
margin: 8px 0;
&:hover { text-decoration: none } &:hover { text-decoration: none }
} }
@ -155,6 +159,11 @@
a { bottom: auto } a { bottom: auto }
} }
&__host {
margin-top: 6px;
color: $secondary-text-color;
}
&.compact { &.compact {
border-color: $border-color; border-color: $border-color;
outline: none; outline: none;

View File

@ -1,12 +1,12 @@
.batch-table { .batch-table {
border: 1px solid $border-color; border: 1px solid $border-color;
border-radius: 4px; border-radius: $table-radius;
&__toolbar { &__toolbar {
border: none; border: none;
border-bottom: 1px solid $border-color; border-bottom: 1px solid $border-color;
background: $list-bg-color; background: $list-bg-color;
border-radius: 4px 4px 0 0; border-radius: $table-radius $table-radius 0 0;
&__actions { padding-right: 16px } &__actions { padding-right: 16px }
} }
@ -16,6 +16,12 @@
border-bottom: 1px solid $border-color; border-bottom: 1px solid $border-color;
background: $list-bg-color; background: $list-bg-color;
&__content {
padding-top: 16px;
&__extra { color: $info-text-color }
}
&:nth-child(2n) { &:nth-child(2n) {
background: $list-bg-color; background: $list-bg-color;
@ -24,11 +30,13 @@
&:last-child { &:last-child {
border-bottom: none; border-bottom: none;
border-radius: 0 0 4px 4px; border-radius: 0 0 $table-radius $table-radius;
} }
&:hover { background: $list-bg-hover-color } &:hover { background: $list-bg-hover-color }
} }
.nothing-here { border: none }
} }
a.table-action-link, a.table-action-link,
@ -50,11 +58,12 @@ button.table-action-link {
.table-wrapper { .table-wrapper {
margin-bottom: 24px; margin-bottom: 24px;
border-radius: 2px; border: 1px solid $border-color;
border-radius: $table-radius;
} }
.table { .table {
border: 1px solid $border-color; border-radius: $table-radius;
td, td,
th { th {

View File

@ -1,6 +1,6 @@
/* /*
* Mastodon Material 0.3.0 * Mastodon Material 1.0.0
* Copyright (C) 2021 Rintan, Genbu Project * Copyright (C) 2021 Rintan, Genbu Project
*/ */
@import 'about', 'account', 'admin', 'basics', 'button', 'columns', 'components', 'containers', 'control', 'emoji-picker', 'icons', 'forms', 'media', 'modal', 'responsive', 'statuses', 'tables', 'variables', 'widgets'; @import 'about', 'account', 'admin', 'basics', 'button', 'columns', 'components', 'containers', 'control', 'emoji-picker', 'forms', 'icons', 'media', 'modal', 'responsive', 'statuses', 'tables', 'variables', 'widgets';

View File

@ -6,7 +6,7 @@ hu:
send_instructions: Néhány percen belül kapni fogsz egy levelet az e-mail cím megerősítésére vonatkozó utasításokkal. Kérjük, ellenőrizd a spam mappádat, ha nem látod az e-mailt a beérkezett e-mailek közt. send_instructions: Néhány percen belül kapni fogsz egy levelet az e-mail cím megerősítésére vonatkozó utasításokkal. Kérjük, ellenőrizd a spam mappádat, ha nem látod az e-mailt a beérkezett e-mailek közt.
send_paranoid_instructions: Ha az e-mail címed már szerepel az adatbázisunkban, néhány percen belül kapsz egy levelet az e-mail cím megerősítésére vonatkozó utasításokkal. Kérjük, ellenőrizd a spam mappád, ha nem látod az e-mailt. send_paranoid_instructions: Ha az e-mail címed már szerepel az adatbázisunkban, néhány percen belül kapsz egy levelet az e-mail cím megerősítésére vonatkozó utasításokkal. Kérjük, ellenőrizd a spam mappád, ha nem látod az e-mailt.
failure: failure:
already_authenticated: Már bejelentkeztél. already_authenticated: Már be van jelentkezve.
inactive: A fiókod még nincs aktiválva. inactive: A fiókod még nincs aktiválva.
invalid: Helytelen %{authentication_keys} vagy jelszó. invalid: Helytelen %{authentication_keys} vagy jelszó.
last_attempt: Már csak egy próbálkozásod maradt, mielőtt a fiókodat zároljuk. last_attempt: Már csak egy próbálkozásod maradt, mielőtt a fiókodat zároljuk.
@ -47,7 +47,7 @@ hu:
subject: 'Mastodon: Jelszó visszaállítási lépések' subject: 'Mastodon: Jelszó visszaállítási lépések'
title: Jelszó visszaállítása title: Jelszó visszaállítása
two_factor_disabled: two_factor_disabled:
explanation: A fiókod kétlépcsős hitelesítését kikapcsoltuk. A bejelentkezés mostantól csak az e-mail cím és a jelszó használatával lesz lehetséges. explanation: A fiókod kétfaktoros hitelesítését kikapcsoltuk. A bejelentkezés mostantól csak az e-mail cím és a jelszó használatával lesz lehetséges.
subject: Kétlépcsős azonosítás kikapcsolva subject: Kétlépcsős azonosítás kikapcsolva
title: Kétlépcsős hitelesítés kikapcsolva title: Kétlépcsős hitelesítés kikapcsolva
two_factor_enabled: two_factor_enabled:

View File

@ -167,7 +167,7 @@ cs:
setting_system_font_ui: Použít výchozí písmo systému setting_system_font_ui: Použít výchozí písmo systému
setting_theme: Vzhled stránky setting_theme: Vzhled stránky
setting_trends: Zobrazit dnes populární hashtagy setting_trends: Zobrazit dnes populární hashtagy
setting_unfollow_modal: Před zrušením sledování zobrazovat potvrzovací okno setting_unfollow_modal: Ppřed zrušením sledování zobrazovat potvrzovací okno
setting_use_blurhash: Zobrazit pro skrytá média barevné gradienty setting_use_blurhash: Zobrazit pro skrytá média barevné gradienty
setting_use_pending_items: Pomalý režim setting_use_pending_items: Pomalý režim
severity: Vážnost severity: Vážnost