Botpress Cloud: Webchat Customization
User Input Area

You can Customize the User Input(text-area and send button) using below CSS
1/* Style for the composer section */2.bpw-composer {3padding: 0; /* Remove any padding */4position: relative; /* Set the position to relative */5outline: none; /* Remove any outline */6border: none; /* Remove any border */7}89/* Style for the composer inner section */10.bpw-composer-inner {11padding: 0; /* Remove any padding */12line-height: 0; /* Remove any line-height */13position: relative; /* Set the position to relative */1415/* Set the display property for different browsers */16display: -webkit-box;17display: -ms-flexbox;18display: flex;1920justify-content: space-between; /* Align items to the start and end of the container */21}2223/* Style for the composer textarea */24.bpw-composer-textarea {25flex-grow: 2; /* Allow the textarea to grow to fill the available space */26}2728/* Styles for the textarea element in the composer */29.bpw-composer textarea {30/* Sets the background color to a variable named "--white" */31background: var(--white);32/* Sets the border to a 1-pixel solid line using a variable named "--zinc-200" */33border: 1px solid var(--zinc-200);34/* Sets the border radius to a variable named "--spacing-medium" to make the edges rounded */35border-radius: var(--spacing-medium);36/* Sets the text color to a variable named "--zinc-900" */37color: var(--zinc-900);38/* Inherits the font family from the parent element */39font-family: inherit;40/* Sets the font size to 12 pixels */41font-size: 12px;42/* Sets the height of the textarea to 54 pixels */43height: 54px;44/* Sets the padding on the top to 19 pixels, and on the right and left to a variable named "--spacing-large" */45padding: 19px var(--spacing-large) var(--spacing-large);46/* Disables the ability to resize the textarea */47resize: none;48/* Adds a 0.2-second transition effect to the border when the focus changes */49transition: border 0.2s;50/* Sets the width of the textarea to 100% */51width: 100%;52/* Sets the margin on the right side to a variable named "--spacing-small" */53margin-right: var(--spacing-small);54}5556/* Styles for the textarea element when it is in focus */57.bpw-composer textarea:focus {58/* Changes the border color to a variable named "--zinc-300" */59border-color: var(--zinc-300);60}6162/* Styles for the textarea element when it is in right-to-left mode */63.bpw-composer.rtl .bpw-composer-inner textarea {64/* Sets the text direction to right-to-left */65direction: rtl;66}6768/* Styles for the textarea element when it is in left-to-right mode */69.bpw-composer.ltr .bpw-composer-inner textarea {70/* Sets the text direction to left-to-right */71direction: ltr;72}7374/* Styles for the quick reply dropdown menu */75.bpw-keyboard-quick_reply-dropdown {76/* Sets a margin of 0.2rem on the top and bottom and 0.5rem on the right and left */77margin: 0.2rem 0.5rem;78}7980/* Styles for the send button when it is disabled */81.bpw-send-button:disabled,82.bpw-send-button:disabled:hover {83/* Sets the opacity to 0.4 to make the button appear slightly transparent */84opacity: 0.4;85/* Sets the background color to a variable named "--theme-primary" */86background-color: var(--theme-primary);87/* Changes the cursor to the default cursor */88cursor: default;89}9091/* Styles for the container holding the send buttons */92.bpw-send-buttons {93/* Sets the display mode to flex and the direction to horizontal */94display: flex;95flex-direction: row;96/* Aligns the items to the center */97align-items: center;98}99/* This is the CSS style for the button that sends a message */100101.bpw-send-button {102display: flex; /* Set the button to be arranged using flexible layout */103justify-content: center; /* Center the button's content horizontally */104align-items: center; /* Center the button's content vertically */105border-radius: var(--spacing-medium); /* Make the corners of the button slightly rounded */106background-color: var(--theme-primary); /* Give the button a primary color background */107padding: 20px; /* Add some extra space around the button's content */108width: 24px; /* Set the button's width to be 24 pixels */109height: 24px; /* Set the button's height to be 24 pixels */110color: transparent; /* Hide any text that might appear inside the button */111cursor: pointer; /* Show the pointer cursor when the button is hovered over */112background-image: url(./button.png) !important; /* Add an image to the button */113background-repeat: no-repeat !important; /* Don't repeat the image */114background-position: center !important; /* Center the image inside the button */115transition: background-color 0.2s; /* Make the button's background color change smoothly over a short period of time */116}117118/* This is the CSS style for the button that sends a message when it's not disabled and is being hovered over */119120.bpw-send-button:not(:disabled):hover {121background-color: var(--theme-primary-hover); /* Change the button's background color to a different color when it's being hovered over */122}123124/* This is the CSS style for the voice recorder */125126.bpw-voice-recorder {127display: flex; /* Set the voice recorder to be arranged using flexible layout */128flex-direction: row; /* Arrange the voice recorder's content horizontally */129align-items: center; /* Center the voice recorder's content vertically */130}