Files
mastodon/app/javascript/styles/material-v2-light/statuses.scss
Rintan a8a7b8b53b Materialテーマのアップデートとバリエーションの追加 (#276)
* Material theme (dev) initial release

* fix CSP

* fix CSP (#268)

* fix icon font path

* 相対パスの修正 (#269)

* fix CSP

* fix icon font path

* 相対パスの修正 (#270)

* fix CSP

* fix icon font path

* fix font path

* Revert "相対パスの修正 (#270)" (#271)

This reverts commit 27998a80fe.

* Revert "相対パスの修正 (#269)" (#272)

This reverts commit f864de23f4.

* fix relative path

* fix override settings

* Add variation
Update material theme

Co-authored-by: YoheiZuho <yuuman002@gmail.com>
2020-04-06 20:41:32 +09:00

146 lines
2.8 KiB
SCSS

@charset "UTF-8";
@import 'config';
@import 'mixins';
.status {
padding: 12px 12px 12px 70px;
border-bottom: 1px solid $border-color;
&__expand { width: 70px }
&__info {
font-size: 16px;
padding-right: 4px;
}
&__relative-time { color: $info-text-color }
&__display-name {
color: $secondary-text-color;
strong { color: $primary-text-color }
}
&__avatar {
left: 12px;
top: 12px;
}
&__content {
font-size: 16px;
padding-top: 4px;
color: $primary-text-color;
a {
color: $link-text-color;
&.unhandled-link { color: $link-text-color }
}
.status__content__spoiler-link {
background: transparent;
&:hover { background: $text-button-hover-color }
&:focus { background: $text-button-focus-color }
}
&__spoiler-link {
border: 0;
color: $text-button-color;
}
&__read-more-button {
font-size: 14px;
color: $text-button-color;
border-radius: $button-radius;
padding: 4px 6px;
&:hover {
background: $text-button-hover-color;
text-decoration: none;
}
&:focus { background: $text-button-focus-color }
}
}
&__action-bar {
&__counter__label {
font-size: 14px;
color: $info-text-color;
}
}
&.status-direct:not(.read) {
background: transparent;
border-bottom-color: $border-color;
}
}
.status-card {
color: $icon-color;
border-color: $border-color;
outline: none;
&__image {
background: transparent;
&>.fa {
font-size: 26px;
}
}
&__title {
color: $primary-text-color;
margin-bottom: 6px;
}
&__description { color: $secondary-text-color }
&.compact {
border-color: $border-color;
outline: none;
.status-card {
&__content { padding: 12px }
&__image { flex: 0 0 64px }
}
&:hover { background-color: transparent !important }
}
&:hover { background-color: $card-background-color }
}
.status.light {
.display-name span { color: $info-text-color }
}
.detailed-status {
background: $card-background-color;
padding: 16px;
&__display-name {
color: $secondary-text-color;
strong { color: $primary-text-color }
}
&__meta {
margin-top: 16px;
color: $info-text-color;
}
&__action-bar {
background: $card-background-color;
border-top: none;
border-bottom: 1px solid $border-color;
padding: 12px 0;
}
&__button {
.icon-button { font-size: 20px !important }
}
}