89 lines
2.5 KiB
CSS
89 lines
2.5 KiB
CSS
@import "tailwindcss";
|
|
|
|
@source "../js/**/*.js";
|
|
@source "../../lib/elixir_ai_web.ex";
|
|
@source "../../lib/elixir_ai_web/**/*.*ex";
|
|
@source inline("{bg-seafoam-950/30,bg-red-950/30,bg-green-950/30,bg-blue-950/30,bg-yellow-950/30,bg-purple-950/30,bg-pink-950/30}");
|
|
@plugin "@tailwindcss/forms";
|
|
@plugin "../heroicons_plugin.js";
|
|
|
|
@theme {
|
|
--color-brand: #fd4f00;
|
|
|
|
--color-seafoam-50: hsl(183.16 90% 96.27%);
|
|
--color-seafoam-100: hsl(185.11 85.92% 90.39%);
|
|
--color-seafoam-200: hsl(186.21 83.55% 81.76%);
|
|
--color-seafoam-300: hsl(186.99 82.41% 69.02%);
|
|
--color-seafoam-400: hsl(187.94 75.71% 53.33%);
|
|
--color-seafoam-500: hsl(188.74 84.5% 42.75%);
|
|
--color-seafoam-600: hsl(191.65 81.4% 36.47%);
|
|
--color-seafoam-700: hsl(192.92 72.28% 30.98%);
|
|
--color-seafoam-800: hsl(194.38 59.57% 27.06%);
|
|
--color-seafoam-900: hsl(198.18 73.33% 17.65%);
|
|
--color-seafoam-950: hsl(196.88 72.73% 8.63%);
|
|
}
|
|
|
|
@variant phx-click-loading (&.phx-click-loading, .phx-click-loading &);
|
|
@variant phx-submit-loading (&.phx-submit-loading, .phx-submit-loading &);
|
|
@variant phx-change-loading (&.phx-change-loading, .phx-change-loading &);
|
|
|
|
/* This file is for your main application CSS */
|
|
|
|
/* Form Elements */
|
|
label {
|
|
@apply block text-sm font-medium text-seafoam-300 mb-1;
|
|
}
|
|
|
|
input[type="text"],
|
|
input[type="email"],
|
|
input[type="password"],
|
|
input[type="number"],
|
|
input[type="search"],
|
|
input[type="url"],
|
|
textarea,
|
|
select {
|
|
@apply w-full rounded-md px-3 py-2 text-sm
|
|
bg-seafoam-950 text-seafoam-50 placeholder-seafoam-600
|
|
border border-seafoam-800
|
|
outline-none
|
|
transition-colors duration-150
|
|
focus:border-seafoam-500 focus:ring-1 focus:ring-seafoam-500;
|
|
}
|
|
|
|
textarea {
|
|
@apply resize-y min-h-24;
|
|
}
|
|
|
|
button[type="submit"],
|
|
input[type="submit"] {
|
|
@apply px-4 py-2 rounded-md text-sm font-medium
|
|
bg-seafoam-600 text-white
|
|
border border-seafoam-500
|
|
transition-colors duration-150
|
|
hover:bg-seafoam-500
|
|
disabled:opacity-40 disabled:cursor-not-allowed;
|
|
}
|
|
|
|
fieldset {
|
|
@apply border border-seafoam-800 rounded-md px-4 py-3;
|
|
}
|
|
|
|
legend {
|
|
@apply text-sm font-semibold text-seafoam-400 px-1;
|
|
}
|
|
|
|
button {
|
|
@apply cursor-pointer;
|
|
}
|
|
|
|
@import "./spinner.css";
|
|
@import "./markdown.css";
|
|
|
|
/* Reasoning content collapse animation */
|
|
.reasoning-content {
|
|
@apply overflow-hidden opacity-100 max-h-[1000px] [transition:max-height_0.35s_ease,opacity_0.25s_ease,padding_0.25s_ease,margin_0.25s_ease];
|
|
}
|
|
.reasoning-content.collapsed {
|
|
@apply opacity-0 max-h-0 pt-0 pb-0 mb-0;
|
|
}
|