@import '../../style/themes/index';
@import '../../style/mixins/index';
@import '../../button/style/mixin';
@import './mixin';

@yee-search-prefix: ~'@{yee-prefix}-input-search';

.@{yee-search-prefix} {
  &-icon {
    color: @yee-text-color-secondary;
    cursor: pointer;
    transition: all 0.3s;
    &:hover {
      color: fade(@yee-black, 80%);
    }
  }

  &-enter-button {
    input {
      border-right: 0;
    }

    & + .@{yee-prefix}-input-group-addon,
    input + .@{yee-prefix}-input-group-addon {
      padding: 0;
      border: 0;

      .@{yee-search-prefix}-button {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
      }
    }
  }
}
