@import "variables";

.form-control {
  padding: 6px;
}
.scroll-y {
  overflow-y: scroll;
}
.evol-fld {
  position: relative;
  @include flex-item();
  padding-left: $field-h-spacing !important;
  margin-bottom: 12px;
  min-width: 62px;
  input,
  textarea,
  select {
    font-size: $text-font-size;
  }
  .evo-rdonly {
    > img {
      position: relative;
      top: -2px;
      margin-right: 3px;
    }
    > pre {
      margin-top: 0;
      padding: 5px;
      font-size: 12px;
      background-color: #f5f5f5;
      border: solid 1px silver;
      border-radius: 5px;
      min-height: 38px;
    }
  }
  > div {
    width: 100%;
  }

  input[type="time"] {
    display: inline-block;
    width: 150px;
  }
  textarea {
    max-width: 100%;
    resize: vertical;
  }
}

.evo-fld-invalid {
  display: inline-block;
  border-radius: 2px;
  font-size: 12px;
  clear: both;
  background-color: #f2dede;
  color: #a94442;
  border: solid 1px #ebccd1;
  padding: 4px 5px 4px 10px;
  margin: 5px 5px 0 0;
  border-radius: $radius;
}

.evo-rdonly {
  min-height: 38px;
  padding-top: 5px;
  > a {
    display: block;
    @include ellipsis();
  }
}
div > .checkbox {
  position: relative;
  top: -7px;
  height: $icon-size;
  width: $icon-size;
}
.lov-icon {
  margin-right: 5px;
}
.evo-color-box {
  display: inline-block;
  height: 20px;
  width: 20px;
  border: $border;
  span {
    margin-left: 24px;
  }
}
.lov-wicon {
  > img {
    margin-right: 5px;
  }
}
