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

90 lines
1.9 KiB
SCSS
Raw Normal View History

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;
2021-09-30 06:38:02 +02:00
padding-right: 10px;
2021-07-02 08:50:17 +02:00
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-09-30 06:38:02 +02:00
.bubble-container {
visibility: visible;
width: 75%;
}
2021-04-24 03:05:37 +02:00
}
2021-07-02 08:50:17 +02:00
2021-09-30 06:38:02 +02:00
.nitro-chat-style-selector-button {
position: absolute;
display: flex;
justify-content: center;
align-items: center;
height: 100%;
right: 7px;
}
.nitro-chat-style-selector-container {
width: $chat-input-style-selector-widget-width;
height: $chat-input-style-selector-widget-height;
.grid-item {
font-size: $font-size-sm;
height: 30px !important;
border-color: unset !important;
border: 0 !important;
padding: 1px 3px;
&:not(.active) {
background-color: unset !important;
}
.bubble-container {
visibility: visible;
width: 75%;
}
}
}