


@import './common/var.scss';
@import './mixins/base.scss';

$categoryWidth : 100px;

.eye-category {
  bottom: 0 !important;

  .category-container {
    width: $categoryWidth;
    position: absolute;
    top:0;
    bottom: 0;
    background-color: #efefef;

    .eye-renderer__inner {
      border-left: 3px solid #efefef;
      display: flex;
      height: 49px;
      text-align: center;
      align-items: center;
      justify-content: center;
    }
    .eye-renderer__select .eye-renderer__inner {
      color:#66bb47;
      border-color: $green;
      background-color: #fff;
    }
  }

  .category-item-container {
    position: absolute;
    top:10px;
    left: $categoryWidth;
    bottom: 0;

    width: calc(100% - 100px);

    .eye-renderer__inline .eye-renderer__inner {
      font-size: 15px;
      font-weight: bold;
      background: $white;
      border:none;
      text-align: left;
      justify-content: left;
      height: 20px;
    }

    .eye-renderer__select .eye-renderer__inner {
      background: #EBF8EB;
      border-color: #39BF3E;
      border-radius: 10px;
    }


    .eye-renderer__inner {
      margin: 5px;
      text-align: center;
      align-items: center;
      justify-content: center;
      display: flex;
      height: 40px;
      border: 1px solid #F5F5F5;
      background: #F5F5F5;
      border-radius: 10px;
    }
    //.label {
    //  position: relative;
    //  height: inherit;
    //  align-items: center;
    //  justify-content: center;
    //  display: flex;
    //}
    //.title {
    //  padding: 10px 0;
    //  font-size: 18px;
    //  font-weight: bold;
    //}
  }

}


.eye-breed {

  .breed-name {
    text-align: center;
    padding: 12px 5px;
    border: 1px solid #f5f5f5;
    background: #fff;
  }

}


.eye-spec {

  height: 100%;
  position: relative;

  .eye-spec__body {
    position: absolute;
    bottom: 50px;
    top:0;
    width: 100%;
    padding-bottom: 10px;
  }


  .eye-spec__footer {

    display: flex;
    position: absolute;
    bottom:0;
    width: 100%;


    .eye-button {
      flex: 1;
    }

    .eye-spec__confirm {

      border-radius: 0 !important;
      background-color: $green !important;
      border-bottom: 1px solid $green !important;
      color: $white !important;

      &,
      &:active {
        color: $white;
      }



    }
  }




  .spec-title {
    margin: 10px 5px;
    font-weight: 700;
  }

  .spec-inner {
    padding: 10px;
    border: 1px solid #f5f5f5;
    text-align: center;
  }

  .spec-inner.selected {
    border: 1px solid #66bb47;
    background: #66bb47;
    color: #fff;
  }

}



.eye-search {

  .search__item {

    .eye-renderer__inner {
      padding: 8px 10px;
      margin: 0 10px;
      border-bottom:1px solid #e0e0e0;
    }
  }

}

.eye-category-search {

  &__body {

    font-size: 14px;
    padding: 10px;

    .eye-button {
      margin: 10px;
      padding: 0 15px;
    }

    .eye-icon-right {
      color: $green !important;
    }
  }
}

.eye-popup__root .eye-category-search {
  @include full;
  .eye-search {
    @include full;
    &__body {
      @include full;
      top:48px;
    }
  }
  &__body {
    @include full;
    top:48px;
  }
}


