2017-12-29 16:32:13 -08:00
|
|
|
.composer { padding: 10px }
|
|
|
|
|
|
|
|
.composer--spoiler {
|
2018-01-03 12:36:21 -08:00
|
|
|
input {
|
|
|
|
display: block;
|
|
|
|
box-sizing: border-box;
|
|
|
|
margin: 0;
|
|
|
|
border: none;
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: 10px;
|
|
|
|
width: 100%;
|
|
|
|
outline: 0;
|
|
|
|
color: $ui-base-color;
|
|
|
|
background: $simple-background-color;
|
|
|
|
font-size: 14px;
|
|
|
|
font-family: inherit;
|
|
|
|
resize: vertical;
|
2017-12-29 16:32:13 -08:00
|
|
|
|
2018-01-03 12:36:21 -08:00
|
|
|
&:focus { outline: 0 }
|
|
|
|
@include single-column('screen and (max-width: 630px)') { font-size: 16px }
|
|
|
|
}
|
2017-12-29 16:32:13 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.composer--warning {
|
|
|
|
color: darken($ui-secondary-color, 65%);
|
|
|
|
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 {
|
|
|
|
color: darken($ui-primary-color, 33%);
|
|
|
|
font-weight: 500;
|
|
|
|
text-decoration: underline;
|
|
|
|
|
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover { text-decoration: none }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.composer--reply {
|
|
|
|
margin: 0 0 -2px;
|
|
|
|
border-radius: 4px 4px 0 0;
|
|
|
|
padding: 10px;
|
|
|
|
background: $ui-primary-color;
|
|
|
|
|
|
|
|
& > header {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
overflow: hidden;
|
|
|
|
|
2018-01-05 20:04:13 -08:00
|
|
|
& > .account.small { color: $ui-base-color }
|
2017-12-29 16:32:13 -08:00
|
|
|
|
|
|
|
& > .cancel {
|
|
|
|
float: right;
|
|
|
|
line-height: 24px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
& > .content {
|
|
|
|
position: relative;
|
|
|
|
margin: 10px 0;
|
|
|
|
padding: 0 12px;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 20px;
|
|
|
|
color: $ui-base-color;
|
|
|
|
word-wrap: break-word;
|
|
|
|
font-weight: 400;
|
|
|
|
overflow: visible;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
padding-top: 5px;
|
|
|
|
|
2018-01-05 20:04:13 -08:00
|
|
|
p {
|
|
|
|
margin-bottom: 20px;
|
2017-12-29 16:32:13 -08:00
|
|
|
|
2018-01-05 20:04:13 -08:00
|
|
|
&:last-child { margin-bottom: 0 }
|
|
|
|
}
|
2017-12-29 16:32:13 -08:00
|
|
|
|
2018-01-05 20:04:13 -08:00
|
|
|
a {
|
|
|
|
color: lighten($ui-base-color, 20%);
|
|
|
|
text-decoration: none;
|
2017-12-29 16:32:13 -08:00
|
|
|
|
2018-01-05 20:04:13 -08:00
|
|
|
&:hover { text-decoration: underline }
|
2017-12-29 16:32:13 -08:00
|
|
|
|
2018-01-05 20:04:13 -08:00
|
|
|
&.mention {
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
2017-12-29 16:32:13 -08:00
|
|
|
|
2018-01-05 20:04:13 -08:00
|
|
|
span { text-decoration: underline }
|
|
|
|
}
|
2017-12-29 16:32:13 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-01-05 20:04:13 -08:00
|
|
|
|
|
|
|
.emojione {
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
margin: -5px 0 0;
|
|
|
|
}
|
2017-12-29 16:32:13 -08:00
|
|
|
}
|
2017-12-29 14:55:06 -08:00
|
|
|
|
2017-12-29 16:32:13 -08:00
|
|
|
.composer--textarea {
|
|
|
|
position: relative;
|
|
|
|
|
2018-01-03 12:36:21 -08:00
|
|
|
& > label {
|
|
|
|
.textarea {
|
|
|
|
display: block;
|
|
|
|
box-sizing: border-box;
|
|
|
|
margin: 0;
|
|
|
|
border: none;
|
|
|
|
border-radius: 4px 4px 0 0;
|
|
|
|
padding: 10px 32px 0 10px;
|
|
|
|
width: 100%;
|
|
|
|
min-height: 100px;
|
|
|
|
outline: 0;
|
|
|
|
color: $ui-base-color;
|
|
|
|
background: $simple-background-color;
|
|
|
|
font-size: 14px;
|
|
|
|
font-family: inherit;
|
|
|
|
resize: none;
|
2017-12-29 14:55:06 -08:00
|
|
|
|
2018-01-03 12:36:21 -08:00
|
|
|
&:disabled { background: $ui-secondary-color }
|
|
|
|
&:focus { outline: 0 }
|
|
|
|
@include single-column('screen and (max-width: 630px)') { font-size: 16px }
|
2017-12-29 16:32:13 -08:00
|
|
|
|
2018-01-03 12:36:21 -08:00
|
|
|
@include limited-single-column('screen and (max-width: 600px)') {
|
|
|
|
height: 100px !important; // prevent auto-resize textarea
|
|
|
|
resize: vertical;
|
|
|
|
}
|
2017-12-29 16:32:13 -08:00
|
|
|
}
|
2017-12-29 14:55:06 -08:00
|
|
|
}
|
2017-12-29 16:32:13 -08:00
|
|
|
}
|
2017-12-29 14:55:06 -08:00
|
|
|
|
2018-01-05 18:23:06 -08:00
|
|
|
.composer--textarea--icons {
|
|
|
|
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;
|
|
|
|
color: darken($ui-primary-color, 24%);
|
|
|
|
font-size: 18px;
|
|
|
|
line-height: 24px;
|
|
|
|
text-align: center;
|
|
|
|
opacity: .8;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-12-29 16:32:13 -08:00
|
|
|
.composer--textarea--suggestions {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
box-sizing: border-box;
|
|
|
|
top: 100%;
|
|
|
|
border-radius: 0 0 4px 4px;
|
|
|
|
padding: 6px;
|
|
|
|
width: 100%;
|
|
|
|
color: $ui-base-color;
|
|
|
|
background: $ui-secondary-color;
|
|
|
|
box-shadow: 4px 4px 6px rgba($base-shadow-color, 0.4);
|
|
|
|
font-size: 14px;
|
|
|
|
z-index: 99;
|
|
|
|
|
|
|
|
&[hidden] { display: none }
|
|
|
|
}
|
2017-12-29 14:55:06 -08:00
|
|
|
|
2017-12-29 16:32:13 -08:00
|
|
|
.composer--textarea--suggestions--item {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: flex-start;
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: 10px;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 18px;
|
2018-01-05 20:04:13 -08:00
|
|
|
overflow: hidden;
|
2017-12-29 16:32:13 -08:00
|
|
|
cursor: pointer;
|
2017-12-29 14:55:06 -08:00
|
|
|
|
2017-12-29 16:32:13 -08:00
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active,
|
2018-01-04 21:17:30 -08:00
|
|
|
&.selected { background: darken($ui-secondary-color, 10%) }
|
2017-12-29 16:32:13 -08:00
|
|
|
|
|
|
|
& > .emoji {
|
|
|
|
img {
|
|
|
|
display: block;
|
|
|
|
float: left;
|
|
|
|
margin-right: 8px;
|
2018-01-04 21:17:30 -08:00
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
2017-12-29 14:55:06 -08:00
|
|
|
}
|
|
|
|
}
|
2018-01-05 20:04:13 -08:00
|
|
|
|
|
|
|
& > .account.small {
|
|
|
|
.display-name {
|
|
|
|
& > span { color: lighten($ui-base-color, 36%) }
|
|
|
|
}
|
|
|
|
}
|
2017-12-29 16:32:13 -08:00
|
|
|
}
|
2017-12-29 14:55:06 -08:00
|
|
|
|
2017-12-29 16:32:13 -08:00
|
|
|
.composer--upload_form {
|
|
|
|
padding: 5px;
|
|
|
|
color: $ui-base-color;
|
|
|
|
background: $simple-background-color;
|
|
|
|
font-size: 14px;
|
2018-01-03 12:36:21 -08:00
|
|
|
|
|
|
|
& > .content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
font-family: inherit;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2017-12-29 16:32:13 -08:00
|
|
|
}
|
2017-12-29 14:55:06 -08:00
|
|
|
|
2017-12-29 16:32:13 -08:00
|
|
|
.composer--upload_form--item {
|
|
|
|
flex: 1 1 0;
|
|
|
|
margin: 5px;
|
|
|
|
min-width: 40%;
|
2017-12-29 14:55:06 -08:00
|
|
|
|
2017-12-29 16:32:13 -08:00
|
|
|
& > div {
|
|
|
|
position: relative;
|
|
|
|
border-radius: 4px;
|
|
|
|
height: 100px;
|
|
|
|
width: 100%;
|
|
|
|
background-position: center;
|
|
|
|
background-size: cover;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
|
|
|
input {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
box-sizing: border-box;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
margin: 0;
|
|
|
|
border: 0;
|
|
|
|
padding: 10px;
|
|
|
|
width: 100%;
|
|
|
|
color: $ui-secondary-color;
|
|
|
|
background: linear-gradient(0deg, rgba($base-shadow-color, 0.8) 0, rgba($base-shadow-color, 0.35) 80%, transparent);
|
2017-12-29 14:55:06 -08:00
|
|
|
font-size: 14px;
|
2017-12-29 16:32:13 -08:00
|
|
|
font-family: inherit;
|
|
|
|
font-weight: 500;
|
|
|
|
opacity: 0;
|
|
|
|
z-index: 2;
|
|
|
|
transition: opacity .1s ease;
|
|
|
|
|
|
|
|
&:focus { color: $white }
|
2017-12-29 14:55:06 -08:00
|
|
|
|
2017-12-29 16:32:13 -08:00
|
|
|
&::placeholder {
|
|
|
|
opacity: 0.54;
|
|
|
|
color: $ui-secondary-color;
|
|
|
|
}
|
2017-12-29 14:55:06 -08:00
|
|
|
}
|
|
|
|
|
2017-12-29 16:32:13 -08:00
|
|
|
& > .close { mix-blend-mode: difference }
|
|
|
|
}
|
2017-12-29 14:55:06 -08:00
|
|
|
|
2017-12-29 16:32:13 -08:00
|
|
|
&.active {
|
|
|
|
& > div {
|
|
|
|
input { opacity: 1 }
|
2017-12-29 14:55:06 -08:00
|
|
|
}
|
2017-12-29 16:32:13 -08:00
|
|
|
}
|
|
|
|
}
|
2017-12-29 14:55:06 -08:00
|
|
|
|
2018-01-03 12:36:21 -08:00
|
|
|
.composer--upload_form--progress {
|
|
|
|
display: flex;
|
|
|
|
padding: 10px;
|
|
|
|
color: $ui-base-lighter-color;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
& > .fa {
|
|
|
|
font-size: 34px;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
& > .message {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
|
|
|
|
& > span {
|
|
|
|
display: block;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: 500;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
& > .backdrop {
|
|
|
|
position: relative;
|
|
|
|
margin-top: 5px;
|
|
|
|
border-radius: 6px;
|
|
|
|
width: 100%;
|
|
|
|
height: 6px;
|
|
|
|
background: $ui-base-lighter-color;
|
|
|
|
|
|
|
|
& > .tracker {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
height: 6px;
|
|
|
|
border-radius: 6px;
|
|
|
|
background: $ui-highlight-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-12-29 16:32:13 -08:00
|
|
|
.composer--options {
|
|
|
|
padding: 10px;
|
|
|
|
background: darken($simple-background-color, 8%);
|
|
|
|
box-shadow: inset 0 5px 5px rgba($base-shadow-color, 0.05);
|
|
|
|
border-radius: 0 0 4px 4px;
|
2018-01-03 12:36:21 -08:00
|
|
|
height: 27px;
|
2017-12-29 16:32:13 -08:00
|
|
|
|
|
|
|
& > * {
|
|
|
|
display: inline-block;
|
|
|
|
box-sizing: content-box;
|
|
|
|
padding: 0 3px;
|
2018-01-03 12:36:21 -08:00
|
|
|
height: 27px;
|
2017-12-29 16:32:13 -08:00
|
|
|
line-height: 27px;
|
2018-01-03 12:36:21 -08:00
|
|
|
vertical-align: bottom;
|
2017-12-29 16:32:13 -08:00
|
|
|
}
|
2017-12-29 14:55:06 -08:00
|
|
|
|
2017-12-29 16:32:13 -08: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-03 12:36:21 -08:00
|
|
|
width: 0;
|
|
|
|
height: 27px;
|
2017-12-29 16:32:13 -08:00
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
}
|
2017-12-29 14:55:06 -08:00
|
|
|
|
2017-12-29 16:32:13 -08:00
|
|
|
.composer--options--dropdown {
|
2018-01-03 12:36:21 -08:00
|
|
|
&.open {
|
2017-12-29 16:32:13 -08:00
|
|
|
& > .value {
|
|
|
|
border-radius: 4px 4px 0 0;
|
|
|
|
box-shadow: 0 -4px 4px rgba($base-shadow-color, 0.1);
|
|
|
|
color: $primary-text-color;
|
|
|
|
background: $ui-highlight-color;
|
2018-01-03 12:36:21 -08:00
|
|
|
transition: none;
|
2017-12-29 14:55:06 -08:00
|
|
|
}
|
|
|
|
}
|
2017-12-29 16:32:13 -08:00
|
|
|
}
|
2017-12-29 14:55:06 -08:00
|
|
|
|
2018-01-03 12:36:21 -08:00
|
|
|
.composer--options--dropdown--content {
|
2017-12-29 16:32:13 -08:00
|
|
|
position: absolute;
|
|
|
|
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-29 14:55:06 -08:00
|
|
|
|
2018-01-03 12:36:21 -08:00
|
|
|
.composer--options--dropdown--content--item {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2017-12-29 16:32:13 -08:00
|
|
|
padding: 10px;
|
2018-01-03 12:36:21 -08:00
|
|
|
color: $ui-base-color;
|
2017-12-29 16:32:13 -08:00
|
|
|
cursor: pointer;
|
2017-12-29 14:55:06 -08:00
|
|
|
|
2017-12-29 16:32:13 -08:00
|
|
|
& > .content {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
color: darken($ui-primary-color, 24%);
|
2017-12-29 14:55:06 -08:00
|
|
|
|
2017-12-29 16:32:13 -08:00
|
|
|
&:not(:first-child) { margin-left: 10px }
|
2017-12-29 14:55:06 -08:00
|
|
|
|
2017-12-29 16:32:13 -08:00
|
|
|
strong {
|
2017-12-29 14:55:06 -08:00
|
|
|
display: block;
|
|
|
|
color: $ui-base-color;
|
2017-12-29 16:32:13 -08:00
|
|
|
font-weight: 500;
|
2017-12-29 14:55:06 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-12-29 16:32:13 -08:00
|
|
|
&:hover,
|
|
|
|
&.active {
|
|
|
|
background: $ui-highlight-color;
|
|
|
|
color: $primary-text-color;
|
2017-12-29 14:55:06 -08:00
|
|
|
|
2017-12-29 16:32:13 -08:00
|
|
|
& > .content {
|
|
|
|
color: $primary-text-color;
|
2017-12-29 14:55:06 -08:00
|
|
|
|
2017-12-29 16:32:13 -08:00
|
|
|
strong { color: $primary-text-color }
|
2017-12-29 14:55:06 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-12-29 16:32:13 -08:00
|
|
|
&.active:hover { background: lighten($ui-highlight-color, 4%) }
|
|
|
|
}
|
2017-12-29 14:55:06 -08:00
|
|
|
|
2017-12-29 16:32:13 -08:00
|
|
|
.composer--publisher {
|
|
|
|
padding-top: 10px;
|
|
|
|
text-align: right;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
2017-12-29 14:55:06 -08:00
|
|
|
|
2017-12-29 16:32:13 -08:00
|
|
|
& > .count {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0 16px 0 8px;
|
|
|
|
font-size: 16px;
|
|
|
|
line-height: 36px;
|
|
|
|
}
|
2017-12-29 14:55:06 -08:00
|
|
|
|
2017-12-29 16:32:13 -08:00
|
|
|
& > .primary {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0 10px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2017-12-29 14:55:06 -08:00
|
|
|
|
2017-12-29 16:32:13 -08:00
|
|
|
& > .side_arm {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0 2px 0 0;
|
|
|
|
padding: 0;
|
|
|
|
width: 36px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2017-12-29 14:55:06 -08:00
|
|
|
|
2017-12-29 16:32:13 -08:00
|
|
|
&.over {
|
|
|
|
& > .count { color: $warning-red }
|
2017-12-29 14:55:06 -08:00
|
|
|
}
|
|
|
|
}
|