applies.css 32 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102
  1. @tailwind base;
  2. @tailwind components;
  3. @tailwind utilities;
  4. /*<<<<<<< HEAD:src/frontend/src/index.css*/
  5. /* TODO: Confirm that all colors here are found in tailwind config */
  6. @layer base {
  7. :root {
  8. --background: 0 0% 100%; /* hsl(0 0% 100%) */
  9. --foreground: 222.2 47.4% 11.2%; /* hsl(222 47% 11%) */
  10. --muted: 210 40% 98%; /* hsl(210 40% 98%) */
  11. --muted-foreground: 215.4 16.3% 46.9%; /* hsl(215 16% 46%) */
  12. --popover: 0 0% 100%; /* hsl(0 0% 100%) */
  13. --popover-foreground: 222.2 47.4% 11.2%; /* hsl(222 47% 11%) */
  14. --card: 0 0% 100%; /* hsl(0 0% 100%) */
  15. --card-foreground: 222.2 47.4% 11.2%; /* hsl(222 47% 11%) */
  16. --border: 214.3 21.8% 91.4%; /* hsl(214 32% 91%) */
  17. --input: 214.3 21.8% 91.4%; /* hsl(214 32% 91%) */
  18. --primary: 222.2 27% 11.2%; /* hsl(222 27% 18%) */
  19. --primary-foreground: 210 40% 98%; /* hsl(210 40% 98%) */
  20. --secondary: 210 40% 96.1%; /* hsl(210 40% 96%) */
  21. --secondary-foreground: 222.2 47.4% 11.2%; /* hsl(222 47% 11%) */
  22. --accent: 210 30% 96.1%; /* hsl(210 30% 96%) */
  23. --accent-foreground: 222.2 47.4% 11.2%; /* hsl(222 47% 11%) */
  24. --destructive: 0 100% 50%; /* hsl(0 100% 50%) */
  25. --destructive-foreground: 210 40% 98%; /* hsl(210 40% 98%) */
  26. --radius: 0.5rem;
  27. --ring: 215 20.2% 65.1%; /* hsl(215 20% 65%) */
  28. --round-btn-shadow: #00000063;
  29. --error-background: #fef2f2;
  30. --error-foreground: #991b1b;
  31. --success-background: #f0fdf4;
  32. --success-foreground: #14532d;
  33. --info-background: #f0f4fd;
  34. --info-foreground: #141653;
  35. --high-indigo: #4338ca;
  36. --medium-indigo: #6366f1;
  37. --chat-bot-icon: #afe6ef;
  38. --chat-user-icon: #aface9;
  39. /* Colors that are shared in dark and light mode */
  40. --blur-shared: #151923de;
  41. --build-trigger: #dc735b;
  42. --chat-trigger: #5c8be1;
  43. --chat-trigger-disabled: #b4c3da;
  44. --status-red: #ef4444;
  45. --status-yellow: #eab308;
  46. --status-green: #4ade80;
  47. --status-blue:#2563eb;
  48. --connection: #555;
  49. }
  50. .dark {
  51. --background: 0 0% 0%; /* hsl(224 40% 10%) */
  52. /*--background: 224 35% 7.5%; hsl(224 40% 10%) */
  53. --foreground: 213 31% 80%; /* hsl(213 31% 91%) */
  54. --muted: 223 27% 11%; /* hsl(223 27% 11%) */
  55. --muted-foreground: 215.4 16.3% 56.9%; /* hsl(215 16% 56%) */
  56. --popover: 224 71% 4%; /* hsl(224 71% 4%) */
  57. --popover-foreground: 215 20.2% 65.1%; /* hsl(215 20% 65%) */
  58. --card: 224 25% 15.5%; /* hsl(224 71% 4%) */
  59. --card-foreground: 213 31% 80%; /* hsl(213 31% 91%) */
  60. --border: 216 24% 17%; /* hsl(216 34% 17%) */
  61. --input: 216 24% 17%; /* hsl(216 34% 17%) */
  62. --primary: 210 20% 80%; /* hsl(210 20% 80%) */
  63. --primary-foreground: 222.2 27.4% 1.2%; /* hsl(222 47% 1%) */
  64. --secondary: 222.2 37.4% 7.2%; /* hsl(222 47% 11%) */
  65. --secondary-foreground: 210 40% 80%; /* hsl(210 40% 80%) */
  66. --accent: 216 24% 20%; /* hsl(216 34% 17%) */
  67. --accent-foreground: 210 30% 98%; /* hsl(210 40% 98%) */
  68. --destructive: 0 63% 31%; /* hsl(0 63% 31%) */
  69. --destructive-foreground: 210 40% 98%; /* hsl(210 40% 98%) */
  70. --ring: 216 24% 30%; /* hsl(216 24% 30%) */
  71. --radius: 0.5rem;
  72. --round-btn-shadow: #00000063;
  73. --success-background: #022c22;
  74. --success-foreground: #ecfdf5;
  75. --error-foreground: #fef2f2;
  76. --error-background: #450a0a;
  77. --info-foreground: #eff6ff;
  78. --info-background: #172554;
  79. --high-indigo: #4338ca;
  80. --medium-indigo: #6366f1;
  81. /* Colors that are shared in dark and light mode */
  82. --blur-shared: #151923d2;
  83. --build-trigger: #dc735b;
  84. --chat-trigger: #5c8be1;
  85. --chat-trigger-disabled: #2d3b54;
  86. --status-red: #ef4444;
  87. --status-yellow: #eab308;
  88. --status-green: #4ade80;
  89. --status-blue: #2563eb;
  90. --connection: #555;
  91. --chat-bot-icon: #235d70;
  92. --chat-user-icon: #4f3d6e;
  93. }}
  94. /*=======*/
  95. /*>>>>>>> bisheng_github:src/frontend/src/style/applies.css*/
  96. @layer base {
  97. * {
  98. @apply border-border;
  99. }
  100. body {
  101. @apply bg-background text-foreground;
  102. font-feature-settings: "rlig" 1, "calt" 1;
  103. }
  104. }
  105. @layer components {
  106. .no-scrollbar::-webkit-scrollbar {
  107. display: none;
  108. }
  109. .no-scrollbar {
  110. -ms-overflow-style: none; /* IE and Edge */
  111. scrollbar-width: none; /* Firefox */
  112. }
  113. .template-scrollbar {
  114. @apply overflow-y-auto max-h-[51vh] no-scrollbar
  115. }
  116. .round-buttons-position {
  117. @apply fixed right-4
  118. }
  119. .side-bar-arrangement {
  120. @apply flex h-full w-52 flex-col overflow-hidden scrollbar-hide;
  121. box-shadow: 1px 0 2px #eee; /* me */
  122. }
  123. .side-bar-search-div-placement {
  124. @apply relative mx-auto mb-2 mt-2 flex items-center
  125. }
  126. .side-bar-components-icon {
  127. @apply h-6 w-4 text-ring
  128. }
  129. .side-bar-components-text {
  130. @apply w-full truncate pr-1 text-xs text-foreground
  131. }
  132. .side-bar-components-div-form {
  133. @apply flex w-full items-center justify-between rounded-md rounded-l-none border border-l-0 border-dashed border-ring bg-white px-3 py-1 text-sm
  134. }
  135. .side-bar-components-border {
  136. @apply cursor-grab rounded-l-md border-l-8
  137. }
  138. .side-bar-components-gap {
  139. @apply flex flex-col gap-2 p-2
  140. }
  141. .side-bar-components-div-arrangement {
  142. @apply w-full overflow-auto scrollbar-hide
  143. }
  144. .search-icon {
  145. @apply absolute inset-y-0 right-0 flex items-center py-1.5 pr-5
  146. }
  147. .extra-side-bar-save-disable {
  148. @apply text-muted-foreground
  149. }
  150. .extra-side-bar-save-disable:hover {
  151. @apply hover:text-accent-foreground
  152. }
  153. .side-bar-button-size {
  154. @apply h-5 w-5
  155. }
  156. .side-bar-button-size:hover {
  157. @apply hover:text-accent-foreground
  158. }
  159. .side-bar-buttons-arrangement {
  160. @apply mb-2 mt-2 flex w-full items-center justify-between gap-2 px-2
  161. }
  162. .extra-side-bar-buttons {
  163. @apply relative inline-flex w-full items-center justify-center rounded-full bg-background px-2 py-2 text-foreground shadow-sm ring-1 ring-inset ring-input transition-all duration-500 ease-in-out
  164. }
  165. .extra-side-bar-buttons:hover {
  166. @apply hover:bg-muted
  167. }
  168. .button-div-style {
  169. @apply gap-2 flex
  170. }
  171. .input-primary:focus{
  172. @apply focus:placeholder-transparent focus:ring-ring focus:border-ring
  173. }
  174. .input-primary {
  175. @apply bg-background block border-border form-input px-3 placeholder:text-[#999] rounded-md shadow-sm sm:text-sm truncate w-full;
  176. }
  177. .input-edit-node{
  178. @apply input-primary border-border placeholder:text-center pt-0.5 pb-0.5 text-center
  179. }
  180. .input-search{
  181. @apply input-primary pr-7 mx-2
  182. }
  183. .input-disable{
  184. @apply bg-border placeholder:text-ring border-transparent
  185. }
  186. .input-dialog{
  187. @apply text-ring cursor-pointer bg-transparent
  188. }
  189. .message-button {
  190. @apply message-button-position flex h-12 w-12 items-center justify-center rounded-full bg-border px-3 py-1 shadow-md transition-all
  191. }
  192. .round-button-form {
  193. @apply flex h-12 w-12 cursor-pointer justify-center rounded-full bg-border px-3 py-1 shadow-md
  194. }
  195. .round-button-div {
  196. @apply flex items-center gap-3
  197. }
  198. .build-trigger-loading-icon {
  199. @apply stroke-build-trigger
  200. }
  201. .build-trigger-icon {
  202. @apply w-6 fill-build-trigger stroke-1 stroke-build-trigger
  203. }
  204. .message-button-position {
  205. @apply fixed bottom-4 right-4
  206. }
  207. .message-button-icon {
  208. @apply fill-chat-trigger stroke-chat-trigger stroke-1
  209. }
  210. .disabled-message-button-icon {
  211. @apply fill-chat-trigger-disabled stroke-chat-trigger-disabled stroke-1
  212. }
  213. .components-disclosure-arrangement {
  214. @apply -mt-px flex w-full select-none items-center justify-between px-3 py-2 bg-white dark:bg-gray-950;
  215. border: none;
  216. box-shadow: 0 1px 10px 0 #eee;
  217. margin-bottom: 2px;
  218. border-radius: 0 4px 22px 0;
  219. }
  220. .components-disclosure-arrangement:hover {
  221. @apply bg-muted transition-colors
  222. }
  223. .components-disclosure-title {
  224. @apply flex items-center text-xs text-primary break-keep
  225. }
  226. .components-disclosure-div {
  227. @apply flex gap-2
  228. }
  229. .flow-page-positioning {
  230. @apply h-full w-full overflow-hidden
  231. }
  232. .logspace-page-icon {
  233. @apply absolute bottom-2 left-7 flex h-6 cursor-pointer flex-col items-center justify-start overflow-hidden rounded-lg bg-foreground px-2 text-center font-sans text-xs tracking-wide text-secondary transition-all duration-500 ease-in-out
  234. }
  235. .logspace-page-icon:hover {
  236. @apply hover:h-12
  237. }
  238. .flex-max-width {
  239. @apply flex w-full
  240. }
  241. .main-page-panel {
  242. @apply flex-max-width h-full flex-col overflow-auto bg-muted px-16
  243. }
  244. .main-page-nav-arrangement {
  245. @apply flex-max-width justify-between px-6 py-12 pb-2
  246. }
  247. .main-page-nav-title {
  248. @apply flex items-center justify-center gap-2 text-2xl font-semibold
  249. }
  250. .main-page-nav-button {
  251. @apply mr-2 w-4
  252. }
  253. .main-page-description-text {
  254. @apply flex w-[60%] px-6 pb-14 text-muted-foreground
  255. }
  256. .main-page-flows-display {
  257. @apply grid w-full gap-4 p-4 md:grid-cols-2 lg:grid-cols-4
  258. }
  259. .community-page-arrangement {
  260. @apply flex-max-width h-full flex-col overflow-auto bg-muted px-16
  261. }
  262. .community-page-nav-arrangement {
  263. @apply flex-max-width justify-between px-6 py-12 pb-2
  264. }
  265. .community-page-nav-title {
  266. @apply flex items-center justify-center gap-2 text-2xl font-semibold
  267. }
  268. .community-page-nav-button {
  269. @apply flex gap-2
  270. }
  271. .community-page-description-text {
  272. @apply flex w-[70%] px-6 pb-8 text-muted-foreground
  273. }
  274. .community-pages-flows-panel {
  275. @apply grid w-full gap-4 p-4 md:grid-cols-2 lg:grid-cols-4
  276. }
  277. .generic-node-div {
  278. @apply relative flex w-96 flex-col justify-center rounded-3xl bg-background
  279. }
  280. .generic-node-div-title {
  281. @apply flex w-full items-center justify-between gap-8 rounded-t-3xl border-b bg-muted p-4
  282. }
  283. .generic-node-title-arrangement {
  284. @apply flex-max-width items-center truncate
  285. }
  286. .generic-node-icon {
  287. @apply h-10 w-10 rounded p-1
  288. }
  289. .generic-node-tooltip-div {
  290. @apply ml-2 truncate
  291. }
  292. .generic-node-validation-div {
  293. @apply max-h-96 overflow-auto
  294. }
  295. .generic-node-status-position {
  296. @apply relative top-[3px] h-5 w-5
  297. }
  298. .generic-node-status-animation {
  299. @apply hidden h-4 w-4 animate-spin rounded-full bg-ring opacity-0
  300. }
  301. .generic-node-status {
  302. @apply h-4 w-4 rounded-full opacity-100
  303. }
  304. .green-status {
  305. @apply generic-node-status bg-status-green
  306. }
  307. .red-status {
  308. @apply generic-node-status bg-status-red
  309. }
  310. .yellow-status {
  311. @apply generic-node-status bg-status-yellow
  312. }
  313. .status-build-animation {
  314. @apply hidden h-4 w-4 animate-spin rounded-full bg-ring opacity-0
  315. }
  316. .status-div {
  317. @apply absolute w-4 duration-200 ease-in-out
  318. }
  319. .status-div:hover {
  320. @apply hover:text-accent-foreground hover:transition-all
  321. }
  322. .generic-node-desc {
  323. @apply h-full w-full py-5 text-foreground
  324. }
  325. .generic-node-desc-text {
  326. @apply w-full px-5 pb-3 text-sm text-muted-foreground
  327. }
  328. .alert-icon {
  329. @apply h-5 w-5
  330. }
  331. .alert-font-size {
  332. @apply text-sm font-medium
  333. }
  334. .error-build-message {
  335. @apply mt-6 w-96 cursor-pointer rounded-md bg-error-background p-4 shadow-xl
  336. }
  337. .error-build-message-circle {
  338. @apply text-status-red alert-icon
  339. }
  340. .error-build-text {
  341. @apply text-error-foreground
  342. }
  343. .error-build-foreground {
  344. @apply error-build-text alert-font-size
  345. }
  346. .error-build-message-div {
  347. @apply mt-2 text-sm error-build-text
  348. }
  349. .error-build-message-list {
  350. @apply list-disc space-y-1 pl-5
  351. }
  352. .success-alert {
  353. @apply mt-6 w-96 rounded-md bg-success-background p-4 shadow-xl
  354. }
  355. .success-alert-icon {
  356. @apply alert-icon text-status-green
  357. }
  358. .success-alert-message {
  359. @apply alert-font-size text-success-foreground
  360. }
  361. .card-component-title-display {
  362. @apply round-button-div flex-max-width
  363. }
  364. .card-component-image {
  365. @apply flex h-7 w-7 items-center justify-center rounded-full text-2xl
  366. }
  367. .card-component-title-size {
  368. @apply inline-block w-full flex-1 break-words truncate-doubleline
  369. }
  370. .card-component-delete-button {
  371. @apply flex self-start
  372. }
  373. .card-component-delete-icon {
  374. @apply h-4 w-4 text-primary opacity-0 transition-all group-hover:opacity-100
  375. }
  376. .card-component-desc {
  377. @apply pb-2 pt-2
  378. }
  379. .card-component-desc-text {
  380. @apply truncate-doubleline
  381. }
  382. .card-component-footer-arrangement {
  383. @apply flex-max-width items-end justify-between gap-2
  384. }
  385. .card-component-footer {
  386. @apply flex flex-wrap gap-2
  387. }
  388. .unused-side-bar-aside {
  389. @apply flex flex-shrink-0 flex-col overflow-hidden border-r transition-all duration-500
  390. }
  391. .unused-side-bar-arrangement {
  392. @apply flex h-full w-52 flex-col items-start overflow-y-auto border bg-background scrollbar-hide
  393. }
  394. .unused-side-bar-division {
  395. @apply flex-max-width flex-grow flex-col
  396. }
  397. .unused-side-bar-nav {
  398. @apply flex-1 space-y-1
  399. }
  400. .unused-side-bar-link {
  401. @apply flex-max-width items-center rounded-md py-2 pl-2 text-sm font-medium
  402. }
  403. .unused-side-bar-link-colors-true {
  404. @apply bg-muted text-foreground
  405. }
  406. .unused-side-bar-link-colors-false {
  407. @apply bg-background text-muted-foreground hover:bg-muted hover:text-foreground
  408. }
  409. .unused-side-bar-icon {
  410. @apply mr-3 flex-shrink-0 h-6 w-6
  411. }
  412. .unused-side-bar-icon-false {
  413. @apply text-ring group-hover:text-accent-foreground
  414. }
  415. .unused-side-bar-disclosure {
  416. @apply unused-side-bar-link pr-1 text-left
  417. }
  418. .unused-side-bar-disclosure:focus {
  419. @apply focus:outline-none focus:ring-1 focus:ring-ring
  420. }
  421. .unused-side-bar-disclosure-icon {
  422. @apply unused-side-bar-icon text-ring group-hover:text-accent-foreground
  423. }
  424. .unused-side-bar-svg-true {
  425. @apply text-ring rotate-90
  426. }
  427. .unused-side-bar-svg {
  428. @apply ml-3 h-5 w-5 flex-shrink-0 duration-150 ease-in-out group-hover:text-accent-foreground
  429. }
  430. .unused-side-bar-disclosure-panel {
  431. @apply flex w-full items-center rounded-md py-2 pl-11 pr-2 text-sm font-medium
  432. }
  433. .code-area-component {
  434. @apply pointer-events-none w-full cursor-not-allowed
  435. }
  436. .code-area-input-positioning {
  437. @apply flex-max-width items-center
  438. }
  439. .code-area-external-link {
  440. @apply w-6 h-6 ml-3
  441. }
  442. .code-area-external-link:hover {
  443. @apply hover:text-accent-foreground
  444. }
  445. .dropdown-component-outline {
  446. @apply input-edit-node relative pr-8
  447. }
  448. .dropdown-component-false-outline {
  449. @apply input-primary py-2 pl-3 pr-10 text-left
  450. }
  451. .dropdown-component-display {
  452. @apply block w-full truncate bg-background
  453. }
  454. .dropdown-component-arrow {
  455. @apply pointer-events-none absolute inset-y-0 right-0 flex items-center pr-2
  456. }
  457. .dropdown-component-arrow-color {
  458. @apply h-5 w-5 extra-side-bar-save-disable
  459. }
  460. .dropdown-component-options {
  461. @apply z-10 mt-1 max-h-60 overflow-auto rounded-md bg-background py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm
  462. }
  463. .dropdown-component-true-options {
  464. @apply dropdown-component-options w-[215px]
  465. }
  466. .dropdown-component-false-options {
  467. @apply dropdown-component-options w-full
  468. }
  469. .dropdown-component-option {
  470. @apply relative cursor-default select-none
  471. }
  472. .dropdown-component-false-option {
  473. @apply dropdown-component-option py-0.5 pl-3 pr-12
  474. }
  475. .dropdown-component-true-option {
  476. @apply dropdown-component-option py-2 pl-3 pr-9
  477. }
  478. .dropdown-component-choosal {
  479. @apply absolute inset-y-0 right-0 flex items-center pr-4
  480. }
  481. .dropdown-component-check-icon {
  482. @apply h-5 w-5 text-black
  483. }
  484. .edit-flow-arrangement {
  485. @apply flex justify-between
  486. }
  487. .edit-flow-span {
  488. @apply ml-10 animate-pulse text-status-red
  489. }
  490. .float-component-pointer {
  491. @apply pointer-events-none cursor-not-allowed
  492. }
  493. .header-menu-bar {
  494. @apply flex items-center gap-0.5 rounded-md px-1.5 py-1 text-sm font-medium
  495. }
  496. .header-menu-bar-display {
  497. @apply flex max-w-[200px] items-center gap-2 cursor-pointer
  498. }
  499. .header-menu-flow-name {
  500. @apply flex-1 truncate
  501. }
  502. .header-menu-options {
  503. @apply mr-2 h-4 w-4
  504. }
  505. .header-arrangement {
  506. @apply flex-max-width h-12 items-center justify-between border-b bg-muted
  507. }
  508. .header-start-display {
  509. @apply flex w-96 items-center justify-start gap-2
  510. }
  511. .header-end-division {
  512. @apply flex w-96 justify-end px-2
  513. }
  514. .header-end-display {
  515. @apply ml-auto mr-2 flex items-center gap-5
  516. }
  517. .header-github-link-box {
  518. @apply border border-input h-9 px-3 pr-0 rounded-md inline-flex shadow-sm items-center justify-center
  519. }
  520. .header-github-link {
  521. @apply text-sm font-medium disabled:opacity-50 disabled:pointer-events-none ring-offset-background text-muted-foreground header-github-link-box
  522. }
  523. .header-github-link:focus-visible {
  524. @apply focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2
  525. }
  526. .header-github-link:hover {
  527. @apply hover:bg-accent hover:text-accent-foreground
  528. }
  529. .header-github-display {
  530. @apply -mr-px ml-2 flex h-9 items-center justify-center rounded-md rounded-l-none border bg-background px-2 text-sm
  531. }
  532. .header-notifications-box {
  533. @apply fixed left-0 top-0 h-screen w-screen
  534. }
  535. .header-notifications {
  536. @apply absolute right-[3px] h-1.5 w-1.5 rounded-full bg-destructive
  537. }
  538. .input-component-div {
  539. @apply pointer-events-none relative cursor-not-allowed
  540. }
  541. .input-component-button {
  542. @apply absolute inset-y-0 right-0 items-center text-muted-foreground
  543. }
  544. .input-component-true-button {
  545. @apply input-component-button pr-2
  546. }
  547. .input-component-false-button {
  548. @apply input-component-button px-4
  549. }
  550. .input-component-true-svg {
  551. @apply absolute bottom-0.5 right-2 side-bar-button-size
  552. }
  553. .input-component-false-svg {
  554. @apply absolute bottom-2 right-3 side-bar-button-size
  555. }
  556. .input-file-component {
  557. @apply flex-max-width items-center
  558. }
  559. .toggle-component-switch {
  560. @apply relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out
  561. }
  562. .toggle-component-switch:focus {
  563. @apply focus:outline-none focus:ring-1 focus:ring-primary focus:ring-offset-1
  564. }
  565. .toggle-component-span {
  566. @apply pointer-events-none relative inline-block h-5 w-5 transform rounded-full shadow ring-0 transition duration-200 ease-in-out
  567. }
  568. .toggle-component-second-span {
  569. @apply absolute inset-0 flex h-full w-full items-center justify-center transition-opacity
  570. }
  571. .app-div {
  572. @apply fixed bottom-5 left-5 flex flex-col-reverse
  573. }
  574. .chat-input-modal-txtarea {
  575. @apply form-input block w-full rounded-md border-ring pr-10 custom-scroll sm:text-sm
  576. }
  577. .chat-input-modal-div {
  578. @apply absolute bottom-0.5 right-3
  579. }
  580. .chat-input-modal-lock {
  581. @apply side-bar-button-size animate-pulse text-ring
  582. }
  583. .chat-input-modal-send {
  584. @apply side-bar-button-size text-ring hover:text-muted-foreground
  585. }
  586. .code-block-modal {
  587. @apply flex items-center justify-between px-4 py-1.5
  588. }
  589. .code-block-modal-span {
  590. @apply text-xs lowercase text-muted-foreground
  591. }
  592. .code-block-modal-button {
  593. @apply flex items-center gap-1.5 rounded bg-none p-1 text-xs text-muted-foreground
  594. }
  595. .chat-message-modal {
  596. @apply flex-max-width py-2 pl-2
  597. }
  598. .chat-message-modal-div {
  599. @apply my-3 flex h-8 w-8 items-center justify-center overflow-hidden rounded-full
  600. }
  601. .chat-message-modal-img {
  602. @apply absolute scale-150 transition-opacity duration-500
  603. }
  604. .chat-message-modal-display {
  605. @apply flex-max-width items-center text-start
  606. }
  607. .chat-message-modal-text {
  608. @apply relative inline-block w-full text-start text-sm font-normal text-muted-foreground
  609. }
  610. .chat-message-modal-icon-div {
  611. @apply absolute -left-2 -top-1 cursor-pointer
  612. }
  613. .chat-message-modal-thought {
  614. @apply ml-3 inline-block h-full w-[95%] rounded-md border border-ring bg-muted px-2 pb-3 pt-3 text-start text-muted-foreground chat-message-modal-thought-cursor
  615. }
  616. .chat-message-modal-thought-cursor {
  617. @apply cursor-pointer scrollbar-hide overflow-scroll
  618. }
  619. .chat-message-modal-markdown {
  620. @apply w-full px-4 pb-3 pr-8 pt-3
  621. }
  622. .chat-message-modal-markdown-span {
  623. @apply mt-1 animate-pulse cursor-default
  624. }
  625. .chat-message-modal-alert {
  626. @apply inline-block px-3 text-start text-muted-foreground
  627. }
  628. .file-card-modal-image-div {
  629. @apply absolute right-0 top-0 rounded-bl-lg bg-muted px-1 text-sm font-bold text-foreground
  630. }
  631. .file-card-modal-image-button {
  632. @apply px-2 py-1 text-ring
  633. }
  634. .file-card-modal-button {
  635. @apply flex w-1/2 items-center justify-between rounded border border-ring bg-muted px-2 py-2 text-foreground shadow hover:drop-shadow-lg
  636. }
  637. .file-card-modal-div {
  638. @apply mr-2 flex-max-width items-center gap-2 text-current
  639. }
  640. .file-card-modal-footer {
  641. @apply flex flex-col items-start
  642. }
  643. .file-card-modal-name {
  644. @apply truncate text-sm text-current
  645. }
  646. .file-card-modal-type {
  647. @apply truncate text-xs text-ring
  648. }
  649. .send-message-modal-transition {
  650. @apply fixed inset-0 bg-black bg-opacity-80 backdrop-blur-sm transition-opacity
  651. }
  652. .chat-modal-box {
  653. @apply fixed inset-0 z-10 overflow-y-auto
  654. }
  655. .chat-modal-box-div {
  656. @apply flex h-full items-end justify-center p-4 text-center sm:items-center sm:p-0
  657. }
  658. .chat-modal-dialog-panel {
  659. @apply relative flex h-[95%] w-[690px] transform flex-col justify-between overflow-hidden rounded-lg bg-background text-left shadow-xl drop-shadow-2xl transition-all
  660. }
  661. .chat-modal-dialog-panel-div {
  662. @apply relative w-full p-4
  663. }
  664. .chat-modal-dialog-trash-panel {
  665. @apply absolute right-10 top-2 z-30 text-muted-foreground hover:text-status-red
  666. }
  667. .chat-modal-dialog-x-panel {
  668. @apply absolute right-2 top-1.5 z-30 text-muted-foreground hover:text-status-red
  669. }
  670. .chat-modal-dialog-history {
  671. @apply flex-max-width h-full flex-col items-center overflow-scroll border-t bg-background scrollbar-hide
  672. }
  673. .chat-modal-dialog-span-box {
  674. @apply flex-max-width h-full flex-col items-center justify-center text-center align-middle
  675. }
  676. .chat-modal-dialog-desc {
  677. @apply w-2/4 rounded-md border border-input bg-muted px-6 py-8
  678. }
  679. .chat-modal-input-div {
  680. @apply flex-max-width flex-col items-center justify-between border-t bg-background p-3
  681. }
  682. .chat-modal-input {
  683. @apply relative mt-1 w-full rounded-md shadow-sm
  684. }
  685. .code-area-modal-editor-div {
  686. @apply mt-2 flex-max-width h-full
  687. }
  688. .code-area-modal-editor-box {
  689. @apply h-[300px] w-full rounded-lg border-[1px] border-ring custom-scroll
  690. }
  691. .edit-node-modal-variable {
  692. @apply h-5 w-5 stroke-2 pe-1 text-muted-foreground
  693. }
  694. .edit-node-modal-span {
  695. @apply text-sm font-semibold text-primary
  696. }
  697. .edit-node-modal-arrangement {
  698. @apply flex-max-width h-fit max-h-[400px]
  699. }
  700. .edit-node-modal-box {
  701. @apply w-full rounded-lg border-[1px] border-input bg-background
  702. }
  703. .edit-node-modal-table {
  704. @apply flex h-fit flex-col gap-5
  705. }
  706. .edit-node-modal-table-header {
  707. @apply h-10 border-input text-xs font-medium text-ring
  708. }
  709. .edit-node-modal-table-cell {
  710. @apply p-0 text-center text-sm text-foreground truncate sm:px-3
  711. }
  712. .edit-node-modal-second-cell {
  713. @apply w-[300px] p-0 text-center text-xs text-foreground
  714. }
  715. .generic-modal-txtarea-div {
  716. @apply mt-2 flex-max-width h-full
  717. }
  718. .button-box-modal-div {
  719. @apply flex transform flex-col items-center justify-center rounded-lg border border-ring text-center shadow hover:scale-105 hover:shadow-lg
  720. }
  721. .dialog-header-modal-div {
  722. @apply absolute left-0 top-2 z-50 hidden pl-4 pt-4 sm:block
  723. }
  724. .dialog-header-modal-button {
  725. @apply rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2
  726. }
  727. .dialog-modal-examples-div {
  728. @apply h-full w-full overflow-y-auto scrollbar-hide
  729. }
  730. .dialog-modal-example-true {
  731. @apply mx-auto flex flex-row flex-wrap items-start justify-center overflow-auto
  732. }
  733. .dialog-modal-example-false {
  734. @apply flex flex-row items-center justify-center
  735. }
  736. .dialog-modal-button-box-div {
  737. @apply flex-max-width h-full items-center justify-evenly
  738. }
  739. .document-icon {
  740. @apply h-10 w-10 flex-shrink-0
  741. }
  742. .loading-component-div {
  743. @apply flex items-center justify-center align-middle
  744. }
  745. .dialog-modal-footer {
  746. @apply mt-2 flex-max-width items-center justify-center
  747. }
  748. .dialog-modal-footer-link {
  749. @apply flex items-center justify-center text-muted-foreground
  750. }
  751. .node-modal-div {
  752. @apply fixed inset-0 bg-ring bg-opacity-75 transition-opacity
  753. }
  754. .node-modal-dialog-arrangement {
  755. @apply fixed inset-0 z-10 overflow-y-auto
  756. }
  757. .node-modal-dialog-div {
  758. @apply flex h-full items-end justify-center p-4 text-center sm:items-center sm:p-0
  759. }
  760. .node-modal-dialog-panel {
  761. @apply relative flex h-[600px] w-[700px] transform flex-col justify-between overflow-hidden rounded-lg bg-background text-left shadow-xl transition-all sm:my-8
  762. }
  763. .node-modal-dialog-panel-div {
  764. @apply absolute right-0 top-0 z-50 hidden pr-4 pt-4 sm:block
  765. }
  766. .node-modal-dialog-button {
  767. @apply rounded-md text-ring hover:text-accent-foreground
  768. }
  769. .node-modal-dialog-icon-div {
  770. @apply flex-max-width h-full flex-col items-center justify-center
  771. }
  772. .node-modal-icon-arrangement {
  773. @apply z-10 flex-max-width justify-center pb-4 shadow-sm
  774. }
  775. .node-modal-icon {
  776. @apply mt-4 h-10 w-10 rounded p-1
  777. }
  778. .node-modal-title-div {
  779. @apply mt-4 text-center sm:ml-4 sm:text-left
  780. }
  781. .node-modal-title {
  782. @apply text-lg font-medium leading-10 text-foreground
  783. }
  784. .node-modal-template-div {
  785. @apply flex-max-width h-full flex-row items-center justify-center gap-4 bg-input p-4
  786. }
  787. .node-modal-template {
  788. @apply w-full rounded-lg bg-background px-4 shadow sm:p-4
  789. }
  790. .node-modal-template-column {
  791. @apply flex h-full flex-col gap-5
  792. }
  793. .node-modal-button-box {
  794. @apply flex-max-width flex-row-reverse bg-input px-4 pb-3
  795. }
  796. .node-modal-button {
  797. @apply inline-flex w-full justify-center rounded-md border border-transparent bg-status-red px-4 py-2 text-base font-medium text-background shadow-sm hover:bg-ring sm:ml-3 sm:w-auto sm:text-sm
  798. }
  799. .node-modal-button:focus {
  800. @apply focus:outline-none focus:ring-1 focus:ring-ring focus:ring-offset-1
  801. }
  802. .prompt-modal-icon-box {
  803. @apply mx-auto mt-4 flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full bg-almost-light-blue sm:mx-0 sm:h-10 sm:w-10
  804. }
  805. .prompt-modal-icon {
  806. @apply h-6 w-6 text-almost-medium-blue
  807. }
  808. .prompt-modal-txtarea-arrangement {
  809. @apply flex-max-width h-full flex-row items-center justify-center gap-4 overflow-auto bg-accent p-4
  810. }
  811. .prompt-modal-txtarea-box {
  812. @apply h-full w-full overflow-hidden rounded-lg bg-background px-4 py-5 shadow sm:p-6
  813. }
  814. .prompt-modal-txtarea {
  815. @apply form-input h-full w-full rounded-lg border-ring
  816. }
  817. .txtarea-modal-arrangement {
  818. @apply flex h-full w-full flex-row items-center justify-center gap-4 bg-input p-4
  819. }
  820. .txtarea-modal-box {
  821. @apply w-full overflow-hidden rounded-lg bg-background px-4 py-5 shadow sm:p-6
  822. }
  823. .txtarea-modal-input {
  824. @apply form-input h-full w-full
  825. }
  826. .api-modal-tabs {
  827. @apply w-full h-full overflow-hidden text-center bg-muted rounded-md border
  828. }
  829. .api-modal-tablist-div {
  830. @apply flex items-center justify-between px-2
  831. }
  832. .api-modal-tabs-content {
  833. @apply overflow-hidden w-full h-full px-4 pb-4 -mt-1
  834. }
  835. .api-modal-accordion-display {
  836. @apply flex w-full h-full mt-2
  837. }
  838. .api-modal-table-arrangement {
  839. @apply flex flex-col gap-5 h-fit
  840. }
  841. .icons-parameters-comp{
  842. @apply ml-3 h-6 w-6
  843. }
  844. .form-modal-lock-true {
  845. @apply bg-input text-primary
  846. }
  847. .form-modal-no-input {
  848. @apply bg-input text-center text-primary dark:bg-gray-700 dark:text-gray-300
  849. }
  850. .form-modal-lock-false {
  851. @apply bg-white text-primary
  852. }
  853. .code-highlight{
  854. @apply block px-3 py-2 w-full max-h-[64vh] text-sm outline-0 border-0 break-all overflow-y-hidden
  855. }
  856. .code-nohighlight{
  857. @apply block px-3 py-2 w-full max-h-[70vh] text-sm outline-0 border-0 break-all overflow-y-hidden
  858. }
  859. .form-modal-lockchat {
  860. @apply form-input focus:ring-ring focus:border-ring block w-full rounded-md border-border p-4 pr-16 custom-scroll sm:text-sm
  861. }
  862. .form-modal-send-icon-position {
  863. @apply absolute bottom-2 right-4
  864. }
  865. .form-modal-send-button {
  866. @apply rounded-md p-2 px-1 transition-all duration-300
  867. }
  868. .form-modal-lock-icon {
  869. @apply ml-1 mr-1 h-5 w-5 animate-pulse
  870. }
  871. .form-modal-send-icon {
  872. @apply mr-2 h-5 w-5 rotate-[44deg]
  873. }
  874. .form-modal-play-icon {
  875. @apply h-5 w-5 mx-1
  876. }
  877. .form-modal-chat-position {
  878. @apply flex-max-width px-2 py-6 pl-4 pr-9
  879. }
  880. .form-modal-chatbot-icon {
  881. @apply mb-3 ml-3 mr-6 mt-1
  882. }
  883. .form-modal-chat-image {
  884. @apply flex flex-col items-center gap-1
  885. }
  886. .form-modal-chat-img-box {
  887. @apply relative flex h-8 w-8 items-center justify-center overflow-hidden rounded-md p-5 text-2xl
  888. }
  889. .form-modal-chat-bot-icon {
  890. @apply form-modal-chat-img-box bg-chat-bot-icon
  891. }
  892. .form-modal-chat-user-icon {
  893. @apply form-modal-chat-img-box bg-chat-user-icon
  894. }
  895. .form-modal-chat-icon-img {
  896. @apply absolute scale-[60%]
  897. }
  898. .form-modal-chat-text-position {
  899. @apply flex w-full flex-1 text-start
  900. }
  901. .form-modal-chat-text {
  902. @apply relative flex w-full flex-col text-start text-sm font-normal text-muted-foreground
  903. }
  904. .form-modal-chat-icon-div {
  905. @apply absolute -left-6 -top-3 cursor-pointer
  906. }
  907. .form-modal-chat-icon {
  908. @apply h-4 w-4 animate-bounce
  909. }
  910. .form-modal-chat-thought-border {
  911. @apply rounded-md border border-ring/60
  912. }
  913. .form-modal-chat-thought-size {
  914. @apply inline-block h-full w-[95%]
  915. }
  916. .form-modal-chat-thought {
  917. @apply cursor-pointer overflow-scroll bg-background text-start text-primary scrollbar-hide form-modal-chat-thought-border form-modal-chat-thought-size py-2 px-2
  918. }
  919. .form-modal-markdown-span {
  920. @apply mt-1 animate-pulse cursor-default
  921. }
  922. .form-modal-initial-prompt-btn {
  923. @apply mb-2 flex items-center gap-2 rounded-md border border-border bg-background shadow-sm px-4 py-2 text-sm font-semibold
  924. }
  925. .form-modal-iv-box {
  926. @apply mt-2 flex-max-width h-[80vh]
  927. }
  928. .form-modal-iv-size {
  929. @apply mr-6 flex h-full w-2/6 flex-col justify-start overflow-auto scrollbar-hide
  930. }
  931. .file-component-arrangement {
  932. @apply flex items-center py-2
  933. }
  934. .file-component-variable {
  935. @apply -ml-px mr-1 h-4 w-4 text-primary
  936. }
  937. .file-component-variables-span {
  938. @apply font-semibold text-primary
  939. }
  940. .file-component-variables-title {
  941. @apply flex items-center justify-between pt-2
  942. }
  943. .file-component-variables-div {
  944. @apply mr-2.5 flex items-center
  945. }
  946. .file-component-variables-title-txt {
  947. @apply text-sm font-medium text-primary
  948. }
  949. .file-component-accordion-div {
  950. @apply flex items-start gap-3
  951. }
  952. .file-component-badge-div {
  953. @apply flex-max-width items-center justify-between
  954. }
  955. .file-component-tab-column {
  956. @apply flex flex-col gap-2 p-1
  957. }
  958. .tab-accordion-badge-div {
  959. @apply flex flex-1 items-center justify-between py-4 text-sm font-normal text-muted-foreground transition-all
  960. }
  961. .eraser-column-arrangement {
  962. @apply flex-max-width flex-1 flex-col
  963. }
  964. .eraser-size {
  965. @apply relative flex h-full w-full flex-col rounded-md border bg-muted
  966. }
  967. .eraser-position {
  968. @apply absolute right-3 top-3 z-50
  969. }
  970. .chat-message-div {
  971. @apply flex-max-width h-full flex-col items-center overflow-scroll scrollbar-hide
  972. }
  973. .chat-alert-box {
  974. @apply flex-max-width h-full flex-col items-center justify-center text-center align-middle
  975. }
  976. .bisheng-chat-span {
  977. @apply text-lg text-foreground
  978. }
  979. .bisheng-chat-desc {
  980. @apply w-2/4 rounded-md border border-border bg-muted px-6 py-8
  981. }
  982. .bisheng-chat-desc-span {
  983. @apply text-base text-muted-foreground
  984. }
  985. .bisheng-chat-input-div {
  986. @apply flex-max-width flex-col items-center justify-between px-8 pb-6
  987. }
  988. .bisheng-chat-input {
  989. @apply relative w-full rounded-md shadow-sm
  990. }
  991. .tooltip-fixed-width{
  992. @apply max-w-[30vw] max-h-[20vh] overflow-auto
  993. }
  994. .langflow-chat-input {
  995. @apply relative w-full rounded-md shadow-sm;
  996. }
  997. .ace-editor-arrangement {
  998. @apply flex-max-width h-full flex-col transition-all
  999. }
  1000. .ace-editor {
  1001. @apply h-full w-full rounded-lg border-[1px] border-border custom-scroll
  1002. }
  1003. .ace-editor-save-btn {
  1004. @apply flex-max-width h-fit justify-end
  1005. }
  1006. .export-modal-save-api {
  1007. @apply font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70
  1008. }
  1009. .chat-message-highlight {
  1010. @apply px-0.5 rounded-md bg-indigo-100 dark:bg-indigo-900
  1011. }
  1012. }