event.scss

90 lines | 1.77 kB Blame History Raw Download
/**
 * 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.
 */
md-list.tb-event-table {
    padding: 0px;

    md-list-item {
      padding: 0px;
    }

  .tb-row {
    height: 48px;
    padding: 0px;
    overflow: hidden;
    .tb-cell {
      text-overflow: ellipsis;
      &.tb-scroll {
        white-space: nowrap;
        overflow-y: hidden;
        overflow-x: auto;
      }
      &.tb-nowrap {
        white-space: nowrap;
      }
    }
  }

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

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

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

  .tb-cell {
      &:first-child {
        padding-left: 14px;
      }
      &:last-child {
        padding-right: 14px;
      }
      padding: 0 6px;
      margin: auto 0;
      color: rgba(0,0,0,.87);
      font-size: 13px;
      vertical-align: middle;
      text-align: left;
      overflow: hidden;
      .md-button {
          padding: 0;
          margin: 0;
      }
  }

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

}

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