2022-04-14 23:27:16 +02:00
|
|
|
@import '../init/breakpoints';
|
2022-01-24 17:07:09 +01:00
|
|
|
|
|
|
|
$thumbnailWidth: 1.5rem;
|
|
|
|
$thumbnailWidthSmall: 1rem;
|
|
|
|
|
2022-04-14 23:27:16 +02:00
|
|
|
.content_comment {
|
2022-01-24 17:07:09 +01:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.commentCreate {
|
|
|
|
font-size: var(--font-small);
|
|
|
|
position: relative;
|
|
|
|
|
2022-04-14 23:27:16 +02:00
|
|
|
.section {
|
|
|
|
margin-top: var(--spacing-xs);
|
|
|
|
}
|
|
|
|
|
|
|
|
.button--file-action {
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--color-primary) !important;
|
|
|
|
color: var(--color-primary-contrast);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.section__actions {
|
|
|
|
.button,
|
|
|
|
.button--link {
|
|
|
|
background-color: var(--color-header-background);
|
|
|
|
color: var(--color-text);
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--color-primary);
|
|
|
|
color: var(--color-primary-contrast);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.button--link {
|
|
|
|
// flex: auto;
|
|
|
|
margin-top: -2px;
|
|
|
|
height: var(--height-button);
|
|
|
|
.button__content {
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
.button__label {
|
|
|
|
margin-top: 1px;
|
|
|
|
line-height: 18px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.button--alt {
|
|
|
|
margin-top: -2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
margin-top: var(--spacing-s);
|
|
|
|
.button--alt {
|
|
|
|
flex: auto;
|
|
|
|
.button__content {
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.button--link {
|
|
|
|
flex: auto;
|
|
|
|
height: 2rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-01-24 17:07:09 +01:00
|
|
|
fieldset-section,
|
|
|
|
.form-field--SimpleMDE {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-field__two-column {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: flex-end;
|
2022-04-14 23:27:16 +02:00
|
|
|
|
|
|
|
.comment__char-count-mde {
|
|
|
|
margin-left: auto;
|
|
|
|
min-width: 40px;
|
|
|
|
text-align: center;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
padding-left: 4px;
|
|
|
|
padding-right: 4px;
|
|
|
|
padding-top: 5px;
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
height: var(--height-input-slim);
|
|
|
|
}
|
|
|
|
|
|
|
|
.button--file-action {
|
|
|
|
padding: 0px;
|
|
|
|
height: var(--height-input-slim);
|
|
|
|
background: var(--color-header-background);
|
|
|
|
margin-bottom: 8px;
|
|
|
|
.button__content {
|
|
|
|
.icon {
|
|
|
|
width: var(--height-input-slim);
|
|
|
|
height: var(--height-input-slim);
|
|
|
|
padding: 4px;
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--color-primary) !important;
|
|
|
|
.button__content {
|
|
|
|
.icon {
|
|
|
|
stroke: var(--color-primary-contrast);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: $breakpoint-small) {
|
|
|
|
fieldset-section + .section {
|
|
|
|
margin-top: var(--spacing-m);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
.empty__wrap {
|
|
|
|
p {
|
|
|
|
font-size: var(--font-small);
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment-create--drawer {
|
|
|
|
.MuiPaper-root {
|
|
|
|
span {
|
|
|
|
color: var(--color-text);
|
|
|
|
}
|
2022-01-24 17:07:09 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.commentCreate--reply {
|
|
|
|
margin-top: var(--spacing-m);
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.commentCreate--nestedReply {
|
|
|
|
margin-top: var(--spacing-s);
|
|
|
|
margin-left: calc((#{$thumbnailWidthSmall} + var(--spacing-xs)) * 2 + var(--spacing-m) + 4px);
|
|
|
|
|
|
|
|
@media (min-width: $breakpoint-small) {
|
|
|
|
margin-left: calc((#{$thumbnailWidth} + var(--spacing-m)) * 2 + var(--spacing-m) + 4px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.commentCreate--bottom {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2022-04-14 23:27:16 +02:00
|
|
|
.comment-create__label-wrapper {
|
2022-01-24 17:07:09 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: flex-start;
|
|
|
|
align-items: baseline;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
width: 100%;
|
|
|
|
|
2022-04-14 23:27:16 +02:00
|
|
|
.comment-create__label {
|
2022-01-24 17:07:09 +01:00
|
|
|
white-space: nowrap;
|
|
|
|
margin-right: var(--spacing-xs);
|
|
|
|
}
|
|
|
|
|
2022-04-14 23:27:16 +02:00
|
|
|
fieldset-section {
|
|
|
|
max-width: 10rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
2022-01-24 17:07:09 +01:00
|
|
|
fieldset-section {
|
2022-04-14 23:27:16 +02:00
|
|
|
font-size: var(--font-xxsmall);
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
font-size: var(--font-xxsmall);
|
|
|
|
}
|
|
|
|
|
|
|
|
select {
|
|
|
|
height: 1rem;
|
|
|
|
margin: var(--spacing-xxs) 0px;
|
2022-01-24 17:07:09 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.commentCreate__supportCommentPreview {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
border: 1px solid var(--color-border);
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
padding: var(--spacing-s);
|
|
|
|
margin: var(--spacing-s) 0;
|
|
|
|
|
|
|
|
.commentCreate__supportCommentPreviewAmount {
|
|
|
|
margin-right: var(--spacing-m);
|
|
|
|
font-size: var(--font-large);
|
|
|
|
}
|
2022-04-14 23:27:16 +02:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
padding: var(--spacing-xs);
|
|
|
|
|
|
|
|
span {
|
|
|
|
font-size: var(--font-xsmall);
|
|
|
|
}
|
|
|
|
}
|
2022-01-24 17:07:09 +01:00
|
|
|
}
|
|
|
|
|
2022-04-14 23:27:16 +02:00
|
|
|
.comment-create__min-amount-notice {
|
|
|
|
margin-top: calc(var(--spacing-xxs) - 2px);
|
|
|
|
padding-top: calc(var(--spacing-xs) + 1px);
|
|
|
|
height: var(--height-button);
|
2022-01-24 17:07:09 +01:00
|
|
|
.icon {
|
|
|
|
margin-bottom: -3px; // TODO fix few instances of these (find "-2px")
|
|
|
|
}
|
2022-04-14 23:27:16 +02:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
margin: 0px;
|
|
|
|
padding-top: calc(var(--spacing-xs) + 3px);
|
|
|
|
font-size: var(--font-xsmall);
|
|
|
|
}
|
2022-01-24 17:07:09 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.commentCreate__stickerPreview {
|
|
|
|
@extend .commentCreate;
|
|
|
|
display: flex;
|
2022-04-14 23:27:16 +02:00
|
|
|
background-color: var(--color-header-background);
|
2022-01-24 17:07:09 +01:00
|
|
|
border-radius: var(--border-radius);
|
|
|
|
padding: var(--spacing-s);
|
|
|
|
margin: var(--spacing-s) 0;
|
|
|
|
overflow: hidden;
|
|
|
|
width: 100%;
|
|
|
|
height: 10rem;
|
|
|
|
|
|
|
|
.commentCreate__stickerPreviewInfo {
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
.commentCreate__stickerPreviewImage {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
margin-left: var(--spacing-m);
|
|
|
|
}
|
|
|
|
|
|
|
|
.filePrice {
|
|
|
|
height: 1.5rem;
|
|
|
|
width: 10rem;
|
|
|
|
|
|
|
|
.credit-amount:not(:last-child) {
|
|
|
|
&::after {
|
|
|
|
margin-left: var(--spacing-xxs);
|
|
|
|
content: '/';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.credit-amount:not(:first-child) {
|
|
|
|
margin-left: var(--spacing-xxs);
|
|
|
|
}
|
|
|
|
}
|
2022-04-14 23:27:16 +02:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
padding: var(--spacing-xs);
|
|
|
|
height: 7rem;
|
|
|
|
|
|
|
|
span {
|
|
|
|
font-size: var(--font-xsmall);
|
|
|
|
}
|
|
|
|
}
|
2022-01-24 17:07:09 +01:00
|
|
|
}
|