Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

7.8 KB
Raw Blame
.component.Memory {
  border-radius: 0px 0px 40px;
  background-color: rgba(189, 241, 255, 0.8);
}

.component.Memory:hover {
  background-color: rgba(189, 241, 255, 1);
}

.APIEndpoint .input-container .ep {
  display: none;
}
.APIOutput .output-container .ep {
  display: none;
}
.Note {
  border-radius: 0px !important;
  background-color: #c7ff1529;
  border-color: #c7ff1529;
}
.Note:hover {
  background-color: #c8ff1556;
}
.Note .title-bar {
  height: 40px;
  background-color: transparent;
}
.Note .note-content-wrapper {
  padding: 0px 10px;
  overflow-y: auto;
  overflow-x: auto;
  max-height: calc(100% - 60px);
  box-sizing: border-box;
  margin-top: 15px;
  position: relative;
}

.Note .note-text {
  text-wrap: balance;
  line-height: 30px;
  margin: 0;
  padding: 0;
}

.component.Note {
  min-height: 40px !important;
}

.component.AgentPlugin .title-bar img {
  height: 60px;
}

.component.Async .output-endpoint:not(.default) .name .label::before {
  content: '[ async ]';
  font-size: 10px;
  font-weight: bold;
  display: inline-block;
  margin: 0px 10px 0px 0px;
  color: #000;

  text-shadow: 0 0 10px white;
}

.component.Async .ep-control.outputs {
  height: 0px;
}

.bg-with-lines {
  background: #fff url(/img/moving_arrows.svg) no-repeat;
  background-size: cover;
}

/* Custom datepicker styles */
.custom-datepicker > div:nth-child(2).absolute.top-10.z-50.block.pt-2 {
  left: -153px; /* Adjusting the left position */
}

.component.Note .resize-handle {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  cursor: nwse-resize;
  background-color: transparent;
  border-right: 3px solid rgba(0, 0, 0, 0.3);
  border-bottom: 3px solid rgba(0, 0, 0, 0.3);
  border-radius: 0 0 3px 0;
  z-index: 10;
}

.jtk-connector {
  z-index: 2;
}

/* Markdown-specific styling for Note components */
.Note .note-markdown h1,
.Note .note-markdown h2,
.Note .note-markdown h3,
.Note .note-markdown h4,
.Note .note-markdown h5,
.Note .note-markdown h6 {
  font-weight: bold;
  margin: 0.8em 0 0.4em 0;
  line-height: 1.2;
}

.Note .note-markdown h1 {
  font-size: 1.8em;
}

.Note .note-markdown h2 {
  font-size: 1.5em;
}

.Note .note-markdown h3 {
  font-size: 1.3em;
}

.Note .note-markdown h4 {
  font-size: 1.1em;
}

.Note .note-markdown h5 {
  font-size: 1em;
}

.Note .note-markdown h6 {
  font-size: 0.9em;
}

.Note .note-markdown p {
  margin: 0.6em 0;
  line-height: 1.6;
}

.Note .note-markdown strong {
  font-weight: bold;
}

.Note .note-markdown em {
  font-style: italic;
}

.Note .note-markdown ul,
.Note .note-markdown ol {
  margin: 0.8em 0;
  padding-left: 1.5em;
  list-style-position: outside;
}

.Note .note-markdown ul {
  list-style-type: disc !important;
}

.Note .note-markdown ol {
  list-style-type: decimal !important;
}

.Note .note-markdown ul ul {
  list-style-type: circle !important;
}

.Note .note-markdown ul ul ul {
  list-style-type: square !important;
}

.Note .note-markdown ol ol {
  list-style-type: lower-alpha !important;
}

.Note .note-markdown ol ol ol {
  list-style-type: lower-roman !important;
}

.Note .note-markdown li {
  margin: 0.2em 0;
  line-height: 1.5;
  display: list-item;
}

.Note .note-markdown a {
  color: #0066cc;
  text-decoration: underline;
}

.Note .note-markdown a:hover {
  color: #004499;
}

.Note .note-markdown code {
  background-color: rgba(0, 0, 0, 0.1);
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

.Note .note-markdown pre {
  background-color: rgba(0, 0, 0, 0.05);
  padding: 1em;
  border-radius: 4px;
  overflow-x: auto;
  margin: 1em 0;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  line-height: 1.4;
}

.Note .note-markdown blockquote {
  margin: 1em 0;
  padding: 0.5em 1em;
  border-left: 4px solid #ddd;
  background-color: rgba(0, 0, 0, 0.02);
  font-style: italic;
}

.Note .note-markdown table {
  border-collapse: collapse;
  width: 100%;
  margin: 1em 0;
}

.Note .note-markdown th,
.Note .note-markdown td {
  border: 1px solid #ddd;
  padding: 0.5em;
  text-align: left;
}

.Note .note-markdown th {
  background-color: rgba(0, 0, 0, 0.05);
  font-weight: bold;
}

.Note .note-markdown hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 1.5em 0;
}

/* Base positioning for markdown content */
.Note .note-markdown {
  overflow: auto;
  max-height: calc(100% - 120px);
  box-sizing: border-box;
  position: relative;
}

/* Ensure list styles are not overridden */
.Note .note-markdown * {
  box-sizing: border-box;
}

.Note .note-markdown ul,
.Note .note-markdown ol {
  display: block !important;
}

.Note .note-markdown ul {
  list-style: disc outside !important;
}

.Note .note-markdown ol {
  list-style: decimal outside !important;
}

.Note .note-markdown li {
  display: list-item !important;
}

/*Trigger styles*/

.component.Trigger {
  min-height: 100px;
  min-width: 280px;
  border-radius: 100px 10px 10px 100px;
}

.component.Trigger .internal-name {
  padding-left: 40px;
}

.component.Trigger .title-bar-top {
  height: 100px;
}
.debug-enabled .component.Trigger .debug-bar {
  position: absolute;
  width: calc(100% - 85px);
  margin-left: 85px !important;
  margin-top: 10px;
}
.component.Trigger .title-bar {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
}
.component.Trigger .title-bar .title {
  position: absolute;
  bottom: 0px;
  margin-left: 100px;
  padding: 5px 0px;
  color: #888;
}
.component.Trigger .title-bar .icon {
  border-radius: 100px 10px 10px 100px;
  padding: 10px;
}
.component.Trigger .title-bar .icon img {
  height: 100%;
  padding: 5px 0px;
}

.component.Trigger .ep-control.inputs {
  display: none !important;
  visibility: hidden !important;
}
.component.Trigger .ep-control.outputs {
  background: transparent !important;
  position: absolute;
  top: 4px;
  right: -163px;
  z-index: 1;
}

.component.Trigger .output-container {
  position: absolute;
  background: white;
  width: 150px;
  right: -160px;
  top: -10px;
  padding: 30px 0px 10px 0px;
  border: 1px solid #ccc;
  border-radius: 10px;
}
.component.Trigger .output-container::before {
  content: 'Payload';
  position: absolute;
  top: 0px;
  right: 43px;
  font-size: 16px;
  font-weight: 700;
  color: #ccc;
}

.collapsed.component.Trigger .output-container {
  opacity: 1;
  right: unset;
  position: relative;
  left: calc(100% - 142px);
  border: 0px;
  overflow: visible;
  background: transparent;
}
.collapsed.component.Trigger .output-container::after {
  content: ' ';
  display: block;
  background: #91df3f;
  position: absolute;
  right: -2px;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  top: 18px;
}
.collapsed.component.Trigger .output-container::before {
  right: 40px;
  top: -26px;
}

.component.Trigger .output-container button.toggle-output-container {
  position: absolute;
  top: 0px;
  right: 130px;
}

.collapsed.component.Trigger .output-container button.toggle-output-container {
  top: -25px;
  right: -110px;
  left: 0px;
}

.component.Trigger .output-container button.toggle-output-container:hover {
  scale: 1.2;
}

/*
.component.Trigger .output-endpoint button {
  visibility: hidden !important;
  display: none !important;
  width: 0px !important;
  height: 0px !important;
  padding: 0px !important;
  margin: 0px !important;
  border: 0px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  cursor: default !important;
  user-select: none !important;
}
*/
.component.Trigger .output-endpoint .name {
  width: 100%;
}
.component.Trigger .output-endpoint .name .label {
  color: #55ad26;
}

.component.Trigger .output-container {
  margin-top: 10px;
}

.component.Trigger .cpt-overlay {
  border-radius: 100px 10px 10px 100px !important;
}

.component.Trigger .cpt-overlay .content {
  margin: 0px 0px !important;
}