/*!
 * 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.
 */

.displaytable,.formtable{
  .table;
  .table-bordered();
}

.displaytable,.formtable{
  tr{
    td{
      padding:7px;
    }
    .separator,
    .formseparator{
      display: none;
    }
    .description{
      font-weight: bold;
    }
  }
}
.displaytable,.formtable{
  td{
    input[type="text"],
    input[type="password"],
    select{
      height: @input-height-base;
      padding: @padding-base-vertical @padding-base-horizontal;
      font-size: @font-size-base;
      line-height: @line-height-base;
      background-color: @input-bg;
      background-image: none;
      border: 1px solid @input-border;
      border-radius: @input-border-radius;
      .box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
      .transition(~"border-color ease-in-out .15s, box-shadow ease-in-out .15s");
      .border-radius(@input-radius)!important;
      box-shadow: none!important;
      border-color: @gray;
      width:auto!important;
      &:focus {
        border-color: @light-blue !important;
        box-shadow: none;
      }
    }
    input[type="submit"],
    input[type="reset"],
    input[type="button"]{
      .btn;
      .btn-primary;
      color: #fff;
    }
  }
}