* feat: ai chat history * wip * wip * wip * wip * wip * wip * wip * wip * wip: skeleton loading * wip * wip * wip * wip * wip * wip * wip * wip * fix: chat history * wip * wip * fix: responsiveness * wip * wip * Chat history UI * Update chat history * wip * Update chat history * Update chat history * Fix ai chat not working * Update * wip * feat: show chat history always * feat: upgrade to pro * wip * Update history design * UI design improvement for empty sidebar * feat: chat history title * Fix, delete chat throwing error * Plus icon when chat is closed * fix: action z-index * Improve skeleton and logged out user workflow * Chat history improvements * Add plus for chat icons --------- Co-authored-by: Arik Chakma <arikchangma@gmail.com>
201 lines
3.8 KiB
CSS
201 lines
3.8 KiB
CSS
@import 'tailwindcss';
|
|
@import '@roadmapsh/editor/style.css';
|
|
|
|
@config '../../tailwind.config.cjs';
|
|
@plugin 'tailwind-scrollbar';
|
|
|
|
@font-face {
|
|
font-family: 'Balsamiq Sans';
|
|
src: url('/fonts/balsamiq.woff2') format('woff2');
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@theme {
|
|
--font-balsamiq: 'Balsamiq Sans', sans-serif;
|
|
}
|
|
|
|
/*
|
|
The default border color has changed to `currentcolor` in Tailwind CSS v4,
|
|
so we've added these compatibility styles to make sure everything still
|
|
looks the same as it did with Tailwind CSS v3.
|
|
|
|
If we ever want to remove these styles, we need to add an explicit border
|
|
color utility to any element that depends on these defaults.
|
|
*/
|
|
@layer base {
|
|
*,
|
|
::after,
|
|
::before,
|
|
::backdrop,
|
|
::file-selector-button {
|
|
border-color: var(--color-gray-200, currentcolor);
|
|
}
|
|
|
|
button {
|
|
@apply cursor-pointer;
|
|
}
|
|
}
|
|
|
|
@utility container {
|
|
@apply mx-auto max-w-[830px]! px-4;
|
|
}
|
|
|
|
@utility container-lg {
|
|
@apply mx-auto max-w-[968px]! px-4;
|
|
}
|
|
|
|
@utility badge {
|
|
@apply rounded-xs bg-gray-400 px-1.5 py-0.5 text-xs font-medium text-white uppercase;
|
|
}
|
|
|
|
@utility no-scrollbar {
|
|
/* Chrome, Safari and Opera */
|
|
&::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
-ms-overflow-style: none; /* IE and Edge */
|
|
scrollbar-width: none; /* Firefox */
|
|
}
|
|
|
|
@utility collapse-if-empty {
|
|
&:empty {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
svg {
|
|
user-select: none;
|
|
}
|
|
|
|
blockquote p:before {
|
|
display: none;
|
|
}
|
|
|
|
blockquote p {
|
|
font-style: normal;
|
|
}
|
|
|
|
.prose ul li > code,
|
|
.prose ol li > code,
|
|
p code,
|
|
a > code,
|
|
strong > code,
|
|
em > code,
|
|
h1 > code,
|
|
h2 > code,
|
|
h3 > code {
|
|
background: #ebebeb !important;
|
|
color: currentColor !important;
|
|
font-size: 14px;
|
|
font-weight: normal !important;
|
|
}
|
|
|
|
.prose ul li > code:before,
|
|
p > code:before,
|
|
.prose ul li > code:after,
|
|
.prose ol li > code:before,
|
|
p > code:before,
|
|
.prose ol li > code:after,
|
|
p > code:after,
|
|
a > code:after,
|
|
a > code:before {
|
|
content: '' !important;
|
|
}
|
|
|
|
.sponsor-footer {
|
|
text-align: center;
|
|
font-weight: 600;
|
|
font-size: 9px;
|
|
letter-spacing: 0.5px;
|
|
text-transform: uppercase;
|
|
padding: 3px 10px;
|
|
background: repeating-linear-gradient(
|
|
-45deg,
|
|
transparent,
|
|
transparent 5px,
|
|
hsla(0, 0%, 0%, 0.025) 5px,
|
|
hsla(0, 0%, 0%, 0.025) 10px
|
|
)
|
|
hsla(203, 11%, 95%, 0.4);
|
|
}
|
|
.striped-bg {
|
|
background-image: repeating-linear-gradient(
|
|
-45deg,
|
|
transparent,
|
|
transparent 5px,
|
|
hsla(0, 0%, 0%, 0.025) 5px,
|
|
hsla(0, 0%, 0%, 0.025) 10px
|
|
);
|
|
background-size: 200% 200%;
|
|
}
|
|
|
|
.striped-loader {
|
|
background-image: repeating-linear-gradient(
|
|
-45deg,
|
|
transparent,
|
|
transparent 5px,
|
|
hsla(0, 0%, 0%, 0.025) 5px,
|
|
hsla(0, 0%, 0%, 0.025) 10px
|
|
);
|
|
background-size: 200% 200%;
|
|
animation: barberpole 15s linear infinite;
|
|
}
|
|
|
|
.striped-loader-darker {
|
|
background-image: repeating-linear-gradient(
|
|
-45deg,
|
|
transparent,
|
|
transparent 5px,
|
|
hsla(0, 0%, 0%, 0.2) 5px,
|
|
hsla(0, 0%, 0%, 0.2) 10px
|
|
);
|
|
background-size: 200% 200%;
|
|
animation: barberpole 15s linear infinite;
|
|
}
|
|
|
|
.striped-loader-yellow {
|
|
background-image: repeating-linear-gradient(
|
|
-45deg,
|
|
transparent,
|
|
transparent 5px,
|
|
hsla(55, 100%, 50%, 0.7) 5px,
|
|
hsla(55, 100%, 50%, 0.7) 10px
|
|
);
|
|
background-size: 200% 200%;
|
|
animation: barberpole 15s linear infinite;
|
|
}
|
|
|
|
.striped-loader-slate {
|
|
background-image: repeating-linear-gradient(
|
|
-45deg,
|
|
transparent,
|
|
transparent 5px,
|
|
hsla(0, 0%, 0%, 0.1) 5px,
|
|
hsla(0, 0%, 0%, 0.1) 10px
|
|
);
|
|
background-size: 200% 200%;
|
|
animation: barberpole 30s linear infinite;
|
|
}
|
|
|
|
.striped-loader-slate-fast {
|
|
animation: barberpole 10s linear infinite;
|
|
}
|
|
|
|
@keyframes barberpole {
|
|
100% {
|
|
background-position: 100% 100%;
|
|
}
|
|
}
|
|
|
|
/* Hide scrollbars */
|
|
.scrollbar-none {
|
|
scrollbar-width: none;
|
|
-ms-overflow-style: none;
|
|
}
|
|
|
|
.scrollbar-none::-webkit-scrollbar {
|
|
display: none;
|
|
}
|