@import "../../style/themes/default";
@import "../../style/mixins/index";
@import "./mixin";

// Input styles
.@{c7n-prefix}-input {
  .reset-component;
  .input;
}

.@{c7n-prefix}-input-textarea {
  .@{c7n-prefix}-input-rendered {
    position: relative;
    padding-top: .15rem;
    display: block;
  }
  .@{c7n-prefix}-input-label {
    bottom: auto;
  }
}
//== Style for input-group: input with label, with bulabeltton or dropdown...
.@{c7n-prefix}-input-group {
  .reset-component;
  .input-group(~"@{c7n-prefix}-input");
  &-wrapper {
    display: inline-block;
    vertical-align: top;
    width: 100%;
  }
}

// Input with affix: prefix or suffix
.@{c7n-prefix}-input-affix-wrapper {
  .reset-component;
  .input-affix-wrapper(~"@{c7n-prefix}-input");

  .@{c7n-prefix}-input {
    min-height: 100%;  // use min-height, assume that no smaller height to override
  }
}

@import "./search-input";
