nitro-react/src/views/room/widgets/chat-input/ChatInputView.scss

66 lines
1.4 KiB
SCSS
Raw Normal View History

2021-05-12 02:29:00 +02:00
@media only screen and (max-width: 600px) {
.nitro-chat-input {
2021-05-12 10:52:24 +02:00
position: fixed;
left: 50%;
transform: translateX(-50%);
2021-05-12 02:29:00 +02:00
bottom: 65px !important;
2021-07-02 08:50:17 +02:00
z-index: $chatinput-zindex;
2021-05-12 02:29:00 +02:00
}
}
2021-07-02 08:50:17 +02:00
.nitro-chat-input-container {
display: flex;
justify-content: center;
align-items: center;
position: relative;
height: 40px;
border-radius: 8px;
border: 2px solid rgb(0, 0, 0);
background: #EDEDED;
padding-right: 30px;
width: 100%;
2021-04-24 03:05:37 +02:00
2021-07-02 08:50:17 +02:00
&:before {
content: "";
position: absolute;
width: 98%;
height: 5px;
2021-05-05 00:41:47 +02:00
border-radius: 8px;
2021-07-02 08:50:17 +02:00
top: 1px;
left: 0;
right: 0;
margin: auto;
background: rgb(255, 255, 255);
z-index: 1;
}
2021-05-05 00:41:47 +02:00
2021-07-02 08:50:17 +02:00
.input-sizer {
display: inline-grid;
vertical-align: top;
height: 100%;
padding: 0 10px;
&::after,
input,
textarea {
width: auto;
min-width: 1em;
grid-area: 1 / 2;
margin: 0;
resize: none;
background: none;
appearance: none;
border: none;
outline: none;
2021-05-05 00:41:47 +02:00
}
2021-07-02 08:50:17 +02:00
&::after {
content: attr(data-value) ' ';
visibility: hidden;
white-space: pre-wrap;
2021-05-05 00:41:47 +02:00
}
}
2021-04-24 03:05:37 +02:00
}
2021-07-02 08:50:17 +02:00
@import './style-selector/ChatInputStyleSelectorView';