Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

1.1 KB
Raw Blame
.b3-text-field__mask,
.av__mask {
  position: fixed;
  inset: 0;
}

.b3-text-field__mask > .b3-text-field {
  position: absolute;
  resize: none;
}

.b3-text-field {
  border: 0;
  border-radius: var(--b3-border-radius);
  outline: 1px solid var(--b3-border-color);
  outline-offset: -1px;
  box-shadow: none;
  padding: 4px 8px;
  line-height: 20px;
  box-sizing: border-box;
  color: var(--b3-theme-on-background);
  transition: box-shadow 120ms 0ms cubic-bezier(0, 0, .2, 1), outline-color 120ms 0ms cubic-bezier(0, 0, .2, 1);
  background-color: var(--b3-theme-background);
  -webkit-appearance: none;
  font-variant-ligatures: none;
  font-size: 14px;

  &:not(.b3-text-field--text):hover {
    box-shadow: 0 0 0 .6px var(--b3-border-color);
  }

  &:not(.b3-text-field--text):focus {
    outline-color: var(--b3-theme-primary-light);
    box-shadow: 0 0 0 .6px var(--b3-theme-primary-lighter);
  }

  &[type="color"] {
    padding: 0;
  }

  &--small {
    font-size: 12px;
    padding: 0 4px;
  }

  &--size {
    padding: 2px 8px;
    width: 64px;
  }

  &--text {
    outline: none;
    box-shadow: 0 0 0;
  }
}