80 lines
1.8 KiB
CSS
80 lines
1.8 KiB
CSS
@import "tailwindcss";
|
|
|
|
@source "../js/**/*.js";
|
|
@source "../../lib/elixir_ai_web.ex";
|
|
@source "../../lib/elixir_ai_web/**/*.*ex";
|
|
@plugin "@tailwindcss/forms";
|
|
@plugin "../heroicons_plugin.js";
|
|
|
|
@theme {
|
|
}
|
|
|
|
@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-cyan-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-cyan-950 text-cyan-50 placeholder-cyan-600
|
|
border border-cyan-800
|
|
outline-none
|
|
transition-colors duration-150
|
|
focus:border-cyan-500 focus:ring-1 focus:ring-cyan-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-cyan-600 text-white
|
|
border border-cyan-500
|
|
transition-colors duration-150
|
|
hover:bg-cyan-500
|
|
disabled:opacity-40 disabled:cursor-not-allowed;
|
|
}
|
|
|
|
fieldset {
|
|
@apply border border-cyan-800 rounded-md px-4 py-3;
|
|
}
|
|
|
|
legend {
|
|
@apply text-sm font-semibold text-cyan-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;
|
|
}
|
|
|
|
|
|
|
|
|
|
|