2021-08-31 16:13:31 +03:00
|
|
|
.room-input {
|
2021-08-04 12:52:59 +03:00
|
|
|
padding: var(--sp-extra-tight) calc(var(--sp-normal) - 2px);
|
|
|
|
display: flex;
|
|
|
|
min-height: 48px;
|
|
|
|
|
2021-09-30 17:16:43 +03:00
|
|
|
&__disallowed {
|
|
|
|
flex: 1;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2021-08-04 12:52:59 +03:00
|
|
|
&__space {
|
|
|
|
min-width: 0;
|
|
|
|
align-self: center;
|
|
|
|
margin: auto;
|
|
|
|
padding: 0 var(--sp-tight);
|
|
|
|
}
|
|
|
|
|
|
|
|
&__input-container {
|
|
|
|
flex: 1;
|
|
|
|
min-width: 0;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
margin: 0 calc(var(--sp-tight) - 2px);
|
|
|
|
background-color: var(--bg-surface-low);
|
|
|
|
box-shadow: var(--bs-surface-border);
|
|
|
|
border-radius: var(--bo-radius);
|
|
|
|
|
|
|
|
& > .ic-raw {
|
|
|
|
transform: scale(0.8);
|
2021-08-08 19:26:34 +03:00
|
|
|
margin: 0 var(--sp-extra-tight);
|
2021-08-04 12:52:59 +03:00
|
|
|
}
|
2021-08-26 13:15:31 +03:00
|
|
|
|
|
|
|
& .btn-cmd-esc {
|
|
|
|
display: none;
|
|
|
|
margin: 0 var(--sp-extra-tight);
|
2021-08-26 15:58:33 +03:00
|
|
|
padding: var(--sp-ultra-tight) var(--sp-extra-tight);
|
2021-08-27 17:36:06 +03:00
|
|
|
background-color: var(--bg-surface);
|
2021-08-26 13:15:31 +03:00
|
|
|
border-radius: calc(var(--bo-radius) / 2);
|
|
|
|
box-shadow: var(--bs-surface-border);
|
|
|
|
cursor: pointer;
|
|
|
|
& .text { color: var(--tc-surface-normal); }
|
|
|
|
}
|
|
|
|
|
2021-08-04 12:52:59 +03:00
|
|
|
& .scrollbar {
|
|
|
|
max-height: 50vh;
|
2021-08-08 19:26:34 +03:00
|
|
|
flex: 1;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
margin-left: var(--sp-tight);
|
|
|
|
[dir=rtl] & {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: var(--sp-tight);
|
|
|
|
}
|
|
|
|
}
|
2021-08-04 12:52:59 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__textarea-wrapper {
|
|
|
|
min-height: 40px;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
& textarea {
|
|
|
|
resize: none;
|
|
|
|
width: 100%;
|
|
|
|
min-width: 0;
|
|
|
|
min-height: 100%;
|
2021-08-08 19:26:34 +03:00
|
|
|
padding: var(--sp-ultra-tight) 0;
|
2021-08-04 12:52:59 +03:00
|
|
|
|
|
|
|
&::placeholder {
|
|
|
|
color: var(--tc-surface-low);
|
|
|
|
}
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-08-31 16:13:31 +03:00
|
|
|
.room-attachment {
|
2021-08-04 12:52:59 +03:00
|
|
|
--side-spacing: calc(var(--sp-normal) + var(--av-small) + var(--sp-tight));
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin-left: var(--side-spacing);
|
|
|
|
margin-top: var(--sp-extra-tight);
|
|
|
|
line-height: 0;
|
|
|
|
[dir=rtl] & {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: var(--side-spacing);
|
|
|
|
}
|
|
|
|
|
|
|
|
&__preview > img {
|
|
|
|
max-height: 40px;
|
|
|
|
border-radius: var(--bo-radius);
|
|
|
|
}
|
|
|
|
&__icon {
|
|
|
|
padding: var(--sp-extra-tight);
|
|
|
|
background-color: var(--bg-surface-low);
|
|
|
|
box-shadow: var(--bs-surface-border);
|
|
|
|
border-radius: var(--bo-radius);
|
|
|
|
}
|
|
|
|
&__info {
|
|
|
|
flex: 1;
|
|
|
|
min-width: 0;
|
|
|
|
margin: 0 var(--sp-tight);
|
|
|
|
}
|
|
|
|
|
|
|
|
&__option button {
|
|
|
|
transition: transform 200ms ease-in-out;
|
|
|
|
transform: translateY(-48px);
|
|
|
|
& .ic-raw {
|
|
|
|
transition: transform 200ms ease-in-out;
|
|
|
|
transform: rotate(45deg);
|
|
|
|
background-color: var(--bg-caution);
|
|
|
|
}
|
|
|
|
}
|
2021-08-11 10:59:01 +03:00
|
|
|
}
|
|
|
|
|
2021-08-31 16:13:31 +03:00
|
|
|
.room-reply {
|
2021-08-11 10:59:01 +03:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
background-color: var(--bg-surface-low);
|
|
|
|
border-bottom: 1px solid var(--bg-surface-border);
|
|
|
|
|
|
|
|
& .ic-btn-surface {
|
|
|
|
margin: 0 13px 0 17px;
|
|
|
|
border-radius: 0;
|
|
|
|
[dir=rtl] & {
|
|
|
|
margin: 0 17px 0 13px;
|
|
|
|
}
|
|
|
|
}
|
2021-08-04 12:52:59 +03:00
|
|
|
}
|