[data-page="toolsBugfixhelper"] {
  ui-view {
    overflow-y: scroll !important;
  }
}

page-tools-bugfixhelper {
  display: block;

  label {
    margin: 0;
    font-weight: normal;
  }

  main {
    background: white;
    padding: 12px;
  }

  .app-selector {
    max-width: 150px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
  }

  .header-control {
    display: inline-block;
    width: min-content;
    vertical-align: middle;
    padding: 0 15px;
    height: 34px;

    & + .header-control {
      margin-left: 10px;
    }
  }

  span.header-control {
    display: inline-block;
    line-height: 34px;
    padding: 0 10px;
    background: #e9e9e9;
    color: #8e8e8f;
    border-radius: 5px;
    width: auto;
  }

  time-spanner,
  .panel-custom {
    margin-top: 12px;

    .host-setting {
      margin-right: 12px;
    }
  }

  timeline-chart {
    margin: 10px 12px 8px;

    .timeline-label-block {
      .timeline-series {
        cursor: pointer;
      }

      .timeline-series-warn {
        circle {
          fill: #f42125;
        }
      }

      .timeline-series-info circle {
        fill: #338ee1;
      }
    }
  }

  .timeline-indicator {
    display: inline-block;
    margin-left: 12px;
    &::before {
      content: "";
      display: inline-block;
      width: .85em;
      height: .85em;
      border-radius: 50%;
      margin-right: 3px;
    }
    &.ind-warning::before {
      background: #f42125;
    }
    &.ind-info::before {
      background: #338ee1;
    }
  }

  .waring-log-button {
    a {
      padding: 0 3px;
    }
  }

  .menu-selecttemplate {
    padding: 6px 0;
    max-height: 332px;
    overflow-y: auto;
    width: 230px;

    li + li {
      margin-top: 4px;
    }

    label {
      cursor: pointer;
      padding: 0 12px;
      display: flex;
      align-items: center;
      &:hover {
        background-color: #5bd4ce;
        color: white;
      }
    }

    input {
      margin: 0 4px 0 0;
      flex-shrink: 0;
    }
  }

  multiline-chart {
    &:not(:last-child) {
      border-bottom: 2px solid #e2e2e2;
    }

    .line-chart-leftpart {
      padding: 6px 12px 0 18px;

      input {
        margin-right: 4px;
      }

      dd {
        margin-top: 2px;
      }
    }
  }

  multiline-chart-axis {
    .line-chart-leftpart {
      display: flex;
      align-items: center;
      padding: 6px 18px;

      label {
        margin-left: 12px;
        font-size: 14px;
      }

      input {
        margin-right: 6px;
      }

      border-bottom: 2px solid #e2e2e2;
      border-right: 2px solid #e2e2e2;
    }
  }

  .line-chart-group {
    max-height: 330px;
    overflow: auto;
  }

  .duration-selecter {
    display: inline-block;
    vertical-align: bottom;
    margin: 0 7px;

    button {
      min-width: 120px;
      padding: 0 7px 0 15px;
      text-align: left;
      display: inline-flex;
      align-items: center;
      white-space: nowrap;
      justify-content: space-between;
    }
  }

  .list-search {
    width: 60%;
    border-radius: 3px;
    margin: 10px;
    display: inline-block;
  }

  .list-style {
    padding: 0 10px;
    margin-bottom: 10px;

    table {
      width: 100%;
      line-height: 35px;

      a {
        color: inherit;
      }

      thead {
        line-height: 35px;
        color: gray;
        font-size: 13px;
        font-weight: normal;
      }

      th {
        padding: 0 10px;
      }

      tr {
        border-bottom: solid 1px #E6E6E6 !important;
        border-top: solid 1px #E6E6E6 !important;
      }

      td {
        font-size: 11px;
        padding: 0 10px;
        max-width: 700px;
      }
    }

    .detailed {
      .detailed-td {
        padding: 0;
      }

      table {
        display: block;
        border: none;
      }

      tbody {
        display: block;
        height: 170px;
        overflow: auto;
      }

      td,
      tr {
        background: white;
        border: none;
      }

      .detailed-td-first {
        width: 8%;
        text-align: right;
      }

      .detailed-td-second {
        width: 10%;
        text-align: center;
      }
    }

    .log-table {
      word-break: break-word;
      max-height: 6em;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }

  .log-form {
    display: flex;
    align-items: center;
  }
}

.add-permission {
  .modal-dialog {
    width: 770px;
  }
}
