mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-10 20:48:54 +01:00
* BIG UI UPDATE * fix: search bar, dialog template, new chat icon, convo icon and delete/rename button * moved some color config and a lot of files * small text fixes and tailwind config refactor * Update localization and UI styles * Update styles and add user-select:none to Tooltip component * Update mobile.css styles for navigation mask and background color * Update component imports and styles * Update DeleteButton imports and references * Update UI components * Update tooltip delay duration * Fix styling and update text in various components * fixed assistant style * minor style fixes * revert: removed CreationHeader & CreationPanel * style: match new styling for SidePanel * style: match bg-gray-800 to ChatGPT (#212121) * style: remove slate for gray where applicable to match new light theme --------- Co-authored-by: Danny Avila <messagedaniel@protonmail.com>
184 lines
2.9 KiB
CSS
184 lines
2.9 KiB
CSS
.hover-button.active {
|
|
display: block;
|
|
visibility: visible;
|
|
}
|
|
|
|
.nav-close-button {
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.nav {
|
|
position: fixed;
|
|
z-index: 64;
|
|
top: 0;
|
|
|
|
/* max-width: 260px; */
|
|
|
|
bottom: 0;
|
|
opacity: 0;
|
|
}
|
|
|
|
.nav.active {
|
|
position: relative;
|
|
left: 0;
|
|
opacity: 1;
|
|
}
|
|
|
|
.nav-mask.active {
|
|
opacity: 0;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.nav {
|
|
width: calc(100% - 10px) ;
|
|
transition: all 0.15s;
|
|
}
|
|
.nav-mask {
|
|
position: fixed;
|
|
z-index: 63;
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
background-color: rgba(7, 7, 7, 0.4);
|
|
padding-left: 420px;
|
|
padding-top: 12px;
|
|
opacity: 0;
|
|
transition: all 0.5s;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.nav-open-button {
|
|
opacity: 0;
|
|
}
|
|
|
|
.nav-mask.active {
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.nav.active {
|
|
position: fixed;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
.switch-container {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
|
|
.switch-result {
|
|
display: block !important;
|
|
visibility: visible;
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
/* .sibling-switch {
|
|
left: 114px;
|
|
top: unset;
|
|
bottom: 4px;
|
|
visibility: visible;
|
|
z-index: 2;
|
|
} */
|
|
.sibling-switch {
|
|
display: none;
|
|
}
|
|
|
|
.hover-button {
|
|
display: block;
|
|
visibility: visible;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.input-panel-button {
|
|
border: 0;
|
|
}
|
|
|
|
.input-panel-button svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
.input-panel {
|
|
}
|
|
|
|
.nav-open-button
|
|
{
|
|
visibility: hidden;
|
|
}
|
|
}
|
|
|
|
.hide-scrollbar {
|
|
/* Hide scrollbar for Chrome, Safari, and Opera */
|
|
scrollbar-width: none; /* For Firefox */
|
|
-ms-overflow-style: none; /* For Internet Explorer and Edge */
|
|
}
|
|
|
|
.hide-scrollbar::-webkit-scrollbar {
|
|
display: none; /* For WebKit browsers */
|
|
}
|
|
|
|
.gemini-gradient {
|
|
/* Adjust the colors and positioning as necessary to match the image */
|
|
background-image: radial-gradient(circle at center, #0000ff, #87cefa, #ffffff);
|
|
/* More styling for demonstration purposes */
|
|
border-radius: 50%;
|
|
height: 100px;
|
|
width: 100px;
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.sidenav {
|
|
/* width: calc(100% - 10px) ; */
|
|
transition: all 0.15s;
|
|
position: fixed;
|
|
z-index: 66;
|
|
top: 0;
|
|
max-width: 320px;
|
|
|
|
/* max-width: 260px; */
|
|
|
|
bottom: 0;
|
|
right: 0
|
|
/* opacity: 0; */
|
|
}
|
|
.sidenav-mask {
|
|
position: fixed;
|
|
z-index: 65;
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
background-color: rgba(86, 88, 105, 0.75);
|
|
padding-left: 420px;
|
|
padding-top: 12px;
|
|
opacity: 0;
|
|
transition: all 0.5s;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.sidenav-mask.active {
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.sidenav.active {
|
|
position: fixed;
|
|
}
|
|
}
|
|
|
|
@keyframes tuning {
|
|
0% { transform: rotate(30deg); }
|
|
25% { transform: rotate(110deg); }
|
|
50% { transform: rotate(-40deg); }
|
|
75% { transform: rotate(80deg) }
|
|
100% { transform: rotate(30deg) }
|
|
}
|
|
|
|
.rotate {
|
|
animation: tuning 2.1s 1;
|
|
}
|