Skip to content

LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows

2.9 KB
Raw Blame
/* Styles for AddLlmProfile */

.conn-modal-form-pad-left:has(> .add-llm-profile-body) {
  padding: 8px 16px;
}

.conn-modal-row:has(.add-llm-profile-body) {
  height: auto !important;
}
.conn-modal-col:has(.add-llm-profile-body) {
  overflow-y: visible;
}

.add-llm-profile-footer {
  position: sticky;
  bottom: 0;
  z-index: 1;
  margin-bottom: 0;
  padding-top: 12px;
  border-top: 1px solid var(--ant-color-border-secondary, #f0f0f0);
}

.add-llm-profile-row {
  width: 100%;
}

/* The Form shim spaces its items with `space-y-*` on the <form> element, and
 * that only reaches direct children. Every field here sits a level or two
 * deeper — SpaceWrapper > div, Row > Col, the Advanced Settings body — so they
 * came out flush, each label pressed against the input above it. Give the
 * items their own rhythm, matching the shim's 16px vertical form gap. */
.add-llm-profile-body .ant-form-item {
  margin-bottom: 16px;
}

/* The sticky footer stays flush to the bottom edge. It renders through
 * FormItem's no-`name` branch, which emits no `.ant-form-item`, so the rule
 * above misses it today — this outranks that rule either way. */
.add-llm-profile-body .add-llm-profile-footer {
  margin-bottom: 0;
}

/* Separates the "Advanced Settings" header from the last field above it. */
.add-llm-profile-advanced {
  border-top: 1px solid var(--border);
  padding-top: 4px;
}

.retrieval-strategy-selector {
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  padding: 4px 11px;
  cursor: pointer;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 32px;
  transition: all 0.2s ease-in-out !important;
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  text-align: left;
}

.retrieval-strategy-selector:hover {
  border-color: var(--violet-300) !important;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.1);
}

.retrieval-strategy-selector:active {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.15);
}

.retrieval-strategy-text {
  flex: 1;
  user-select: none;
}

.retrieval-strategy-text--selected {
  color: #000;
}

.retrieval-strategy-text--placeholder {
  color: #bfbfbf;
}

.retrieval-strategy-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.retrieval-strategy-settings-icon {
  color: var(--primary);
  font-size: 12px;
  /* width/height, not font-size alone: antd shipped an icon FONT (sized by
   * font-size); lucide ships SVGs, which ignore it and fall back to their
   * own 24px default. font-size is kept for any text in the same element. */
  width: 12px;
  height: 12px;
  cursor: pointer;
}

.retrieval-strategy-dropdown-icon {
  color: #bfbfbf;
  font-size: 10px;
  /* width/height, not font-size alone: antd shipped an icon FONT (sized by
   * font-size); lucide ships SVGs, which ignore it and fall back to their
   * own 24px default. font-size is kept for any text in the same element. */
  width: 10px;
  height: 10px;
  cursor: pointer;
}