2018-01-14 07:48:18 +09:00
|
|
|
.modal-container--preloader {
|
|
|
|
background: lighten($ui-base-color, 8%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-root {
|
2018-04-20 22:58:36 +09:00
|
|
|
position: relative;
|
2018-01-14 07:48:18 +09:00
|
|
|
z-index: 9999;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-root__overlay {
|
2018-04-20 22:58:36 +09:00
|
|
|
position: fixed;
|
2018-01-14 07:48:18 +09:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
background: rgba($base-overlay-background, 0.7);
|
2021-03-24 21:51:32 +09:00
|
|
|
transition: background 0.5s;
|
2018-01-14 07:48:18 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
.modal-root__container {
|
2018-04-20 22:58:36 +09:00
|
|
|
position: fixed;
|
2018-01-14 07:48:18 +09:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
align-content: space-around;
|
|
|
|
z-index: 9999;
|
|
|
|
pointer-events: none;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-root__modal {
|
|
|
|
pointer-events: auto;
|
|
|
|
display: flex;
|
|
|
|
z-index: 9999;
|
|
|
|
}
|
|
|
|
|
2020-11-03 05:16:38 +09:00
|
|
|
.media-modal__zoom-button {
|
|
|
|
position: absolute;
|
|
|
|
right: 64px;
|
|
|
|
top: 8px;
|
|
|
|
z-index: 100;
|
|
|
|
pointer-events: auto;
|
|
|
|
transition: opacity 0.3s linear;
|
|
|
|
will-change: opacity;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-modal__zoom-button--hidden {
|
|
|
|
pointer-events: none;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.onboarding-modal,
|
|
|
|
.error-modal,
|
|
|
|
.embed-modal {
|
|
|
|
background: $ui-secondary-color;
|
2018-05-06 00:58:46 +09:00
|
|
|
color: $inverted-text-color;
|
2018-01-14 07:48:18 +09:00
|
|
|
border-radius: 8px;
|
|
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.onboarding-modal__pager {
|
|
|
|
height: 80vh;
|
|
|
|
width: 80vw;
|
|
|
|
max-width: 520px;
|
2018-01-21 02:23:06 +09:00
|
|
|
max-height: 470px;
|
2018-01-14 07:48:18 +09:00
|
|
|
|
|
|
|
.react-swipeable-view-container > div {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: none;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
display: flex;
|
|
|
|
user-select: text;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.error-modal__body {
|
|
|
|
height: 80vh;
|
|
|
|
width: 80vw;
|
|
|
|
max-width: 520px;
|
|
|
|
max-height: 420px;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
& > div {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 25px;
|
|
|
|
display: none;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
display: flex;
|
|
|
|
opacity: 0;
|
|
|
|
user-select: text;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.error-modal__body {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 550px) {
|
|
|
|
.onboarding-modal {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.onboarding-modal__pager {
|
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
|
|
|
max-width: none;
|
|
|
|
max-height: none;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.onboarding-modal__paginator,
|
|
|
|
.error-modal__footer {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
background: darken($ui-secondary-color, 8%);
|
|
|
|
display: flex;
|
|
|
|
padding: 25px;
|
|
|
|
|
|
|
|
& > div {
|
|
|
|
min-width: 33px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.onboarding-modal__nav,
|
|
|
|
.error-modal__nav {
|
2018-05-06 00:58:46 +09:00
|
|
|
color: $lighter-text-color;
|
2018-01-14 07:48:18 +09:00
|
|
|
border: 0;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 500;
|
2018-01-21 02:23:06 +09:00
|
|
|
padding: 10px 25px;
|
2018-01-14 07:48:18 +09:00
|
|
|
line-height: inherit;
|
|
|
|
height: auto;
|
2018-01-21 02:23:06 +09:00
|
|
|
margin: -10px;
|
|
|
|
border-radius: 4px;
|
|
|
|
background-color: transparent;
|
2018-01-14 07:48:18 +09:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
2018-05-06 00:58:46 +09:00
|
|
|
color: darken($lighter-text-color, 4%);
|
2018-01-21 02:23:06 +09:00
|
|
|
background-color: darken($ui-secondary-color, 16%);
|
2018-01-14 07:48:18 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
&.onboarding-modal__done,
|
|
|
|
&.onboarding-modal__next {
|
2018-05-06 00:58:46 +09:00
|
|
|
color: $inverted-text-color;
|
2018-01-21 02:23:06 +09:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
2018-05-06 00:58:46 +09:00
|
|
|
color: lighten($inverted-text-color, 4%);
|
2018-01-21 02:23:06 +09:00
|
|
|
}
|
2018-01-14 07:48:18 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.error-modal__footer {
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.onboarding-modal__dots {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.onboarding-modal__dot {
|
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
|
|
|
border-radius: 14px;
|
|
|
|
background: darken($ui-secondary-color, 16%);
|
|
|
|
margin: 0 3px;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: darken($ui-secondary-color, 18%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
cursor: default;
|
|
|
|
background: darken($ui-secondary-color, 24%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.onboarding-modal__page__wrapper {
|
|
|
|
pointer-events: none;
|
2018-01-21 02:23:06 +09:00
|
|
|
padding: 25px;
|
|
|
|
padding-bottom: 0;
|
2018-01-14 07:48:18 +09:00
|
|
|
|
|
|
|
&.onboarding-modal__page__wrapper--active {
|
|
|
|
pointer-events: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.onboarding-modal__page {
|
|
|
|
cursor: default;
|
|
|
|
line-height: 21px;
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 18px;
|
|
|
|
font-weight: 500;
|
2018-05-06 00:58:46 +09:00
|
|
|
color: $inverted-text-color;
|
2018-01-14 07:48:18 +09:00
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2018-05-06 00:58:46 +09:00
|
|
|
color: $highlight-text-color;
|
2018-01-14 07:48:18 +09:00
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
2018-05-06 00:58:46 +09:00
|
|
|
color: lighten($highlight-text-color, 4%);
|
2018-01-14 07:48:18 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-21 02:23:06 +09:00
|
|
|
.navigation-bar a {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
p {
|
|
|
|
font-size: 16px;
|
2018-05-06 00:58:46 +09:00
|
|
|
color: $lighter-text-color;
|
2018-01-14 07:48:18 +09:00
|
|
|
margin-top: 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: 500;
|
|
|
|
background: $ui-base-color;
|
2018-05-06 00:58:46 +09:00
|
|
|
color: $secondary-text-color;
|
2018-01-14 07:48:18 +09:00
|
|
|
border-radius: 4px;
|
|
|
|
font-size: 14px;
|
|
|
|
padding: 3px 6px;
|
|
|
|
|
|
|
|
@each $lang in $cjk-langs {
|
|
|
|
&:lang(#{$lang}) {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-21 02:23:06 +09:00
|
|
|
.onboarding-modal__page__wrapper-0 {
|
|
|
|
background: url('~images/elephant_ui_greeting.svg') no-repeat left bottom / auto 250px;
|
|
|
|
height: 100%;
|
|
|
|
padding: 0;
|
2018-01-14 07:48:18 +09:00
|
|
|
}
|
|
|
|
|
2018-01-21 02:23:06 +09:00
|
|
|
.onboarding-modal__page-one {
|
|
|
|
&__lead {
|
|
|
|
padding: 65px;
|
|
|
|
padding-top: 45px;
|
|
|
|
padding-bottom: 0;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 26px;
|
|
|
|
line-height: 36px;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__extra {
|
|
|
|
padding-right: 65px;
|
|
|
|
padding-left: 185px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2018-01-14 07:48:18 +09:00
|
|
|
}
|
|
|
|
|
2018-01-21 02:23:06 +09:00
|
|
|
.display-case {
|
|
|
|
text-align: center;
|
|
|
|
font-size: 15px;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
|
|
|
|
&__label {
|
|
|
|
font-weight: 500;
|
2018-05-06 00:58:46 +09:00
|
|
|
color: $inverted-text-color;
|
2018-01-21 02:23:06 +09:00
|
|
|
margin-bottom: 5px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: 12px;
|
2018-01-14 07:48:18 +09:00
|
|
|
}
|
|
|
|
|
2018-01-21 02:23:06 +09:00
|
|
|
&__case {
|
|
|
|
background: $ui-base-color;
|
2018-05-06 00:58:46 +09:00
|
|
|
color: $secondary-text-color;
|
2018-01-21 02:23:06 +09:00
|
|
|
font-weight: 500;
|
|
|
|
padding: 10px;
|
|
|
|
border-radius: 4px;
|
2018-01-14 07:48:18 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.onboarding-modal__page-two,
|
|
|
|
.onboarding-modal__page-three,
|
|
|
|
.onboarding-modal__page-four,
|
|
|
|
.onboarding-modal__page-five {
|
|
|
|
p {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.figure {
|
|
|
|
background: darken($ui-base-color, 8%);
|
2018-05-06 00:58:46 +09:00
|
|
|
color: $secondary-text-color;
|
2018-01-14 07:48:18 +09:00
|
|
|
margin-bottom: 20px;
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: 10px;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 14px;
|
|
|
|
box-shadow: 1px 2px 6px rgba($base-shadow-color, 0.3);
|
|
|
|
|
|
|
|
.onboarding-modal__image {
|
|
|
|
border-radius: 4px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.non-interactive {
|
|
|
|
pointer-events: none;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.onboarding-modal__page-four__columns {
|
|
|
|
.row {
|
|
|
|
display: flex;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
|
|
|
& > div {
|
|
|
|
flex: 1 1 0;
|
|
|
|
margin: 0 10px;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.column-header {
|
|
|
|
color: $primary-text-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 320px) and (max-height: 600px) {
|
|
|
|
.onboarding-modal__page p {
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.onboarding-modal__page-two .figure,
|
|
|
|
.onboarding-modal__page-three .figure,
|
|
|
|
.onboarding-modal__page-four .figure,
|
|
|
|
.onboarding-modal__page-five .figure {
|
|
|
|
font-size: 12px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.onboarding-modal__page-four__columns .row {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.onboarding-modal__page-four__columns .column-header {
|
|
|
|
padding: 5px;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.onboard-sliders {
|
|
|
|
display: inline-block;
|
|
|
|
max-width: 30px;
|
|
|
|
max-height: auto;
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.boost-modal,
|
2018-01-14 08:47:59 +09:00
|
|
|
.favourite-modal,
|
2018-01-14 07:48:18 +09:00
|
|
|
.confirmation-modal,
|
|
|
|
.report-modal,
|
|
|
|
.actions-modal,
|
2019-09-30 04:46:05 +09:00
|
|
|
.mute-modal,
|
2022-02-09 09:17:07 +09:00
|
|
|
.block-modal,
|
|
|
|
.compare-history-modal {
|
2018-01-14 07:48:18 +09:00
|
|
|
background: lighten($ui-secondary-color, 8%);
|
2018-05-06 00:58:46 +09:00
|
|
|
color: $inverted-text-color;
|
2018-01-14 07:48:18 +09:00
|
|
|
border-radius: 8px;
|
|
|
|
overflow: hidden;
|
|
|
|
max-width: 90vw;
|
|
|
|
width: 480px;
|
|
|
|
position: relative;
|
|
|
|
flex-direction: column;
|
|
|
|
|
2019-04-24 23:39:49 +09:00
|
|
|
.status__relative-time {
|
|
|
|
color: $dark-text-color;
|
|
|
|
float: right;
|
|
|
|
font-size: 14px;
|
|
|
|
width: auto;
|
|
|
|
margin: initial;
|
|
|
|
padding: initial;
|
|
|
|
}
|
|
|
|
|
2020-07-15 23:04:56 +09:00
|
|
|
.status__visibility-icon {
|
|
|
|
color: $dark-text-color;
|
|
|
|
font-size: 14px;
|
2020-10-27 11:00:47 +09:00
|
|
|
padding: 0 4px;
|
2020-07-15 23:04:56 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.status__display-name {
|
2018-01-14 08:47:59 +09:00
|
|
|
display: flex;
|
2018-01-14 07:48:18 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
.status__avatar {
|
2019-04-24 23:39:49 +09:00
|
|
|
height: 48px;
|
2018-01-14 07:48:18 +09:00
|
|
|
width: 48px;
|
|
|
|
}
|
2018-05-06 04:03:38 +09:00
|
|
|
|
|
|
|
.status__content__spoiler-link {
|
|
|
|
color: lighten($secondary-text-color, 8%);
|
|
|
|
}
|
2018-01-14 07:48:18 +09:00
|
|
|
}
|
|
|
|
|
2021-02-11 02:37:01 +09:00
|
|
|
.favourite-modal .status-direct {
|
|
|
|
background-color: inherit;
|
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.actions-modal {
|
|
|
|
.status {
|
|
|
|
background: $white;
|
|
|
|
border-bottom-color: $ui-secondary-color;
|
|
|
|
padding-top: 10px;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu__separator {
|
|
|
|
border-bottom-color: $ui-secondary-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-14 08:47:59 +09:00
|
|
|
.boost-modal__container,
|
|
|
|
.favourite-modal__container {
|
2018-01-14 07:48:18 +09:00
|
|
|
overflow-x: scroll;
|
|
|
|
padding: 10px;
|
|
|
|
|
|
|
|
.status {
|
|
|
|
user-select: text;
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.boost-modal__action-bar,
|
2018-01-14 08:47:59 +09:00
|
|
|
.favourite-modal__action-bar,
|
2018-01-14 07:48:18 +09:00
|
|
|
.confirmation-modal__action-bar,
|
2019-09-30 04:46:05 +09:00
|
|
|
.mute-modal__action-bar,
|
|
|
|
.block-modal__action-bar {
|
2018-01-14 07:48:18 +09:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
background: $ui-secondary-color;
|
|
|
|
padding: 10px;
|
|
|
|
line-height: 36px;
|
|
|
|
|
|
|
|
& > div {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
text-align: right;
|
2018-05-06 00:58:46 +09:00
|
|
|
color: $lighter-text-color;
|
2018-01-14 07:48:18 +09:00
|
|
|
padding-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-14 08:47:59 +09:00
|
|
|
.boost-modal__status-header,
|
|
|
|
.favourite-modal__status-header {
|
2018-01-14 07:48:18 +09:00
|
|
|
font-size: 15px;
|
|
|
|
}
|
|
|
|
|
2018-01-14 08:47:59 +09:00
|
|
|
.boost-modal__status-time,
|
|
|
|
.favourite-modal__status-time {
|
2018-01-14 07:48:18 +09:00
|
|
|
float: right;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
2019-09-30 04:46:05 +09:00
|
|
|
.mute-modal,
|
|
|
|
.block-modal {
|
2018-01-14 07:48:18 +09:00
|
|
|
line-height: 24px;
|
|
|
|
}
|
|
|
|
|
2019-09-30 04:46:05 +09:00
|
|
|
.mute-modal .react-toggle,
|
|
|
|
.block-modal .react-toggle {
|
2018-01-14 07:48:18 +09:00
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2018-03-13 03:06:28 +09:00
|
|
|
.report-modal {
|
|
|
|
width: 90vw;
|
|
|
|
max-width: 700px;
|
|
|
|
}
|
|
|
|
|
2022-02-24 04:03:46 +09:00
|
|
|
.report-dialog-modal {
|
|
|
|
max-width: 90vw;
|
|
|
|
width: 480px;
|
|
|
|
height: 80vh;
|
|
|
|
background: lighten($ui-secondary-color, 8%);
|
|
|
|
color: $inverted-text-color;
|
|
|
|
border-radius: 8px;
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
flex-direction: column;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
&__container {
|
|
|
|
box-sizing: border-box;
|
|
|
|
border-top: 1px solid $ui-secondary-color;
|
|
|
|
padding: 20px;
|
|
|
|
flex-grow: 1;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
min-height: 0;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__title {
|
|
|
|
font-size: 28px;
|
|
|
|
line-height: 33px;
|
|
|
|
font-weight: 700;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
|
|
|
|
@media screen and (max-height: 800px) {
|
|
|
|
font-size: 22px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__subtitle {
|
|
|
|
font-size: 17px;
|
|
|
|
font-weight: 600;
|
|
|
|
line-height: 22px;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__lead {
|
|
|
|
font-size: 17px;
|
|
|
|
line-height: 22px;
|
|
|
|
color: lighten($inverted-text-color, 16%);
|
|
|
|
margin-bottom: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__actions {
|
|
|
|
margin-top: 30px;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
.button {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__statuses {
|
|
|
|
flex-grow: 1;
|
|
|
|
min-height: 0;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__content a {
|
|
|
|
color: $highlight-text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__content,
|
|
|
|
.status__content p {
|
|
|
|
color: $inverted-text-color;
|
|
|
|
}
|
|
|
|
|
2022-03-22 14:08:05 +09:00
|
|
|
.status__content__spoiler-link {
|
|
|
|
color: $primary-text-color;
|
|
|
|
background: $ui-primary-color;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: lighten($ui-primary-color, 8%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-24 04:03:46 +09:00
|
|
|
.dialog-option .poll__input {
|
|
|
|
border-color: $inverted-text-color;
|
|
|
|
color: $ui-secondary-color;
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
width: 8px;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
border-color: lighten($inverted-text-color, 15%);
|
|
|
|
border-width: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
border-color: $inverted-text-color;
|
|
|
|
background: $inverted-text-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.poll__option.dialog-option {
|
|
|
|
padding: 15px 0;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
border-bottom: 1px solid $ui-secondary-color;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
& > .poll__option__text {
|
|
|
|
font-size: 13px;
|
|
|
|
color: lighten($inverted-text-color, 16%);
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-size: 17px;
|
|
|
|
font-weight: 500;
|
|
|
|
line-height: 22px;
|
|
|
|
color: $inverted-text-color;
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex-spacer {
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__textarea {
|
|
|
|
display: block;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
|
|
|
margin: 0;
|
|
|
|
color: $inverted-text-color;
|
|
|
|
background: $simple-background-color;
|
|
|
|
padding: 10px;
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: 17px;
|
|
|
|
line-height: 22px;
|
|
|
|
resize: vertical;
|
|
|
|
border: 0;
|
|
|
|
outline: 0;
|
|
|
|
border-radius: 4px;
|
|
|
|
margin: 20px 0;
|
|
|
|
|
|
|
|
&::placeholder {
|
|
|
|
color: $dark-text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__toggle {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
& > span {
|
|
|
|
font-size: 17px;
|
|
|
|
font-weight: 500;
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.button.button-secondary {
|
|
|
|
border-color: $inverted-text-color;
|
|
|
|
color: $inverted-text-color;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
border-color: lighten($inverted-text-color, 15%);
|
|
|
|
color: lighten($inverted-text-color, 15%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
|
|
|
border: 0;
|
|
|
|
background: transparent;
|
|
|
|
margin: 15px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-13 03:06:28 +09:00
|
|
|
.report-modal__container {
|
|
|
|
display: flex;
|
|
|
|
border-top: 1px solid $ui-secondary-color;
|
|
|
|
|
|
|
|
@media screen and (max-width: 480px) {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.report-modal__statuses,
|
|
|
|
.report-modal__comment {
|
2018-03-13 03:06:28 +09:00
|
|
|
box-sizing: border-box;
|
|
|
|
width: 50%;
|
|
|
|
|
|
|
|
@media screen and (max-width: 480px) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2018-01-14 07:48:18 +09:00
|
|
|
}
|
|
|
|
|
2019-08-16 05:49:00 +09:00
|
|
|
.report-modal__statuses,
|
|
|
|
.focal-point-modal__content {
|
2018-03-13 03:06:28 +09:00
|
|
|
flex: 1 1 auto;
|
2018-01-14 07:48:18 +09:00
|
|
|
min-height: 20vh;
|
2018-05-07 21:59:22 +09:00
|
|
|
max-height: 80vh;
|
2018-01-14 07:48:18 +09:00
|
|
|
overflow-y: auto;
|
|
|
|
overflow-x: hidden;
|
2018-03-13 03:06:28 +09:00
|
|
|
|
2018-05-06 04:01:15 +09:00
|
|
|
.status__content a {
|
|
|
|
color: $highlight-text-color;
|
|
|
|
}
|
|
|
|
|
2018-03-13 03:06:28 +09:00
|
|
|
@media screen and (max-width: 480px) {
|
|
|
|
max-height: 10vh;
|
|
|
|
}
|
2018-01-14 07:48:18 +09:00
|
|
|
}
|
|
|
|
|
2019-08-16 05:49:00 +09:00
|
|
|
.focal-point-modal__content {
|
|
|
|
@media screen and (max-width: 480px) {
|
|
|
|
max-height: 40vh;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-07-07 19:14:19 +09:00
|
|
|
.setting-divider {
|
|
|
|
background: transparent;
|
|
|
|
border: 0;
|
|
|
|
margin: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 1px;
|
|
|
|
margin-bottom: 29px;
|
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.report-modal__comment {
|
2018-03-13 03:06:28 +09:00
|
|
|
padding: 20px;
|
|
|
|
border-right: 1px solid $ui-secondary-color;
|
|
|
|
max-width: 320px;
|
|
|
|
|
|
|
|
p {
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 20px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.setting-text {
|
2018-03-13 03:06:28 +09:00
|
|
|
display: block;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
|
|
|
margin: 0;
|
2018-05-06 00:58:46 +09:00
|
|
|
color: $inverted-text-color;
|
2018-03-13 03:06:28 +09:00
|
|
|
background: $white;
|
|
|
|
padding: 10px;
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: 14px;
|
2019-08-15 22:13:26 +09:00
|
|
|
resize: none;
|
2018-03-13 03:06:28 +09:00
|
|
|
border: 0;
|
|
|
|
outline: 0;
|
|
|
|
border-radius: 4px;
|
|
|
|
border: 1px solid $ui-secondary-color;
|
2019-08-15 22:13:26 +09:00
|
|
|
min-height: 100px;
|
|
|
|
max-height: 50vh;
|
|
|
|
margin-bottom: 10px;
|
2018-03-13 03:06:28 +09:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
border: 1px solid darken($ui-secondary-color, 8%);
|
|
|
|
}
|
2019-08-15 22:13:26 +09:00
|
|
|
|
|
|
|
&__wrapper {
|
|
|
|
background: $white;
|
|
|
|
border: 1px solid $ui-secondary-color;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
|
|
.setting-text {
|
|
|
|
border: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
border-radius: 0;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__modifiers {
|
|
|
|
color: $inverted-text-color;
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: 14px;
|
|
|
|
background: $white;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__toolbar {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
2018-03-13 03:06:28 +09:00
|
|
|
}
|
|
|
|
|
2019-08-14 11:07:32 +09:00
|
|
|
.setting-text-label {
|
|
|
|
display: block;
|
|
|
|
color: $inverted-text-color;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 500;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2018-03-13 03:06:28 +09:00
|
|
|
.setting-toggle {
|
|
|
|
margin-top: 20px;
|
|
|
|
margin-bottom: 24px;
|
|
|
|
|
|
|
|
&__label {
|
2018-05-06 00:58:46 +09:00
|
|
|
color: $inverted-text-color;
|
2018-03-13 03:06:28 +09:00
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 480px) {
|
|
|
|
padding: 10px;
|
|
|
|
max-width: 100%;
|
|
|
|
order: 2;
|
|
|
|
|
|
|
|
.setting-toggle {
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
2018-01-14 07:48:18 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.actions-modal {
|
|
|
|
.status {
|
|
|
|
overflow-y: auto;
|
|
|
|
max-height: 300px;
|
|
|
|
}
|
|
|
|
|
2018-01-14 08:47:59 +09:00
|
|
|
strong {
|
|
|
|
display: block;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
max-height: 80vh;
|
|
|
|
max-width: 80vw;
|
|
|
|
|
|
|
|
.actions-modal__item-label {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
overflow-y: auto;
|
|
|
|
flex-shrink: 0;
|
2019-04-22 21:55:50 +09:00
|
|
|
max-height: 80vh;
|
|
|
|
|
|
|
|
&.with-status {
|
|
|
|
max-height: calc(80vh - 75px);
|
|
|
|
}
|
2018-01-14 07:48:18 +09:00
|
|
|
|
|
|
|
li:empty {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
li:not(:empty) {
|
|
|
|
a {
|
2018-05-06 00:58:46 +09:00
|
|
|
color: $inverted-text-color;
|
2018-01-14 07:48:18 +09:00
|
|
|
display: flex;
|
|
|
|
padding: 12px 16px;
|
|
|
|
font-size: 15px;
|
|
|
|
align-items: center;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&,
|
|
|
|
button {
|
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active,
|
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
|
|
|
&,
|
|
|
|
button {
|
2018-05-06 00:58:46 +09:00
|
|
|
background: $ui-highlight-color;
|
|
|
|
color: $primary-text-color;
|
2018-01-14 07:48:18 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
& > .react-toggle,
|
|
|
|
& > .icon,
|
|
|
|
button:first-child {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.confirmation-modal__action-bar,
|
2019-09-30 04:46:05 +09:00
|
|
|
.mute-modal__action-bar,
|
|
|
|
.block-modal__action-bar {
|
2019-04-19 17:48:54 +09:00
|
|
|
.confirmation-modal__secondary-button {
|
|
|
|
flex-shrink: 1;
|
|
|
|
}
|
2018-01-14 07:48:18 +09:00
|
|
|
}
|
|
|
|
|
2019-09-30 04:46:05 +09:00
|
|
|
.confirmation-modal__secondary-button,
|
|
|
|
.confirmation-modal__cancel-button,
|
|
|
|
.mute-modal__cancel-button,
|
|
|
|
.block-modal__cancel-button {
|
|
|
|
background-color: transparent;
|
|
|
|
color: $lighter-text-color;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
color: darken($lighter-text-color, 4%);
|
2019-10-03 10:17:29 +09:00
|
|
|
background-color: transparent;
|
2019-09-30 04:46:05 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-11-28 01:31:50 +09:00
|
|
|
.confirmation-modal__do_not_ask_again {
|
|
|
|
padding-left: 20px;
|
|
|
|
padding-right: 20px;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
|
|
label, input {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.confirmation-modal__container,
|
|
|
|
.mute-modal__container,
|
2019-09-30 04:46:05 +09:00
|
|
|
.block-modal__container,
|
2018-01-14 07:48:18 +09:00
|
|
|
.report-modal__target {
|
|
|
|
padding: 30px;
|
|
|
|
font-size: 16px;
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
|
|
@each $lang in $cjk-langs {
|
|
|
|
&:lang(#{$lang}) {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-10-13 08:01:14 +09:00
|
|
|
|
|
|
|
select {
|
|
|
|
appearance: none;
|
|
|
|
box-sizing: border-box;
|
|
|
|
font-size: 14px;
|
|
|
|
color: $inverted-text-color;
|
|
|
|
display: inline-block;
|
|
|
|
width: auto;
|
|
|
|
outline: 0;
|
|
|
|
font-family: inherit;
|
|
|
|
background: $simple-background-color url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14.933 18.467' height='19.698' width='15.929'><path d='M3.467 14.967l-3.393-3.5H14.86l-3.392 3.5c-1.866 1.925-3.666 3.5-4 3.5-.335 0-2.135-1.575-4-3.5zm.266-11.234L7.467 0 11.2 3.733l3.733 3.734H0l3.733-3.734z' fill='#{hex-color(darken($simple-background-color, 14%))}'/></svg>") no-repeat right 8px center / auto 16px;
|
|
|
|
border: 1px solid darken($simple-background-color, 14%);
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: 6px 10px;
|
|
|
|
padding-right: 30px;
|
|
|
|
}
|
2018-01-14 07:48:18 +09:00
|
|
|
}
|
|
|
|
|
2019-09-30 04:46:05 +09:00
|
|
|
.confirmation-modal__container,
|
|
|
|
.report-modal__target {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.block-modal,
|
|
|
|
.mute-modal {
|
|
|
|
&__explanation {
|
|
|
|
margin-top: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.setting-toggle {
|
|
|
|
margin-top: 20px;
|
|
|
|
margin-bottom: 24px;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
&__label {
|
|
|
|
color: $inverted-text-color;
|
|
|
|
margin: 0;
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-16 05:49:00 +09:00
|
|
|
.report-modal__target {
|
|
|
|
padding: 15px;
|
|
|
|
|
2021-05-12 04:15:57 +09:00
|
|
|
.report-modal__close {
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
|
|
|
right: 10px;
|
2019-08-16 05:49:00 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-03-10 19:16:13 +09:00
|
|
|
.compare-history-modal {
|
|
|
|
.report-modal__target {
|
|
|
|
border-bottom: 1px solid $ui-secondary-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__container {
|
|
|
|
padding: 30px;
|
|
|
|
pointer-events: all;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__content {
|
|
|
|
color: $inverted-text-color;
|
|
|
|
font-size: 19px;
|
|
|
|
line-height: 24px;
|
|
|
|
|
|
|
|
.emojione {
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
margin: -1px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $highlight-text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
|
|
|
height: 0.25rem;
|
|
|
|
padding: 0;
|
|
|
|
background-color: $ui-secondary-color;
|
|
|
|
border: 0;
|
|
|
|
margin: 20px 0;
|
|
|
|
}
|
|
|
|
}
|
2022-03-10 05:15:24 +09:00
|
|
|
|
|
|
|
.media-gallery,
|
|
|
|
.audio-player,
|
|
|
|
.video-player {
|
|
|
|
margin-top: 15px;
|
|
|
|
}
|
2022-03-10 19:16:13 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.embed-modal {
|
2019-10-03 10:17:29 +09:00
|
|
|
width: auto;
|
2018-01-14 07:48:18 +09:00
|
|
|
max-width: 80vw;
|
|
|
|
max-height: 80vh;
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
padding: 30px;
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 16px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.embed-modal__container {
|
|
|
|
padding: 10px;
|
|
|
|
|
|
|
|
.hint {
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.embed-modal__html {
|
|
|
|
outline: 0;
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
2021-03-06 21:12:35 +09:00
|
|
|
border: 0;
|
2018-01-14 07:48:18 +09:00
|
|
|
padding: 10px;
|
|
|
|
font-family: 'mastodon-font-monospace', monospace;
|
|
|
|
background: $ui-base-color;
|
2018-05-06 00:58:46 +09:00
|
|
|
color: $primary-text-color;
|
2018-01-14 07:48:18 +09:00
|
|
|
font-size: 14px;
|
|
|
|
margin: 0;
|
|
|
|
margin-bottom: 15px;
|
2019-10-03 10:17:29 +09:00
|
|
|
border-radius: 4px;
|
2018-01-14 07:48:18 +09:00
|
|
|
|
|
|
|
&::-moz-focus-inner {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-moz-focus-inner,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
outline: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
background: lighten($ui-base-color, 4%);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 600px) {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.embed-modal__iframe {
|
|
|
|
width: 400px;
|
|
|
|
max-width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
border: 0;
|
2019-10-03 10:17:29 +09:00
|
|
|
border-radius: 4px;
|
2018-01-14 07:48:18 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-08-18 18:01:53 +09:00
|
|
|
|
|
|
|
.focal-point {
|
|
|
|
position: relative;
|
2019-08-14 11:07:32 +09:00
|
|
|
cursor: move;
|
2018-08-18 18:01:53 +09:00
|
|
|
overflow: hidden;
|
2019-08-16 03:28:56 +09:00
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
background: $base-shadow-color;
|
2018-08-18 18:01:53 +09:00
|
|
|
|
2019-08-14 11:07:32 +09:00
|
|
|
img,
|
2019-10-10 12:21:38 +09:00
|
|
|
video,
|
|
|
|
canvas {
|
2019-08-14 11:07:32 +09:00
|
|
|
display: block;
|
2018-08-18 18:01:53 +09:00
|
|
|
max-height: 80vh;
|
2019-08-14 11:07:32 +09:00
|
|
|
width: 100%;
|
2018-08-18 18:01:53 +09:00
|
|
|
height: auto;
|
2019-08-14 11:07:32 +09:00
|
|
|
margin: 0;
|
|
|
|
object-fit: contain;
|
|
|
|
background: $base-shadow-color;
|
2018-08-18 18:01:53 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
&__reticle {
|
|
|
|
position: absolute;
|
|
|
|
width: 100px;
|
|
|
|
height: 100px;
|
|
|
|
transform: translate(-50%, -50%);
|
2019-01-02 23:26:36 +09:00
|
|
|
background: url('~images/reticle.png') no-repeat 0 0;
|
2018-08-18 18:01:53 +09:00
|
|
|
border-radius: 50%;
|
|
|
|
box-shadow: 0 0 0 9999em rgba($base-shadow-color, 0.35);
|
|
|
|
}
|
|
|
|
|
|
|
|
&__overlay {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
}
|
2019-08-14 11:07:32 +09:00
|
|
|
|
|
|
|
&__preview {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 10px;
|
|
|
|
right: 10px;
|
|
|
|
z-index: 2;
|
2019-08-16 05:47:51 +09:00
|
|
|
cursor: move;
|
|
|
|
transition: opacity 0.1s ease;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
2019-08-14 11:07:32 +09:00
|
|
|
|
|
|
|
strong {
|
|
|
|
color: $primary-text-color;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 500;
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div {
|
|
|
|
border-radius: 4px;
|
|
|
|
box-shadow: 0 0 14px rgba($base-shadow-color, 0.2);
|
|
|
|
}
|
|
|
|
}
|
2019-08-16 03:28:56 +09:00
|
|
|
|
|
|
|
@media screen and (max-width: 480px) {
|
|
|
|
img,
|
|
|
|
video {
|
|
|
|
max-height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__preview {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2018-08-18 18:01:53 +09:00
|
|
|
}
|
2019-07-12 23:01:33 +09:00
|
|
|
|
|
|
|
.filtered-status-info {
|
|
|
|
text-align: start;
|
|
|
|
|
|
|
|
.spoiler__text {
|
|
|
|
margin-top: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.account {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.account__display-name strong {
|
|
|
|
color: $inverted-text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.status__content__spoiler {
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
&--visible {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
padding: 10px;
|
|
|
|
margin-left: 12px;
|
|
|
|
list-style: disc inside;
|
|
|
|
}
|
2019-07-15 06:32:42 +09:00
|
|
|
|
|
|
|
.filtered-status-edit-link {
|
|
|
|
color: $action-button-color;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline
|
|
|
|
}
|
|
|
|
}
|
2019-07-12 23:01:33 +09:00
|
|
|
}
|
2021-02-11 08:53:12 +09:00
|
|
|
|
|
|
|
.modal-root__container .composer--options--dropdown {
|
|
|
|
flex-grow: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-root__container .composer--options--dropdown--content {
|
|
|
|
pointer-events: auto;
|
|
|
|
z-index: 9999;
|
|
|
|
}
|
2022-05-16 00:30:40 +09:00
|
|
|
|
|
|
|
img.modal-warning {
|
|
|
|
display: block;
|
|
|
|
margin: auto;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
width: 60px;
|
|
|
|
}
|