-
-
Save dshipper/33eae95d05d70df5c3c7ca14c732a856 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| body { | |
| background-color: #E2A07A; | |
| color: #99938B; | |
| height: 100%; | |
| font-family: 'Helvetica Neue', sans-serif; | |
| } | |
| a { | |
| color: #E4825E; | |
| text-decoration: underline; | |
| } | |
| .chatbot-container { | |
| background-color: #fff; | |
| color: #99938B; | |
| width: 50%; | |
| height: 75%; | |
| border-radius: 10px; | |
| overflow: hidden; | |
| display: flex; | |
| flex-direction: column; | |
| position: absolute; | |
| top: 50%; | |
| left: 50%; | |
| transform: translate(-50%, -50%); | |
| } | |
| .chatbot-messages { | |
| flex-grow: 1; | |
| overflow: auto; | |
| min-height: 50%; | |
| background-color: #fff; | |
| } | |
| .chatbot-message { | |
| margin-bottom: 10px; | |
| color: #000; | |
| } | |
| .chatbot-message.user { | |
| background-color: #FBEEE0; | |
| padding: 10px; | |
| margin-bottom: 10px; | |
| } | |
| .chatbot-message.bot { | |
| justify-content: flex-start; | |
| align-items: flex-start; | |
| padding: 10px; | |
| } | |
| form { | |
| display: flex; | |
| background-color: #FBEEE0; | |
| padding: 10px; | |
| } | |
| textarea { | |
| flex-grow: 1; | |
| margin-right: 10px; | |
| border: none; | |
| background-color: #FBEEE0; | |
| color: #99938B; | |
| font-size: 16px; | |
| outline: none; | |
| border: #474747; | |
| border-radius: 5px; | |
| } | |
| button[type="submit"] { | |
| background-color: #E2A07A; | |
| color: #fff; | |
| font-size: 16px; | |
| border: none; | |
| cursor: pointer; | |
| outline: none; | |
| } | |
| .lds-ripple { | |
| display: inline-block; | |
| position: relative; | |
| width: 40px; | |
| height: 40px; | |
| } | |
| .lds-ripple div { | |
| position: absolute; | |
| border: 2px solid #fff; | |
| opacity: 1; | |
| border-radius: 50%; | |
| animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite; | |
| } | |
| .lds-ripple div:nth-child(2) { | |
| animation-delay: -0.5s; | |
| } | |
| @keyframes lds-ripple { | |
| 0% { | |
| top: 18px; | |
| left: 18px; | |
| width: 0; | |
| height: 0; | |
| opacity: 0; | |
| } | |
| 4.9% { | |
| top: 18px; | |
| left: 18px; | |
| width: 0; | |
| height: 0; | |
| opacity: 0; | |
| } | |
| 5% { | |
| top: 18px; | |
| left: 18px; | |
| width: 0; | |
| height: 0; | |
| opacity: 1; | |
| } | |
| 100% { | |
| top: 0px; | |
| left: 0px; | |
| width: 36px; | |
| height: 36px; | |
| opacity: 0; | |
| } | |
| } | |
| @media only screen and (max-width: 700px) { | |
| body { | |
| background-color: #fff; | |
| } | |
| .chatbot-container { | |
| border-radius: 0; | |
| transform: none; | |
| position: static !important; | |
| } | |
| .chatbot-messages { | |
| width: 100%; | |
| height: 90%; | |
| position: absolute; | |
| left: 0px; | |
| top: 0px; | |
| } | |
| form { | |
| display: block; | |
| width: 100%; | |
| height: 10%; | |
| position: absolute; | |
| left: 0px; | |
| bottom: 0px; | |
| padding: 0px; | |
| } | |
| button[type="submit"] { | |
| float: right; | |
| height: 100%; | |
| width: 20%; | |
| } | |
| textarea { | |
| padding-top: 19px; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment