.props {
  .panel {
    padding: 16px;
    width: 268px;
  }

  .title {
    font-size: 12px;
    color: var(--color);
  }

  .form-item {
    .t-input-number {
      .t-input__wrap {
        .t-input {
          border-color: transparent;

          &:hover,
          &.t-is-focused {
            border-color: var(--color-border-input);
          }
        }
      }
    }

    .t-input,
    .t-textarea textarea {
      border-color: transparent;

      &:hover,
      &.t-is-focused {
        border-color: var(--color-border-input);
      }
    }

    & > input {
      border: none;
    }
  }

  .t-dialog {
    .form-item {
      .t-input {
        border-color: var(--color-border-input);
        &:hover {
          border-color: var(--color-primary);
        }
      }
    }
  }

  .t-collapse.t--border-less {
    .t-collapse-panel__header {
      font-size: 13px;
      font-weight: 700;
      border-top: 1px solid var(--td-border-level-1-color);
      color: var(--color-title);
    }

    .t-collapse-panel__wrapper .t-collapse-panel__content {
      padding: 0 16px 16px 16px;
    }
  }

  .t-radio-group .t-radio {
    line-height: 2;
  }
  .t-radio__input {
    width: 12px;
    height: 12px;
    border-color: var(--color-desc);

    &::after {
      width: 12px;
      height: 12px;
      margin-top: -6px;
      margin-left: -6px;
    }
  }
  .t-radio__label {
    font-size: 12px;
    color: var(--color-desc);
  }

  .t-checkbox__input {
    width: 14px;
    height: 14px;
    border-color: var(--color-desc);

    &::after {
      left: 2.5px !important;
      top: 5.5px !important;
    }
  }

  .t-table__th-cell-inner {
    .t-is-indeterminate .t-checkbox__input {
      &::after {
        left: -1px !important;
        top: 4.5px !important;
      }
    }
  }

  .t-button {
    height: 24px;
    border-color: var(--color-desc);

    &:hover {
      border-color: var(--color-primary);
      color: var(--color-primary);
    }

    &.t-button--variant-base {
      border-color: var(--td-bg-color-component);
      &:hover {
        color: var(--color);
        border-color: var(--color-border-input-hover);
        background-color: var(--color-border-input-hover);
      }

      &.t-button--theme-primary {
        border-color: var(--color-primary);
        &:hover {
          color: var(--color);
          border-color: var(--color-primary-hover);
          background-color: var(--color-primary-hover);
        }
      }
    }

    &.icon {
      border-color: transparent;
      padding: 0;
      width: 24px;
      &.active {
        border-color: var(--color-border-input);
        background-color: var(--color-border-input);
      }

      &:hover {
        border-color: var(--color-primary);
      }
    }
  }

  .t-tree__empty {
    color: var(--color-gray);
    margin-left: 12px;
  }

  .t-tree__item {
    cursor: pointer;

    svg {
      width: 16px;
      color: var(--td-text-color-primary);
      flex-shrink: 0;

      &:hover {
        color: var(--color-primary);
      }
    }

    .gray svg {
      color: var(--color-gray);
    }

    .t-tree__label {
      .t-icon {
        font-size: 14px;
        margin-right: 4px;
      }
    }

    &.t-is-active {
      .t-tree__label,
      svg,
      .gray {
        color: var(--color-primary);
      }
    }

    .t-tree__operations {
      padding: 0 8px;

      .operations {
        * {
          display: none;
        }

        &.show {
          * {
            display: flex;
          }
        }
      }
    }

    &:hover {
      color: var(--color-primary);
      .t-tree__label,
      svg,
      .gray {
        color: var(--color-primary);
      }

      .t-tree__operations {
        .operations * {
          display: flex;
        }
      }
    }

    .t-tree__icon:not(:empty):hover {
      background: none;
    }
  }

  .t-tab-panel {
    height: calc(100vh - 81px);
    overflow-x: hidden;
    overflow-y: auto;
  }

  .t-slider {
    .t-slider__rail,
    .t-slider__track {
      height: 3px;
    }

    .t-slider__button {
      width: 8px;
      height: 8px;
      border: none;
    }

    .t-slider__button--dragging {
      box-shadow: none;
    }
  }

  .t-switch {
    background-color: var(--color-border-input);
    height: 14px;
    line-height: 1;

    .t-switch__handle {
      top: 2px;
      &::before {
        background-color: var(--color-switch-handle);
      }
    }

    &.t-is-checked {
      background-color: var(--color-primary);

      .t-switch__handle {
        top: 2px;
        width: calc(var(--td-comp-size-xxxs) - 2 * 3px);
        height: calc(var(--td-comp-size-xxxs) - 2 * 3px);

        &::before {
          background-color: #ffffff;
        }
      }
    }
  }

  .t-upload__dragger {
    width: 100%;
    height: 100px;
    padding: 0;

    .t-upload__dragger-progress {
      height: 100%;
      align-items: center;
      justify-content: center;
    }

    .t-upload__dragger-img-wrap {
      width: auto;
      height: 100%;
    }

    .t-upload__dragger-progress-info {
      position: absolute;
      background: #303746a0;
      display: none;
      max-width: 100%;
      align-items: center;
      justify-content: center;
      top: 0;
      left: 0;
      bottom: 0;
      right: 0;
      margin: 0;
    }

    &:hover {
      .t-upload__dragger-progress-info {
        display: flex;
      }
    }
  }

  .t-color-picker__trigger {
    &.small {
      width: 90px;

      .t-input {
        width: 90px;
        .t-input__inner {
          text-overflow: ellipsis;
        }
      }
    }

    .t-input--auto-width {
      max-width: 100%;

      .t-input__input-pre {
        max-width: 100%;
        text-overflow: ellipsis;
      }
    }
  }
}
