/**
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

@import '../../../shared/forms';
:host {
  textarea {
    &:extend(input.form-control);
    min-height: 5em;
    resize: vertical;
    width: 100%;
    &.validation-result,
    &.configuration {
      min-height: 30em;
    }
    &.sample-data {
      min-height: 8em;
    }
  }
  label {
    width: 100%;
  }
  .help-block.validation-block {
    display: none;
    font-size: 0.9em;
    margin: 0;
    opacity: 0;
    transition: all 1s ease-in;
  }
  .has-error,
  .has-warning {
    .help-block.validation-block {
      display: inline-block;
      opacity: 1;
    }
  }

  .shipper-form-configuration {
    background-color: @main-background-color;
    padding-bottom: 4em;
  }

  /deep/ filter-dropdown {
    button,
    button:focus {
      padding: 0;
      .label-before-selection {
        font-weight: bold;
      }
    }
  }
}
