186 lines
3.7 KiB
CSS
186 lines
3.7 KiB
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
:root {
|
|
--typebot-container-bg-image: none;
|
|
--typebot-container-bg-color: transparent;
|
|
--typebot-container-font-family: 'Open Sans';
|
|
|
|
--typebot-button-bg-color: #0042da;
|
|
--typebot-button-color: #ffffff;
|
|
|
|
--typebot-host-bubble-bg-color: #f7f8ff;
|
|
--typebot-host-bubble-color: #303235;
|
|
|
|
--typebot-guest-bubble-bg-color: #ff8e21;
|
|
--typebot-guest-bubble-color: #ffffff;
|
|
|
|
--typebot-input-bg-color: #ffffff;
|
|
--typebot-input-color: #303235;
|
|
--typebot-input-placeholder-color: #9095a0;
|
|
|
|
--typebot-header-bg-color: #ffffff;
|
|
--typebot-header-color: #303235;
|
|
|
|
/* Phone input */
|
|
--PhoneInputCountryFlag-borderColor: transparent;
|
|
--PhoneInput-color--focus: transparent;
|
|
}
|
|
|
|
/* Hide scrollbar for Chrome, Safari and Opera */
|
|
.scrollable-container::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
/* Hide scrollbar for IE, Edge and Firefox */
|
|
.scrollable-container {
|
|
-ms-overflow-style: none; /* IE and Edge */
|
|
scrollbar-width: none; /* Firefox */
|
|
}
|
|
|
|
/* Transitions */
|
|
.bubble-enter {
|
|
opacity: 0;
|
|
}
|
|
.bubble-enter-active {
|
|
opacity: 1;
|
|
transition-property: opacity;
|
|
transition-duration: 500ms;
|
|
transition-timing-function: ease-out;
|
|
}
|
|
.bubble-exit {
|
|
opacity: 1;
|
|
}
|
|
.bubble-exit-active {
|
|
opacity: 0;
|
|
transition-delay: 0ms !important;
|
|
transition-property: opacity;
|
|
transition-duration: 400ms;
|
|
transition-timing-function: ease-out;
|
|
}
|
|
|
|
.bubble-typing {
|
|
transition: width 400ms ease-out, height 400ms ease-out;
|
|
}
|
|
|
|
.content-opacity {
|
|
transition: opacity 400ms ease-in 200ms;
|
|
}
|
|
|
|
.bubble1,
|
|
.bubble2,
|
|
.bubble3 {
|
|
background-color: var(--typebot-host-bubble-color);
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.bubble1 {
|
|
animation: chatBubbles 1s ease-in-out infinite;
|
|
}
|
|
|
|
.bubble2 {
|
|
animation: chatBubbles 1s ease-in-out infinite;
|
|
animation-delay: 0.3s;
|
|
}
|
|
|
|
.bubble3 {
|
|
animation: chatBubbles 1s ease-in-out infinite;
|
|
animation-delay: 0.5s;
|
|
}
|
|
|
|
@keyframes chatBubbles {
|
|
0% {
|
|
transform: translateY(0);
|
|
}
|
|
50% {
|
|
transform: translateY(-5px);
|
|
}
|
|
100% {
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
button,
|
|
input,
|
|
textarea {
|
|
font-weight: 300;
|
|
}
|
|
|
|
.slate-a {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.slate-html-container > div {
|
|
min-height: 24px;
|
|
}
|
|
|
|
.slate-bold {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.slate-italic {
|
|
font-style: oblique;
|
|
}
|
|
|
|
.slate-underline {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.text-input::-webkit-input-placeholder {
|
|
color: var(--typebot-input-placeholder-color) !important;
|
|
opacity: 1 !important;
|
|
}
|
|
.text-input::-moz-placeholder {
|
|
color: var(--typebot-input-placeholder-color) !important;
|
|
opacity: 1 !important;
|
|
}
|
|
.text-input::placeholder {
|
|
color: var(--typebot-input-placeholder-color) !important;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
.typebot-container {
|
|
background-image: var(--typebot-container-bg-image);
|
|
background-color: var(--typebot-container-bg-color);
|
|
font-family: var(--typebot-container-font-family);
|
|
}
|
|
|
|
.custom-header {
|
|
color: var(--typebot-header-color);
|
|
background-color: var(--typebot-header-bg-color);
|
|
}
|
|
|
|
.typebot-button {
|
|
color: var(--typebot-button-color);
|
|
background-color: var(--typebot-button-bg-color);
|
|
}
|
|
|
|
.typebot-host-bubble {
|
|
color: var(--typebot-host-bubble-color);
|
|
}
|
|
|
|
.typebot-host-bubble > .bubble-typing {
|
|
background-color: var(--typebot-host-bubble-bg-color);
|
|
border: var(--typebot-host-bubble-border);
|
|
}
|
|
|
|
.typebot-guest-bubble {
|
|
color: var(--typebot-guest-bubble-color);
|
|
background-color: var(--typebot-guest-bubble-bg-color);
|
|
}
|
|
|
|
.typebot-input {
|
|
color: var(--typebot-input-color);
|
|
background-color: var(--typebot-input-bg-color);
|
|
box-shadow: 0 2px 6px -1px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.typebot-button > .send-icon {
|
|
fill: var(--typebot-button-active-color);
|
|
}
|
|
|
|
.typebot-chat-view {
|
|
max-width: 800px;
|
|
}
|