• XFT's avatar
    . · bde794d5
    XFT authored
    bde794d5
inputAssets.component.scss 1 KB
@import "~src/styles/variables";

:host {
  display: block;
}

.assets {
  display: flex;
  flex-direction: column;

  & &__search {
    width: 100%;
    margin-bottom: 12px;

    > .p-inputtext {
      width: 100%;
    }
  }

  & &__item {
    display: flex;
    background: rgba(88, 0, 176, 0.05);
    padding: 12px;
    gap: 16px;
    border-radius: 4px;

    &:not(:last-of-type) {
      margin-bottom: 12px;
    }

    &:hover {
      cursor: pointer;
      background: rgba(88, 0, 176, 0.15);
    }

    &:active {
      background: rgba(88, 0, 176, 0.25);
    }
  }

  & &__icon {
    width: 44px;
    height: 44px;

    > img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  & &__content {
    display: flex;
    flex-direction: column;
  }

  & &__name,
  & &__symbol {
    color: #1B0D3D;
  }

  & &__name {
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    opacity: 0.7;
  }

  & &__symbol {
    font-weight: 600;
    font-size: 16px;
    line-height: 26px;
  }
}