/**
 * Copyright © 2016-2018 The Thingsboard Authors
 *
 * Licensed 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.
 */

.tb-alarm-container {
  overflow-x: auto;
}

md-list.tb-alarm-table {
  min-width: 700px;
  padding: 0;

  md-list-item {
    padding: 0;
  }

  .tb-row {
    height: 48px;
    padding: 0;
    overflow: hidden;
  }

  .tb-row:hover {
    background-color: #eee;
  }

  .tb-header:hover {
    background: none;
  }

  .tb-header {
    .tb-cell {
      font-size: 12px;
      font-weight: 700;
      color: rgba(0, 0, 0, .54);
      white-space: nowrap;
      background: none;
    }
  }

  .tb-cell {
    padding: 0 24px;
    margin: auto 0;
    overflow: hidden;
    font-size: 13px;
    color: rgba(0, 0, 0, .87);
    text-align: left;
    vertical-align: middle;

    .md-button {
      padding: 0;
      margin: 0;
    }
  }

  .tb-cell.tb-number {
    text-align: right;
  }
}

#tb-alarm-content {
  width: 100%;
  min-width: 400px;
  height: 100%;
  min-height: 50px;
}
