12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574 |
- @import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
- /* :root {
- --colour-1: #ffffff;
- --colour-2: #000000;
- --colour-3: #000000;
- --colour-4: #000000;
- --colour-5: #000000;
- --colour-6: #000000;
- --accent: #ffffff;
- --blur-bg: #98989866;
- --blur-border: #00000040;
- --user-input: #000000;
- --conversations: #000000;
- } */
- :root {
- --colour-1: #000000;
- --colour-2: #ccc;
- --colour-3: #e4d4ff;
- --colour-4: #f0f0f0;
- --colour-5: #181818;
- --colour-6: #242424;
- --accent: #8b3dff;
- --blur-bg: #16101b66;
- --blur-border: #84719040;
- --user-input: #ac87bb;
- --conversations: #c7a2ff;
- --conversations-hover: #c7a2ff4d;
- --scrollbar: var(--colour-3);
- --scrollbar-thumb: var(--blur-bg);
- --button-hover: var(--colour-5);
- --top: 50%;
- --size: 70vw;
- --blur: 35vw; /* Half of 70vw */
- --opacity: 0.3;
- --gradient: rgba(22, 16, 27, 0.4); /* Transparent dark color */
- --background: #16101b; /* Background color */
- --font-1: "Inter", sans-serif;
- --section-gap: 25px;
- --inner-gap: 15px;
- --border-radius-1: 8px;
- }
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- position: relative;
- font-family: var(--font-1);
- }
- html,
- body {
- scroll-behavior: smooth;
- overflow: hidden;
- }
- body {
- background: var(--background);
- color: var(--colour-3);
- height: 100vh;
- }
- body:not(.white) a:link,
- body:not(.white) a:visited{
- color: var(--colour-3);
- }
- .gradient {
- position: absolute;
- z-index: -1;
- left: 70vw;
- border-radius: 50%;
- background: radial-gradient(circle at center, var(--accent), var(--gradient));
- width: var(--size);
- height: var(--size);
- top: var(--top);
- transform: translate(-50%, -50%);
- filter: blur(var(--blur)) opacity(var(--opacity));
- animation: zoom_gradient 6s infinite alternate;
- display: none;
- }
- @keyframes zoom_gradient {
- 0% {
- transform: translate(-50%, -50%) scale(1);
- }
- 100% {
- transform: translate(-50%, -50%) scale(1.2);
- }
- }
- .row {
- display: flex;
- gap: 10px;
- height: 100%;
- }
- .box {
- backdrop-filter: blur(20px);
- -webkit-backdrop-filter: blur(20px);
- background-color: var(--blur-bg);
- height: 100%;
- width: 100%;
- border-radius: var(--border-radius-1);
- border: 1px solid var(--blur-border);
- }
- .new_version {
- position: absolute;
- right: 0;
- top: 0;
- padding: 10px;
- font-weight: 500;
- background-color: rgba(0, 0, 0, 0.5);
- color: var(--colour-3);
- border: var(--colour-1) 1px solid;
- border-radius: var(--border-radius-1);
- }
- .white .new_version {
- color: var(--colour-1);
- }
- .new_version a {
- color: var(--colour-4);
- text-decoration: underline;
- }
- .conversations {
- max-width: 300px;
- padding: var(--section-gap);
- overflow: auto;
- flex-shrink: 0;
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- }
- .conversation {
- width: 100%;
- display: flex;
- flex-direction: column;
- gap: 5px;
- }
- .conversation #messages {
- width: 100%;
- height: 100%;
- display: flex;
- flex-direction: column;
- overflow: auto;
- overflow-wrap: break-word;
- padding-bottom: 10px;
- background-color: transparent;
- }
- .conversation .user-input {
- margin-bottom: 4px;
- }
- .conversation .user-input input {
- font-size: 15px;
- width: 100%;
- height: 100%;
- padding: 12px 15px;
- background: none;
- border: none;
- outline: none;
- color: var(--colour-3);
- }
- .conversation .user-input input::placeholder {
- color: var(--user-input)
- }
- .conversations {
- display: flex;
- flex-direction: column;
- gap: 10px;
- padding: 10px;
- }
- .conversations .title {
- font-size: 14px;
- font-weight: 500;
- }
- .conversations .convo {
- padding: 8px 12px;
- display: flex;
- gap: 10px;
- align-items: center;
- user-select: none;
- justify-content: space-between;
- border: 1px dashed var(--conversations);
- border-radius: var(--border-radius-1);
- }
- .conversations .convo .left {
- width: 100%;
- cursor: pointer;
- display: flex;
- align-items: center;
- gap: 4px;
- }
- .conversations .convo .fa-ellipsis-vertical {
- position: absolute;
- right: 8px;
- width: 14px;
- text-align: center;
- }
- .conversations .convo .choise {
- position: absolute;
- right: 8px;
- background-color: var(--blur-bg);
- }
- .conversations i, .bottom_buttons i, .mem0 button i {
- color: var(--conversations);
- cursor: pointer;
- }
- .bottom_buttons i, .mem0 button i {
- width: 14px;
- }
- .provider_forms {
- overflow: auto;
- width: 100%;
- }
- #close_provider_forms {
- max-width: 210px;
- margin-left: auto;
- margin-right: 8px;
- margin-top: 12px;
- }
- .convo-title {
- color: var(--colour-3);
- font-size: 14px;
- max-width: 100%;
- text-overflow: ellipsis;
- overflow: hidden;
- white-space: nowrap;
- margin-right: 10px;
- background-color: transparent;
- border: 0;
- width: 100%;
- }
- .convo-title:focus {
- outline: 1px solid var(--colour-3) !important;
- }
- .convo .datetime {
- white-space: nowrap;
- font-size: 10px;
- }
- .message {
- width: 100%;
- overflow-wrap: break-word;
- display: flex;
- flex-direction: column;
- gap: var(--section-gap);
- padding: var(--inner-gap) var(--section-gap);
- }
- .message.print {
- height: 100%;
- position: absolute;
- background-color: #fff;
- z-index: 100;
- top: 0;
- }
- .message.regenerate {
- background-color: rgba(0, 0, 0, 0.2);
- }
- .white .message.regenerate {
- background-color: var(--colour-4);
- }
- .message:last-child {
- animation: 0.6s show_message;
- }
- @keyframes show_message {
- from {
- transform: translateY(10px);
- opacity: 0;
- }
- }
- .message .user {
- max-width: 48px;
- max-height: 48px;
- flex-shrink: 0;
- }
- .message .user img {
- width: 100%;
- height: 100%;
- object-fit: cover;
- border-radius: 8px;
- outline: 1px solid var(--blur-border);
- }
- .message .user:after {
- content: "63";
- position: absolute;
- bottom: 0;
- right: 0;
- height: 60%;
- width: 60%;
- filter: blur(10px) opacity(0.5);
- z-index: 10000;
- }
- .message .assistant{
- max-width: 48px;
- max-height: 48px;
- flex-shrink: 0;
- }
- .message .assistant img {
- width: 100%;
- height: 100%;
- object-fit: cover;
- border-radius: 8px;
- outline: 1px solid var(--blur-border);
- }
- .message .assistant:after {
- content: "63";
- position: absolute;
- bottom: 0;
- right: 0;
- height: 60%;
- width: 60%;
- background: var(--colour-3);
- filter: blur(10px) opacity(0.5);
- z-index: 10000;
- }
- .message .content {
- display: flex;
- flex-direction: column;
- gap: 10px;
- flex-wrap: wrap;
- }
- .message .content_inner,
- .message .content_inner a:link,
- .message .content_inner a:visited{
- font-size: 15px;
- line-height: 1.3;
- }
- .message .content_inner pre{
- white-space: pre-wrap;
- }
- .message .content img{
- max-width: 400px;
- }
- .message .content .audio{
- display: flex;
- }
- .message .reasoning_text.final:not(.hidden), .message .reasoning_title {
- margin-bottom: var(--inner-gap);
- padding-bottom: var(--inner-gap);
- border-bottom: 1px solid var(--colour-3);
- overflow: hidden;
- }
- .message .reasoning_text.final {
- max-height: 1000px;
- transition: max-height 0.25s ease-in;
- }
- .message .reasoning_text.final.hidden {
- transition: max-height 0.15s ease-out;
- max-height: 0;
- display: block;
- overflow: hidden;
- }
- .message .reasoning_title {
- cursor: pointer;
- }
- .message .user i {
- position: absolute;
- bottom: -6px;
- right: -6px;
- z-index: 1000;
- }
- .message .assistant .fa-phone-arrow-up-right,
- .message .assistant .fa-phone-arrow-down-left {
- position: absolute;
- bottom: -6px;
- right: -6px;
- z-index: 1000;
- }
- .message .assistant .fa-xmark,
- .message .user .fa-xmark {
- position: absolute;
- top: -2px;
- left: 0px;
- z-index: 1000;
- display: none;
- cursor: pointer;
- }
- .message .user .fa-xmark {
- color: var(--colour-1);
- }
- .message .count .fa-clipboard,
- .message .count .fa-volume-high,
- .message .count .fa-rotate,
- .message .count .fa-print,
- .message .count .fa-whatsapp {
- z-index: 1000;
- cursor: pointer;
- }
- .message .count .fa-clipboard,
- .message .count .fa-whatsapp {
- color: var(--colour-3);
- }
- .message .count .fa-clipboard.clicked,
- .message .count .fa-print.clicked,
- .message .count .fa-rotate.clicked,
- .message .count .fa-volume-high.active,
- .message .count .fa-file-export.clicked,
- .message .continue_button.clicked,
- .message .regenerate_button.clicked,
- .message .options_button.clicked {
- color: var(--accent);
- }
- .message .assistant:hover .fa-xmark,
- .message .user:hover .fa-xmark {
- display: block;
- }
- .message .content .provider a,
- .message .content .provider {
- font-size: 12px;
- text-decoration: none;
- }
- .message .content .provider a {
- font-weight: bold;
- }
- .message .content .count {
- font-size: 12px;
- display: flex;
- flex-direction: row;
- }
- .message .content .count span {
- padding: 0 4px;
- }
- .media_player {
- display: none;
- }
- .media_player audio {
- right: 28px;
- position: absolute;
- top: -4px;
- z-index: 900;
- }
- .media_player.show {
- display: block;
- }
- .media_player .fa-x {
- position: absolute;
- right: 8px;
- top: 8px;
- z-index: 1000;
- cursor: pointer;
- }
- .count_total {
- font-size: 12px;
- padding-left: 25px;
- padding-top: 10px;
- }
- .new_convo {
- padding: 8px 12px;
- display: flex;
- gap: 18px;
- align-items: center;
- cursor: pointer;
- user-select: none;
- background: transparent;
- border: 1px solid var(--conversations);
- border-radius: var(--border-radius-1);
- transition: all 0.2s ease;
- }
- .new_convo:hover {
- box-shadow: inset 0px 0px 20px var(--conversations-hover);
- }
- .new_convo span {
- color: var(--colour-3);
- font-size: 14px;
- }
- .toolbar {
- position: relative;
- }
- #input-count {
- width: fit-content;
- font-size: 12px;
- padding: 6px 6px;
- }
- input-count .text {
- min-width: 12px
- }
- #input-count .text, #input-count input {
- padding: 0 4px;
- }
- .stop_generating-hidden, .regenerate-hidden {
- animation: hide_popup 0.4s;
- display: none;
- }
- .stop_generating, .toolbar .regenerate {
- position: absolute;
- top: 0;
- right: 0;
- animation: show_popup 0.4s;
- }
- .stop_generating button, .toolbar .regenerate button, button.regenerate_button, button.continue_button, button.options_button {
- backdrop-filter: blur(20px);
- -webkit-backdrop-filter: blur(20px);
- background-color: var(--blur-bg);
- border-radius: var(--border-radius-1);
- border: 1px solid var(--blur-border);
- padding: 5px var(--inner-gap);
- color: var(--colour-3);
- display: flex;
- justify-content: center;
- align-items: center;
- gap: 12px;
- cursor: pointer;
- height: 28px;
- }
- .toolbar .regenerate {
- left: 50%;
- transform: translateX(-50%);
- right: auto;
- }
- .toolbar .regenerate span, .regenerate_button span, .continue_button span, .options_button div {
- display: none;
- }
- .regenerate_button span, .continue_button span, .options_button div {
- position: absolute;
- height: 20px;
- width: 100px;
- transition: all 0.1s;
- background: var(--button-hover);
- margin-top: -30px;
- z-index: 1005;
- padding: 6px;
- }
- .options_button div {
- display: none;
- flex-direction: row;
- height: 36px;
- width: 120px;
- margin-right: 130px;
- z-index: 1005;
- padding: 10px;
- margin-top: -4px;
- }
- .options_button div span{
- height: 20px;
- width: 22px;
-
- }
- .options_button:hover div {
- display: flex;
- }
- .regenerate_button:hover span, .continue_button:hover span {
- display: block;
- transition: all 0.3s;
- }
- @media only screen and (min-width: 40em) {
- .stop_generating {
- right: 4px;
- }
- .toolbar .regenerate span {
- display: block;
- }
- }
- .toolbar .hide-input {
- background: transparent;
- border: none;
- color: var(--colour-3);
- cursor: pointer;
- }
- @keyframes show_popup {
- from {
- opacity: 0;
- transform: translateY(10px);
- }
- }
- @keyframes hide_popup {
- to {
- opacity: 0;
- transform: translateY(10px);
- }
- }
- .typing {
- position: absolute;
- top: -25px;
- left: 0;
- font-size: 14px;
- animation: show_popup 0.4s;
- }
- .typing-hiding {
- animation: hide_popup 0.4s;
- }
- .typing-hidden {
- display: none;
- }
- #image, #file, #camera {
- display: none;
- }
- .file-label,
- .micro-label {
- cursor: pointer;
- position: absolute;
- top: 10px;
- left: 10px;
- }
- .file-label:has(> input:valid),
- .file-label.selected,
- .micro-label.recognition,
- #search.active i {
- color: var(--accent);
- }
- #search.active {
- border-color: var(--accent);
- }
- label[for="image"] {
- top: 32px;
- }
- label[for="micro"] {
- top: 54px;
- }
- label[for="camera"] {
- top: 74px;
- display: none;
- }
- @media (pointer:none), (pointer:coarse) {
- label[for="camera"] {
- display: block;
- }
- }
- #messages form {
- position: absolute;
- width: 100%;
- background: var(--button-hover);
- z-index: 2000;
- }
- .buttons input[type="checkbox"],
- .settings input[type="checkbox"],
- form input[type="checkbox"] {
- height: 0;
- width: 0;
- display: none;
- }
- .buttons label,
- .settings label.toogle,
- form label.toogle {
- cursor: pointer;
- text-indent: -9999px;
- width: 50px;
- height: 30px;
- backdrop-filter: blur(20px);
- -webkit-backdrop-filter: blur(20px);
- background-color: var(--blur-bg);
- border-radius: var(--border-radius-1);
- border: 1px solid var(--blur-border);
- display: block;
- border-radius: 100px;
- position: relative;
- overflow: hidden;
- transition: 0.33s;
- min-width: 60px;
- margin-left: 0;
- }
- .buttons label:after,
- .settings label.toogle:after,
- form label.toogle:after {
- content: "";
- position: absolute;
- top: 50%;
- transform: translateY(-50%);
- left: 5px;
- width: 20px;
- height: 20px;
- background: var(--colour-3);
- border-radius: 90px;
- transition: 0.33s;
- }
- .buttons input:checked+label,
- .settings input:checked+label,
- form input:checked+label {
- background: var(--accent);
- }
- .settings .bottom_buttons {
- flex-direction: column;
- }
- .settings .bottom_buttons button {
- display: inline-block;
- max-width: 210px;
- width: 100%;
- }
- .buttons input:checked+label:after,
- .settings input:checked+label:after,
- form input:checked+label:after {
- left: calc(100% - 5px - 20px);
- }
- .buttons {
- display: flex;
- align-items: center;
- justify-content: left;
- width: 100%;
- margin-bottom: 4px;
- }
- .field {
- height: fit-content;
- display: flex;
- gap: var(--inner-gap);
- }
- .field .about {
- font-size: 14px;
- color: var(--colour-3);
- }
- select, input.model {
- border-radius: 8px;
- backdrop-filter: blur(20px);
- cursor: pointer;
- background-color: var(--colour-1);
- border: 1px solid var(--blur-border);
- color: var(--colour-3);
- display: block;
- position: relative;
- overflow: hidden;
- outline: none;
- padding: 8px 16px;
- appearance: none;
- width: 132px;
- }
- .slider {
- -webkit-appearance: none;
- appearance: none;
- width: 100%;
- height: 20px;
- background: var(--colour-2);
- outline: none;
- transition: opacity .2s;
- border-radius: 10px;
- }
- .slider::-moz-range-thumb:hover {
- background: var(--colour-2);
- }
- .slider::-moz-range-thumb {
- width: 25px;
- height: 25px;
- background: var(--colour-3);
- cursor: pointer;
- border-radius: 25px;
- }
- .buttons button, button.regenerate_button, button.continue_button, button.options_button {
- border-radius: 8px;
- backdrop-filter: blur(20px);
- cursor: pointer;
- background-color: var(--colour-1);
- border: 1px solid var(--blur-border);
- color: var(--colour-3);
- padding: 8px;
- }
- button.regenerate_button, button.continue_button, button.options_button {
- display: flex;
- margin-top: -8px;
- margin-left: 2px;
- backdrop-filter: none;
- }
- .buttons button.pinned span {
- max-width: 160px;
- overflow: hidden;
- text-wrap: nowrap;
- margin-right: 16px;
- display: block;
- text-overflow: ellipsis;
- }
- .buttons button.pinned i {
- position: absolute;
- top: 10px;
- right: 6px;
- }
- select:hover,
- input.model:hover
- .buttons button:hover,
- .stop_generating button:hover,
- .toolbar .regenerate button:hover,
- #send-button:hover {
- background-color: var(--button-hover);
- }
- #provider option:disabled[value], #model option:disabled[value] {
- display: none;
- }
- #chatPrompt{
- min-height: 59px;
- height: 59px;
- resize: vertical;
- padding: var(--inner-gap) var(--section-gap);
- }
- #systemPrompt, #chatPrompt, .settings textarea, form textarea {
- font-size: 15px;
- width: 100%;
- color: var(--colour-3);
- outline: none;
- transition: max-height 0.15s ease-out;
- }
- #systemPrompt:focus, #chatPrompt:focus {
- min-height: 200px;
- max-height: 1000px;
- transition: max-height 0.25s ease-in;
- }
- .pswp {
- --pswp-placeholder-bg: #000 !important;
- }
- .pswp img {
- object-fit: contain;
- }
- .pswp__img--placeholder--blank{
- display: none !important;
- }
- .pswp__custom-caption {
- opacity: 0 !important;
- background: rgba(0, 0, 0, 0.3);
- font-size: 16px;
- color: #fff;
- width: calc(100% - 32px);
- max-width: 400px;
- padding: 2px 8px;
- border-radius: 4px;
- position: absolute;
- left: 50%;
- bottom: 16px;
- transform: translateX(-50%);
- max-height: 100px;
- overflow: auto;
- }
- .pswp__custom-caption:hover {
- opacity: 1 !important;
- }
- .pswp__custom-caption a {
- color: #fff;
- text-decoration: underline;
- }
- .slide-systemPrompt {
- position: absolute;
- top: 0;
- padding: var(--inner-gap) 10px;
- border: none;
- background: transparent;
- cursor: pointer;
- height: 49px;
- color: var(--colour-3);
- }
- @media only screen and (min-width: 40em) {
- select, input.model {
- width: 200px;
- }
- .field {
- padding-right: 8px
- }
- .message {
- flex-direction: row;
- }
- .settings .bottom_buttons {
- flex-direction: row;
- }
- .count_total {
- padding-left: 98px;
- }
- body:not(.white) .gradient{
- display: block;
- }
- .settings .label:not([for="systemPrompt"]), form .label {
- min-width: 200px;
- }
- }
- .input-area {
- display: flex;
- align-items: center;
- padding: 10px;
- }
- .info {
- padding: 8px 12px;
- display: flex;
- gap: 18px;
- align-items: center;
- user-select: none;
- background: transparent;
- border-radius: var(--border-radius-1);
- width: 100%;
- cursor: default;
- border: 1px dashed var(--conversations)
- }
- .bottom_buttons {
- width: 100%;
- display: flex;
- flex-direction: column;
- gap: 10px;
- margin: 4px 0;
- }
- .bottom_buttons button, .mem0 button {
- padding: 8px 12px;
- display: flex;
- gap: 18px;
- align-items: center;
- cursor: pointer;
- user-select: none;
- background: transparent;
- border: 1px solid var(--conversations);
- border-radius: var(--border-radius-1);
- width: 100%;
- }
- .mem0 button {
- width: auto;
- }
- .bottom_buttons button a,
- .bottom_buttons button span,
- .bottom_buttons .info a,
- .bottom_buttons .info i,
- .mem0 button span {
- color: var(--colour-3);
- font-weight: 500;
- }
- .conversations .top {
- display: flex;
- flex-direction: column;
- gap: var(--inner-gap);
- overflow: auto;
- }
- .cursor {
- line-height: 17px;
- margin-left: 3px;
- -webkit-animation: blink 0.8s infinite;
- animation: blink 0.8s infinite;
- width: 7px;
- height: 15px;
- display: inline-block;
- }
- @keyframes blink {
- 0% {
- background: #ffffff00;
- }
- 50% {
- background: var(--colour-3);
- }
- 100% {
- background: #ffffff00;
- }
- }
- @-webkit-keyframes blink {
- 0% {
- background: #ffffff00;
- }
- 50% {
- background: white;
- }
- 100% {
- background: #ffffff00;
- }
- }
- ol,
- ul {
- padding-left: 20px;
- }
- @keyframes spinner {
- to {
- transform: rotate(360deg);
- }
- }
- .spinner:before {
- content: '';
- box-sizing: border-box;
- position: absolute;
- top: 50%;
- left: 45%;
- width: 20px;
- height: 20px;
- border-radius: 50%;
- border: 1px solid var(--conversations);
- border-top-color: white;
- animation: spinner .6s linear infinite;
- }
- .grecaptcha-badge {
- visibility: hidden;
- }
- .mobile-sidebar {
- display: none;
- position: fixed;
- z-index: 1000;
- top: 10px;
- right: 10px;
- width: 40px;
- height: 40px;
- background-color: var(--blur-bg);
- border: 1px solid var(--blur-border);
- border-radius: 10px;
- backdrop-filter: blur(20px);
- -webkit-backdrop-filter: blur(20px);
- cursor: pointer;
- justify-content: center;
- align-items: center;
- transition: all 0.3s ease;
- padding: 10px 12px;
- }
- .mobile-sidebar i {
- transition: 0.33s;
- }
- .rotated {
- transform: rotate(360deg);
- }
- .settings h3 {
- padding-left: 10px;
- padding-top: 10px;
- }
- @media screen and (max-width: 990px) {
- .conversations {
- display: none;
- width: 100%;
- max-width: none;
- }
- .settings h3 {
- padding-left: 54px;
- padding-top: 18px;
- }
- .buttons {
- align-items: flex-start;
- flex-wrap: wrap;
- gap: 8px;
- padding-left: 4px;
- }
- .mobile-sidebar {
- display: flex;
- }
- #chatPrompt {
- padding-left: 60px;
- }
- .settings h3 {
- text-align: center;
- }
- .field.collapsible {
- flex-direction: column;
- }
- }
- .shown {
- display: flex;
- }
- .conversation .user-input textarea {
- font-size: 15px;
- width: 100%;
- height: 100%;
- padding: 12px var(--inner-gap);
- background: none;
- border: none;
- outline: none;
- color: var(--colour-3);
- resize: vertical;
- max-height: 200px;
- min-height: 100px;
- }
- /* style for hljs copy */
- .hljs-copy-wrapper {
- position: relative;
- overflow: hidden
- }
- .hljs-copy-wrapper:hover .hljs-copy-button,
- .hljs-copy-button:focus {
- transform: translateX(0)
- }
- .hljs-copy-button {
- position: absolute;
- transform: translateX(calc(100% + 1.125em));
- top: 1em;
- right: 1em;
- width: 2rem;
- height: 2rem;
- text-indent: -9999px;
- color: #fff;
- border-radius: .25rem;
- border: 1px solid #ffffff22;
- background-color: #2d2b57;
- background-image: url('data:image/svg+xml;utf-8,<svg width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6 5C5.73478 5 5.48043 5.10536 5.29289 5.29289C5.10536 5.48043 5 5.73478 5 6V20C5 20.2652 5.10536 20.5196 5.29289 20.7071C5.48043 20.8946 5.73478 21 6 21H18C18.2652 21 18.5196 20.8946 18.7071 20.7071C18.8946 20.5196 19 20.2652 19 20V6C19 5.73478 18.8946 5.48043 18.7071 5.29289C18.5196 5.10536 18.2652 5 18 5H16C15.4477 5 15 4.55228 15 4C15 3.44772 15.4477 3 16 3H18C18.7956 3 19.5587 3.31607 20.1213 3.87868C20.6839 4.44129 21 5.20435 21 6V20C21 20.7957 20.6839 21.5587 20.1213 22.1213C19.5587 22.6839 18.7957 23 18 23H6C5.20435 23 4.44129 22.6839 3.87868 22.1213C3.31607 21.5587 3 20.7957 3 20V6C3 5.20435 3.31607 4.44129 3.87868 3.87868C4.44129 3.31607 5.20435 3 6 3H8C8.55228 3 9 3.44772 9 4C9 4.55228 8.55228 5 8 5H6Z" fill="white"/><path fill-rule="evenodd" clip-rule="evenodd" d="M7 3C7 1.89543 7.89543 1 9 1H15C16.1046 1 17 1.89543 17 3V5C17 6.10457 16.1046 7 15 7H9C7.89543 7 7 6.10457 7 5V3ZM15 3H9V5H15V3Z" fill="white"/></svg>');
- background-repeat: no-repeat;
- background-position: center;
- }
- .hljs-copy-button:hover {
- border-color: #ffffff44
- }
- .hljs-copy-button:active {
- border-color: #ffffff66
- }
- .hljs-copy-button[data-copied="true"] {
- text-indent: 0;
- width: auto;
- background-image: none
- }
- @media(prefers-reduced-motion) {
- .hljs-copy-button {
- transition: none
- }
- }
- .hljs-copy-alert {
- clip: rect(0 0 0 0);
- clip-path: inset(50%);
- height: 1px;
- overflow: hidden;
- position: absolute;
- white-space: nowrap;
- width: 1px
- }
- .visually-hidden {
- clip: rect(0 0 0 0);
- clip-path: inset(50%);
- height: 1px;
- overflow: hidden;
- position: absolute;
- white-space: nowrap;
- width: 1px;
- }
- .hljs-iframe-button, .hljs-iframe-close {
- position: absolute;
- bottom: 1rem;
- right: 1rem;
- padding: 7px;
- border-radius: .25rem;
- border: 1px solid #ffffff22;
- background-color: #2d2b57;
- color: #fff;
- cursor: pointer;
- width: 32px;
- height: 32px;
- }
- .hljs-iframe-button:hover, .hljs-iframe-close:hover {
- border-color: #ffffff44;
- color: #ffffff77;
- }
- .hljs-iframe-container {
- position: fixed;
- position: absolute;
- left: 0;
- width: 100%;
- height: 100%;
- z-index: 1000001;
- background-color: #fff;
- padding: 0;
- margin: 0;
- overflow: hidden;
- }
- .hljs-iframe {
- width: 100%;
- height: 100%;
- padding: 0;
- margin: 0;
- border: none;
- overflow: auto;
- }
- .white {
- --blur-bg: transparent;
- --accent: #007bff;
- --conversations: #0062cc;
- --colour-1: #ffffff;
- --colour-3: #212529;
- --scrollbar: var(--colour-1);
- --scrollbar-thumb: #ccc;
- --button-hover: var(--colour-4);
- --background: transparent;
- }
- .white .message .assistant .fa-xmark {
- color: var(--colour-1);
- }
- .white .message .user .fa-xmark {
- color: var(--colour-3);
- }
- #send-button {
- border: 1px dashed #e4d4ffa6;
- border-radius: 4px;
- cursor: pointer;
- position: absolute;
- bottom: 8px;
- right: 4px;
- padding: 4px;
- }
- #send-button:hover {
- border: 1px solid #e4d4ffc9;
- }
- #send-button i {
- padding: 2px;
- }
- form textarea {
- height: 20px;
- min-height: 20px;
- padding: 0;
- }
- .settings textarea {
- height: 30px;
- min-height: 30px;
- padding: 6px;
- }
- .field a {
- text-wrap: nowrap;
- }
- form .field .fa-xmark {
- line-height: 20px;
- cursor: pointer;
- margin-left: auto;
- margin-right: 16px;
- margin-top: 0;
- }
- form .field.saved .fa-xmark {
- color: var(--accent)
- }
- .settings .field, form .field {
- padding: var(--inner-gap) var(--inner-gap) var(--inner-gap) 0;
- }
- .settings, .log, form {
- width: 100%;
- overflow: auto;
- height: 100%;
- }
- .log {
- white-space: pre-wrap;
- }
- .log.hidden {
- display: none;
- }
- .settings .paper {
- flex-direction: column;
- min-width: 400px;
- }
- .settings .field, form .field {
- margin: var(--inner-gap) 0;
- }
- .settings textarea, form textarea {
- background-color: transparent;
- border: none;
- }
- .settings input, form input {
- background-color: transparent;
- padding: 2px;
- border: none;
- font-size: 15px;
- width: 100%;
- color: var(--colour-3);
- }
- .settings input:focus, form input:focus {
- outline: none;
- }
- .settings .label, form .label, .settings label, form label {
- font-size: 15px;
- margin-left: var(--inner-gap);
- }
- .settings .label, form .label {
- white-space:nowrap;
- line-height: 30px;
- }
- .field.collapsible {
- border: 1px solid var(--blur-border);
- border-radius: var(--border-radius-1);
- overflow: hidden;
- margin-bottom: 10px;
- padding-right: 0;
- }
- .collapsible-header {
- padding: 10px;
- cursor: pointer;
- display: flex;
- justify-content: space-between;
- align-items: center;
- background-color: var(--blur-bg);
- }
- .collapsible-header:hover {
- background-color: var(--button-hover);
- }
- .collapsible-content {
- padding: 0 10px;
- }
- .collapsible-content.api-key {
- width: 100%;
- }
- .collapsible-content.hidden {
- display: none;
- }
- .provider-item {
- padding: 5px 0;
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .fa-chevron-down {
- transition: transform 0.3s ease;
- }
- .collapsible-header.active .fa-chevron-down {
- transform: rotate(180deg);
- }
- ::-webkit-scrollbar-track {
- background: var(--scrollbar);
- }
- ::-webkit-scrollbar-thumb {
- background: var(--scrollbar-thumb);
- border-radius: 2px;
- }
- ::-webkit-scrollbar-thumb:hover {
- background: var(--accent);
- }
- .hljs {
- color: #e9e9f4;
- background: #28293629;
- border-radius: var(--border-radius-1);
- border: 1px solid var(--blur-border);
- font-size: 15px;
- }
- #message-input {
- height: 90px;
- flex: 1;
- padding: 10px;
- padding-left: 24px;
- border-radius: 20px;
- font-size: 14px;
- margin-right: 10px;
- outline: none;
- max-height: 200px;
- }
- .hidden, input.hidden {
- display: none;
- }
- .blink {
- animation: blinker 1s step-start infinite;
- }
- @keyframes blinker {
- 50% {
- opacity: 0;
- }
- }
- @media print {
- #chatPrompt:placeholder-shown,
- .conversations,
- .conversation .user-input,
- .conversation .buttons,
- .conversation .toolbar,
- .conversation .slide-systemPrompt,
- .message .count i,
- .message .assistant,
- .message .user {
- display: none;
- }
- body {
- height: auto;
- }
- .box {
- backdrop-filter: none;
- }
- }
- /* Basic adaptation */
- .row {
- flex-wrap: wrap;
- gap: 10px;
- }
- .conversations, .settings, .conversation {
- flex: 1 1 300px;
- min-width: 0;
- height: 100%;
- }
- /* Media queries for mobile devices */
- @media (max-width: 768px) {
- .row {
- flex-direction: column;
- }
-
- .conversations, .settings {
- width: 100%;
- max-width: 100%;
- margin: 0;
- }
-
- .conversation {
- order: -1;
- min-height: 80vh;
- }
- }
- @media (max-width: 480px) {
- .info .convo-title {
- font-size: 12px;
- }
- }
|