123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262 |
- .main {
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- align-items: center;
- padding: 1rem;
- }
- .header {
- width: auto;
- }
- .header p {
- text-align: center;
- }
- .cloudform {
- position: relative;
- }
- .textarea {
- position: relative;
- resize: none;
- font-size: 1.1rem;
- padding: 1rem 2rem 1rem 2rem;
- width: 75vw;
- border-radius: 0.5rem;
- border: 1px solid #d9d9e3;
- background: #ffffff;
- color: #000;
- outline: none;
- }
- .textarea:disabled {
- opacity: 0.5;
- }
- .textarea:focus {
- outline: none;
- border-color: #6b7280;
- box-shadow: 0 0 0 3px rgba(156, 163, 175, 0.5);
- }
- .textarea::placeholder {
- color: #6b7280;
- }
- .generatebutton {
- position: absolute;
- top: 0.87rem;
- right: 1rem;
- color: rgb(165, 162, 162);
- background: none;
- padding: 0.3rem;
- border: none;
- display: flex;
- }
- .loadingwheel {
- position: absolute;
- top: 0.2rem;
- right: 0.25rem;
- }
- .svgicon {
- transform: rotate(90deg);
- width: 1.2em;
- height: 1.2em;
- fill: currentColor;
- }
- .generatebutton:hover {
- background: #e4575726;
- border-radius: 0.2rem;
- }
- .generatebutton:disabled {
- opacity: 0.9;
- cursor: not-allowed;
- background: none;
- }
- .messagelist {
- width: 100%;
- height: 100%;
- overflow-y: scroll;
- border-radius: 0.5rem;
- }
- .messagelistloading {
- display: flex;
- width: 100%;
- justify-content: center;
- margin-top: 1rem;
- }
- .usermessage {
- background: #ffffff;
- padding: 1.5rem;
- color: #000;
- }
- .usermessagewaiting {
- padding: 1.5rem;
- color: #000;
- background: linear-gradient(to left, #07080938, #1a1c2024, #07080936);
- background-size: 200% 200%;
- background-position: -100% 0;
- animation: loading-gradient 2s ease-in-out infinite;
- animation-direction: alternate;
- animation-name: loading-gradient;
- }
- @keyframes loading-gradient {
- 0% {
- background-position: -100% 0;
- }
- 100% {
- background-position: 100% 0;
- }
- }
- .apimessage {
- background: #f9fafb;
- padding: 1.5rem;
- color: #000;
- animation: fadein 0.5s;
- }
- @keyframes fadein {
- from {
- opacity: 0;
- }
- to {
- opacity: 1;
- }
- }
- .apimessage,
- .usermessage,
- .usermessagewaiting {
- display: flex;
- }
- .markdownanswer {
- line-height: 1.75;
- }
- .markdownanswer a:hover {
- opacity: 0.8;
- }
- .markdownanswer a {
- color: #b13a3a;
- font-weight: 500;
- }
- .markdownanswer code {
- color: #15cb19;
- font-weight: 500;
- white-space: pre-wrap !important;
- }
- .markdownanswer ol,
- .markdownanswer ul {
- margin: 1rem;
- }
- .boticon,
- .usericon {
- margin-right: 1rem;
- border-radius: 0.1rem;
- height: 100%;
- }
- .markdownanswer h1,
- .markdownanswer h2,
- .markdownanswer h3 {
- font-size: inherit;
- }
- .center {
- display: flex;
- justify-content: center;
- align-items: center;
- position: relative;
- padding: 1rem 0;
- flex-direction: column;
- }
- .cloud {
- width: 75vw;
- height: 65vh;
- background: #ffffff;
- border-radius: 0.5rem;
- border: 1px solid #d9d9e3;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .pointsnormal {
- width: 90%;
- height: 90%;
- }
- .pointsdim {
- width: 90%;
- height: 90%;
- opacity: 0.25;
- }
- .footer {
- color: #5f6368;
- font-size: 0.8rem;
- margin: 1.5rem;
- }
- .footer a {
- font-weight: 500;
- color: #7a7d81;
- }
- .footer a:hover {
- opacity: 0.8;
- }
- /* Mobile optimization */
- @media (max-width: 600px) {
- .main {
- padding: 1rem;
- max-height: 90vh;
- }
- .cloud {
- width: 22rem;
- height: 28rem;
- }
- .textarea {
- width: 22rem;
- }
- .topnav {
- border: 1px solid black;
- align-items: center;
- padding: 0.85rem 0.75rem 0.85rem 0.75rem;
- }
- .navlogo {
- font-size: 1.25rem;
- width: 20rem;
- }
- .markdownanswer code {
- white-space: pre-wrap !important;
- }
- .footer {
- font-size: 0.7rem;
- width: 100%;
- text-align: center;
- }
- }
|