2022-11-06 21:30:37 +09:00
|
|
|
.compose-form {
|
2018-01-14 03:41:20 +09:00
|
|
|
padding: 10px;
|
2020-01-25 00:17:33 +09:00
|
|
|
|
|
|
|
.emoji-picker-dropdown {
|
|
|
|
position: absolute;
|
2020-03-08 23:36:50 +09:00
|
|
|
top: 0;
|
|
|
|
right: 0;
|
2020-01-25 00:17:33 +09:00
|
|
|
|
|
|
|
::-webkit-scrollbar-track:hover,
|
|
|
|
::-webkit-scrollbar-track:active {
|
|
|
|
background-color: rgba($base-overlay-background, 0.3);
|
|
|
|
}
|
|
|
|
}
|
2018-01-14 03:41:20 +09:00
|
|
|
}
|
2017-12-30 09:32:13 +09:00
|
|
|
|
2019-08-15 22:13:26 +09:00
|
|
|
.character-counter {
|
|
|
|
cursor: default;
|
|
|
|
font-family: $font-sans-serif, sans-serif;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 600;
|
|
|
|
color: $lighter-text-color;
|
|
|
|
|
|
|
|
&.character-counter--over {
|
|
|
|
color: $warning-red;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
.no-reduce-motion .spoiler-input {
|
2018-07-28 02:52:16 +09:00
|
|
|
transition: height 0.4s ease, opacity 0.4s ease;
|
|
|
|
}
|
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
.spoiler-input {
|
2018-07-28 02:52:16 +09:00
|
|
|
height: 0;
|
|
|
|
transform-origin: bottom;
|
|
|
|
opacity: 0.0;
|
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
&.spoiler-input--visible {
|
2019-06-02 17:05:54 +09:00
|
|
|
height: 36px;
|
|
|
|
margin-bottom: 11px;
|
2018-07-28 02:52:16 +09:00
|
|
|
opacity: 1.0;
|
|
|
|
}
|
|
|
|
|
2018-01-04 05:36:21 +09:00
|
|
|
input {
|
|
|
|
display: block;
|
|
|
|
box-sizing: border-box;
|
|
|
|
margin: 0;
|
2021-03-06 21:12:35 +09:00
|
|
|
border: 0;
|
2018-01-04 05:36:21 +09:00
|
|
|
border-radius: 4px;
|
|
|
|
padding: 10px;
|
|
|
|
width: 100%;
|
|
|
|
outline: 0;
|
2018-05-06 00:58:46 +09:00
|
|
|
color: $inverted-text-color;
|
2018-01-04 05:36:21 +09:00
|
|
|
background: $simple-background-color;
|
|
|
|
font-size: 14px;
|
|
|
|
font-family: inherit;
|
|
|
|
resize: vertical;
|
2017-12-30 09:32:13 +09:00
|
|
|
|
2019-09-20 02:58:40 +09:00
|
|
|
&::placeholder {
|
|
|
|
color: $dark-text-color;
|
|
|
|
}
|
|
|
|
|
2018-01-04 05:36:21 +09:00
|
|
|
&:focus { outline: 0 }
|
|
|
|
@include single-column('screen and (max-width: 630px)') { font-size: 16px }
|
|
|
|
}
|
2017-12-30 09:32:13 +09:00
|
|
|
}
|
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
.compose-form__warning {
|
2018-05-06 00:58:46 +09:00
|
|
|
color: $inverted-text-color;
|
2017-12-30 09:32:13 +09:00
|
|
|
margin-bottom: 15px;
|
|
|
|
background: $ui-primary-color;
|
|
|
|
box-shadow: 0 2px 6px rgba($base-shadow-color, 0.3);
|
|
|
|
padding: 8px 10px;
|
|
|
|
border-radius: 4px;
|
|
|
|
font-size: 13px;
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
|
|
a {
|
2018-05-06 00:58:46 +09:00
|
|
|
color: $lighter-text-color;
|
2017-12-30 09:32:13 +09:00
|
|
|
font-weight: 500;
|
|
|
|
text-decoration: underline;
|
|
|
|
|
|
|
|
&:active,
|
|
|
|
&:focus,
|
2021-03-06 21:12:35 +09:00
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2017-12-30 09:32:13 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-03 11:34:55 +09:00
|
|
|
.compose-form__sensitive-button {
|
|
|
|
padding: 10px;
|
|
|
|
padding-top: 0;
|
2019-05-04 03:44:20 +09:00
|
|
|
|
2019-05-10 20:59:41 +09:00
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
color: $highlight-text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type=checkbox] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.checkbox {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
border: 1px solid $ui-primary-color;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
margin-left: 5px;
|
|
|
|
margin-right: 10px;
|
|
|
|
top: -1px;
|
|
|
|
border-radius: 4px;
|
|
|
|
vertical-align: middle;
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
border-color: $highlight-text-color;
|
2023-01-19 00:30:46 +09:00
|
|
|
background: $highlight-text-color url("data:image/svg+xml;utf8,<svg width='18' height='18' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M4.5 8.5L8 12l6-6' stroke='white' stroke-width='1.5'/></svg>") center center no-repeat;
|
2019-05-10 20:59:41 +09:00
|
|
|
}
|
2019-05-04 03:44:20 +09:00
|
|
|
}
|
2019-05-03 11:34:55 +09:00
|
|
|
}
|
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
.reply-indicator {
|
2018-07-28 02:57:24 +09:00
|
|
|
margin: 0 0 10px;
|
|
|
|
border-radius: 4px;
|
2017-12-30 09:32:13 +09:00
|
|
|
padding: 10px;
|
|
|
|
background: $ui-primary-color;
|
2019-06-02 17:05:54 +09:00
|
|
|
min-height: 23px;
|
|
|
|
overflow-y: auto;
|
|
|
|
flex: 0 2 auto;
|
2022-11-06 21:30:37 +09:00
|
|
|
}
|
2017-12-30 09:32:13 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
.reply-indicator__header {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
overflow: hidden;
|
2017-12-30 09:32:13 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
& > .account.small { color: $inverted-text-color; }
|
|
|
|
}
|
2017-12-30 09:32:13 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
.reply-indicator__cancel {
|
|
|
|
float: right;
|
|
|
|
line-height: 24px;
|
|
|
|
}
|
2017-12-30 09:32:13 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
.reply-indicator__content {
|
|
|
|
position: relative;
|
|
|
|
margin: 10px 0;
|
|
|
|
padding: 0 12px;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 20px;
|
|
|
|
color: $inverted-text-color;
|
|
|
|
word-wrap: break-word;
|
|
|
|
font-weight: 400;
|
|
|
|
overflow: visible;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
padding-top: 5px;
|
|
|
|
overflow: hidden;
|
2017-12-30 09:32:13 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
p, pre, blockquote {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
white-space: pre-wrap;
|
2017-12-30 09:32:13 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
2019-05-13 22:06:09 +09:00
|
|
|
}
|
2022-11-06 21:30:37 +09:00
|
|
|
}
|
2019-05-13 22:06:09 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
h1, h2, h3, h4, h5 {
|
|
|
|
margin-top: 20px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
2019-05-13 22:06:09 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
h1, h2 {
|
|
|
|
font-weight: 700;
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
2019-05-13 22:06:09 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
h2 {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
2019-05-13 22:06:09 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
h3, h4, h5 {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
2019-05-13 22:06:09 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
blockquote {
|
|
|
|
padding-left: 10px;
|
|
|
|
border-left: 3px solid $inverted-text-color;
|
|
|
|
color: $inverted-text-color;
|
|
|
|
white-space: normal;
|
2019-05-13 22:06:09 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
p:last-child {
|
|
|
|
margin-bottom: 0;
|
2019-05-13 22:06:09 +09:00
|
|
|
}
|
2022-11-06 21:30:37 +09:00
|
|
|
}
|
2019-05-13 22:06:09 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
b, strong {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
2019-05-13 22:06:09 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
em, i {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2019-05-13 22:06:09 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
sub {
|
|
|
|
font-size: smaller;
|
|
|
|
vertical-align: sub;
|
|
|
|
}
|
2019-05-13 22:06:09 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
sup {
|
|
|
|
font-size: smaller;
|
|
|
|
vertical-align: super;
|
|
|
|
}
|
2022-04-05 16:35:50 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
ul, ol {
|
|
|
|
margin-left: 1em;
|
2019-05-13 22:06:09 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
p {
|
|
|
|
margin: 0;
|
2019-05-13 22:06:09 +09:00
|
|
|
}
|
2022-11-06 21:30:37 +09:00
|
|
|
}
|
2019-05-13 22:06:09 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
ul {
|
|
|
|
list-style-type: disc;
|
|
|
|
}
|
2019-05-13 22:06:09 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
ol {
|
|
|
|
list-style-type: decimal;
|
|
|
|
}
|
2017-12-30 09:32:13 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
a {
|
|
|
|
color: $lighter-text-color;
|
|
|
|
text-decoration: none;
|
2017-12-30 09:32:13 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
&:hover { text-decoration: underline }
|
2017-12-30 09:32:13 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
&.mention {
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
2017-12-30 09:32:13 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
span { text-decoration: underline }
|
2017-12-30 09:32:13 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-01-06 13:04:13 +09:00
|
|
|
|
|
|
|
.emojione {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
margin: -5px 0 0;
|
|
|
|
}
|
2017-12-30 09:32:13 +09:00
|
|
|
}
|
2017-12-30 07:55:06 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
.compose-form .compose-form__autosuggest-wrapper {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.compose-form .autosuggest-textarea,
|
|
|
|
.compose-form .autosuggest-input {
|
2017-12-30 09:32:13 +09:00
|
|
|
position: relative;
|
2019-11-07 22:43:07 +09:00
|
|
|
width: 100%;
|
2017-12-30 09:32:13 +09:00
|
|
|
|
2019-04-21 19:44:30 +09:00
|
|
|
label {
|
|
|
|
.autosuggest-textarea__textarea {
|
2018-01-04 05:36:21 +09:00
|
|
|
display: block;
|
|
|
|
box-sizing: border-box;
|
|
|
|
margin: 0;
|
2021-03-06 21:12:35 +09:00
|
|
|
border: 0;
|
2018-01-04 05:36:21 +09:00
|
|
|
border-radius: 4px 4px 0 0;
|
|
|
|
padding: 10px 32px 0 10px;
|
|
|
|
width: 100%;
|
|
|
|
min-height: 100px;
|
|
|
|
outline: 0;
|
2018-05-06 00:58:46 +09:00
|
|
|
color: $inverted-text-color;
|
2018-01-04 05:36:21 +09:00
|
|
|
background: $simple-background-color;
|
|
|
|
font-size: 14px;
|
|
|
|
font-family: inherit;
|
|
|
|
resize: none;
|
2019-03-17 04:10:42 +09:00
|
|
|
scrollbar-color: initial;
|
|
|
|
|
2019-09-20 02:58:40 +09:00
|
|
|
&::placeholder {
|
|
|
|
color: $dark-text-color;
|
|
|
|
}
|
|
|
|
|
2019-03-17 04:10:42 +09:00
|
|
|
&::-webkit-scrollbar {
|
|
|
|
all: unset;
|
|
|
|
}
|
2017-12-30 07:55:06 +09:00
|
|
|
|
2021-03-06 21:12:35 +09:00
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include single-column('screen and (max-width: 630px)') {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
2017-12-30 09:32:13 +09:00
|
|
|
|
2018-01-04 05:36:21 +09:00
|
|
|
@include limited-single-column('screen and (max-width: 600px)') {
|
|
|
|
height: 100px !important; // prevent auto-resize textarea
|
|
|
|
resize: vertical;
|
|
|
|
}
|
2017-12-30 09:32:13 +09:00
|
|
|
}
|
2017-12-30 07:55:06 +09:00
|
|
|
}
|
2017-12-30 09:32:13 +09:00
|
|
|
}
|
2017-12-30 07:55:06 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
.compose-form__textarea-icons {
|
2018-01-06 11:23:06 +09:00
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 29px;
|
|
|
|
right: 5px;
|
|
|
|
bottom: 5px;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
& > .textarea_icon {
|
|
|
|
display: block;
|
|
|
|
margin: 2px 0 0 2px;
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
2018-05-06 00:58:46 +09:00
|
|
|
color: $lighter-text-color;
|
2018-01-06 11:23:06 +09:00
|
|
|
font-size: 18px;
|
|
|
|
line-height: 24px;
|
|
|
|
text-align: center;
|
|
|
|
opacity: .8;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-06-02 17:05:54 +09:00
|
|
|
.autosuggest-textarea__suggestions-wrapper {
|
|
|
|
position: relative;
|
|
|
|
height: 0;
|
|
|
|
}
|
|
|
|
|
2019-04-21 19:44:30 +09:00
|
|
|
.autosuggest-textarea__suggestions {
|
2017-12-30 09:32:13 +09:00
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
box-sizing: border-box;
|
|
|
|
top: 100%;
|
|
|
|
border-radius: 0 0 4px 4px;
|
|
|
|
padding: 6px;
|
|
|
|
width: 100%;
|
2018-05-06 00:58:46 +09:00
|
|
|
color: $inverted-text-color;
|
2017-12-30 09:32:13 +09:00
|
|
|
background: $ui-secondary-color;
|
|
|
|
box-shadow: 4px 4px 6px rgba($base-shadow-color, 0.4);
|
|
|
|
font-size: 14px;
|
|
|
|
z-index: 99;
|
2019-04-21 19:44:30 +09:00
|
|
|
display: none;
|
|
|
|
}
|
2017-12-30 09:32:13 +09:00
|
|
|
|
2019-04-21 19:44:30 +09:00
|
|
|
.autosuggest-textarea__suggestions--visible {
|
|
|
|
display: block;
|
2017-12-30 09:32:13 +09:00
|
|
|
}
|
2017-12-30 07:55:06 +09:00
|
|
|
|
2019-04-21 19:44:30 +09:00
|
|
|
.autosuggest-textarea__suggestions__item {
|
2017-12-30 09:32:13 +09:00
|
|
|
padding: 10px;
|
|
|
|
cursor: pointer;
|
2019-08-21 05:13:00 +09:00
|
|
|
border-radius: 4px;
|
2017-12-30 07:55:06 +09:00
|
|
|
|
2017-12-30 09:32:13 +09:00
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active,
|
2018-01-05 14:17:30 +09:00
|
|
|
&.selected { background: darken($ui-secondary-color, 10%) }
|
2017-12-30 09:32:13 +09:00
|
|
|
|
2019-08-21 05:13:00 +09:00
|
|
|
> .account,
|
|
|
|
> .emoji,
|
|
|
|
> .autosuggest-hashtag {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: flex-start;
|
|
|
|
line-height: 18px;
|
|
|
|
font-size: 14px;
|
2017-12-30 07:55:06 +09:00
|
|
|
}
|
2018-01-06 13:04:13 +09:00
|
|
|
|
2019-07-28 21:37:52 +09:00
|
|
|
.autosuggest-hashtag {
|
|
|
|
justify-content: space-between;
|
|
|
|
|
2019-08-18 05:04:31 +09:00
|
|
|
&__name {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2019-09-05 13:14:06 +09:00
|
|
|
white-space: nowrap;
|
2019-08-18 05:04:31 +09:00
|
|
|
}
|
|
|
|
|
2019-07-28 21:37:52 +09:00
|
|
|
strong {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
2019-08-18 05:04:31 +09:00
|
|
|
|
|
|
|
&__uses {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
text-align: right;
|
2019-09-05 13:14:06 +09:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2019-08-18 05:04:31 +09:00
|
|
|
}
|
2019-07-28 21:37:52 +09:00
|
|
|
}
|
|
|
|
|
2018-01-06 13:04:13 +09:00
|
|
|
& > .account.small {
|
|
|
|
.display-name {
|
2018-05-06 00:58:46 +09:00
|
|
|
& > span { color: $lighter-text-color }
|
2018-01-06 13:04:13 +09:00
|
|
|
}
|
|
|
|
}
|
2017-12-30 09:32:13 +09:00
|
|
|
}
|
2017-12-30 07:55:06 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
.compose-form__upload-wrapper {
|
2019-04-24 22:35:27 +09:00
|
|
|
overflow: hidden;
|
2022-11-06 21:30:37 +09:00
|
|
|
}
|
2018-01-04 05:36:21 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
.compose-form__uploads-wrapper {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
font-family: inherit;
|
|
|
|
padding: 5px;
|
|
|
|
overflow: hidden;
|
2017-12-30 09:32:13 +09:00
|
|
|
}
|
2017-12-30 07:55:06 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
.compose-form__upload {
|
2017-12-30 09:32:13 +09:00
|
|
|
flex: 1 1 0;
|
|
|
|
margin: 5px;
|
|
|
|
min-width: 40%;
|
2017-12-30 07:55:06 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
.compose-form__upload-thumbnail {
|
2017-12-30 09:32:13 +09:00
|
|
|
position: relative;
|
|
|
|
border-radius: 4px;
|
2018-08-18 18:01:53 +09:00
|
|
|
height: 140px;
|
2017-12-30 09:32:13 +09:00
|
|
|
width: 100%;
|
2019-06-22 05:59:44 +09:00
|
|
|
background-color: $base-shadow-color;
|
2017-12-30 09:32:13 +09:00
|
|
|
background-position: center;
|
|
|
|
background-size: cover;
|
|
|
|
background-repeat: no-repeat;
|
2018-08-18 18:01:53 +09:00
|
|
|
overflow: hidden;
|
2017-12-30 09:32:13 +09:00
|
|
|
|
|
|
|
& > .close { mix-blend-mode: difference }
|
|
|
|
}
|
2017-12-30 07:55:06 +09:00
|
|
|
|
2018-08-18 18:01:53 +09:00
|
|
|
.icon-button {
|
|
|
|
flex: 0 1 auto;
|
2022-03-22 17:48:12 +09:00
|
|
|
color: $secondary-text-color;
|
2018-08-18 18:01:53 +09:00
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 500;
|
|
|
|
padding: 10px;
|
|
|
|
font-family: inherit;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
2022-03-22 17:48:12 +09:00
|
|
|
color: lighten($secondary-text-color, 7%);
|
2018-08-18 18:01:53 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-03-22 17:48:12 +09:00
|
|
|
&__warning {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 2;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
box-sizing: border-box;
|
|
|
|
background: linear-gradient(0deg, rgba($base-shadow-color, 0.8) 0, rgba($base-shadow-color, 0.35) 80%, transparent);
|
2018-08-18 18:01:53 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
.compose-form__upload__actions {
|
2022-03-22 17:48:12 +09:00
|
|
|
background: linear-gradient(180deg, rgba($base-shadow-color, 0.8) 0, rgba($base-shadow-color, 0.35) 80%, transparent);
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-start;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
.upload-progress {
|
2018-01-04 05:36:21 +09:00
|
|
|
display: flex;
|
|
|
|
padding: 10px;
|
2018-05-06 00:58:46 +09:00
|
|
|
color: $darker-text-color;
|
2018-01-04 05:36:21 +09:00
|
|
|
overflow: hidden;
|
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
.fa {
|
2018-01-04 05:36:21 +09:00
|
|
|
font-size: 34px;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
span {
|
|
|
|
display: block;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: 500;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
}
|
2018-01-04 05:36:21 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
.upload-progress__message {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
2018-01-04 05:36:21 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
.upload-progress__backdrop {
|
|
|
|
position: relative;
|
|
|
|
margin-top: 5px;
|
|
|
|
border-radius: 6px;
|
|
|
|
width: 100%;
|
|
|
|
height: 6px;
|
|
|
|
background: $ui-base-lighter-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.upload-progress__tracker {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
height: 6px;
|
|
|
|
border-radius: 6px;
|
|
|
|
background: $ui-highlight-color;
|
2018-01-04 05:36:21 +09:00
|
|
|
}
|
|
|
|
|
2019-03-06 20:30:11 +09:00
|
|
|
.compose-form__modifiers {
|
|
|
|
color: $inverted-text-color;
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: 14px;
|
|
|
|
background: $simple-background-color;
|
|
|
|
}
|
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
.compose-form__buttons-wrapper {
|
2017-12-30 09:32:13 +09:00
|
|
|
padding: 10px;
|
|
|
|
background: darken($simple-background-color, 8%);
|
|
|
|
border-radius: 0 0 4px 4px;
|
2018-01-04 05:36:21 +09:00
|
|
|
height: 27px;
|
2019-08-20 04:41:41 +09:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
}
|
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
.compose-form__buttons {
|
2019-08-20 04:41:41 +09:00
|
|
|
display: flex;
|
2019-06-02 17:05:54 +09:00
|
|
|
flex: 0 0 auto;
|
2017-12-30 09:32:13 +09:00
|
|
|
|
2022-09-08 02:37:46 +09:00
|
|
|
& .icon-button,
|
|
|
|
& .text-icon-button {
|
2017-12-30 09:32:13 +09:00
|
|
|
display: inline-block;
|
|
|
|
box-sizing: content-box;
|
|
|
|
padding: 0 3px;
|
2018-01-04 05:36:21 +09:00
|
|
|
height: 27px;
|
2017-12-30 09:32:13 +09:00
|
|
|
line-height: 27px;
|
2018-01-04 05:36:21 +09:00
|
|
|
vertical-align: bottom;
|
2017-12-30 09:32:13 +09:00
|
|
|
}
|
2017-12-30 07:55:06 +09:00
|
|
|
|
2017-12-30 09:32:13 +09:00
|
|
|
& > hr {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0 3px;
|
|
|
|
border-width: 0 0 0 1px;
|
|
|
|
border-style: none none none solid;
|
|
|
|
border-color: transparent transparent transparent darken($simple-background-color, 24%);
|
|
|
|
padding: 0;
|
2018-01-04 05:36:21 +09:00
|
|
|
width: 0;
|
|
|
|
height: 27px;
|
2017-12-30 09:32:13 +09:00
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
}
|
2017-12-30 07:55:06 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
.character-counter__wrapper {
|
2019-08-20 04:41:41 +09:00
|
|
|
align-self: center;
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
.privacy-dropdown.active {
|
|
|
|
.privacy-dropdown__value {
|
|
|
|
background: $simple-background-color;
|
|
|
|
border-radius: 4px 4px 0 0;
|
|
|
|
box-shadow: 0 -4px 4px rgba($base-shadow-color, 0.1);
|
|
|
|
|
|
|
|
.icon-button {
|
2018-01-04 05:36:21 +09:00
|
|
|
transition: none;
|
2017-12-30 07:55:06 +09:00
|
|
|
}
|
2022-11-06 21:30:37 +09:00
|
|
|
|
|
|
|
&.active {
|
|
|
|
background: $ui-highlight-color;
|
|
|
|
|
|
|
|
.icon-button {
|
|
|
|
color: $primary-text-color;
|
2018-08-20 00:14:30 +09:00
|
|
|
}
|
|
|
|
}
|
2017-12-30 07:55:06 +09:00
|
|
|
}
|
2022-11-06 21:30:37 +09:00
|
|
|
|
|
|
|
&.top .privacy-dropdown__value {
|
|
|
|
border-radius: 0 0 4px 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.privacy-dropdown__dropdown {
|
|
|
|
display: block;
|
|
|
|
box-shadow: 2px 4px 6px rgba($base-shadow-color, 0.1);
|
|
|
|
}
|
2017-12-30 09:32:13 +09:00
|
|
|
}
|
2017-12-30 07:55:06 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
.privacy-dropdown__dropdown {
|
2017-12-30 09:32:13 +09:00
|
|
|
border-radius: 4px;
|
|
|
|
box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
|
|
|
|
background: $simple-background-color;
|
|
|
|
overflow: hidden;
|
|
|
|
transform-origin: 50% 0;
|
|
|
|
}
|
2017-12-30 07:55:06 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
.privacy-dropdown__option {
|
2018-01-04 05:36:21 +09:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2017-12-30 09:32:13 +09:00
|
|
|
padding: 10px;
|
2018-05-06 00:58:46 +09:00
|
|
|
color: $inverted-text-color;
|
2017-12-30 09:32:13 +09:00
|
|
|
cursor: pointer;
|
2017-12-30 07:55:06 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
.privacy-dropdown__option__content {
|
2017-12-30 09:32:13 +09:00
|
|
|
flex: 1 1 auto;
|
2018-05-06 00:58:46 +09:00
|
|
|
color: $lighter-text-color;
|
2017-12-30 07:55:06 +09:00
|
|
|
|
2017-12-30 09:32:13 +09:00
|
|
|
&:not(:first-child) { margin-left: 10px }
|
2017-12-30 07:55:06 +09:00
|
|
|
|
2017-12-30 09:32:13 +09:00
|
|
|
strong {
|
2017-12-30 07:55:06 +09:00
|
|
|
display: block;
|
2018-05-06 00:58:46 +09:00
|
|
|
color: $inverted-text-color;
|
2017-12-30 09:32:13 +09:00
|
|
|
font-weight: 500;
|
2017-12-30 07:55:06 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-12-30 09:32:13 +09:00
|
|
|
&:hover,
|
|
|
|
&.active {
|
|
|
|
background: $ui-highlight-color;
|
|
|
|
color: $primary-text-color;
|
2017-12-30 07:55:06 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
.privacy-dropdown__option__content {
|
2017-12-30 09:32:13 +09:00
|
|
|
color: $primary-text-color;
|
2017-12-30 07:55:06 +09:00
|
|
|
|
2017-12-30 09:32:13 +09:00
|
|
|
strong { color: $primary-text-color }
|
2017-12-30 07:55:06 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-12-30 09:32:13 +09:00
|
|
|
&.active:hover { background: lighten($ui-highlight-color, 4%) }
|
|
|
|
}
|
2017-12-30 07:55:06 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
.compose-form__publish {
|
|
|
|
display: flex;
|
2019-06-02 17:05:54 +09:00
|
|
|
justify-content: flex-end;
|
2022-11-06 21:30:37 +09:00
|
|
|
min-width: 0;
|
2019-06-16 22:18:53 +09:00
|
|
|
flex: 0 0 auto;
|
2022-11-06 21:30:37 +09:00
|
|
|
column-gap: 5px;
|
2017-12-30 07:55:06 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
.compose-form__publish-button-wrapper {
|
|
|
|
overflow: hidden;
|
|
|
|
padding-top: 10px;
|
2017-12-30 07:55:06 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
button {
|
|
|
|
padding: 7px 10px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2017-12-30 07:55:06 +09:00
|
|
|
|
2022-11-06 21:30:37 +09:00
|
|
|
& > .side_arm {
|
|
|
|
width: 36px;
|
|
|
|
}
|
2017-12-30 07:55:06 +09:00
|
|
|
}
|
|
|
|
}
|
2022-05-16 18:18:35 +09:00
|
|
|
|
|
|
|
.language-dropdown {
|
|
|
|
&__dropdown {
|
|
|
|
background: $simple-background-color;
|
|
|
|
box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
|
|
|
|
border-radius: 4px;
|
|
|
|
overflow: hidden;
|
|
|
|
z-index: 2;
|
|
|
|
|
|
|
|
&.top {
|
|
|
|
transform-origin: 50% 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.bottom {
|
|
|
|
transform-origin: 50% 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-search {
|
|
|
|
padding-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-search-icon {
|
|
|
|
right: 10px + 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.emoji-mart-scroll {
|
|
|
|
padding: 0 10px 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__results {
|
|
|
|
&__item {
|
|
|
|
cursor: pointer;
|
|
|
|
color: $inverted-text-color;
|
|
|
|
font-weight: 500;
|
|
|
|
padding: 10px;
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
|
|
&:focus,
|
|
|
|
&:active,
|
|
|
|
&:hover {
|
|
|
|
background: $ui-secondary-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__common-name {
|
|
|
|
color: $darker-text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
background: $ui-highlight-color;
|
|
|
|
color: $primary-text-color;
|
|
|
|
outline: 0;
|
|
|
|
|
|
|
|
.language-dropdown__dropdown__results__item__common-name {
|
|
|
|
color: $secondary-text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: lighten($ui-highlight-color, 4%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|