@use '../../styles/abstracts' as *;

/**
  Organism - Datas sources
 */
.overflow{
  overflow-y: auto;
  overflow-x: hidden;
  padding-left: toRem(15);
  padding-right: toRem(15);
}
.o-datasources{
  &__list{
    @extend %list-unstyled;
    gap: toRem(25) toRem(30);
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(toRem(150), 1fr));
    margin: toRem(10) 0;
    &--selected{
      display: flex;
      flex-wrap: wrap;
      gap: toRem(15);
      margin-bottom: toRem(40);
      .a-btn--icon-text {
        @include outlineOnFocus();
        gap: toRem(11) toRem(15);
        padding-left: toRem(15);
        padding-right: toRem(15);

        yap-icon {
          display: flex;
          align-items: center;
          justify-content: center;
          width: toRem(25);
          height: toRem(25);
        }
      }
    }
  }

  &__card,
  .o-yap-card{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: toRem(10);
    height: 100%;
    min-height: toRem(100);
    padding: toRem(18) toRem(13) toRem(15) toRem(13);
    cursor: pointer;
    &__name {
      display: flex;
      flex-direction: row;
      align-items: flex-start;
      gap: toRem(4);
      .a-p {
        width: 100%;
        margin-bottom: 0;
        overflow-wrap: break-word;
        transform: translateY(toRem(-1));
      }
    }






    /*.a-checkbox__checkmark{
      width: 1.5rem;
      height: 1.5rem;
      border-radius: 0.75rem;

      &:before{
        left: 0.45rem;
        top: 0.15rem;
        width: 0.35rem;
        height: 0.75rem;
        border-width: 0 0.125rem 0.125rem 0;
      }
    }*/

  }
}
