2021-12-21 02:27:25 +01:00
|
|
|
@import '../init/breakpoints';
|
2021-10-27 20:20:47 +02:00
|
|
|
|
|
|
|
$thumbnailWidth: 1.5rem;
|
|
|
|
$thumbnailWidthSmall: 1rem;
|
|
|
|
|
2021-12-06 18:28:36 +01:00
|
|
|
.create__comment {
|
2021-10-28 22:25:34 +02:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.commentCreate {
|
2021-10-27 20:20:47 +02:00
|
|
|
font-size: var(--font-small);
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
fieldset-section,
|
|
|
|
.form-field--SimpleMDE {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-field__two-column {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: flex-end;
|
|
|
|
}
|
2022-02-04 21:59:11 +01:00
|
|
|
|
|
|
|
@media (min-width: $breakpoint-small) {
|
|
|
|
fieldset-section + .section {
|
|
|
|
margin-top: var(--spacing-m);
|
|
|
|
}
|
|
|
|
}
|
2021-10-27 20:20:47 +02:00
|
|
|
}
|
|
|
|
|
2022-02-02 13:49:02 +01:00
|
|
|
@media (max-width: $breakpoint-small) {
|
2022-02-04 21:59:11 +01:00
|
|
|
.empty__wrap {
|
2022-02-02 13:49:02 +01:00
|
|
|
p {
|
|
|
|
font-size: var(--font-small);
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-04 21:59:11 +01:00
|
|
|
.comment-create--drawer {
|
|
|
|
.MuiPaper-root {
|
|
|
|
background-color: var(--color-background) !important;
|
|
|
|
|
|
|
|
span {
|
|
|
|
color: var(--color-text);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-28 22:25:34 +02:00
|
|
|
.commentCreate--reply {
|
2021-10-27 20:20:47 +02:00
|
|
|
margin-top: var(--spacing-m);
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2021-10-28 22:25:34 +02:00
|
|
|
.commentCreate--nestedReply {
|
2021-10-27 20:20:47 +02:00
|
|
|
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);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-28 22:25:34 +02:00
|
|
|
.commentCreate--bottom {
|
2021-10-27 20:20:47 +02:00
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2022-02-02 13:49:02 +01:00
|
|
|
.comment-create__label-wrapper {
|
2021-10-27 20:20:47 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: flex-start;
|
|
|
|
align-items: baseline;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
width: 100%;
|
|
|
|
|
2022-02-02 13:49:02 +01:00
|
|
|
.comment-create__label {
|
2021-10-28 22:25:34 +02:00
|
|
|
white-space: nowrap;
|
|
|
|
margin-right: var(--spacing-xs);
|
|
|
|
}
|
|
|
|
|
2022-02-02 13:49:02 +01:00
|
|
|
fieldset-section {
|
|
|
|
max-width: 10rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
2021-10-27 20:20:47 +02:00
|
|
|
fieldset-section {
|
2022-02-02 13:49:02 +01:00
|
|
|
font-size: var(--font-xxsmall);
|
2021-10-27 20:20:47 +02:00
|
|
|
}
|
2022-02-04 21:59:11 +01:00
|
|
|
|
|
|
|
span {
|
|
|
|
font-size: var(--font-xxsmall);
|
|
|
|
}
|
|
|
|
|
|
|
|
select {
|
|
|
|
height: 1rem;
|
|
|
|
margin: var(--spacing-xxs) 0px;
|
|
|
|
}
|
2021-10-27 20:20:47 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-28 22:25:34 +02:00
|
|
|
.commentCreate__supportCommentPreview {
|
2021-10-27 20:20:47 +02:00
|
|
|
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;
|
|
|
|
|
2021-10-28 22:25:34 +02:00
|
|
|
.commentCreate__supportCommentPreviewAmount {
|
|
|
|
margin-right: var(--spacing-m);
|
|
|
|
font-size: var(--font-large);
|
|
|
|
}
|
2022-02-04 21:59:11 +01:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
padding: var(--spacing-xs);
|
|
|
|
|
|
|
|
span {
|
|
|
|
font-size: var(--font-xsmall);
|
|
|
|
}
|
|
|
|
}
|
2021-10-27 20:20:47 +02:00
|
|
|
}
|
|
|
|
|
2022-02-04 21:59:11 +01:00
|
|
|
.comment-create__min-amount-notice {
|
2021-10-27 20:20:47 +02:00
|
|
|
.icon {
|
|
|
|
margin-bottom: -3px; // TODO fix few instances of these (find "-2px")
|
|
|
|
}
|
2022-02-04 21:59:11 +01:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
margin: 0px;
|
|
|
|
font-size: var(--font-xsmall);
|
|
|
|
}
|
2021-10-27 20:20:47 +02:00
|
|
|
}
|
2021-10-28 22:25:34 +02:00
|
|
|
|
|
|
|
.commentCreate__stickerPreview {
|
|
|
|
@extend .commentCreate;
|
|
|
|
display: flex;
|
|
|
|
border: 1px solid var(--color-border);
|
|
|
|
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;
|
2021-11-05 20:31:51 +01:00
|
|
|
|
|
|
|
.credit-amount:not(:last-child) {
|
|
|
|
&::after {
|
|
|
|
margin-left: var(--spacing-xxs);
|
|
|
|
content: '/';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.credit-amount:not(:first-child) {
|
|
|
|
margin-left: var(--spacing-xxs);
|
|
|
|
}
|
2021-10-28 22:25:34 +02:00
|
|
|
}
|
2022-02-04 21:59:11 +01:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
padding: var(--spacing-xs);
|
|
|
|
height: 7rem;
|
|
|
|
|
|
|
|
span {
|
|
|
|
font-size: var(--font-xsmall);
|
|
|
|
}
|
|
|
|
}
|
2021-10-28 22:25:34 +02:00
|
|
|
}
|